Sha256: f31d7b824ceef068c0db6a14a71ae99a83e6bd98389e407cce1de63e68c05eec
Contents?: true
Size: 1.67 KB
Versions: 2
Compression:
Stored size: 1.67 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 who answered X to a given question. # class PollAnswerFeedbackCriterion < Criterion include MsRestAzure def initialize @type = "poll-answer-feedback" end attr_accessor :type # @return [Integer] The unique identifier of the poll. attr_accessor :content_id # @return [Integer] The unique identifier of the choice. attr_accessor :choice_id # # Mapper for PollAnswerFeedbackCriterion class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'poll-answer-feedback', type: { name: 'Composite', class_name: 'PollAnswerFeedbackCriterion', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, content_id: { required: false, serialized_name: 'content-id', type: { name: 'Number' } }, choice_id: { required: false, serialized_name: 'choice-id', type: { name: 'Number' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems