Sha256: 563b9564d277a396761d101c511c6d6099ff1bec2bbf58a81d306f78b5e32e43

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 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::Resources2::Mgmt::V2016_07_01
  module Models
    #
    # Resource filter.
    #
    class GenericResourceFilter

      include MsRestAzure2

      # @return [String] The resource type.
      attr_accessor :resource_type

      # @return [String] The tag name.
      attr_accessor :tagname

      # @return [String] The tag value.
      attr_accessor :tagvalue


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources2-1.0.1 lib/2016-07-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb
azure_mgmt_resources2-1.0.0 lib/2016-07-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb