class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::StringTagCriterion

Target devices based on a string tag value.

Attributes

name[RW]

@return [String] The name of the custom tag.

type[RW]
value[RW]

@return [String] A custom string to match for tag value (? and * characters can be used to perform wildcard matching).

Private Class Methods

mapper() click to toggle source

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

# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'string-tag',
    type: {
      name: 'Composite',
      class_name: 'StringTagCriterion',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb, line 16
def initialize
  @type = "string-tag"
end