Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Aggregations
- Inherits:
-
Object
- Object
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Aggregations
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb
Overview
The aggregation.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#id ⇒ String
Azure resource Id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ String
Azure resource name.
-
#type ⇒ String
Azure resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Aggregations class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Aggregations
constructor
A new instance of Aggregations.
Constructor Details
#initialize ⇒ Aggregations
Returns a new instance of Aggregations.
18 19 20 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb', line 18 def initialize @kind = "Aggregations" end |
Instance Attribute Details
#id ⇒ String
Returns Azure resource Id.
25 26 27 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb', line 25 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind.
22 23 24 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb', line 22 def kind @kind end |
#name ⇒ String
Returns Azure resource name.
28 29 30 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb', line 28 def name @name end |
#type ⇒ String
Returns Azure resource type.
31 32 33 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb', line 31 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for Aggregations class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Aggregations', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'Aggregations', class_name: 'Aggregations', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |