class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ClientInfo

Information on the client (user or application) that made some action

Attributes

email[RW]

@return [String] The email of the client.

name[RW]

@return [String] The name of the client.

object_id[RW]

@return The object id of the client.

user_principal_name[RW]

@return [String] The user principal name of the client.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/client_info.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClientInfo',
    type: {
      name: 'Composite',
      class_name: 'ClientInfo',
      model_properties: {
        email: {
          client_side_validation: true,
          required: false,
          serialized_name: 'email',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          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