Sha256: 444bc78c91b37a90fc44563520804d898199fb1fe01499e7445963be007d0784

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 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::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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.14.0 lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb