class Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters

The parameters supplied to the create or update module operation.

Attributes

location[RW]

@return [String] Gets or sets the location of the resource.

name[RW]

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

tags[RW]

@return [Hash{String => String}] Gets or sets the tags attached to the resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ModuleCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'ModuleCreateOrUpdateParameters',
      model_properties: {
        content_link: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.contentLink',
          type: {
            name: 'Composite',
            class_name: 'ContentLink'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end