Class: Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
- Inherits:
-
Object
- Object
- Azure::ResourceGraph::Mgmt::V2019_04_01::Models::Facet
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb
Overview
A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#expression ⇒ String
request.
-
#resultType ⇒ Object
Returns the value of attribute resultType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Facet class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Facet
constructor
A new instance of Facet.
Constructor Details
#initialize ⇒ Facet
Returns a new instance of Facet.
20 21 22 |
# File 'lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb', line 20 def initialize @resultType = "Facet" end |
Instance Attribute Details
#expression ⇒ String
request.
28 29 30 |
# File 'lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb', line 28 def expression @expression end |
#resultType ⇒ Object
Returns the value of attribute resultType.
24 25 26 |
# File 'lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb', line 24 def resultType @resultType end |
Class Method Details
.mapper ⇒ Object
Mapper for Facet class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/facet.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Facet', type: { name: 'Composite', polymorphic_discriminator: 'resultType', uber_parent: 'Facet', class_name: 'Facet', model_properties: { expression: { client_side_validation: true, required: true, serialized_name: 'expression', type: { name: 'String' } } } } } end |