Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentOwnerInfo

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

Overview

Information on the user an incident is assigned to

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#assigned_toString

Returns The name of the user the incident is assigned to.

Returns:

  • (String)

    The name of the user the incident is assigned to.



19
20
21
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb', line 19

def assigned_to
  @assigned_to
end

#emailString

Returns The email of the user the incident is assigned to.

Returns:

  • (String)

    The email of the user the incident is assigned to.



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb', line 16

def email
  @email
end

#object_idObject

Returns The object id of the user the incident is assigned to.

Returns:

  • The object id of the user the incident is assigned to.



22
23
24
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb', line 22

def object_id
  @object_id
end

#user_principal_nameString

assigned to.

Returns:

  • (String)

    The user principal name of the user the incident is



26
27
28
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb', line 26

def user_principal_name
  @user_principal_name
end

Class Method Details

.mapperObject

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



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
77
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IncidentOwnerInfo',
    type: {
      name: 'Composite',
      class_name: 'IncidentOwnerInfo',
      model_properties: {
        email: {
          client_side_validation: true,
          required: false,
          serialized_name: 'email',
          type: {
            name: 'String'
          }
        },
        assigned_to: {
          client_side_validation: true,
          required: false,
          serialized_name: 'assignedTo',
          type: {
            name: 'String'
          }
        },
        object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        user_principal_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userPrincipalName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end