Class: DatadogAPIClient::V2::LayerAttributes

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

Overview

Describes key properties of a Layer, including rotation details, name, start/end times, and any restrictions.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 42

def additional_properties
  @additional_properties
end

#effective_dateObject

When the layer becomes active (ISO 8601).



25
26
27
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 25

def effective_date
  @effective_date
end

#end_dateObject

When the layer ceases to be active (ISO 8601).



28
29
30
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 28

def end_date
  @end_date
end

#intervalObject

Defines how often the rotation repeats, using a combination of days and optional seconds.



31
32
33
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 31

def interval
  @interval
end

#nameObject

The name of this layer.



34
35
36
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 34

def name
  @name
end

#restrictionsObject

An optional list of time restrictions for when this layer is in effect.



37
38
39
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 37

def restrictions
  @restrictions
end

#rotation_startObject

The date/time when the rotation starts (ISO 8601).



40
41
42
# File 'lib/datadog_api_client/v2/models/layer_attributes.rb', line 40

def rotation_start
  @rotation_start
end