Sha256: fdcfa9ba71720c5b9879afd7cb5201c2131e30a8c478ca66ebf219c6dbb17bca
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 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::MobileEngagement::Mgmt::V2014_12_01 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() { client_side_validation: true, required: false, serialized_name: 'network-type', type: { name: 'Composite', class_name: 'NetworkTypeCriterion', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems