/usr/lib/ruby/vendor_ruby/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb is in ruby-azure-mgmt-mobile-engagement 0.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 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 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 169 170 171 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::MobileEngagement
module Models
#
# Model object.
#
#
class CampaignLocalization
include MsRestAzure
# @return [String] Title of the notification. This field supports appInfo
# markers.
attr_accessor :notification_title
# @return [String] Message of the notification. This field supports
# appInfo markers.
attr_accessor :notification_message
# @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+).
#
attr_accessor :notification_image
# @return [NotificationOptions] Additional platform specific options.
attr_accessor :notification_options
# @return [String] Title of the announcement or poll. This field supports
# appInfo markers.
attr_accessor :title
# @return [String] Body of the text/web announcement, poll or data push.
# This field supports appInfo markers.
attr_accessor :body
# @return [String] Text of the action button for text/web announcements
# and polls (answer button).
attr_accessor :action_button_text
# @return [String] Text of the exit button for text/web announcements and
# polls.
attr_accessor :exit_button_text
# @return [String] URL to launch when the announcement is actioned.
attr_accessor :action_url
# @return Native push payload.
attr_accessor :payload
#
# Mapper for CampaignLocalization class as Ruby Hash.
# This will be used for serialization/deserialization.
#
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
end
end
end
|