Class: DatadogAPIClient::V1::SLOCorrectionCreateRequestAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb

Overview

The attribute object associated with the SLO correction to be created.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#_endObject

Ending time of the correction in epoch seconds.



38
39
40
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 38

def _end
  @_end
end

#categoryObject

Category the SLO correction belongs to.



29
30
31
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 29

def category
  @category
end

#descriptionObject

Description of the correction being made.



32
33
34
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 32

def description
  @description
end

#durationObject

Length of time (in seconds) for a specified rrule recurring SLO correction.



35
36
37
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 35

def duration
  @duration
end

#rruleObject

The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections are FREQ, INTERVAL, COUNT and UNTIL.



42
43
44
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 42

def rrule
  @rrule
end

#slo_idObject

ID of the SLO that this correction applies to.



45
46
47
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 45

def slo_id
  @slo_id
end

#startObject

Starting time of the correction in epoch seconds.



48
49
50
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 48

def start
  @start
end

#timezoneObject

The timezone to display in the UI for the correction times (defaults to “UTC”).



51
52
53
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 51

def timezone
  @timezone
end