1717require 'time'
1818
1919module DatadogAPIClient ::V2
20- # Attributes related to the dashboard, including title and popularity .
20+ # Attributes related to the dashboard, including title, popularity, and url .
2121 class MetricDashboardAttributes
2222 include BaseGenericModel
2323
@@ -27,14 +27,18 @@ class MetricDashboardAttributes
2727 # Title of the asset.
2828 attr_accessor :title
2929
30+ # URL path of the asset.
31+ attr_accessor :url
32+
3033 attr_accessor :additional_properties
3134
3235 # Attribute mapping from ruby-style variable name to JSON key.
3336 # @!visibility private
3437 def self . attribute_map
3538 {
3639 :'popularity' => :'popularity' ,
37- :'title' => :'title'
40+ :'title' => :'title' ,
41+ :'url' => :'url'
3842 }
3943 end
4044
@@ -43,7 +47,8 @@ def self.attribute_map
4347 def self . openapi_types
4448 {
4549 :'popularity' => :'Float' ,
46- :'title' => :'String'
50+ :'title' => :'String' ,
51+ :'url' => :'String'
4752 }
4853 end
4954
@@ -72,6 +77,10 @@ def initialize(attributes = {})
7277 if attributes . key? ( :'title' )
7378 self . title = attributes [ :'title' ]
7479 end
80+
81+ if attributes . key? ( :'url' )
82+ self . url = attributes [ :'url' ]
83+ end
7584 end
7685
7786 # Check to see if the all the properties in the model are valid
@@ -123,15 +132,16 @@ def ==(o)
123132 return true if self . equal? ( o )
124133 self . class == o . class &&
125134 popularity == o . popularity &&
126- title == o . title
135+ title == o . title &&
136+ url == o . url
127137 additional_properties == o . additional_properties
128138 end
129139
130140 # Calculates hash code according to all attributes.
131141 # @return [Integer] Hash code
132142 # @!visibility private
133143 def hash
134- [ popularity , title ] . hash
144+ [ popularity , title , url ] . hash
135145 end
136146 end
137147end
0 commit comments