Class: Azure::Storage::Mgmt::V2019_06_01::Models::TagFilter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01/generated/azure_mgmt_storage/models/tag_filter.rb

Overview

Blob index tag based filtering for blob objects

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

characters

Returns:

  • (String)

    This is the filter tag name, it can have 1 - 128



17
18
19
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/tag_filter.rb', line 17

def name
  @name
end

#opString

object comparison and filtering. Only == (equality operator) is currently supported

Returns:

  • (String)

    This is the comparison operator which is used for



22
23
24
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/tag_filter.rb', line 22

def op
  @op
end

#valueString

filtering, it can have 0 - 256 characters

Returns:

  • (String)

    This is the filter tag value field used for tag based



26
27
28
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/tag_filter.rb', line 26

def value
  @value
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/tag_filter.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TagFilter',
    type: {
      name: 'Composite',
      class_name: 'TagFilter',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          constraints: {
            MaxLength: 128,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        op: {
          client_side_validation: true,
          required: true,
          serialized_name: 'op',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          constraints: {
            MaxLength: 256,
            MinLength: 0
          },
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end