class Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters

The parameters supplied to the create or update variable operation.

Attributes

description[RW]

@return [String] Gets or sets the description of the variable.

is_encrypted[RW]

@return [Boolean] Gets or sets the encrypted flag of the variable.

name[RW]

@return [String] Gets or sets the name of the variable.

value[RW]

@return [String] Gets or sets the value of the variable.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VariableCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'VariableCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.value',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        is_encrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isEncrypted',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end