Sha256: f45255d7bb4123e5b7001f720b80d3a9df246d3186e720674515e2d45f6f3fe0

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 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::MobileEngagement::Mgmt::V2014_12_01
  module Models
    #
    # Target devices based on a boolean tag value.
    #
    class BooleanTagCriterion < Criterion

      include MsRestAzure


      def initialize
        @type = "boolean-tag"
      end

      attr_accessor :type

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

      # @return [Boolean] A custom boolean value to match.
      attr_accessor :value


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.15.1 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb
azure_mgmt_mobile_engagement-0.15.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb