class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApplicationVersionCriterion
Used to target devices based on the version of the application they are using.
Attributes
name[RW]
@return [String] The application version.
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for ApplicationVersionCriterion
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'application-version', type: { name: 'Composite', class_name: 'ApplicationVersionCriterion', 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
new()
click to toggle source
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb, line 17 def initialize @type = "application-version" end