Sha256: a2866e8258538c54ed24bdb88018ffeebcb0afa5c6278307219bb5957ee5881b

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 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::Resources::Mgmt::V2019_10_01
  module Models
    #
    # Wrapper resource for tags patch API request only.
    #
    class TagsPatchResource

      include MsRestAzure

      # @return [TagsPatchOperation] The operation type for the patch API.
      # Possible values include: 'Replace', 'Merge', 'Delete'
      attr_accessor :operation

      # @return [Tags] The set of tags.
      attr_accessor :properties


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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb
azure_mgmt_resources2-0.18.2 lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb
azure_mgmt_resources-0.18.2 lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb
azure_mgmt_resources-0.18.1 lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb