Class: DatadogAPIClient::V1::DashboardList
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::DashboardList
- Defined in:
- lib/datadog_api_client/v1/models/dashboard_list.rb
Overview
Your Datadog Dashboards.
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#created ⇒ Object
Date of creation of the dashboard list.
-
#dashboard_count ⇒ Object
The number of dashboards in the list.
-
#id ⇒ Object
The ID of the dashboard list.
-
#is_favorite ⇒ Object
Whether or not the list is in the favorites.
-
#modified ⇒ Object
Date of last edition of the dashboard list.
-
#name ⇒ Object
The name of the dashboard list.
-
#type ⇒ Object
The type of dashboard list.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ DashboardList
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ DashboardList
Initializes the object
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 94 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::DashboardList` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::DashboardList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'author') self. = attributes[:'author'] end if attributes.key?(:'created') self.created = attributes[:'created'] end if attributes.key?(:'dashboard_count') self.dashboard_count = attributes[:'dashboard_count'] end if attributes.key?(:'id') self.id = attributes[:'id'] end if attributes.key?(:'is_favorite') self.is_favorite = attributes[:'is_favorite'] end if attributes.key?(:'modified') self.modified = attributes[:'modified'] end if attributes.key?(:'name') self.name = attributes[:'name'] end if attributes.key?(:'type') self.type = attributes[:'type'] end end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 26 def end |
#created ⇒ Object
Date of creation of the dashboard list.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 29 def created @created end |
#dashboard_count ⇒ Object
The number of dashboards in the list.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 32 def dashboard_count @dashboard_count end |
#id ⇒ Object
The ID of the dashboard list.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 35 def id @id end |
#is_favorite ⇒ Object
Whether or not the list is in the favorites.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 38 def is_favorite @is_favorite end |
#modified ⇒ Object
Date of last edition of the dashboard list.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 41 def modified @modified end |
#name ⇒ Object
The name of the dashboard list.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 44 def name @name end |
#type ⇒ Object
The type of dashboard list.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/dashboard_list.rb', line 47 def type @type end |