Class: Azure::ARM::Scheduler::Models::BasicAuthentication
- Inherits:
-
HttpAuthentication
- Object
- HttpAuthentication
- Azure::ARM::Scheduler::Models::BasicAuthentication
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#password ⇒ String
empty.
-
#username ⇒ String
Gets or sets the username.
Attributes inherited from HttpAuthentication
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BasicAuthentication class as Ruby Hash.
Instance Attribute Details
#password ⇒ String
empty.
21 22 23 |
# File 'lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb', line 21 def password @password end |
#username ⇒ String
Returns Gets or sets the username.
17 18 19 |
# File 'lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb', line 17 def username @username end |
Class Method Details
.mapper ⇒ Object
Mapper for BasicAuthentication class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 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 |
# File 'lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb', line 28 def self.mapper() { required: false, serialized_name: 'BasicAuthentication', type: { name: 'Composite', class_name: 'BasicAuthentication', model_properties: { type: { required: false, serialized_name: 'type', type: { name: 'Enum', module: 'HttpAuthenticationType' } }, username: { required: false, serialized_name: 'username', type: { name: 'String' } }, password: { required: false, serialized_name: 'password', type: { name: 'String' } } } } } end |