Class: Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationItem

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb

Overview

smartGroup modification item.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#commentsString

Returns Modification comments.

Returns:

  • (String)

    Modification comments



33
34
35
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 33

def comments
  @comments
end

#descriptionString

Returns Description of the modification.

Returns:

  • (String)

    Description of the modification



36
37
38
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 36

def description
  @description
end

#modification_eventSmartGroupModificationEvent

Possible values include: ‘SmartGroupCreated’, ‘StateChange’, ‘AlertAdded’, ‘AlertRemoved’

Returns:



18
19
20
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 18

def modification_event
  @modification_event
end

#modified_atString

Returns Modified date and time.

Returns:

  • (String)

    Modified date and time



27
28
29
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 27

def modified_at
  @modified_at
end

#modified_byString

Returns Modified user details (Principal client name).

Returns:

  • (String)

    Modified user details (Principal client name)



30
31
32
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 30

def modified_by
  @modified_by
end

#new_valueString

Returns New value.

Returns:

  • (String)

    New value



24
25
26
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 24

def new_value
  @new_value
end

#old_valueString

Returns Old value.

Returns:

  • (String)

    Old value



21
22
23
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 21

def old_value
  @old_value
end

Class Method Details

.mapperObject

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



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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# File 'lib/2019-05-05-preview/generated/azure_mgmt_alerts_management/models/smart_group_modification_item.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'smartGroupModificationItem',
    type: {
      name: 'Composite',
      class_name: 'SmartGroupModificationItem',
      model_properties: {
        modification_event: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modificationEvent',
          type: {
            name: 'Enum',
            module: 'SmartGroupModificationEvent'
          }
        },
        old_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'oldValue',
          type: {
            name: 'String'
          }
        },
        new_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'newValue',
          type: {
            name: 'String'
          }
        },
        modified_at: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifiedAt',
          type: {
            name: 'String'
          }
        },
        modified_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifiedBy',
          type: {
            name: 'String'
          }
        },
        comments: {
          client_side_validation: true,
          required: false,
          serialized_name: 'comments',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end