Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::ServiceImpactingEventIncidentProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb

Overview

Properties of the service impacting event.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#incident_typeString

Returns Type of Event.

Returns:

  • (String)

    Type of Event.



25
26
27
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb', line 25

def incident_type
  @incident_type
end

#regionString

Returns Region impacted by the event.

Returns:

  • (String)

    Region impacted by the event.



22
23
24
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb', line 22

def region
  @region
end

#serviceString

Returns Service impacted by the event.

Returns:

  • (String)

    Service impacted by the event.



19
20
21
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb', line 19

def service
  @service
end

#titleString

Returns Title of the incident.

Returns:

  • (String)

    Title of the incident.



16
17
18
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb', line 16

def title
  @title
end

Class Method Details

.mapperObject

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



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/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'serviceImpactingEvent_incidentProperties',
    type: {
      name: 'Composite',
      class_name: 'ServiceImpactingEventIncidentProperties',
      model_properties: {
        title: {
          client_side_validation: true,
          required: false,
          serialized_name: 'title',
          type: {
            name: 'String'
          }
        },
        service: {
          client_side_validation: true,
          required: false,
          serialized_name: 'service',
          type: {
            name: 'String'
          }
        },
        region: {
          client_side_validation: true,
          required: false,
          serialized_name: 'region',
          type: {
            name: 'String'
          }
        },
        incident_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'incidentType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end