class Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::ImportSourceCredentials

Model object.

Attributes

password[RW]

@return [String] The password used to authenticate with the source registry.

username[RW]

@return [String] The username to authenticate with the source registry.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-05-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