@@ -20,6 +20,8 @@ type MaintenanceDataAttributes struct {
2020 ComponentsAffected []MaintenanceDataAttributesComponentsAffectedItems `json:"components_affected,omitempty"`
2121 // The description shown while the maintenance is in progress.
2222 InProgressDescription * string `json:"in_progress_description,omitempty"`
23+ // Whether the maintenance was backfilled.
24+ IsBackfilled * bool `json:"is_backfilled,omitempty"`
2325 // Timestamp of when the maintenance was last modified.
2426 ModifiedAt * time.Time `json:"modified_at,omitempty"`
2527 // Timestamp of when the maintenance was published.
@@ -168,6 +170,34 @@ func (o *MaintenanceDataAttributes) SetInProgressDescription(v string) {
168170 o .InProgressDescription = & v
169171}
170172
173+ // GetIsBackfilled returns the IsBackfilled field value if set, zero value otherwise.
174+ func (o * MaintenanceDataAttributes ) GetIsBackfilled () bool {
175+ if o == nil || o .IsBackfilled == nil {
176+ var ret bool
177+ return ret
178+ }
179+ return * o .IsBackfilled
180+ }
181+
182+ // GetIsBackfilledOk returns a tuple with the IsBackfilled field value if set, nil otherwise
183+ // and a boolean to check if the value has been set.
184+ func (o * MaintenanceDataAttributes ) GetIsBackfilledOk () (* bool , bool ) {
185+ if o == nil || o .IsBackfilled == nil {
186+ return nil , false
187+ }
188+ return o .IsBackfilled , true
189+ }
190+
191+ // HasIsBackfilled returns a boolean if a field has been set.
192+ func (o * MaintenanceDataAttributes ) HasIsBackfilled () bool {
193+ return o != nil && o .IsBackfilled != nil
194+ }
195+
196+ // SetIsBackfilled gets a reference to the given bool and assigns it to the IsBackfilled field.
197+ func (o * MaintenanceDataAttributes ) SetIsBackfilled (v bool ) {
198+ o .IsBackfilled = & v
199+ }
200+
171201// GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
172202func (o * MaintenanceDataAttributes ) GetModifiedAt () time.Time {
173203 if o == nil || o .ModifiedAt == nil {
@@ -386,6 +416,9 @@ func (o MaintenanceDataAttributes) MarshalJSON() ([]byte, error) {
386416 if o .InProgressDescription != nil {
387417 toSerialize ["in_progress_description" ] = o .InProgressDescription
388418 }
419+ if o .IsBackfilled != nil {
420+ toSerialize ["is_backfilled" ] = o .IsBackfilled
421+ }
389422 if o .ModifiedAt != nil {
390423 if o .ModifiedAt .Nanosecond () == 0 {
391424 toSerialize ["modified_at" ] = o .ModifiedAt .Format ("2006-01-02T15:04:05Z07:00" )
@@ -433,6 +466,7 @@ func (o *MaintenanceDataAttributes) UnmarshalJSON(bytes []byte) (err error) {
433466 CompletedDescription * string `json:"completed_description,omitempty"`
434467 ComponentsAffected []MaintenanceDataAttributesComponentsAffectedItems `json:"components_affected,omitempty"`
435468 InProgressDescription * string `json:"in_progress_description,omitempty"`
469+ IsBackfilled * bool `json:"is_backfilled,omitempty"`
436470 ModifiedAt * time.Time `json:"modified_at,omitempty"`
437471 PublishedDate * time.Time `json:"published_date,omitempty"`
438472 ScheduledDescription * string `json:"scheduled_description,omitempty"`
@@ -446,7 +480,7 @@ func (o *MaintenanceDataAttributes) UnmarshalJSON(bytes []byte) (err error) {
446480 }
447481 additionalProperties := make (map [string ]interface {})
448482 if err = datadog .UnmarshalUseNumber (bytes , & additionalProperties ); err == nil {
449- datadog .DeleteKeys (additionalProperties , & []string {"completed_date" , "completed_description" , "components_affected" , "in_progress_description" , "modified_at" , "published_date" , "scheduled_description" , "start_date" , "status" , "title" , "updates" })
483+ datadog .DeleteKeys (additionalProperties , & []string {"completed_date" , "completed_description" , "components_affected" , "in_progress_description" , "is_backfilled" , " modified_at" , "published_date" , "scheduled_description" , "start_date" , "status" , "title" , "updates" })
450484 } else {
451485 return err
452486 }
@@ -456,6 +490,7 @@ func (o *MaintenanceDataAttributes) UnmarshalJSON(bytes []byte) (err error) {
456490 o .CompletedDescription = all .CompletedDescription
457491 o .ComponentsAffected = all .ComponentsAffected
458492 o .InProgressDescription = all .InProgressDescription
493+ o .IsBackfilled = all .IsBackfilled
459494 o .ModifiedAt = all .ModifiedAt
460495 o .PublishedDate = all .PublishedDate
461496 o .ScheduledDescription = all .ScheduledDescription
0 commit comments