class Azure::Graph::Mgmt::V1_6::Models::AADObject

The properties of an Active Directory object.

Attributes

app_id[RW]

@return [String] The application ID.

app_permissions[RW]

@return [Array<String>] The application permissions.

available_to_other_tenants[RW]

@return [Boolean] Whether the application is be available to other tenants.

display_name[RW]

@return [String] The display name of the object.

homepage[RW]

@return [String] The home page of the application.

identifier_uris[RW]

@return [Array<String>] A collection of URIs for the application.

mail[RW]

@return [String] The primary email address of the object.

mail_enabled[RW]

@return [Boolean] Whether the AAD object is mail-enabled.

mail_nickname[RW]

@return [String] The mail alias for the user.

object_id[RW]

@return [String] The ID of the object.

object_type[RW]

@return [String] The type of AAD object.

reply_urls[RW]

@return [Array<String>] A collection of reply URLs for the application.

security_enabled[RW]

@return [Boolean] Whether the AAD object is security-enabled.

service_principal_names[RW]

@return [Array<String>] A collection of service principal names associated with the object.

sign_in_name[RW]

@return [String] The sign-in name of the object.

usage_location[RW]

@return [String] A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: “US”, “JP”, and “GB”.

user_principal_name[RW]

@return [String] The principal name of the object.

user_type[RW]

@return [String] The user type of the object.

Private Class Methods

mapper() click to toggle source

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

# File lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb, line 79
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AADObject',
    type: {
      name: 'Composite',
      class_name: 'AADObject',
      model_properties: {
        object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        object_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        user_principal_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userPrincipalName',
          type: {
            name: 'String'
          }
        },
        mail: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mail',
          type: {
            name: 'String'
          }
        },
        mail_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mailEnabled',
          type: {
            name: 'Boolean'
          }
        },
        mail_nickname: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'mailNickname',
          type: {
            name: 'String'
          }
        },
        security_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'securityEnabled',
          type: {
            name: 'Boolean'
          }
        },
        sign_in_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signInName',
          type: {
            name: 'String'
          }
        },
        service_principal_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'servicePrincipalNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        user_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userType',
          type: {
            name: 'String'
          }
        },
        usage_location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'usageLocation',
          type: {
            name: 'String'
          }
        },
        app_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'appId',
          type: {
            name: 'String'
          }
        },
        app_permissions: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'appPermissions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        available_to_other_tenants: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'availableToOtherTenants',
          type: {
            name: 'Boolean'
          }
        },
        identifier_uris: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'identifierUris',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        reply_urls: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'replyUrls',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        homepage: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'homepage',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end