Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Aggregations

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb

Overview

The aggregation.

Direct Known Subclasses

CasesAggregation

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAggregations

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

#idString

Returns Azure resource Id.

Returns:

  • (String)

    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

#kindObject

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

#nameString

Returns Azure resource name.

Returns:

  • (String)

    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

#typeString

Returns Azure resource type.

Returns:

  • (String)

    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

.mapperObject

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