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
empty.
-
#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.
24 25 26 |
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 24 def audience @audience end |
#client_id ⇒ String
Returns Gets or sets the client identifier.
27 28 29 |
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 27 def client_id @client_id end |
#secret ⇒ String
empty.
18 19 20 |
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 18 def secret @secret end |
#tenant ⇒ String
Returns Gets or sets the tenant.
21 22 23 |
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 21 def tenant @tenant end |
Class Method Details
.mapper ⇒ Object
Mapper for OAuthAuthentication class as Ruby Hash. This will be used for serialization/deserialization.
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 80 81 |
# File 'lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb', line 34 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 |