Sha256: 412a8ce0a2c732abe29c0cbf2a9c8cd276eb41c4b10b668b84667b0b2c92f9b5

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::MobileEngagement
  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

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.7.0 lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb
azure_mgmt_mobile_engagement-0.6.0 lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb
azure_mgmt_mobile_engagement-0.5.0 lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb