Class: Jamf::OAPISchemas::AuthorizationV1

Inherits:
Jamf::OAPIObject show all
Defined in:
lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb

Overview

OAPI Object Model and Enums for: AuthorizationV1

This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.36.1-t1645562643

This class may be used directly, e.g instances of other classes may use instances of this class as one of their own properties/attributes.

It may also be used as a superclass when implementing Jamf Pro API Resources in ruby-jss. The subclasses include appropriate mixins, and should expand on the basic functionality provided here.

Container Objects: Other object models that use this model as the value in one of their attributes.

Sub Objects: Other object models used by this model's attributes.

- Jamf::OAPISchemas::AuthAccountV1
- Jamf::OAPISchemas::AccountGroup
- Jamf::OAPISchemas::V1Site

Endpoints and Privileges: API endpoints and HTTP operations that use this object model, and the Jamf Pro privileges needed to access them.

- '/v1/auth:GET' needs permissions:
  - Unknown

Constant Summary collapse

AUTHENTICATION_TYPE_OPTIONS =

Enums used by this class or others

[
  'JSS',
  'LDAP',
  'SAML',
  'INVITE',
  'OAUTH',
  'DEVICE_SIGNATURE',
  'CLOUD_CONNECTOR',
  'SYSTEM_ACCOUNT'
]
OAPI_PROPERTIES =
{

  # @!attribute account
  #   @return [Jamf::OAPISchemas::AuthAccountV1]
  account: {
    class: Jamf::OAPISchemas::AuthAccountV1
  },

  # @!attribute accountGroups
  #   @return [Array<Jamf::OAPISchemas::AccountGroup>]
  accountGroups: {
    class: Jamf::OAPISchemas::AccountGroup,
    multi: true
  },

  # @!attribute sites
  #   @return [Array<Jamf::OAPISchemas::V1Site>]
  sites: {
    class: Jamf::OAPISchemas::V1Site,
    multi: true
  },

  # @!attribute authenticationType
  #   @return [String]
  authenticationType: {
    class: :string,
    enum: AUTHENTICATION_TYPE_OPTIONS
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#accountJamf::OAPISchemas::AuthAccountV1



# File 'lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb', line 84

#accountGroupsArray<Jamf::OAPISchemas::AccountGroup>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb', line 90

#authenticationTypeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb', line 104

#sitesArray<Jamf::OAPISchemas::V1Site>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb', line 97