Sha256: e5f8fdb9eef4703045ecfdfe62c508dd7aeb78a02f17d4a1574944c03cad54a3
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::MobileEngagement 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
3 entries across 3 versions & 1 rubygems