Sha256: d91516fb2f09c431cf9cd21526bfeb114c8cf94f1c5a43e5828754b00ff80f28

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 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
    #
    # Used to target devices based on their carrier country.
    #
    class CarrierCountryCriterion < Criterion

      include MsRestAzure

      include MsRest::JSONable

      def initialize
        @type = "carrier-country"
      end

      attr_accessor :type

      # @return [String] Two-characters country code (ISO 3166-1).
      attr_accessor :name


      #
      # Mapper for CarrierCountryCriterion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'carrier-country',
          type: {
            name: 'Composite',
            class_name: 'CarrierCountryCriterion',
            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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.13.0 lib/generated/azure_mgmt_mobile_engagement/models/carrier_country_criterion.rb