class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DatapushFeedbackCriterion
Used to target devices who received a data push.
Attributes
action[RW]
@return [CampaignFeedbacks] Action that was performed on the data push (action depends on the return value in the callbacks you declared in the client code). . Possible values include: 'pushed', 'replied', 'actioned', 'exited'
content_id[RW]
@return [Integer] The unique identifier of the data push.
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for DatapushFeedbackCriterion
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'datapush-feedback', type: { name: 'Composite', class_name: 'DatapushFeedbackCriterion', 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/datapush_feedback_criterion.rb, line 16 def initialize @type = "datapush-feedback" end