Class: Azure::AlertsManagement::Mgmt::V2019_03_01::Models::SmartGroupModificationProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb

Overview

Properties of the smartGroup modification item.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#modificationsArray<SmartGroupModificationItem>

Returns Modification details.

Returns:



20
21
22
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb', line 20

def modifications
  @modifications
end

Returns URL to fetch the next set of results.

Returns:

  • (String)

    URL to fetch the next set of results.



23
24
25
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb', line 23

def next_link
  @next_link
end

#smart_group_idString

being retrieved

Returns:

  • (String)

    Unique Id of the smartGroup for which the history is



17
18
19
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb', line 17

def smart_group_id
  @smart_group_id
end

Class Method Details

.mapperObject

Mapper for SmartGroupModificationProperties class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
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
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/smart_group_modification_properties.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'smartGroupModificationProperties',
    type: {
      name: 'Composite',
      class_name: 'SmartGroupModificationProperties',
      model_properties: {
        smart_group_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'smartGroupId',
          type: {
            name: 'String'
          }
        },
        modifications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifications',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SmartGroupModificationItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SmartGroupModificationItem'
                }
            }
          }
        },
        next_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nextLink',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end