Class: DatadogAPIClient::V1::ApmStatsQueryColumnType
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::ApmStatsQueryColumnType
- Defined in:
- lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb
Overview
Column properties.
Instance Attribute Summary collapse
-
#_alias ⇒ Object
A user-assigned alias for the column.
-
#cell_display_mode ⇒ Object
Returns the value of attribute cell_display_mode.
-
#name ⇒ Object
Column name.
-
#order ⇒ Object
Returns the value of attribute order.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ApmStatsQueryColumnType
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ ApmStatsQueryColumnType
Initializes the object
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb', line 73 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::ApmStatsQueryColumnType` 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::ApmStatsQueryColumnType`. 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?(:'_alias') self._alias = attributes[:'_alias'] end if attributes.key?(:'cell_display_mode') self.cell_display_mode = attributes[:'cell_display_mode'] end if attributes.key?(:'name') self.name = attributes[:'name'] end if attributes.key?(:'order') self.order = attributes[:'order'] end end |
Instance Attribute Details
#_alias ⇒ Object
A user-assigned alias for the column.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb', line 27 def _alias @_alias end |
#cell_display_mode ⇒ Object
Returns the value of attribute cell_display_mode.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb', line 29 def cell_display_mode @cell_display_mode end |
#name ⇒ Object
Column name.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb', line 32 def name @name end |
#order ⇒ Object
Returns the value of attribute order.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb', line 34 def order @order end |