class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::EnvironmentSetting

A collection of environment variables to set.

Attributes

name[RW]

@return [String] The name of the environment variable.

value[RW]

@return [String] The value of the environment variable.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/environment_setting.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnvironmentSetting',
    type: {
      name: 'Composite',
      class_name: 'EnvironmentSetting',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end