Class: Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSourceCredentials
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSourceCredentials
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#password ⇒ String
registry.
-
#username ⇒ String
The username to authenticate with the source registry.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImportSourceCredentials class as Ruby Hash.
Instance Attribute Details
#password ⇒ String
registry.
21 22 23 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb', line 21 def password @password end |
#username ⇒ String
Returns The username to authenticate with the source registry.
17 18 19 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb', line 17 def username @username end |
Class Method Details
.mapper ⇒ Object
Mapper for ImportSourceCredentials 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 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/import_source_credentials.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImportSourceCredentials', type: { name: 'Composite', class_name: 'ImportSourceCredentials', model_properties: { username: { client_side_validation: true, required: false, serialized_name: 'username', type: { name: 'String' } }, password: { client_side_validation: true, required: true, serialized_name: 'password', type: { name: 'String' } } } } } end |