class Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult

The response from the ListCredentials operation.

Attributes

passwords[RW]

@return [Array<RegistryPassword>] The list of passwords for a container registry.

username[RW]

@return [String] The username for a container registry.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryListCredentialsResult',
    type: {
      name: 'Composite',
      class_name: 'RegistryListCredentialsResult',
      model_properties: {
        username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        passwords: {
          client_side_validation: true,
          required: false,
          serialized_name: 'passwords',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RegistryPasswordElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RegistryPassword'
                }
            }
          }
        }
      }
    }
  }
end