@@ -26,6 +26,8 @@ type ThreatHuntingJobResponseAttributes struct {
2626 JobStatus * string `json:"jobStatus,omitempty"`
2727 // Last modification time of the job.
2828 ModifiedAt * string `json:"modifiedAt,omitempty"`
29+ // Whether the job outputs signals.
30+ SignalOutput * bool `json:"signalOutput,omitempty"`
2931 // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
3032 UnparsedObject map [string ]interface {} `json:"-"`
3133 AdditionalProperties map [string ]interface {} `json:"-"`
@@ -272,6 +274,34 @@ func (o *ThreatHuntingJobResponseAttributes) SetModifiedAt(v string) {
272274 o .ModifiedAt = & v
273275}
274276
277+ // GetSignalOutput returns the SignalOutput field value if set, zero value otherwise.
278+ func (o * ThreatHuntingJobResponseAttributes ) GetSignalOutput () bool {
279+ if o == nil || o .SignalOutput == nil {
280+ var ret bool
281+ return ret
282+ }
283+ return * o .SignalOutput
284+ }
285+
286+ // GetSignalOutputOk returns a tuple with the SignalOutput field value if set, nil otherwise
287+ // and a boolean to check if the value has been set.
288+ func (o * ThreatHuntingJobResponseAttributes ) GetSignalOutputOk () (* bool , bool ) {
289+ if o == nil || o .SignalOutput == nil {
290+ return nil , false
291+ }
292+ return o .SignalOutput , true
293+ }
294+
295+ // HasSignalOutput returns a boolean if a field has been set.
296+ func (o * ThreatHuntingJobResponseAttributes ) HasSignalOutput () bool {
297+ return o != nil && o .SignalOutput != nil
298+ }
299+
300+ // SetSignalOutput gets a reference to the given bool and assigns it to the SignalOutput field.
301+ func (o * ThreatHuntingJobResponseAttributes ) SetSignalOutput (v bool ) {
302+ o .SignalOutput = & v
303+ }
304+
275305// MarshalJSON serializes the struct using spec logic.
276306func (o ThreatHuntingJobResponseAttributes ) MarshalJSON () ([]byte , error ) {
277307 toSerialize := map [string ]interface {}{}
@@ -302,6 +332,9 @@ func (o ThreatHuntingJobResponseAttributes) MarshalJSON() ([]byte, error) {
302332 if o .ModifiedAt != nil {
303333 toSerialize ["modifiedAt" ] = o .ModifiedAt
304334 }
335+ if o .SignalOutput != nil {
336+ toSerialize ["signalOutput" ] = o .SignalOutput
337+ }
305338
306339 for key , value := range o .AdditionalProperties {
307340 toSerialize [key ] = value
@@ -320,13 +353,14 @@ func (o *ThreatHuntingJobResponseAttributes) UnmarshalJSON(bytes []byte) (err er
320353 JobName * string `json:"jobName,omitempty"`
321354 JobStatus * string `json:"jobStatus,omitempty"`
322355 ModifiedAt * string `json:"modifiedAt,omitempty"`
356+ SignalOutput * bool `json:"signalOutput,omitempty"`
323357 }{}
324358 if err = datadog .Unmarshal (bytes , & all ); err != nil {
325359 return datadog .Unmarshal (bytes , & o .UnparsedObject )
326360 }
327361 additionalProperties := make (map [string ]interface {})
328362 if err = datadog .Unmarshal (bytes , & additionalProperties ); err == nil {
329- datadog .DeleteKeys (additionalProperties , & []string {"createdAt" , "createdByHandle" , "createdByName" , "createdFromRuleId" , "jobDefinition" , "jobName" , "jobStatus" , "modifiedAt" })
363+ datadog .DeleteKeys (additionalProperties , & []string {"createdAt" , "createdByHandle" , "createdByName" , "createdFromRuleId" , "jobDefinition" , "jobName" , "jobStatus" , "modifiedAt" , "signalOutput" })
330364 } else {
331365 return err
332366 }
@@ -343,6 +377,7 @@ func (o *ThreatHuntingJobResponseAttributes) UnmarshalJSON(bytes []byte) (err er
343377 o .JobName = all .JobName
344378 o .JobStatus = all .JobStatus
345379 o .ModifiedAt = all .ModifiedAt
380+ o .SignalOutput = all .SignalOutput
346381
347382 if len (additionalProperties ) > 0 {
348383 o .AdditionalProperties = additionalProperties
0 commit comments