Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization
- Inherits:
-
Object
- Object
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb
Overview
Model object.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#action_button_text ⇒ String
and polls (answer button).
-
#action_url ⇒ String
URL to launch when the announcement is actioned.
-
#body ⇒ String
This field supports appInfo markers.
-
#exit_button_text ⇒ String
polls.
-
#notification_image ⇒ Array<Integer>
included in the right part of in app notifications (or as a banner if there is neither text nor content icon).
-
#notification_message ⇒ String
appInfo markers.
-
#notification_options ⇒ NotificationOptions
Additional platform specific options.
-
#notification_title ⇒ String
markers.
-
#payload ⇒ Object
Native push payload.
-
#title ⇒ String
appInfo markers.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CampaignLocalization class as Ruby Hash.
Instance Attribute Details
#action_button_text ⇒ String
and polls (answer button).
45 46 47 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 45 def @action_button_text end |
#action_url ⇒ String
Returns URL to launch when the announcement is actioned.
52 53 54 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 52 def action_url @action_url end |
#body ⇒ String
This field supports appInfo markers.
41 42 43 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 41 def body @body end |
#exit_button_text ⇒ String
polls.
49 50 51 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 49 def @exit_button_text end |
#notification_image ⇒ Array<Integer>
included in the right part of in app notifications (or as a banner if there is neither text nor content icon). For Android system notifications, the image is used as the large icon (displayed only on Android 3+).
30 31 32 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 30 def notification_image @notification_image end |
#notification_message ⇒ String
appInfo markers.
22 23 24 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 22 def @notification_message end |
#notification_options ⇒ NotificationOptions
Returns Additional platform specific options.
33 34 35 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 33 def @notification_options end |
#notification_title ⇒ String
markers.
18 19 20 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 18 def notification_title @notification_title end |
#payload ⇒ Object
Returns Native push payload.
55 56 57 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 55 def payload @payload end |
#title ⇒ String
appInfo markers.
37 38 39 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 37 def title @title end |
Class Method Details
.mapper ⇒ Object
Mapper for CampaignLocalization class as Ruby Hash. This will be used for serialization/deserialization.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb', line 62 def self.mapper() { required: false, serialized_name: 'CampaignLocalization', type: { name: 'Composite', class_name: 'CampaignLocalization', model_properties: { notification_title: { required: false, serialized_name: 'notificationTitle', constraints: { MaxLength: 2000 }, type: { name: 'String' } }, notification_message: { required: false, serialized_name: 'notificationMessage', constraints: { MaxLength: 4000 }, type: { name: 'String' } }, notification_image: { required: false, serialized_name: 'notificationImage', constraints: { MaxLength: 65535 }, type: { name: 'ByteArray' } }, notification_options: { required: false, serialized_name: 'notificationOptions', type: { name: 'Composite', class_name: 'NotificationOptions' } }, title: { required: false, serialized_name: 'title', constraints: { MaxLength: 128 }, type: { name: 'String' } }, body: { required: false, serialized_name: 'body', constraints: { MaxLength: 65535 }, type: { name: 'String' } }, action_button_text: { required: false, serialized_name: 'actionButtonText', constraints: { MaxLength: 64 }, type: { name: 'String' } }, exit_button_text: { required: false, serialized_name: 'exitButtonText', constraints: { MaxLength: 64 }, type: { name: 'String' } }, action_url: { required: false, serialized_name: 'actionUrl', constraints: { MaxLength: 2000 }, type: { name: 'String' } }, payload: { required: false, serialized_name: 'payload', type: { name: 'Object' } } } } } end |