Sha256: 59a97d3ef6e53c6b88fbabc3d5a9c08065308fdde411ca03b4eed2922e6179bd
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 include MsRest::JSONable 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