Sha256: bff4f90f5184f25b1841c28415294801b0de6f86ff8e6ebbab311200c616e0f5

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Batch::Mgmt::V2019_08_01
  module Models
    #
    # A name-value pair associated with a Batch service resource.

    # The Batch service does not assign any meaning to this metadata; it is
    # solely for the use of user code.
    #
    class MetadataItem

      include MsRestAzure

      # @return [String] The name of the metadata item.
      attr_accessor :name

      # @return [String] The value of the metadata item.
      attr_accessor :value


      #
      # Mapper for MetadataItem class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'MetadataItem',
          type: {
            name: 'Composite',
            class_name: 'MetadataItem',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2019-08-01/generated/azure_mgmt_batch/models/metadata_item.rb
azure_mgmt_batch-0.18.0 lib/2019-08-01/generated/azure_mgmt_batch/models/metadata_item.rb