Sha256: df37c5b1a3c85f0bb179ff954d4695db6cf82b09f8476f7ff6564d5d0f57f217

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.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 their network type.
    #
    class NetworkTypeCriterion < Criterion

      include MsRestAzure


      def initialize
        @type = "network-type"
      end

      attr_accessor :type

      # @return [String] The network type (Wifi, Mobile...).
      attr_accessor :name


      #
      # Mapper for NetworkTypeCriterion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'network-type',
          type: {
            name: 'Composite',
            class_name: 'NetworkTypeCriterion',
            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.10.0 lib/generated/azure_mgmt_mobile_engagement/models/network_type_criterion.rb