class Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::GatewaySettings

Gateway settings.

Attributes

is_credential_enabled[RW]

@return [String] Indicates whether or not the gateway settings based authorization is enabled.

password[RW]

@return [String] The gateway settings user password.

user_name[RW]

@return [String] The gateway settings user name.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/gateway_settings.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GatewaySettings',
    type: {
      name: 'Composite',
      class_name: 'GatewaySettings',
      model_properties: {
        is_credential_enabled: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'restAuthCredential\\.isEnabled',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'restAuthCredential\\.username',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'restAuthCredential\\.password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end