class Azure::GraphRbac::V1_6::Models::Application

Active Directory application information.

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 application.

homepage[RW]

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

identifier_uris[RW]

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

oauth2allow_implicit_flow[RW]

@return [Boolean] Whether to allow implicit grant flow for OAuth2

objectType[RW]
reply_urls[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/1.6/generated/azure_graph_rbac/models/application.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Application',
    type: {
      name: 'Composite',
      class_name: 'Application',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        object_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        deletion_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deletionTimestamp',
          type: {
            name: 'DateTime'
          }
        },
        objectType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        app_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'appId',
          type: {
            name: 'String'
          }
        },
        app_permissions: {
          client_side_validation: true,
          required: false,
          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,
          serialized_name: 'availableToOtherTenants',
          type: {
            name: 'Boolean'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        identifier_uris: {
          client_side_validation: true,
          required: false,
          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,
          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,
          serialized_name: 'homepage',
          type: {
            name: 'String'
          }
        },
        oauth2allow_implicit_flow: {
          client_side_validation: true,
          required: false,
          serialized_name: 'oauth2AllowImplicitFlow',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/1.6/generated/azure_graph_rbac/models/application.rb, line 16
def initialize
  @objectType = "Application"
end