Sha256: 4afaf1294e00d0bd7fdccaef0e931b40e09db9dd804d40bc7169b0034f434d98
Contents?: true
Size: 1.79 KB
Versions: 2
Compression:
Stored size: 1.79 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 # # 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() { client_side_validation: true, required: false, serialized_name: 'segment', type: { name: 'Composite', class_name: 'SegmentCriterion', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'Number' } }, exclude: { client_side_validation: true, required: false, serialized_name: 'exclude', type: { name: 'Boolean' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems