class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AnnouncementFeedbackCriterion
Used to target devices who received an announcement.
Attributes
action[RW]
@return [CampaignFeedbacks] Action that was performed on the announcement. Possible values include: 'pushed', 'replied', 'actioned', 'exited'
content_id[RW]
@return [Integer] The unique identifier of the announcement.
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for AnnouncementFeedbackCriterion
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb, line 35 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
new()
click to toggle source
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb, line 16 def initialize @type = "announcement-feedback" end