Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DatapushFeedbackCriterion
- Inherits:
-
Criterion
- Object
- Criterion
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DatapushFeedbackCriterion
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb
Overview
Used to target devices who received a data push.
Instance Attribute Summary collapse
-
#action ⇒ CampaignFeedbacks
(action depends on the return value in the callbacks you declared in the client code).
-
#content_id ⇒ Integer
The unique identifier of the data push.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatapushFeedbackCriterion class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DatapushFeedbackCriterion
constructor
A new instance of DatapushFeedbackCriterion.
Constructor Details
#initialize ⇒ DatapushFeedbackCriterion
Returns a new instance of DatapushFeedbackCriterion.
16 17 18 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb', line 16 def initialize @type = "datapush-feedback" end |
Instance Attribute Details
#action ⇒ CampaignFeedbacks
(action depends on the return value in the callbacks you declared in the client code). . Possible values include: ‘pushed’, ‘replied’, ‘actioned’, ‘exited’
29 30 31 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb', line 29 def action @action end |
#content_id ⇒ Integer
Returns The unique identifier of the data push.
23 24 25 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb', line 23 def content_id @content_id end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb', line 20 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for DatapushFeedbackCriterion class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb', line 36 def self.mapper() { required: false, serialized_name: 'datapush-feedback', type: { name: 'Composite', class_name: 'DatapushFeedbackCriterion', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, content_id: { required: false, serialized_name: 'content-id', type: { name: 'Number' } }, action: { required: false, serialized_name: 'action', type: { name: 'String' } } } } } end |