Sha256: 65f50fbbd2130d344812f357f3967ef052c957315cec136c9de1655617cb95a8
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 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 received an announcement. # class AnnouncementFeedbackCriterion < Criterion include MsRestAzure def initialize @type = "announcement-feedback" end attr_accessor :type # @return [Integer] The unique identifier of the announcement. attr_accessor :content_id # @return [CampaignFeedbacks] Action that was performed on the # announcement. Possible values include: 'pushed', 'replied', 'actioned', # 'exited' attr_accessor :action # # Mapper for AnnouncementFeedbackCriterion class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'announcement-feedback', type: { name: 'Composite', class_name: 'AnnouncementFeedbackCriterion', 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' } }, action: { client_side_validation: true, required: false, serialized_name: 'action', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems