Sha256: edfc8388e7d76237e89710d69721b0893da3647e8c8addde2496f88d2c48921b

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 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
    #
    # Used to target devices based on their carrier name.
    #
    class CarrierNameCriterion < Criterion

      include MsRestAzure


      def initialize
        @type = "carrier-name"
      end

      attr_accessor :type

      # @return [String] Carrier name value.
      attr_accessor :name


      #
      # Mapper for CarrierNameCriterion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'carrier-name',
          type: {
            name: 'Composite',
            class_name: 'CarrierNameCriterion',
            model_properties: {
              type: {
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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/carrier_name_criterion.rb
azure_mgmt_mobile_engagement-0.6.0 lib/generated/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb
azure_mgmt_mobile_engagement-0.5.0 lib/generated/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb