class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization
Model object.
Attributes
@return [String] URL to launch when the announcement is actioned.
@return [String] Body of the text/web announcement, poll or data push. This field supports appInfo markers.
@return [Array<Integer>] Optional image encoded in base 64. Usually 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+).
@return [String] Message of the notification. This field supports appInfo markers.
@return [NotificationOptions] Additional platform specific options.
@return [String] Title of the notification. This field supports appInfo markers.
@return Native push payload.
@return [String] Title of the announcement or poll. This field supports appInfo markers.
Private Class Methods
Mapper for CampaignLocalization
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb, line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CampaignLocalization', type: { name: 'Composite', class_name: 'CampaignLocalization', model_properties: { notification_title: { client_side_validation: true, required: false, serialized_name: 'notificationTitle', constraints: { MaxLength: 2000 }, type: { name: 'String' } }, notification_message: { client_side_validation: true, required: false, serialized_name: 'notificationMessage', constraints: { MaxLength: 4000 }, type: { name: 'String' } }, notification_image: { client_side_validation: true, required: false, serialized_name: 'notificationImage', constraints: { MaxLength: 65535 }, type: { name: 'ByteArray' } }, notification_options: { client_side_validation: true, required: false, serialized_name: 'notificationOptions', type: { name: 'Composite', class_name: 'NotificationOptions' } }, title: { client_side_validation: true, required: false, serialized_name: 'title', constraints: { MaxLength: 128 }, type: { name: 'String' } }, body: { client_side_validation: true, required: false, serialized_name: 'body', constraints: { MaxLength: 65535 }, type: { name: 'String' } }, action_button_text: { client_side_validation: true, required: false, serialized_name: 'actionButtonText', constraints: { MaxLength: 64 }, type: { name: 'String' } }, exit_button_text: { client_side_validation: true, required: false, serialized_name: 'exitButtonText', constraints: { MaxLength: 64 }, type: { name: 'String' } }, action_url: { client_side_validation: true, required: false, serialized_name: 'actionUrl', constraints: { MaxLength: 2000 }, type: { name: 'String' } }, payload: { client_side_validation: true, required: false, serialized_name: 'payload', type: { name: 'Object' } } } } } end