Class: Azure::ARM::Scheduler::Models::OAuthAuthentication

Inherits:
HttpAuthentication show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb

Overview

Model object.

Instance Attribute Summary collapse

Attributes inherited from HttpAuthentication

#type

Class Method Summary collapse

Instance Attribute Details

#audienceString

Returns Gets or sets the audience.

Returns:

  • (String)

    Gets or sets the audience.



22
23
24
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 22

def audience
  @audience
end

#client_idString

Returns Gets or sets the client identifier.

Returns:

  • (String)

    Gets or sets the client identifier.



25
26
27
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 25

def client_id
  @client_id
end

#secretString

Returns Gets or sets the secret.

Returns:

  • (String)

    Gets or sets the secret.



16
17
18
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 16

def secret
  @secret
end

#tenantString

Returns Gets or sets the tenant.

Returns:

  • (String)

    Gets or sets the tenant.



19
20
21
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 19

def tenant
  @tenant
end

Class Method Details

.mapperObject

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



32
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
78
79
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 32

def self.mapper()
  {
    required: false,
    serialized_name: 'OAuthAuthentication',
    type: {
      name: 'Composite',
      class_name: 'OAuthAuthentication',
      model_properties: {
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'HttpAuthenticationType'
          }
        },
        secret: {
          required: false,
          serialized_name: 'secret',
          type: {
            name: 'String'
          }
        },
        tenant: {
          required: false,
          serialized_name: 'tenant',
          type: {
            name: 'String'
          }
        },
        audience: {
          required: false,
          serialized_name: 'audience',
          type: {
            name: 'String'
          }
        },
        client_id: {
          required: false,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end