Sha256: c128caf5fd618a1b82dd1bdf215b4eae11e6829a9a39c0ab7d8fafd30781d9a6
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 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 # # Target devices based on an existing segment. # class SegmentCriterion < Criterion include MsRestAzure def initialize @type = "segment" end attr_accessor :type # @return [Integer] Segment identifier. attr_accessor :id # @return [Boolean] If value is true, the criterion will target users # that are NOT part of the segment. attr_accessor :exclude # # Mapper for SegmentCriterion class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'segment', type: { name: 'Composite', class_name: 'SegmentCriterion', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, id: { required: false, serialized_name: 'id', type: { name: 'Number' } }, exclude: { required: false, serialized_name: 'exclude', type: { name: 'Boolean' } } } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_mobile_engagement-0.14.0 | lib/generated/azure_mgmt_mobile_engagement/models/segment_criterion.rb |