Class: Azure::ARM::Scheduler::Models::OAuthAuthentication
- Inherits:
-
HttpAuthentication
- Object
- HttpAuthentication
- Azure::ARM::Scheduler::Models::OAuthAuthentication
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#audience ⇒ String
Gets or sets the audience.
-
#client_id ⇒ String
Gets or sets the client identifier.
-
#secret ⇒ String
Gets or sets the secret.
-
#tenant ⇒ String
Gets or sets the tenant.
Attributes inherited from HttpAuthentication
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OAuthAuthentication class as Ruby Hash.
Instance Attribute Details
#audience ⇒ String
Returns 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_id ⇒ String
Returns 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 |
#secret ⇒ String
Returns Gets or sets the secret.
16 17 18 |
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 16 def secret @secret end |
#tenant ⇒ String
Returns 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
.mapper ⇒ Object
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 |