class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollAnswerFeedbackCriterion
Used to target devices who answered X to a given question.
Attributes
choice_id[RW]
@return [Integer] The unique identifier of the choice.
content_id[RW]
@return [Integer] The unique identifier of the poll.
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for PollAnswerFeedbackCriterion
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'poll-answer-feedback', type: { name: 'Composite', class_name: 'PollAnswerFeedbackCriterion', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, content_id: { client_side_validation: true, required: false, serialized_name: 'content-id', type: { name: 'Number' } }, choice_id: { client_side_validation: true, required: false, serialized_name: 'choice-id', type: { name: 'Number' } } } } } end
new()
click to toggle source
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb, line 16 def initialize @type = "poll-answer-feedback" end