Class: MistApi::WlanPortalTemplateSetting

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/mist_api/models/wlan_portal_template_setting.rb

Overview

Portal template wlan settings

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#check_for_conflict, #process_additional_properties, #process_array, #process_basic_value, #process_hash, #to_hash, #to_json

Constructor Details

#initialize(page_title = 'Welcome', access_code_alternate_email = 'Use alternate email address', alignment = PortalTemplateAlignmentEnum::CENTER, ar = SKIP, auth_button_amazon = 'Sign in with Amazon', auth_button_azure = 'Sign in with Azure', auth_button_email = 'Sign in with Email', auth_button_facebook = 'Sign in with Facebook', auth_button_google = 'Sign in with Google', auth_button_microsoft = 'Sign in with Microsoft', auth_button_passphrase = 'Sign in with Passphrase', auth_button_sms = 'Sign in with Text Message', auth_button_sponsor = 'Sign in as Guest', auth_label = 'Connect to Wi-Fi with', back_link = SKIP, ca_es = SKIP, color = '#1074bc', color_dark = '#0b5183', color_light = '#3589c6', company = false, company_error = 'Please provide your company name', company_label = 'Company', cs_cz = SKIP, da_dk = SKIP, de_de = SKIP, el_gr = SKIP, email = false, email_access_domain_error = 'Email Access Domain Error', email_cancel = 'Cancel', email_code_cancel = 'I did not receive the code', email_code_error = 'Please provide valid alternate email', email_code_field_label = 'Access Code', email_code_message = 'Enter the access number that was sent to your email address.', email_code_submit = 'Sign In', email_code_title = 'Access Code', email_error = 'Please provide valid email', email_field_label = 'Enter your email address', email_label = 'Email', email_message = 'We will email you an authentication code which you can use to connect to the Wi-Fi network.', email_submit = 'Send Access Code', email_title = 'Sign in with Email', en_gb = SKIP, en_us = SKIP, es_es = SKIP, fi_fi = SKIP, field1 = false, field1_error = 'Please provide Custom Field 1', field1_label = 'Custom Field 1', field1_required = SKIP, field2 = false, field2_error = 'Please provide Custom Field 2', field2_label = 'Custom Field 2', field2_required = SKIP, field3 = false, field3_error = 'Please provide Custom Field 3', field3_label = 'Custom Field 3', field3_required = SKIP, field4 = false, field4_error = 'Please provide Custom Field 4', field4_label = 'Custom Field 4', field4_required = SKIP, fr_fr = SKIP, he_il = SKIP, hi_in = SKIP, hr_hr = SKIP, hu_hu = SKIP, id_id = SKIP, it_it = SKIP, ja_jp = SKIP, ko_kr = SKIP, logo = SKIP, logo_height = SKIP, logo_width = SKIP, marketing_policy_link = 'Marketing Policy', marketing_policy_opt_in = false, marketing_policy_opt_in_label = 'I wish to receive Marketing notifications', marketing_policy_opt_in_text = 'Marketing policy content', message = 'Sign in to get online', ms_my = SKIP, multi_auth = false, name = false, name_error = 'Please provide your name', name_label = 'Name', nb_no = SKIP, nl_nl = SKIP, opt_out_default = true, optout = false, optout_label = 'Do not store', passphrase_cancel = 'Cancel', passphrase_error = 'Invalid Passphrase', passphrase_label = 'Passphrase', passphrase_message = 'Enter the secret passphrase to access the Wi-Fi network.', passphrase_submit = 'Sign in', passphrase_title = 'Sign in with Passphrase', pl_pl = SKIP, powered_by = true, privacy = false, privacy_policy_accept_label = 'I accept the Privacy Terms', privacy_policy_error = 'Please review and accept the Privacy Terms', privacy_policy_link = 'Privacy Terms', privacy_policy_text = '<< provide your Privacy Terms here >>', pt_br = SKIP, pt_pt = SKIP, required_field_label = 'required', responsive_layout = true, ro_ro = SKIP, ru_ru = SKIP, sign_in_label = 'Sign In', sk_sk = SKIP, sms_carrier_default = 'Please Select', sms_carrier_error = 'Please select a mobile carrier', sms_carrier_field_label = 'Mobile Carrier', sms_code_cancel = 'I did not receive the code', sms_code_error = 'Invalid Access Code', sms_code_field_label = 'Confirmation Code', sms_code_message = 'Enter the access number that was sent to your mobile number.', sms_code_submit = 'Sign In', sms_code_title = 'Access Code', sms_country_field_label = 'Country Code', sms_country_format = '+1', sms_have_access_code = 'I have an access code', sms_is_twilio = false, sms_message_format = SKIP, sms_number_cancel = 'Cancel', sms_number_error = 'Invalid Mobile Number', sms_number_field_label = 'Mobile Number', sms_number_format = '2125551212 (digits only)', sms_number_message = 'We will send an access code to your mobile number which you can use to connect to the Wi-Fi network. Message and data rates may apply.', sms_number_submit = 'Send Access Code', sms_number_title = 'Sign in with Text Message', sms_username_format = 'username', sms_validity_duration = SKIP, sponsor_back_link = 'Go back and edit request form', sponsor_cancel = 'Cancel', sponsor_email = 'Sponsor Email', sponsor_email_error = 'Please provide valid sponsor email', sponsor_email_template = SKIP, sponsor_info_approved = 'Your request was approved by', sponsor_info_denied = 'Your request was denied by', sponsor_info_pending = 'Your notification has been sent to', sponsor_name = 'Sponsor Name', sponsor_name_error = 'Please provide sponsor name', sponsor_note_pending = 'Please wait for them to acknowledge.', sponsor_request_access = 'Request Wi-Fi Access', sponsor_status_approved = 'Your request was approved', sponsor_status_denied = 'Your request was denied', sponsor_status_pending = 'Notification Sent', sponsor_submit = 'Request Wi-Fi Access', sponsors_error = 'Please select a sponsor', sponsors_field_label = 'Sponsors', sv_se = SKIP, th_th = SKIP, tos = true, tos_accept_label = 'I accept the Terms of Service', tos_error = 'Please review and accept the Terms of Service', tos_link = 'Terms of Service', tos_text = '<< provide your Terms of Service here >>', tr_tr = SKIP, uk_ua = SKIP, vi_vn = SKIP, zh_hans = SKIP, zh_hant = SKIP) ⇒ WlanPortalTemplateSetting

Returns a new instance of WlanPortalTemplateSetting.



1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 1067

def initialize(
  page_title = 'Welcome',
  access_code_alternate_email = 'Use alternate email address',
  alignment = PortalTemplateAlignmentEnum::CENTER, ar = SKIP,
  auth_button_amazon = 'Sign in with Amazon',
  auth_button_azure = 'Sign in with Azure',
  auth_button_email = 'Sign in with Email',
  auth_button_facebook = 'Sign in with Facebook',
  auth_button_google = 'Sign in with Google',
  auth_button_microsoft = 'Sign in with Microsoft',
  auth_button_passphrase = 'Sign in with Passphrase',
  auth_button_sms = 'Sign in with Text Message',
  auth_button_sponsor = 'Sign in as Guest',
  auth_label = 'Connect to Wi-Fi with', back_link = SKIP, ca_es = SKIP,
  color = '#1074bc', color_dark = '#0b5183', color_light = '#3589c6',
  company = false, company_error = 'Please provide your company name',
  company_label = 'Company', cs_cz = SKIP, da_dk = SKIP, de_de = SKIP,
  el_gr = SKIP, email = false,
  email_access_domain_error = 'Email Access Domain Error',
  email_cancel = 'Cancel', email_code_cancel = 'I did not receive the code',
  email_code_error = 'Please provide valid alternate email',
  email_code_field_label = 'Access Code',
  email_code_message = 'Enter the access number that was sent to your email address.',
  email_code_submit = 'Sign In', email_code_title = 'Access Code',
  email_error = 'Please provide valid email',
  email_field_label = 'Enter your email address', email_label = 'Email',
  email_message = 'We will email you an authentication code which you can use to connect to the Wi-Fi network.',
  email_submit = 'Send Access Code', email_title = 'Sign in with Email',
  en_gb = SKIP, en_us = SKIP, es_es = SKIP, fi_fi = SKIP, field1 = false,
  field1_error = 'Please provide Custom Field 1',
  field1_label = 'Custom Field 1', field1_required = SKIP, field2 = false,
  field2_error = 'Please provide Custom Field 2',
  field2_label = 'Custom Field 2', field2_required = SKIP, field3 = false,
  field3_error = 'Please provide Custom Field 3',
  field3_label = 'Custom Field 3', field3_required = SKIP, field4 = false,
  field4_error = 'Please provide Custom Field 4',
  field4_label = 'Custom Field 4', field4_required = SKIP, fr_fr = SKIP,
  he_il = SKIP, hi_in = SKIP, hr_hr = SKIP, hu_hu = SKIP, id_id = SKIP,
  it_it = SKIP, ja_jp = SKIP, ko_kr = SKIP,  = SKIP, logo_height = SKIP,
  logo_width = SKIP, marketing_policy_link = 'Marketing Policy',
  marketing_policy_opt_in = false,
  marketing_policy_opt_in_label = 'I wish to receive Marketing notifications',
  marketing_policy_opt_in_text = 'Marketing policy content',
  message = 'Sign in to get online', ms_my = SKIP, multi_auth = false,
  name = false, name_error = 'Please provide your name',
  name_label = 'Name', nb_no = SKIP, nl_nl = SKIP, opt_out_default = true,
  optout = false, optout_label = 'Do not store',
  passphrase_cancel = 'Cancel', passphrase_error = 'Invalid Passphrase',
  passphrase_label = 'Passphrase',
  passphrase_message = 'Enter the secret passphrase to access the Wi-Fi network.',
  passphrase_submit = 'Sign in',
  passphrase_title = 'Sign in with Passphrase', pl_pl = SKIP,
  powered_by = true, privacy = false,
  privacy_policy_accept_label = 'I accept the Privacy Terms',
  privacy_policy_error = 'Please review and accept the Privacy Terms',
  privacy_policy_link = 'Privacy Terms',
  privacy_policy_text = '<< provide your Privacy Terms here >>',
  pt_br = SKIP, pt_pt = SKIP, required_field_label = 'required',
  responsive_layout = true, ro_ro = SKIP, ru_ru = SKIP,
   = 'Sign In', sk_sk = SKIP,
  sms_carrier_default = 'Please Select',
  sms_carrier_error = 'Please select a mobile carrier',
  sms_carrier_field_label = 'Mobile Carrier',
  sms_code_cancel = 'I did not receive the code',
  sms_code_error = 'Invalid Access Code',
  sms_code_field_label = 'Confirmation Code',
  sms_code_message = 'Enter the access number that was sent to your mobile number.',
  sms_code_submit = 'Sign In', sms_code_title = 'Access Code',
  sms_country_field_label = 'Country Code', sms_country_format = '+1',
  sms_have_access_code = 'I have an access code', sms_is_twilio = false,
  sms_message_format = SKIP, sms_number_cancel = 'Cancel',
  sms_number_error = 'Invalid Mobile Number',
  sms_number_field_label = 'Mobile Number',
  sms_number_format = '2125551212 (digits only)',
  sms_number_message = 'We will send an access code to your mobile number which you can use to connect to the Wi-Fi network. Message and data rates may apply.',
  sms_number_submit = 'Send Access Code',
  sms_number_title = 'Sign in with Text Message',
  sms_username_format = 'username', sms_validity_duration = SKIP,
  sponsor_back_link = 'Go back and edit request form',
  sponsor_cancel = 'Cancel', sponsor_email = 'Sponsor Email',
  sponsor_email_error = 'Please provide valid sponsor email',
  sponsor_email_template = SKIP,
  sponsor_info_approved = 'Your request was approved by',
  sponsor_info_denied = 'Your request was denied by',
  sponsor_info_pending = 'Your notification has been sent to',
  sponsor_name = 'Sponsor Name',
  sponsor_name_error = 'Please provide sponsor name',
  sponsor_note_pending = 'Please wait for them to acknowledge.',
  sponsor_request_access = 'Request Wi-Fi Access',
  sponsor_status_approved = 'Your request was approved',
  sponsor_status_denied = 'Your request was denied',
  sponsor_status_pending = 'Notification Sent',
  sponsor_submit = 'Request Wi-Fi Access',
  sponsors_error = 'Please select a sponsor',
  sponsors_field_label = 'Sponsors', sv_se = SKIP, th_th = SKIP, tos = true,
  tos_accept_label = 'I accept the Terms of Service',
  tos_error = 'Please review and accept the Terms of Service',
  tos_link = 'Terms of Service',
  tos_text = '<< provide your Terms of Service here >>', tr_tr = SKIP,
  uk_ua = SKIP, vi_vn = SKIP, zh_hans = SKIP, zh_hant = SKIP
)
  unless access_code_alternate_email == SKIP
    @access_code_alternate_email =
      access_code_alternate_email
  end
  @alignment = alignment unless alignment == SKIP
  @ar = ar unless ar == SKIP
  @auth_button_amazon = auth_button_amazon unless auth_button_amazon == SKIP
  @auth_button_azure = auth_button_azure unless auth_button_azure == SKIP
  @auth_button_email = auth_button_email unless auth_button_email == SKIP
  @auth_button_facebook = auth_button_facebook unless auth_button_facebook == SKIP
  @auth_button_google = auth_button_google unless auth_button_google == SKIP
  @auth_button_microsoft = auth_button_microsoft unless auth_button_microsoft == SKIP
  @auth_button_passphrase = auth_button_passphrase unless auth_button_passphrase == SKIP
  @auth_button_sms = auth_button_sms unless auth_button_sms == SKIP
  @auth_button_sponsor = auth_button_sponsor unless auth_button_sponsor == SKIP
  @auth_label = auth_label unless auth_label == SKIP
  @back_link = back_link unless back_link == SKIP
  @ca_es = ca_es unless ca_es == SKIP
  @color = color unless color == SKIP
  @color_dark = color_dark unless color_dark == SKIP
  @color_light = color_light unless color_light == SKIP
  @company = company unless company == SKIP
  @company_error = company_error unless company_error == SKIP
  @company_label = company_label unless company_label == SKIP
  @cs_cz = cs_cz unless cs_cz == SKIP
  @da_dk = da_dk unless da_dk == SKIP
  @de_de = de_de unless de_de == SKIP
  @el_gr = el_gr unless el_gr == SKIP
  @email = email unless email == SKIP
  unless email_access_domain_error == SKIP
    @email_access_domain_error =
      email_access_domain_error
  end
  @email_cancel = email_cancel unless email_cancel == SKIP
  @email_code_cancel = email_code_cancel unless email_code_cancel == SKIP
  @email_code_error = email_code_error unless email_code_error == SKIP
  @email_code_field_label = email_code_field_label unless email_code_field_label == SKIP
  @email_code_message = email_code_message unless email_code_message == SKIP
  @email_code_submit = email_code_submit unless email_code_submit == SKIP
  @email_code_title = email_code_title unless email_code_title == SKIP
  @email_error = email_error unless email_error == SKIP
  @email_field_label = email_field_label unless email_field_label == SKIP
  @email_label = email_label unless email_label == SKIP
  @email_message = email_message unless email_message == SKIP
  @email_submit = email_submit unless email_submit == SKIP
  @email_title = email_title unless email_title == SKIP
  @en_gb = en_gb unless en_gb == SKIP
  @en_us = en_us unless en_us == SKIP
  @es_es = es_es unless es_es == SKIP
  @fi_fi = fi_fi unless fi_fi == SKIP
  @field1 = field1 unless field1 == SKIP
  @field1_error = field1_error unless field1_error == SKIP
  @field1_label = field1_label unless field1_label == SKIP
  @field1_required = field1_required unless field1_required == SKIP
  @field2 = field2 unless field2 == SKIP
  @field2_error = field2_error unless field2_error == SKIP
  @field2_label = field2_label unless field2_label == SKIP
  @field2_required = field2_required unless field2_required == SKIP
  @field3 = field3 unless field3 == SKIP
  @field3_error = field3_error unless field3_error == SKIP
  @field3_label = field3_label unless field3_label == SKIP
  @field3_required = field3_required unless field3_required == SKIP
  @field4 = field4 unless field4 == SKIP
  @field4_error = field4_error unless field4_error == SKIP
  @field4_label = field4_label unless field4_label == SKIP
  @field4_required = field4_required unless field4_required == SKIP
  @fr_fr = fr_fr unless fr_fr == SKIP
  @he_il = he_il unless he_il == SKIP
  @hi_in = hi_in unless hi_in == SKIP
  @hr_hr = hr_hr unless hr_hr == SKIP
  @hu_hu = hu_hu unless hu_hu == SKIP
  @id_id = id_id unless id_id == SKIP
  @it_it = it_it unless it_it == SKIP
  @ja_jp = ja_jp unless ja_jp == SKIP
  @ko_kr = ko_kr unless ko_kr == SKIP
  @logo =  unless  == SKIP
  @logo_height = logo_height unless logo_height == SKIP
  @logo_width = logo_width unless logo_width == SKIP
  @marketing_policy_link = marketing_policy_link unless marketing_policy_link == SKIP
  @marketing_policy_opt_in = marketing_policy_opt_in unless marketing_policy_opt_in == SKIP
  unless marketing_policy_opt_in_label == SKIP
    @marketing_policy_opt_in_label =
      marketing_policy_opt_in_label
  end
  unless marketing_policy_opt_in_text == SKIP
    @marketing_policy_opt_in_text =
      marketing_policy_opt_in_text
  end
  @message = message unless message == SKIP
  @ms_my = ms_my unless ms_my == SKIP
  @multi_auth = multi_auth unless multi_auth == SKIP
  @name = name unless name == SKIP
  @name_error = name_error unless name_error == SKIP
  @name_label = name_label unless name_label == SKIP
  @nb_no = nb_no unless nb_no == SKIP
  @nl_nl = nl_nl unless nl_nl == SKIP
  @opt_out_default = opt_out_default unless opt_out_default == SKIP
  @optout = optout unless optout == SKIP
  @optout_label = optout_label unless optout_label == SKIP
  @page_title = page_title
  @passphrase_cancel = passphrase_cancel unless passphrase_cancel == SKIP
  @passphrase_error = passphrase_error unless passphrase_error == SKIP
  @passphrase_label = passphrase_label unless passphrase_label == SKIP
  @passphrase_message = passphrase_message unless passphrase_message == SKIP
  @passphrase_submit = passphrase_submit unless passphrase_submit == SKIP
  @passphrase_title = passphrase_title unless passphrase_title == SKIP
  @pl_pl = pl_pl unless pl_pl == SKIP
  @powered_by = powered_by unless powered_by == SKIP
  @privacy = privacy unless privacy == SKIP
  unless privacy_policy_accept_label == SKIP
    @privacy_policy_accept_label =
      privacy_policy_accept_label
  end
  @privacy_policy_error = privacy_policy_error unless privacy_policy_error == SKIP
  @privacy_policy_link = privacy_policy_link unless privacy_policy_link == SKIP
  @privacy_policy_text = privacy_policy_text unless privacy_policy_text == SKIP
  @pt_br = pt_br unless pt_br == SKIP
  @pt_pt = pt_pt unless pt_pt == SKIP
  @required_field_label = required_field_label unless required_field_label == SKIP
  @responsive_layout = responsive_layout unless responsive_layout == SKIP
  @ro_ro = ro_ro unless ro_ro == SKIP
  @ru_ru = ru_ru unless ru_ru == SKIP
  @sign_in_label =  unless  == SKIP
  @sk_sk = sk_sk unless sk_sk == SKIP
  @sms_carrier_default = sms_carrier_default unless sms_carrier_default == SKIP
  @sms_carrier_error = sms_carrier_error unless sms_carrier_error == SKIP
  @sms_carrier_field_label = sms_carrier_field_label unless sms_carrier_field_label == SKIP
  @sms_code_cancel = sms_code_cancel unless sms_code_cancel == SKIP
  @sms_code_error = sms_code_error unless sms_code_error == SKIP
  @sms_code_field_label = sms_code_field_label unless sms_code_field_label == SKIP
  @sms_code_message = sms_code_message unless sms_code_message == SKIP
  @sms_code_submit = sms_code_submit unless sms_code_submit == SKIP
  @sms_code_title = sms_code_title unless sms_code_title == SKIP
  @sms_country_field_label = sms_country_field_label unless sms_country_field_label == SKIP
  @sms_country_format = sms_country_format unless sms_country_format == SKIP
  @sms_have_access_code = sms_have_access_code unless sms_have_access_code == SKIP
  @sms_is_twilio = sms_is_twilio unless sms_is_twilio == SKIP
  @sms_message_format = sms_message_format unless sms_message_format == SKIP
  @sms_number_cancel = sms_number_cancel unless sms_number_cancel == SKIP
  @sms_number_error = sms_number_error unless sms_number_error == SKIP
  @sms_number_field_label = sms_number_field_label unless sms_number_field_label == SKIP
  @sms_number_format = sms_number_format unless sms_number_format == SKIP
  @sms_number_message = sms_number_message unless sms_number_message == SKIP
  @sms_number_submit = sms_number_submit unless sms_number_submit == SKIP
  @sms_number_title = sms_number_title unless sms_number_title == SKIP
  @sms_username_format = sms_username_format unless sms_username_format == SKIP
  @sms_validity_duration = sms_validity_duration unless sms_validity_duration == SKIP
  @sponsor_back_link = sponsor_back_link unless sponsor_back_link == SKIP
  @sponsor_cancel = sponsor_cancel unless sponsor_cancel == SKIP
  @sponsor_email = sponsor_email unless sponsor_email == SKIP
  @sponsor_email_error = sponsor_email_error unless sponsor_email_error == SKIP
  @sponsor_email_template = sponsor_email_template unless sponsor_email_template == SKIP
  @sponsor_info_approved = sponsor_info_approved unless sponsor_info_approved == SKIP
  @sponsor_info_denied = sponsor_info_denied unless sponsor_info_denied == SKIP
  @sponsor_info_pending = sponsor_info_pending unless sponsor_info_pending == SKIP
  @sponsor_name = sponsor_name unless sponsor_name == SKIP
  @sponsor_name_error = sponsor_name_error unless sponsor_name_error == SKIP
  @sponsor_note_pending = sponsor_note_pending unless sponsor_note_pending == SKIP
  @sponsor_request_access = sponsor_request_access unless sponsor_request_access == SKIP
  @sponsor_status_approved = sponsor_status_approved unless sponsor_status_approved == SKIP
  @sponsor_status_denied = sponsor_status_denied unless sponsor_status_denied == SKIP
  @sponsor_status_pending = sponsor_status_pending unless sponsor_status_pending == SKIP
  @sponsor_submit = sponsor_submit unless sponsor_submit == SKIP
  @sponsors_error = sponsors_error unless sponsors_error == SKIP
  @sponsors_field_label = sponsors_field_label unless sponsors_field_label == SKIP
  @sv_se = sv_se unless sv_se == SKIP
  @th_th = th_th unless th_th == SKIP
  @tos = tos unless tos == SKIP
  @tos_accept_label = tos_accept_label unless tos_accept_label == SKIP
  @tos_error = tos_error unless tos_error == SKIP
  @tos_link = tos_link unless tos_link == SKIP
  @tos_text = tos_text unless tos_text == SKIP
  @tr_tr = tr_tr unless tr_tr == SKIP
  @uk_ua = uk_ua unless uk_ua == SKIP
  @vi_vn = vi_vn unless vi_vn == SKIP
  @zh_hans = zh_hans unless zh_hans == SKIP
  @zh_hant = zh_hant unless zh_hant == SKIP
end

Instance Attribute Details

#access_code_alternate_emailString

TODO: Write general description for this method

Returns:

  • (String)


14
15
16
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 14

def access_code_alternate_email
  @access_code_alternate_email
end

#alignmentPortalTemplateAlignmentEnum

defines alignment on portal. enum: ‘center`, `left`, `right`



18
19
20
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 18

def alignment
  @alignment
end

#arWlanPortalTemplateSettingLocale

defines alignment on portal. enum: ‘center`, `left`, `right`



22
23
24
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 22

def ar
  @ar
end

#auth_button_amazonString

Label for Amazon auth button

Returns:

  • (String)


26
27
28
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 26

def auth_button_amazon
  @auth_button_amazon
end

#auth_button_azureString

Label for Azure auth button

Returns:

  • (String)


30
31
32
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 30

def auth_button_azure
  @auth_button_azure
end

#auth_button_emailString

Label for Email auth button

Returns:

  • (String)


34
35
36
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 34

def auth_button_email
  @auth_button_email
end

#auth_button_facebookString

Label for Facebook auth button

Returns:

  • (String)


38
39
40
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 38

def auth_button_facebook
  @auth_button_facebook
end

#auth_button_googleString

Label for Google auth button

Returns:

  • (String)


42
43
44
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 42

def auth_button_google
  @auth_button_google
end

#auth_button_microsoftString

Label for Microsoft auth button

Returns:

  • (String)


46
47
48
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 46

def auth_button_microsoft
  @auth_button_microsoft
end

#auth_button_passphraseString

Label for passphrase auth button

Returns:

  • (String)


50
51
52
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 50

def auth_button_passphrase
  @auth_button_passphrase
end

#auth_button_smsString

Label for SMS auth button

Returns:

  • (String)


54
55
56
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 54

def auth_button_sms
  @auth_button_sms
end

#auth_button_sponsorString

Label for Sponsor auth button

Returns:

  • (String)


58
59
60
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 58

def auth_button_sponsor
  @auth_button_sponsor
end

#auth_labelString

Label for Sponsor auth button

Returns:

  • (String)


62
63
64
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 62

def auth_label
  @auth_label
end

Label of the link to go back to /logon

Returns:

  • (String)


66
67
68
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 66

def back_link
  @back_link
end

#ca_esWlanPortalTemplateSettingLocale

Label of the link to go back to /logon



70
71
72
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 70

def ca_es
  @ca_es
end

#colorString

Portal main color

Returns:

  • (String)


74
75
76
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 74

def color
  @color
end

#color_darkString

Portal main color

Returns:

  • (String)


78
79
80
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 78

def color_dark
  @color_dark
end

#color_lightString

Portal main color

Returns:

  • (String)


82
83
84
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 82

def color_light
  @color_light
end

#companyTrueClass | FalseClass

Whether company field is required

Returns:

  • (TrueClass | FalseClass)


86
87
88
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 86

def company
  @company
end

#company_errorString

Error message when company not provided

Returns:

  • (String)


90
91
92
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 90

def company_error
  @company_error
end

#company_labelString

Label of company field

Returns:

  • (String)


94
95
96
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 94

def company_label
  @company_label
end

#cs_czWlanPortalTemplateSettingLocale

Label of company field



98
99
100
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 98

def cs_cz
  @cs_cz
end

#da_dkWlanPortalTemplateSettingLocale

Label of company field



102
103
104
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 102

def da_dk
  @da_dk
end

#de_deWlanPortalTemplateSettingLocale

Label of company field



106
107
108
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 106

def de_de
  @de_de
end

#el_grWlanPortalTemplateSettingLocale

Label of company field



110
111
112
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 110

def el_gr
  @el_gr
end

#emailTrueClass | FalseClass

Whether email field is required

Returns:

  • (TrueClass | FalseClass)


114
115
116
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 114

def email
  @email
end

#email_access_domain_errorString

Error message when a user has valid social login but doesn’t match specified email domains.

Returns:

  • (String)


119
120
121
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 119

def email_access_domain_error
  @email_access_domain_error
end

#email_cancelString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


123
124
125
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 123

def email_cancel
  @email_cancel
end

#email_code_cancelString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


127
128
129
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 127

def email_code_cancel
  @email_code_cancel
end

#email_code_errorString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


131
132
133
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 131

def email_code_error
  @email_code_error
end

#email_code_field_labelString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


135
136
137
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 135

def email_code_field_label
  @email_code_field_label
end

#email_code_messageString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


139
140
141
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 139

def email_code_message
  @email_code_message
end

#email_code_submitString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


143
144
145
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 143

def email_code_submit
  @email_code_submit
end

#email_code_titleString

Label for cancel confirmation code submission using email auth

Returns:

  • (String)


147
148
149
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 147

def email_code_title
  @email_code_title
end

#email_errorString

Error message when email not provided

Returns:

  • (String)


151
152
153
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 151

def email_error
  @email_error
end

#email_field_labelString

Error message when email not provided

Returns:

  • (String)


155
156
157
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 155

def email_field_label
  @email_field_label
end

#email_labelString

Label of email field

Returns:

  • (String)


159
160
161
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 159

def email_label
  @email_label
end

#email_messageString

Label of email field

Returns:

  • (String)


163
164
165
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 163

def email_message
  @email_message
end

#email_submitString

Label for confirmation code submit button using email auth

Returns:

  • (String)


167
168
169
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 167

def email_submit
  @email_submit
end

#email_titleString

Title for the Email registration

Returns:

  • (String)


171
172
173
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 171

def email_title
  @email_title
end

#en_gbWlanPortalTemplateSettingLocale

Title for the Email registration



175
176
177
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 175

def en_gb
  @en_gb
end

#en_usWlanPortalTemplateSettingLocale

Title for the Email registration



179
180
181
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 179

def en_us
  @en_us
end

#es_esWlanPortalTemplateSettingLocale

Title for the Email registration



183
184
185
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 183

def es_es
  @es_es
end

#fi_fiWlanPortalTemplateSettingLocale

Title for the Email registration



187
188
189
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 187

def fi_fi
  @fi_fi
end

#field1TrueClass | FalseClass

Whether to ask field1

Returns:

  • (TrueClass | FalseClass)


191
192
193
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 191

def field1
  @field1
end

#field1_errorString

Error message when field1 not provided

Returns:

  • (String)


195
196
197
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 195

def field1_error
  @field1_error
end

#field1_labelString

Label of field1

Returns:

  • (String)


199
200
201
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 199

def field1_label
  @field1_label
end

#field1_requiredTrueClass | FalseClass

Whether field1 is required field

Returns:

  • (TrueClass | FalseClass)


203
204
205
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 203

def field1_required
  @field1_required
end

#field2TrueClass | FalseClass

Whether to ask field2

Returns:

  • (TrueClass | FalseClass)


207
208
209
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 207

def field2
  @field2
end

#field2_errorString

Error message when field2 not provided

Returns:

  • (String)


211
212
213
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 211

def field2_error
  @field2_error
end

#field2_labelString

Label of field2

Returns:

  • (String)


215
216
217
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 215

def field2_label
  @field2_label
end

#field2_requiredTrueClass | FalseClass

Whether field2 is required field

Returns:

  • (TrueClass | FalseClass)


219
220
221
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 219

def field2_required
  @field2_required
end

#field3TrueClass | FalseClass

Whether to ask field3

Returns:

  • (TrueClass | FalseClass)


223
224
225
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 223

def field3
  @field3
end

#field3_errorString

Error message when field3 not provided

Returns:

  • (String)


227
228
229
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 227

def field3_error
  @field3_error
end

#field3_labelString

Label of field3

Returns:

  • (String)


231
232
233
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 231

def field3_label
  @field3_label
end

#field3_requiredTrueClass | FalseClass

Whether field3 is required field

Returns:

  • (TrueClass | FalseClass)


235
236
237
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 235

def field3_required
  @field3_required
end

#field4TrueClass | FalseClass

Whether to ask field4

Returns:

  • (TrueClass | FalseClass)


239
240
241
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 239

def field4
  @field4
end

#field4_errorString

Error message when field4 not provided

Returns:

  • (String)


243
244
245
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 243

def field4_error
  @field4_error
end

#field4_labelString

Label of field4

Returns:

  • (String)


247
248
249
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 247

def field4_label
  @field4_label
end

#field4_requiredTrueClass | FalseClass

Whether field4 is required field

Returns:

  • (TrueClass | FalseClass)


251
252
253
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 251

def field4_required
  @field4_required
end

#fr_frWlanPortalTemplateSettingLocale

Whether field4 is required field



255
256
257
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 255

def fr_fr
  @fr_fr
end

#he_ilWlanPortalTemplateSettingLocale

Whether field4 is required field



259
260
261
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 259

def he_il
  @he_il
end

#hi_inWlanPortalTemplateSettingLocale

Whether field4 is required field



263
264
265
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 263

def hi_in
  @hi_in
end

#hr_hrWlanPortalTemplateSettingLocale

Whether field4 is required field



267
268
269
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 267

def hr_hr
  @hr_hr
end

#hu_huWlanPortalTemplateSettingLocale

Whether field4 is required field



271
272
273
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 271

def hu_hu
  @hu_hu
end

#id_idWlanPortalTemplateSettingLocale

Whether field4 is required field



275
276
277
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 275

def id_id
  @id_id
end

#it_itWlanPortalTemplateSettingLocale

Whether field4 is required field



279
280
281
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 279

def it_it
  @it_it
end

#ja_jpWlanPortalTemplateSettingLocale

Whether field4 is required field



283
284
285
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 283

def ja_jp
  @ja_jp
end

#ko_krWlanPortalTemplateSettingLocale

Whether field4 is required field



287
288
289
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 287

def ko_kr
  @ko_kr
end

#logoString

Custom logo with ‘data:image/png;base64,` format, default null, uses Juniper Mist Logo. File size must be less than 100kB and image dimensions must be less than 500px x 200px (width x height).

Returns:

  • (String)


293
294
295
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 293

def 
  @logo
end

#logo_heightInteger

Height of the logo, in px

Returns:

  • (Integer)


297
298
299
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 297

def logo_height
  @logo_height
end

#logo_widthInteger

Width of the logo, in px

Returns:

  • (Integer)


301
302
303
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 301

def logo_width
  @logo_width
end

label of the link to go to /marketing_policy

Returns:

  • (String)


305
306
307
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 305

def marketing_policy_link
  @marketing_policy_link
end

#marketing_policy_opt_inTrueClass | FalseClass

Whether marketing policy optin is enabled

Returns:

  • (TrueClass | FalseClass)


309
310
311
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 309

def marketing_policy_opt_in
  @marketing_policy_opt_in
end

#marketing_policy_opt_in_labelString

label for marketing optin

Returns:

  • (String)


313
314
315
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 313

def marketing_policy_opt_in_label
  @marketing_policy_opt_in_label
end

#marketing_policy_opt_in_textString

marketing policy text

Returns:

  • (String)


317
318
319
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 317

def marketing_policy_opt_in_text
  @marketing_policy_opt_in_text
end

#messageString

marketing policy text

Returns:

  • (String)


321
322
323
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 321

def message
  @message
end

#ms_myWlanPortalTemplateSettingLocale

marketing policy text



325
326
327
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 325

def ms_my
  @ms_my
end

#multi_authTrueClass | FalseClass

marketing policy text

Returns:

  • (TrueClass | FalseClass)


329
330
331
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 329

def multi_auth
  @multi_auth
end

#nameTrueClass | FalseClass

Whether name field is required

Returns:

  • (TrueClass | FalseClass)


333
334
335
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 333

def name
  @name
end

#name_errorString

Error message when name not provided

Returns:

  • (String)


337
338
339
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 337

def name_error
  @name_error
end

#name_labelString

Label of name field

Returns:

  • (String)


341
342
343
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 341

def name_label
  @name_label
end

#nb_noWlanPortalTemplateSettingLocale

Label of name field



345
346
347
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 345

def nb_no
  @nb_no
end

#nl_nlWlanPortalTemplateSettingLocale

Label of name field



349
350
351
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 349

def nl_nl
  @nl_nl
end

#opt_out_defaultTrueClass | FalseClass

Default value for the ‘Do not store` checkbox

Returns:

  • (TrueClass | FalseClass)


353
354
355
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 353

def opt_out_default
  @opt_out_default
end

#optoutTrueClass | FalseClass

Whether to display Do Not Store My Personal Information

Returns:

  • (TrueClass | FalseClass)


357
358
359
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 357

def optout
  @optout
end

#optout_labelString

Label for Do Not Store My Personal Information

Returns:

  • (String)


361
362
363
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 361

def optout_label
  @optout_label
end

#page_titleString

Label for Do Not Store My Personal Information

Returns:

  • (String)


365
366
367
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 365

def page_title
  @page_title
end

#passphrase_cancelString

Label for the Passphrase cancel button

Returns:

  • (String)


369
370
371
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 369

def passphrase_cancel
  @passphrase_cancel
end

#passphrase_errorString

Error message when invalid passphrase is provided

Returns:

  • (String)


373
374
375
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 373

def passphrase_error
  @passphrase_error
end

#passphrase_labelString

Passphrase

Returns:

  • (String)


377
378
379
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 377

def passphrase_label
  @passphrase_label
end

#passphrase_messageString

Passphrase

Returns:

  • (String)


381
382
383
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 381

def passphrase_message
  @passphrase_message
end

#passphrase_submitString

Label for the Passphrase submit button

Returns:

  • (String)


385
386
387
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 385

def passphrase_submit
  @passphrase_submit
end

#passphrase_titleString

Title for passphrase details page

Returns:

  • (String)


389
390
391
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 389

def passphrase_title
  @passphrase_title
end

#pl_plWlanPortalTemplateSettingLocale

Title for passphrase details page



393
394
395
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 393

def pl_pl
  @pl_pl
end

#powered_byTrueClass | FalseClass

Whether to show "Powered by Mist"

Returns:

  • (TrueClass | FalseClass)


397
398
399
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 397

def powered_by
  @powered_by
end

#privacyTrueClass | FalseClass

Whether to require the Privacy Term acceptance

Returns:

  • (TrueClass | FalseClass)


401
402
403
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 401

def privacy
  @privacy
end

#privacy_policy_accept_labelString

Prefix of the label of the link to go to Privacy Policy

Returns:

  • (String)


405
406
407
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 405

def privacy_policy_accept_label
  @privacy_policy_accept_label
end

#privacy_policy_errorString

Error message when Privacy Policy not accepted

Returns:

  • (String)


409
410
411
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 409

def privacy_policy_error
  @privacy_policy_error
end

Label of the link to go to Privacy Policy

Returns:

  • (String)


413
414
415
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 413

def privacy_policy_link
  @privacy_policy_link
end

#privacy_policy_textString

Text of the Privacy Policy

Returns:

  • (String)


417
418
419
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 417

def privacy_policy_text
  @privacy_policy_text
end

#pt_brWlanPortalTemplateSettingLocale

Text of the Privacy Policy



421
422
423
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 421

def pt_br
  @pt_br
end

#pt_ptWlanPortalTemplateSettingLocale

Text of the Privacy Policy



425
426
427
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 425

def pt_pt
  @pt_pt
end

#required_field_labelString

Label to denote required field

Returns:

  • (String)


429
430
431
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 429

def required_field_label
  @required_field_label
end

#responsive_layoutTrueClass | FalseClass

Label to denote required field

Returns:

  • (TrueClass | FalseClass)


433
434
435
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 433

def responsive_layout
  @responsive_layout
end

#ro_roWlanPortalTemplateSettingLocale

Label to denote required field



437
438
439
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 437

def ro_ro
  @ro_ro
end

#ru_ruWlanPortalTemplateSettingLocale

Label to denote required field



441
442
443
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 441

def ru_ru
  @ru_ru
end

#sign_in_labelString

Label of the button to signin

Returns:

  • (String)


445
446
447
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 445

def 
  @sign_in_label
end

#sk_skWlanPortalTemplateSettingLocale

Label of the button to signin



449
450
451
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 449

def sk_sk
  @sk_sk
end

#sms_carrier_defaultString

Label of the button to signin

Returns:

  • (String)


453
454
455
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 453

def sms_carrier_default
  @sms_carrier_default
end

#sms_carrier_errorString

Label of the button to signin

Returns:

  • (String)


457
458
459
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 457

def sms_carrier_error
  @sms_carrier_error
end

#sms_carrier_field_labelString

Label for mobile carrier drop-down list

Returns:

  • (String)


461
462
463
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 461

def sms_carrier_field_label
  @sms_carrier_field_label
end

#sms_code_cancelString

Label for cancel confirmation code submission

Returns:

  • (String)


465
466
467
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 465

def sms_code_cancel
  @sms_code_cancel
end

#sms_code_errorString

Error message when confirmation code is invalid

Returns:

  • (String)


469
470
471
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 469

def sms_code_error
  @sms_code_error
end

#sms_code_field_labelString

Error message when confirmation code is invalid

Returns:

  • (String)


473
474
475
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 473

def sms_code_field_label
  @sms_code_field_label
end

#sms_code_messageString

Error message when confirmation code is invalid

Returns:

  • (String)


477
478
479
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 477

def sms_code_message
  @sms_code_message
end

#sms_code_submitString

Label for confirmation code submit button

Returns:

  • (String)


481
482
483
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 481

def sms_code_submit
  @sms_code_submit
end

#sms_code_titleString

Label for confirmation code submit button

Returns:

  • (String)


485
486
487
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 485

def sms_code_title
  @sms_code_title
end

#sms_country_field_labelString

Label for confirmation code submit button

Returns:

  • (String)


489
490
491
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 489

def sms_country_field_label
  @sms_country_field_label
end

#sms_country_formatString

Label for confirmation code submit button

Returns:

  • (String)


493
494
495
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 493

def sms_country_format
  @sms_country_format
end

#sms_have_access_codeString

Label for checkbox to specify that the user has access code

Returns:

  • (String)


497
498
499
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 497

def sms_have_access_code
  @sms_have_access_code
end

#sms_is_twilioTrueClass | FalseClass

Label for checkbox to specify that the user has access code

Returns:

  • (TrueClass | FalseClass)


501
502
503
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 501

def sms_is_twilio
  @sms_is_twilio
end

#sms_message_formatString

Format of access code sms message. {code} and {duration} are placeholders and should be retained as is.

Returns:

  • (String)


506
507
508
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 506

def sms_message_format
  @sms_message_format
end

#sms_number_cancelString

Label for canceling mobile details for SMS auth

Returns:

  • (String)


510
511
512
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 510

def sms_number_cancel
  @sms_number_cancel
end

#sms_number_errorString

Label for canceling mobile details for SMS auth

Returns:

  • (String)


514
515
516
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 514

def sms_number_error
  @sms_number_error
end

#sms_number_field_labelString

Label for field to provide mobile number

Returns:

  • (String)


518
519
520
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 518

def sms_number_field_label
  @sms_number_field_label
end

#sms_number_formatString

Label for field to provide mobile number

Returns:

  • (String)


522
523
524
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 522

def sms_number_format
  @sms_number_format
end

#sms_number_messageString

Label for field to provide mobile number

Returns:

  • (String)


526
527
528
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 526

def sms_number_message
  @sms_number_message
end

#sms_number_submitString

Label for submit button for code generation

Returns:

  • (String)


530
531
532
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 530

def sms_number_submit
  @sms_number_submit
end

#sms_number_titleString

Title for phone number details

Returns:

  • (String)


534
535
536
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 534

def sms_number_title
  @sms_number_title
end

#sms_username_formatString

Title for phone number details

Returns:

  • (String)


538
539
540
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 538

def sms_username_format
  @sms_username_format
end

#sms_validity_durationInteger

How long confirmation code should be considered valid (in minutes)

Returns:

  • (Integer)


542
543
544
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 542

def sms_validity_duration
  @sms_validity_duration
end

How long confirmation code should be considered valid (in minutes)

Returns:

  • (String)


546
547
548
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 546

def sponsor_back_link
  @sponsor_back_link
end

How long confirmation code should be considered valid (in minutes)

Returns:

  • (String)


550
551
552
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 550

def sponsor_cancel
  @sponsor_cancel
end

Label for Sponsor Email

Returns:

  • (String)


554
555
556
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 554

def sponsor_email
  @sponsor_email
end

Label for Sponsor Email

Returns:

  • (String)


558
559
560
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 558

def sponsor_email_error
  @sponsor_email_error
end

HTML template to replace/override default sponsor email template Sponsor Email Template supports following template variables:

* `approve_url`: Renders URL to approve the request; optionally

&minutes=N query param can be appended to change the Authorization period of the guest, where N is a valid integer denoting number of minutes a guest remains authorized

* `deny_url`: Renders URL to reject the request
* `guest_email`: Renders Email ID of the guest
* `guest_name`: Renders Name of the guest
* `field1`: Renders value of the Custom Field 1
* `field2`: Renders value of the Custom Field 2
* `sponsor_link_validity_duration`: Renders validity time of the request

(i.e. Approve/Deny URL)

* `auth_expire_minutes`: Renders Wlan-level configured Guest

Authorization Expiration time period (in minutes), If not configured then default (1 day in minutes)

Returns:

  • (String)


577
578
579
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 577

def sponsor_email_template
  @sponsor_email_template
end

HTML template to replace/override default sponsor email template Sponsor Email Template supports following template variables:

* `approve_url`: Renders URL to approve the request; optionally

&minutes=N query param can be appended to change the Authorization period of the guest, where N is a valid integer denoting number of minutes a guest remains authorized

* `deny_url`: Renders URL to reject the request
* `guest_email`: Renders Email ID of the guest
* `guest_name`: Renders Name of the guest
* `field1`: Renders value of the Custom Field 1
* `field2`: Renders value of the Custom Field 2
* `sponsor_link_validity_duration`: Renders validity time of the request

(i.e. Approve/Deny URL)

* `auth_expire_minutes`: Renders Wlan-level configured Guest

Authorization Expiration time period (in minutes), If not configured then default (1 day in minutes)

Returns:

  • (String)


596
597
598
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 596

def sponsor_info_approved
  @sponsor_info_approved
end

HTML template to replace/override default sponsor email template Sponsor Email Template supports following template variables:

* `approve_url`: Renders URL to approve the request; optionally

&minutes=N query param can be appended to change the Authorization period of the guest, where N is a valid integer denoting number of minutes a guest remains authorized

* `deny_url`: Renders URL to reject the request
* `guest_email`: Renders Email ID of the guest
* `guest_name`: Renders Name of the guest
* `field1`: Renders value of the Custom Field 1
* `field2`: Renders value of the Custom Field 2
* `sponsor_link_validity_duration`: Renders validity time of the request

(i.e. Approve/Deny URL)

* `auth_expire_minutes`: Renders Wlan-level configured Guest

Authorization Expiration time period (in minutes), If not configured then default (1 day in minutes)

Returns:

  • (String)


615
616
617
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 615

def sponsor_info_denied
  @sponsor_info_denied
end

HTML template to replace/override default sponsor email template Sponsor Email Template supports following template variables:

* `approve_url`: Renders URL to approve the request; optionally

&minutes=N query param can be appended to change the Authorization period of the guest, where N is a valid integer denoting number of minutes a guest remains authorized

* `deny_url`: Renders URL to reject the request
* `guest_email`: Renders Email ID of the guest
* `guest_name`: Renders Name of the guest
* `field1`: Renders value of the Custom Field 1
* `field2`: Renders value of the Custom Field 2
* `sponsor_link_validity_duration`: Renders validity time of the request

(i.e. Approve/Deny URL)

* `auth_expire_minutes`: Renders Wlan-level configured Guest

Authorization Expiration time period (in minutes), If not configured then default (1 day in minutes)

Returns:

  • (String)


634
635
636
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 634

def sponsor_info_pending
  @sponsor_info_pending
end

Label for Sponsor Name

Returns:

  • (String)


638
639
640
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 638

def sponsor_name
  @sponsor_name
end

Label for Sponsor Name

Returns:

  • (String)


642
643
644
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 642

def sponsor_name_error
  @sponsor_name_error
end

Label for Sponsor Name

Returns:

  • (String)


646
647
648
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 646

def sponsor_note_pending
  @sponsor_note_pending
end

Submit button label request Wifi Access and notify sponsor about guest request

Returns:

  • (String)


651
652
653
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 651

def sponsor_request_access
  @sponsor_request_access
end

Text to display if sponsor approves request

Returns:

  • (String)


655
656
657
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 655

def sponsor_status_approved
  @sponsor_status_approved
end

Text to display when sponsor denies request

Returns:

  • (String)


659
660
661
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 659

def sponsor_status_denied
  @sponsor_status_denied
end

Text to display if request is still pending

Returns:

  • (String)


663
664
665
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 663

def sponsor_status_pending
  @sponsor_status_pending
end

Submit button label to notify sponsor about guest request

Returns:

  • (String)


667
668
669
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 667

def sponsor_submit
  @sponsor_submit
end

#sponsors_errorString

Submit button label to notify sponsor about guest request

Returns:

  • (String)


671
672
673
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 671

def sponsors_error
  @sponsors_error
end

#sponsors_field_labelString

Submit button label to notify sponsor about guest request

Returns:

  • (String)


675
676
677
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 675

def sponsors_field_label
  @sponsors_field_label
end

#sv_seWlanPortalTemplateSettingLocale

Submit button label to notify sponsor about guest request



679
680
681
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 679

def sv_se
  @sv_se
end

#th_thWlanPortalTemplateSettingLocale

Submit button label to notify sponsor about guest request



683
684
685
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 683

def th_th
  @th_th
end

#tosTrueClass | FalseClass

Submit button label to notify sponsor about guest request

Returns:

  • (TrueClass | FalseClass)


687
688
689
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 687

def tos
  @tos
end

#tos_accept_labelString

Prefix of the label of the link to go to tos

Returns:

  • (String)


691
692
693
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 691

def tos_accept_label
  @tos_accept_label
end

#tos_errorString

Error message when tos not accepted

Returns:

  • (String)


695
696
697
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 695

def tos_error
  @tos_error
end

Label of the link to go to tos

Returns:

  • (String)


699
700
701
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 699

def tos_link
  @tos_link
end

#tos_textString

Text of the Terms of Service

Returns:

  • (String)


703
704
705
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 703

def tos_text
  @tos_text
end

#tr_trWlanPortalTemplateSettingLocale

Text of the Terms of Service



707
708
709
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 707

def tr_tr
  @tr_tr
end

#uk_uaWlanPortalTemplateSettingLocale

Text of the Terms of Service



711
712
713
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 711

def uk_ua
  @uk_ua
end

#vi_vnWlanPortalTemplateSettingLocale

Text of the Terms of Service



715
716
717
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 715

def vi_vn
  @vi_vn
end

#zh_hansWlanPortalTemplateSettingLocale

Text of the Terms of Service



719
720
721
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 719

def zh_hans
  @zh_hans
end

#zh_hantWlanPortalTemplateSettingLocale

Text of the Terms of Service



723
724
725
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 723

def zh_hant
  @zh_hant
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 1348

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  page_title = hash['pageTitle'] ||= 'Welcome'
  access_code_alternate_email =
    hash['accessCodeAlternateEmail'] ||= 'Use alternate email address'
  alignment = hash['alignment'] ||= PortalTemplateAlignmentEnum::CENTER
  ar = WlanPortalTemplateSettingLocale.from_hash(hash['ar']) if hash['ar']
  auth_button_amazon = hash['authButtonAmazon'] ||= 'Sign in with Amazon'
  auth_button_azure = hash['authButtonAzure'] ||= 'Sign in with Azure'
  auth_button_email = hash['authButtonEmail'] ||= 'Sign in with Email'
  auth_button_facebook =
    hash['authButtonFacebook'] ||= 'Sign in with Facebook'
  auth_button_google = hash['authButtonGoogle'] ||= 'Sign in with Google'
  auth_button_microsoft =
    hash['authButtonMicrosoft'] ||= 'Sign in with Microsoft'
  auth_button_passphrase =
    hash['authButtonPassphrase'] ||= 'Sign in with Passphrase'
  auth_button_sms = hash['authButtonSms'] ||= 'Sign in with Text Message'
  auth_button_sponsor = hash['authButtonSponsor'] ||= 'Sign in as Guest'
  auth_label = hash['authLabel'] ||= 'Connect to Wi-Fi with'
  back_link = hash.key?('backLink') ? hash['backLink'] : SKIP
  ca_es = WlanPortalTemplateSettingLocale.from_hash(hash['ca-ES']) if hash['ca-ES']
  color = hash['color'] ||= '#1074bc'
  color_dark = hash['colorDark'] ||= '#0b5183'
  color_light = hash['colorLight'] ||= '#3589c6'
  company = hash['company'] ||= false
  company_error =
    hash['companyError'] ||= 'Please provide your company name'
  company_label = hash['companyLabel'] ||= 'Company'
  cs_cz = WlanPortalTemplateSettingLocale.from_hash(hash['cs-CZ']) if hash['cs-CZ']
  da_dk = WlanPortalTemplateSettingLocale.from_hash(hash['da-DK']) if hash['da-DK']
  de_de = WlanPortalTemplateSettingLocale.from_hash(hash['de-DE']) if hash['de-DE']
  el_gr = WlanPortalTemplateSettingLocale.from_hash(hash['el-GR']) if hash['el-GR']
  email = hash['email'] ||= false
  email_access_domain_error =
    hash['emailAccessDomainError'] ||= 'Email Access Domain Error'
  email_cancel = hash['emailCancel'] ||= 'Cancel'
  email_code_cancel =
    hash['emailCodeCancel'] ||= 'I did not receive the code'
  email_code_error =
    hash['emailCodeError'] ||= 'Please provide valid alternate email'
  email_code_field_label = hash['emailCodeFieldLabel'] ||= 'Access Code'
  email_code_message =
    hash['emailCodeMessage'] ||= 'Enter the access number that was sent to your email address.'
  email_code_submit = hash['emailCodeSubmit'] ||= 'Sign In'
  email_code_title = hash['emailCodeTitle'] ||= 'Access Code'
  email_error = hash['emailError'] ||= 'Please provide valid email'
  email_field_label = hash['emailFieldLabel'] ||= 'Enter your email address'
  email_label = hash['emailLabel'] ||= 'Email'
  email_message =
    hash['emailMessage'] ||= 'We will email you an authentication code which you can use to connect to the Wi-Fi network.'
  email_submit = hash['emailSubmit'] ||= 'Send Access Code'
  email_title = hash['emailTitle'] ||= 'Sign in with Email'
  en_gb = WlanPortalTemplateSettingLocale.from_hash(hash['en-GB']) if hash['en-GB']
  en_us = WlanPortalTemplateSettingLocale.from_hash(hash['en-US']) if hash['en-US']
  es_es = WlanPortalTemplateSettingLocale.from_hash(hash['es-ES']) if hash['es-ES']
  fi_fi = WlanPortalTemplateSettingLocale.from_hash(hash['fi-FI']) if hash['fi-FI']
  field1 = hash['field1'] ||= false
  field1_error = hash['field1Error'] ||= 'Please provide Custom Field 1'
  field1_label = hash['field1Label'] ||= 'Custom Field 1'
  field1_required =
    hash.key?('field1Required') ? hash['field1Required'] : SKIP
  field2 = hash['field2'] ||= false
  field2_error = hash['field2Error'] ||= 'Please provide Custom Field 2'
  field2_label = hash['field2Label'] ||= 'Custom Field 2'
  field2_required =
    hash.key?('field2Required') ? hash['field2Required'] : SKIP
  field3 = hash['field3'] ||= false
  field3_error = hash['field3Error'] ||= 'Please provide Custom Field 3'
  field3_label = hash['field3Label'] ||= 'Custom Field 3'
  field3_required =
    hash.key?('field3Required') ? hash['field3Required'] : SKIP
  field4 = hash['field4'] ||= false
  field4_error = hash['field4Error'] ||= 'Please provide Custom Field 4'
  field4_label = hash['field4Label'] ||= 'Custom Field 4'
  field4_required =
    hash.key?('field4Required') ? hash['field4Required'] : SKIP
  fr_fr = WlanPortalTemplateSettingLocale.from_hash(hash['fr-FR']) if hash['fr-FR']
  he_il = WlanPortalTemplateSettingLocale.from_hash(hash['he-IL']) if hash['he-IL']
  hi_in = WlanPortalTemplateSettingLocale.from_hash(hash['hi-IN']) if hash['hi-IN']
  hr_hr = WlanPortalTemplateSettingLocale.from_hash(hash['hr-HR']) if hash['hr-HR']
  hu_hu = WlanPortalTemplateSettingLocale.from_hash(hash['hu-HU']) if hash['hu-HU']
  id_id = WlanPortalTemplateSettingLocale.from_hash(hash['id-ID']) if hash['id-ID']
  it_it = WlanPortalTemplateSettingLocale.from_hash(hash['it-IT']) if hash['it-IT']
  ja_jp = WlanPortalTemplateSettingLocale.from_hash(hash['ja-JP']) if hash['ja-JP']
  ko_kr = WlanPortalTemplateSettingLocale.from_hash(hash['ko-KR']) if hash['ko-KR']
   = hash.key?('logo') ? hash['logo'] : SKIP
  logo_height = hash.key?('logoHeight') ? hash['logoHeight'] : SKIP
  logo_width = hash.key?('logoWidth') ? hash['logoWidth'] : SKIP
  marketing_policy_link = hash['marketingPolicyLink'] ||= 'Marketing Policy'
  marketing_policy_opt_in = hash['marketingPolicyOptIn'] ||= false
  marketing_policy_opt_in_label =
    hash['marketingPolicyOptInLabel'] ||= 'I wish to receive Marketing notifications'
  marketing_policy_opt_in_text =
    hash['marketingPolicyOptInText'] ||= 'Marketing policy content'
  message = hash['message'] ||= 'Sign in to get online'
  ms_my = WlanPortalTemplateSettingLocale.from_hash(hash['ms-MY']) if hash['ms-MY']
  multi_auth = hash['multiAuth'] ||= false
  name = hash['name'] ||= false
  name_error = hash['nameError'] ||= 'Please provide your name'
  name_label = hash['nameLabel'] ||= 'Name'
  nb_no = WlanPortalTemplateSettingLocale.from_hash(hash['nb-NO']) if hash['nb-NO']
  nl_nl = WlanPortalTemplateSettingLocale.from_hash(hash['nl-NL']) if hash['nl-NL']
  opt_out_default = hash['optOutDefault'] ||= true
  optout = hash['optout'] ||= false
  optout_label = hash['optoutLabel'] ||= 'Do not store'
  passphrase_cancel = hash['passphraseCancel'] ||= 'Cancel'
  passphrase_error = hash['passphraseError'] ||= 'Invalid Passphrase'
  passphrase_label = hash['passphraseLabel'] ||= 'Passphrase'
  passphrase_message =
    hash['passphraseMessage'] ||= 'Enter the secret passphrase to access the Wi-Fi network.'
  passphrase_submit = hash['passphraseSubmit'] ||= 'Sign in'
  passphrase_title = hash['passphraseTitle'] ||= 'Sign in with Passphrase'
  pl_pl = WlanPortalTemplateSettingLocale.from_hash(hash['pl-PL']) if hash['pl-PL']
  powered_by = hash['poweredBy'] ||= true
  privacy = hash['privacy'] ||= false
  privacy_policy_accept_label =
    hash['privacyPolicyAcceptLabel'] ||= 'I accept the Privacy Terms'
  privacy_policy_error =
    hash['privacyPolicyError'] ||= 'Please review and accept the Privacy Terms'
  privacy_policy_link = hash['privacyPolicyLink'] ||= 'Privacy Terms'
  privacy_policy_text =
    hash['privacyPolicyText'] ||= '<< provide your Privacy Terms here >>'
  pt_br = WlanPortalTemplateSettingLocale.from_hash(hash['pt-BR']) if hash['pt-BR']
  pt_pt = WlanPortalTemplateSettingLocale.from_hash(hash['pt-PT']) if hash['pt-PT']
  required_field_label = hash['requiredFieldLabel'] ||= 'required'
  responsive_layout = hash['responsiveLayout'] ||= true
  ro_ro = WlanPortalTemplateSettingLocale.from_hash(hash['ro-RO']) if hash['ro-RO']
  ru_ru = WlanPortalTemplateSettingLocale.from_hash(hash['ru-RU']) if hash['ru-RU']
   = hash['signInLabel'] ||= 'Sign In'
  sk_sk = WlanPortalTemplateSettingLocale.from_hash(hash['sk-SK']) if hash['sk-SK']
  sms_carrier_default = hash['smsCarrierDefault'] ||= 'Please Select'
  sms_carrier_error =
    hash['smsCarrierError'] ||= 'Please select a mobile carrier'
  sms_carrier_field_label =
    hash['smsCarrierFieldLabel'] ||= 'Mobile Carrier'
  sms_code_cancel = hash['smsCodeCancel'] ||= 'I did not receive the code'
  sms_code_error = hash['smsCodeError'] ||= 'Invalid Access Code'
  sms_code_field_label = hash['smsCodeFieldLabel'] ||= 'Confirmation Code'
  sms_code_message =
    hash['smsCodeMessage'] ||= 'Enter the access number that was sent to your mobile number.'
  sms_code_submit = hash['smsCodeSubmit'] ||= 'Sign In'
  sms_code_title = hash['smsCodeTitle'] ||= 'Access Code'
  sms_country_field_label = hash['smsCountryFieldLabel'] ||= 'Country Code'
  sms_country_format = hash['smsCountryFormat'] ||= '+1'
  sms_have_access_code =
    hash['smsHaveAccessCode'] ||= 'I have an access code'
  sms_is_twilio = hash['smsIsTwilio'] ||= false
  sms_message_format =
    hash.key?('smsMessageFormat') ? hash['smsMessageFormat'] : SKIP
  sms_number_cancel = hash['smsNumberCancel'] ||= 'Cancel'
  sms_number_error = hash['smsNumberError'] ||= 'Invalid Mobile Number'
  sms_number_field_label = hash['smsNumberFieldLabel'] ||= 'Mobile Number'
  sms_number_format = hash['smsNumberFormat'] ||= '2125551212 (digits only)'
  sms_number_message =
    hash['smsNumberMessage'] ||= 'We will send an access code to your mobile number which you can use to connect to the Wi-Fi network. Message and data rates may apply.'
  sms_number_submit = hash['smsNumberSubmit'] ||= 'Send Access Code'
  sms_number_title = hash['smsNumberTitle'] ||= 'Sign in with Text Message'
  sms_username_format = hash['smsUsernameFormat'] ||= 'username'
  sms_validity_duration =
    hash.key?('smsValidityDuration') ? hash['smsValidityDuration'] : SKIP
  sponsor_back_link =
    hash['sponsorBackLink'] ||= 'Go back and edit request form'
  sponsor_cancel = hash['sponsorCancel'] ||= 'Cancel'
  sponsor_email = hash['sponsorEmail'] ||= 'Sponsor Email'
  sponsor_email_error =
    hash['sponsorEmailError'] ||= 'Please provide valid sponsor email'
  sponsor_email_template =
    hash.key?('sponsorEmailTemplate') ? hash['sponsorEmailTemplate'] : SKIP
  sponsor_info_approved =
    hash['sponsorInfoApproved'] ||= 'Your request was approved by'
  sponsor_info_denied =
    hash['sponsorInfoDenied'] ||= 'Your request was denied by'
  sponsor_info_pending =
    hash['sponsorInfoPending'] ||= 'Your notification has been sent to'
  sponsor_name = hash['sponsorName'] ||= 'Sponsor Name'
  sponsor_name_error =
    hash['sponsorNameError'] ||= 'Please provide sponsor name'
  sponsor_note_pending =
    hash['sponsorNotePending'] ||= 'Please wait for them to acknowledge.'
  sponsor_request_access =
    hash['sponsorRequestAccess'] ||= 'Request Wi-Fi Access'
  sponsor_status_approved =
    hash['sponsorStatusApproved'] ||= 'Your request was approved'
  sponsor_status_denied =
    hash['sponsorStatusDenied'] ||= 'Your request was denied'
  sponsor_status_pending =
    hash['sponsorStatusPending'] ||= 'Notification Sent'
  sponsor_submit = hash['sponsorSubmit'] ||= 'Request Wi-Fi Access'
  sponsors_error = hash['sponsorsError'] ||= 'Please select a sponsor'
  sponsors_field_label = hash['sponsorsFieldLabel'] ||= 'Sponsors'
  sv_se = WlanPortalTemplateSettingLocale.from_hash(hash['sv-SE']) if hash['sv-SE']
  th_th = WlanPortalTemplateSettingLocale.from_hash(hash['th-TH']) if hash['th-TH']
  tos = hash['tos'] ||= true
  tos_accept_label =
    hash['tosAcceptLabel'] ||= 'I accept the Terms of Service'
  tos_error =
    hash['tosError'] ||= 'Please review and accept the Terms of Service'
  tos_link = hash['tosLink'] ||= 'Terms of Service'
  tos_text = hash['tosText'] ||= '<< provide your Terms of Service here >>'
  tr_tr = WlanPortalTemplateSettingLocale.from_hash(hash['tr-TR']) if hash['tr-TR']
  uk_ua = WlanPortalTemplateSettingLocale.from_hash(hash['uk-UA']) if hash['uk-UA']
  vi_vn = WlanPortalTemplateSettingLocale.from_hash(hash['vi-VN']) if hash['vi-VN']
  zh_hans = WlanPortalTemplateSettingLocale.from_hash(hash['zh-Hans']) if hash['zh-Hans']
  zh_hant = WlanPortalTemplateSettingLocale.from_hash(hash['zh-Hant']) if hash['zh-Hant']

  # Create object from extracted values.
  WlanPortalTemplateSetting.new(page_title,
                                access_code_alternate_email,
                                alignment,
                                ar,
                                auth_button_amazon,
                                auth_button_azure,
                                auth_button_email,
                                auth_button_facebook,
                                auth_button_google,
                                auth_button_microsoft,
                                auth_button_passphrase,
                                auth_button_sms,
                                auth_button_sponsor,
                                auth_label,
                                back_link,
                                ca_es,
                                color,
                                color_dark,
                                color_light,
                                company,
                                company_error,
                                company_label,
                                cs_cz,
                                da_dk,
                                de_de,
                                el_gr,
                                email,
                                email_access_domain_error,
                                email_cancel,
                                email_code_cancel,
                                email_code_error,
                                email_code_field_label,
                                email_code_message,
                                email_code_submit,
                                email_code_title,
                                email_error,
                                email_field_label,
                                email_label,
                                email_message,
                                email_submit,
                                email_title,
                                en_gb,
                                en_us,
                                es_es,
                                fi_fi,
                                field1,
                                field1_error,
                                field1_label,
                                field1_required,
                                field2,
                                field2_error,
                                field2_label,
                                field2_required,
                                field3,
                                field3_error,
                                field3_label,
                                field3_required,
                                field4,
                                field4_error,
                                field4_label,
                                field4_required,
                                fr_fr,
                                he_il,
                                hi_in,
                                hr_hr,
                                hu_hu,
                                id_id,
                                it_it,
                                ja_jp,
                                ko_kr,
                                ,
                                logo_height,
                                logo_width,
                                marketing_policy_link,
                                marketing_policy_opt_in,
                                marketing_policy_opt_in_label,
                                marketing_policy_opt_in_text,
                                message,
                                ms_my,
                                multi_auth,
                                name,
                                name_error,
                                name_label,
                                nb_no,
                                nl_nl,
                                opt_out_default,
                                optout,
                                optout_label,
                                passphrase_cancel,
                                passphrase_error,
                                passphrase_label,
                                passphrase_message,
                                passphrase_submit,
                                passphrase_title,
                                pl_pl,
                                powered_by,
                                privacy,
                                privacy_policy_accept_label,
                                privacy_policy_error,
                                privacy_policy_link,
                                privacy_policy_text,
                                pt_br,
                                pt_pt,
                                required_field_label,
                                responsive_layout,
                                ro_ro,
                                ru_ru,
                                ,
                                sk_sk,
                                sms_carrier_default,
                                sms_carrier_error,
                                sms_carrier_field_label,
                                sms_code_cancel,
                                sms_code_error,
                                sms_code_field_label,
                                sms_code_message,
                                sms_code_submit,
                                sms_code_title,
                                sms_country_field_label,
                                sms_country_format,
                                sms_have_access_code,
                                sms_is_twilio,
                                sms_message_format,
                                sms_number_cancel,
                                sms_number_error,
                                sms_number_field_label,
                                sms_number_format,
                                sms_number_message,
                                sms_number_submit,
                                sms_number_title,
                                sms_username_format,
                                sms_validity_duration,
                                sponsor_back_link,
                                sponsor_cancel,
                                sponsor_email,
                                sponsor_email_error,
                                sponsor_email_template,
                                sponsor_info_approved,
                                sponsor_info_denied,
                                sponsor_info_pending,
                                sponsor_name,
                                sponsor_name_error,
                                sponsor_note_pending,
                                sponsor_request_access,
                                sponsor_status_approved,
                                sponsor_status_denied,
                                sponsor_status_pending,
                                sponsor_submit,
                                sponsors_error,
                                sponsors_field_label,
                                sv_se,
                                th_th,
                                tos,
                                tos_accept_label,
                                tos_error,
                                tos_link,
                                tos_text,
                                tr_tr,
                                uk_ua,
                                vi_vn,
                                zh_hans,
                                zh_hant)
end

.namesObject

A mapping from model property names to API property names.



726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 726

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['access_code_alternate_email'] = 'accessCodeAlternateEmail'
  @_hash['alignment'] = 'alignment'
  @_hash['ar'] = 'ar'
  @_hash['auth_button_amazon'] = 'authButtonAmazon'
  @_hash['auth_button_azure'] = 'authButtonAzure'
  @_hash['auth_button_email'] = 'authButtonEmail'
  @_hash['auth_button_facebook'] = 'authButtonFacebook'
  @_hash['auth_button_google'] = 'authButtonGoogle'
  @_hash['auth_button_microsoft'] = 'authButtonMicrosoft'
  @_hash['auth_button_passphrase'] = 'authButtonPassphrase'
  @_hash['auth_button_sms'] = 'authButtonSms'
  @_hash['auth_button_sponsor'] = 'authButtonSponsor'
  @_hash['auth_label'] = 'authLabel'
  @_hash['back_link'] = 'backLink'
  @_hash['ca_es'] = 'ca-ES'
  @_hash['color'] = 'color'
  @_hash['color_dark'] = 'colorDark'
  @_hash['color_light'] = 'colorLight'
  @_hash['company'] = 'company'
  @_hash['company_error'] = 'companyError'
  @_hash['company_label'] = 'companyLabel'
  @_hash['cs_cz'] = 'cs-CZ'
  @_hash['da_dk'] = 'da-DK'
  @_hash['de_de'] = 'de-DE'
  @_hash['el_gr'] = 'el-GR'
  @_hash['email'] = 'email'
  @_hash['email_access_domain_error'] = 'emailAccessDomainError'
  @_hash['email_cancel'] = 'emailCancel'
  @_hash['email_code_cancel'] = 'emailCodeCancel'
  @_hash['email_code_error'] = 'emailCodeError'
  @_hash['email_code_field_label'] = 'emailCodeFieldLabel'
  @_hash['email_code_message'] = 'emailCodeMessage'
  @_hash['email_code_submit'] = 'emailCodeSubmit'
  @_hash['email_code_title'] = 'emailCodeTitle'
  @_hash['email_error'] = 'emailError'
  @_hash['email_field_label'] = 'emailFieldLabel'
  @_hash['email_label'] = 'emailLabel'
  @_hash['email_message'] = 'emailMessage'
  @_hash['email_submit'] = 'emailSubmit'
  @_hash['email_title'] = 'emailTitle'
  @_hash['en_gb'] = 'en-GB'
  @_hash['en_us'] = 'en-US'
  @_hash['es_es'] = 'es-ES'
  @_hash['fi_fi'] = 'fi-FI'
  @_hash['field1'] = 'field1'
  @_hash['field1_error'] = 'field1Error'
  @_hash['field1_label'] = 'field1Label'
  @_hash['field1_required'] = 'field1Required'
  @_hash['field2'] = 'field2'
  @_hash['field2_error'] = 'field2Error'
  @_hash['field2_label'] = 'field2Label'
  @_hash['field2_required'] = 'field2Required'
  @_hash['field3'] = 'field3'
  @_hash['field3_error'] = 'field3Error'
  @_hash['field3_label'] = 'field3Label'
  @_hash['field3_required'] = 'field3Required'
  @_hash['field4'] = 'field4'
  @_hash['field4_error'] = 'field4Error'
  @_hash['field4_label'] = 'field4Label'
  @_hash['field4_required'] = 'field4Required'
  @_hash['fr_fr'] = 'fr-FR'
  @_hash['he_il'] = 'he-IL'
  @_hash['hi_in'] = 'hi-IN'
  @_hash['hr_hr'] = 'hr-HR'
  @_hash['hu_hu'] = 'hu-HU'
  @_hash['id_id'] = 'id-ID'
  @_hash['it_it'] = 'it-IT'
  @_hash['ja_jp'] = 'ja-JP'
  @_hash['ko_kr'] = 'ko-KR'
  @_hash['logo'] = 'logo'
  @_hash['logo_height'] = 'logoHeight'
  @_hash['logo_width'] = 'logoWidth'
  @_hash['marketing_policy_link'] = 'marketingPolicyLink'
  @_hash['marketing_policy_opt_in'] = 'marketingPolicyOptIn'
  @_hash['marketing_policy_opt_in_label'] = 'marketingPolicyOptInLabel'
  @_hash['marketing_policy_opt_in_text'] = 'marketingPolicyOptInText'
  @_hash['message'] = 'message'
  @_hash['ms_my'] = 'ms-MY'
  @_hash['multi_auth'] = 'multiAuth'
  @_hash['name'] = 'name'
  @_hash['name_error'] = 'nameError'
  @_hash['name_label'] = 'nameLabel'
  @_hash['nb_no'] = 'nb-NO'
  @_hash['nl_nl'] = 'nl-NL'
  @_hash['opt_out_default'] = 'optOutDefault'
  @_hash['optout'] = 'optout'
  @_hash['optout_label'] = 'optoutLabel'
  @_hash['page_title'] = 'pageTitle'
  @_hash['passphrase_cancel'] = 'passphraseCancel'
  @_hash['passphrase_error'] = 'passphraseError'
  @_hash['passphrase_label'] = 'passphraseLabel'
  @_hash['passphrase_message'] = 'passphraseMessage'
  @_hash['passphrase_submit'] = 'passphraseSubmit'
  @_hash['passphrase_title'] = 'passphraseTitle'
  @_hash['pl_pl'] = 'pl-PL'
  @_hash['powered_by'] = 'poweredBy'
  @_hash['privacy'] = 'privacy'
  @_hash['privacy_policy_accept_label'] = 'privacyPolicyAcceptLabel'
  @_hash['privacy_policy_error'] = 'privacyPolicyError'
  @_hash['privacy_policy_link'] = 'privacyPolicyLink'
  @_hash['privacy_policy_text'] = 'privacyPolicyText'
  @_hash['pt_br'] = 'pt-BR'
  @_hash['pt_pt'] = 'pt-PT'
  @_hash['required_field_label'] = 'requiredFieldLabel'
  @_hash['responsive_layout'] = 'responsiveLayout'
  @_hash['ro_ro'] = 'ro-RO'
  @_hash['ru_ru'] = 'ru-RU'
  @_hash['sign_in_label'] = 'signInLabel'
  @_hash['sk_sk'] = 'sk-SK'
  @_hash['sms_carrier_default'] = 'smsCarrierDefault'
  @_hash['sms_carrier_error'] = 'smsCarrierError'
  @_hash['sms_carrier_field_label'] = 'smsCarrierFieldLabel'
  @_hash['sms_code_cancel'] = 'smsCodeCancel'
  @_hash['sms_code_error'] = 'smsCodeError'
  @_hash['sms_code_field_label'] = 'smsCodeFieldLabel'
  @_hash['sms_code_message'] = 'smsCodeMessage'
  @_hash['sms_code_submit'] = 'smsCodeSubmit'
  @_hash['sms_code_title'] = 'smsCodeTitle'
  @_hash['sms_country_field_label'] = 'smsCountryFieldLabel'
  @_hash['sms_country_format'] = 'smsCountryFormat'
  @_hash['sms_have_access_code'] = 'smsHaveAccessCode'
  @_hash['sms_is_twilio'] = 'smsIsTwilio'
  @_hash['sms_message_format'] = 'smsMessageFormat'
  @_hash['sms_number_cancel'] = 'smsNumberCancel'
  @_hash['sms_number_error'] = 'smsNumberError'
  @_hash['sms_number_field_label'] = 'smsNumberFieldLabel'
  @_hash['sms_number_format'] = 'smsNumberFormat'
  @_hash['sms_number_message'] = 'smsNumberMessage'
  @_hash['sms_number_submit'] = 'smsNumberSubmit'
  @_hash['sms_number_title'] = 'smsNumberTitle'
  @_hash['sms_username_format'] = 'smsUsernameFormat'
  @_hash['sms_validity_duration'] = 'smsValidityDuration'
  @_hash['sponsor_back_link'] = 'sponsorBackLink'
  @_hash['sponsor_cancel'] = 'sponsorCancel'
  @_hash['sponsor_email'] = 'sponsorEmail'
  @_hash['sponsor_email_error'] = 'sponsorEmailError'
  @_hash['sponsor_email_template'] = 'sponsorEmailTemplate'
  @_hash['sponsor_info_approved'] = 'sponsorInfoApproved'
  @_hash['sponsor_info_denied'] = 'sponsorInfoDenied'
  @_hash['sponsor_info_pending'] = 'sponsorInfoPending'
  @_hash['sponsor_name'] = 'sponsorName'
  @_hash['sponsor_name_error'] = 'sponsorNameError'
  @_hash['sponsor_note_pending'] = 'sponsorNotePending'
  @_hash['sponsor_request_access'] = 'sponsorRequestAccess'
  @_hash['sponsor_status_approved'] = 'sponsorStatusApproved'
  @_hash['sponsor_status_denied'] = 'sponsorStatusDenied'
  @_hash['sponsor_status_pending'] = 'sponsorStatusPending'
  @_hash['sponsor_submit'] = 'sponsorSubmit'
  @_hash['sponsors_error'] = 'sponsorsError'
  @_hash['sponsors_field_label'] = 'sponsorsFieldLabel'
  @_hash['sv_se'] = 'sv-SE'
  @_hash['th_th'] = 'th-TH'
  @_hash['tos'] = 'tos'
  @_hash['tos_accept_label'] = 'tosAcceptLabel'
  @_hash['tos_error'] = 'tosError'
  @_hash['tos_link'] = 'tosLink'
  @_hash['tos_text'] = 'tosText'
  @_hash['tr_tr'] = 'tr-TR'
  @_hash['uk_ua'] = 'uk-UA'
  @_hash['vi_vn'] = 'vi-VN'
  @_hash['zh_hans'] = 'zh-Hans'
  @_hash['zh_hant'] = 'zh-Hant'
  @_hash
end

.nullablesObject

An array for nullable fields



1061
1062
1063
1064
1065
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 1061

def self.nullables
  %w[
    logo
  ]
end

.optionalsObject

An array for optional fields



894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 894

def self.optionals
  %w[
    access_code_alternate_email
    alignment
    ar
    auth_button_amazon
    auth_button_azure
    auth_button_email
    auth_button_facebook
    auth_button_google
    auth_button_microsoft
    auth_button_passphrase
    auth_button_sms
    auth_button_sponsor
    auth_label
    back_link
    ca_es
    color
    color_dark
    color_light
    company
    company_error
    company_label
    cs_cz
    da_dk
    de_de
    el_gr
    email
    email_access_domain_error
    email_cancel
    email_code_cancel
    email_code_error
    email_code_field_label
    email_code_message
    email_code_submit
    email_code_title
    email_error
    email_field_label
    email_label
    email_message
    email_submit
    email_title
    en_gb
    en_us
    es_es
    fi_fi
    field1
    field1_error
    field1_label
    field1_required
    field2
    field2_error
    field2_label
    field2_required
    field3
    field3_error
    field3_label
    field3_required
    field4
    field4_error
    field4_label
    field4_required
    fr_fr
    he_il
    hi_in
    hr_hr
    hu_hu
    id_id
    it_it
    ja_jp
    ko_kr
    logo
    logo_height
    logo_width
    marketing_policy_link
    marketing_policy_opt_in
    marketing_policy_opt_in_label
    marketing_policy_opt_in_text
    message
    ms_my
    multi_auth
    name
    name_error
    name_label
    nb_no
    nl_nl
    opt_out_default
    optout
    optout_label
    passphrase_cancel
    passphrase_error
    passphrase_label
    passphrase_message
    passphrase_submit
    passphrase_title
    pl_pl
    powered_by
    privacy
    privacy_policy_accept_label
    privacy_policy_error
    privacy_policy_link
    privacy_policy_text
    pt_br
    pt_pt
    required_field_label
    responsive_layout
    ro_ro
    ru_ru
    sign_in_label
    sk_sk
    sms_carrier_default
    sms_carrier_error
    sms_carrier_field_label
    sms_code_cancel
    sms_code_error
    sms_code_field_label
    sms_code_message
    sms_code_submit
    sms_code_title
    sms_country_field_label
    sms_country_format
    sms_have_access_code
    sms_is_twilio
    sms_message_format
    sms_number_cancel
    sms_number_error
    sms_number_field_label
    sms_number_format
    sms_number_message
    sms_number_submit
    sms_number_title
    sms_username_format
    sms_validity_duration
    sponsor_back_link
    sponsor_cancel
    sponsor_email
    sponsor_email_error
    sponsor_email_template
    sponsor_info_approved
    sponsor_info_denied
    sponsor_info_pending
    sponsor_name
    sponsor_name_error
    sponsor_note_pending
    sponsor_request_access
    sponsor_status_approved
    sponsor_status_denied
    sponsor_status_pending
    sponsor_submit
    sponsors_error
    sponsors_field_label
    sv_se
    th_th
    tos
    tos_accept_label
    tos_error
    tos_link
    tos_text
    tr_tr
    uk_ua
    vi_vn
    zh_hans
    zh_hant
  ]
end

Instance Method Details

#inspectObject

Provides a debugging-friendly string with detailed object information.



1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 1795

def inspect
  class_name = self.class.name.split('::').last
  "<#{class_name} access_code_alternate_email: #{@access_code_alternate_email.inspect},"\
  " alignment: #{@alignment.inspect}, ar: #{@ar.inspect}, auth_button_amazon:"\
  " #{@auth_button_amazon.inspect}, auth_button_azure: #{@auth_button_azure.inspect},"\
  " auth_button_email: #{@auth_button_email.inspect}, auth_button_facebook:"\
  " #{@auth_button_facebook.inspect}, auth_button_google: #{@auth_button_google.inspect},"\
  " auth_button_microsoft: #{@auth_button_microsoft.inspect}, auth_button_passphrase:"\
  " #{@auth_button_passphrase.inspect}, auth_button_sms: #{@auth_button_sms.inspect},"\
  " auth_button_sponsor: #{@auth_button_sponsor.inspect}, auth_label: #{@auth_label.inspect},"\
  " back_link: #{@back_link.inspect}, ca_es: #{@ca_es.inspect}, color: #{@color.inspect},"\
  " color_dark: #{@color_dark.inspect}, color_light: #{@color_light.inspect}, company:"\
  " #{@company.inspect}, company_error: #{@company_error.inspect}, company_label:"\
  " #{@company_label.inspect}, cs_cz: #{@cs_cz.inspect}, da_dk: #{@da_dk.inspect}, de_de:"\
  " #{@de_de.inspect}, el_gr: #{@el_gr.inspect}, email: #{@email.inspect},"\
  " email_access_domain_error: #{@email_access_domain_error.inspect}, email_cancel:"\
  " #{@email_cancel.inspect}, email_code_cancel: #{@email_code_cancel.inspect},"\
  " email_code_error: #{@email_code_error.inspect}, email_code_field_label:"\
  " #{@email_code_field_label.inspect}, email_code_message: #{@email_code_message.inspect},"\
  " email_code_submit: #{@email_code_submit.inspect}, email_code_title:"\
  " #{@email_code_title.inspect}, email_error: #{@email_error.inspect}, email_field_label:"\
  " #{@email_field_label.inspect}, email_label: #{@email_label.inspect}, email_message:"\
  " #{@email_message.inspect}, email_submit: #{@email_submit.inspect}, email_title:"\
  " #{@email_title.inspect}, en_gb: #{@en_gb.inspect}, en_us: #{@en_us.inspect}, es_es:"\
  " #{@es_es.inspect}, fi_fi: #{@fi_fi.inspect}, field1: #{@field1.inspect}, field1_error:"\
  " #{@field1_error.inspect}, field1_label: #{@field1_label.inspect}, field1_required:"\
  " #{@field1_required.inspect}, field2: #{@field2.inspect}, field2_error:"\
  " #{@field2_error.inspect}, field2_label: #{@field2_label.inspect}, field2_required:"\
  " #{@field2_required.inspect}, field3: #{@field3.inspect}, field3_error:"\
  " #{@field3_error.inspect}, field3_label: #{@field3_label.inspect}, field3_required:"\
  " #{@field3_required.inspect}, field4: #{@field4.inspect}, field4_error:"\
  " #{@field4_error.inspect}, field4_label: #{@field4_label.inspect}, field4_required:"\
  " #{@field4_required.inspect}, fr_fr: #{@fr_fr.inspect}, he_il: #{@he_il.inspect}, hi_in:"\
  " #{@hi_in.inspect}, hr_hr: #{@hr_hr.inspect}, hu_hu: #{@hu_hu.inspect}, id_id:"\
  " #{@id_id.inspect}, it_it: #{@it_it.inspect}, ja_jp: #{@ja_jp.inspect}, ko_kr:"\
  " #{@ko_kr.inspect}, logo: #{@logo.inspect}, logo_height: #{@logo_height.inspect},"\
  " logo_width: #{@logo_width.inspect}, marketing_policy_link:"\
  " #{@marketing_policy_link.inspect}, marketing_policy_opt_in:"\
  " #{@marketing_policy_opt_in.inspect}, marketing_policy_opt_in_label:"\
  " #{@marketing_policy_opt_in_label.inspect}, marketing_policy_opt_in_text:"\
  " #{@marketing_policy_opt_in_text.inspect}, message: #{@message.inspect}, ms_my:"\
  " #{@ms_my.inspect}, multi_auth: #{@multi_auth.inspect}, name: #{@name.inspect}, name_error:"\
  " #{@name_error.inspect}, name_label: #{@name_label.inspect}, nb_no: #{@nb_no.inspect},"\
  " nl_nl: #{@nl_nl.inspect}, opt_out_default: #{@opt_out_default.inspect}, optout:"\
  " #{@optout.inspect}, optout_label: #{@optout_label.inspect}, page_title:"\
  " #{@page_title.inspect}, passphrase_cancel: #{@passphrase_cancel.inspect},"\
  " passphrase_error: #{@passphrase_error.inspect}, passphrase_label:"\
  " #{@passphrase_label.inspect}, passphrase_message: #{@passphrase_message.inspect},"\
  " passphrase_submit: #{@passphrase_submit.inspect}, passphrase_title:"\
  " #{@passphrase_title.inspect}, pl_pl: #{@pl_pl.inspect}, powered_by:"\
  " #{@powered_by.inspect}, privacy: #{@privacy.inspect}, privacy_policy_accept_label:"\
  " #{@privacy_policy_accept_label.inspect}, privacy_policy_error:"\
  " #{@privacy_policy_error.inspect}, privacy_policy_link: #{@privacy_policy_link.inspect},"\
  " privacy_policy_text: #{@privacy_policy_text.inspect}, pt_br: #{@pt_br.inspect}, pt_pt:"\
  " #{@pt_pt.inspect}, required_field_label: #{@required_field_label.inspect},"\
  " responsive_layout: #{@responsive_layout.inspect}, ro_ro: #{@ro_ro.inspect}, ru_ru:"\
  " #{@ru_ru.inspect}, sign_in_label: #{@sign_in_label.inspect}, sk_sk: #{@sk_sk.inspect},"\
  " sms_carrier_default: #{@sms_carrier_default.inspect}, sms_carrier_error:"\
  " #{@sms_carrier_error.inspect}, sms_carrier_field_label:"\
  " #{@sms_carrier_field_label.inspect}, sms_code_cancel: #{@sms_code_cancel.inspect},"\
  " sms_code_error: #{@sms_code_error.inspect}, sms_code_field_label:"\
  " #{@sms_code_field_label.inspect}, sms_code_message: #{@sms_code_message.inspect},"\
  " sms_code_submit: #{@sms_code_submit.inspect}, sms_code_title: #{@sms_code_title.inspect},"\
  " sms_country_field_label: #{@sms_country_field_label.inspect}, sms_country_format:"\
  " #{@sms_country_format.inspect}, sms_have_access_code: #{@sms_have_access_code.inspect},"\
  " sms_is_twilio: #{@sms_is_twilio.inspect}, sms_message_format:"\
  " #{@sms_message_format.inspect}, sms_number_cancel: #{@sms_number_cancel.inspect},"\
  " sms_number_error: #{@sms_number_error.inspect}, sms_number_field_label:"\
  " #{@sms_number_field_label.inspect}, sms_number_format: #{@sms_number_format.inspect},"\
  " sms_number_message: #{@sms_number_message.inspect}, sms_number_submit:"\
  " #{@sms_number_submit.inspect}, sms_number_title: #{@sms_number_title.inspect},"\
  " sms_username_format: #{@sms_username_format.inspect}, sms_validity_duration:"\
  " #{@sms_validity_duration.inspect}, sponsor_back_link: #{@sponsor_back_link.inspect},"\
  " sponsor_cancel: #{@sponsor_cancel.inspect}, sponsor_email: #{@sponsor_email.inspect},"\
  " sponsor_email_error: #{@sponsor_email_error.inspect}, sponsor_email_template:"\
  " #{@sponsor_email_template.inspect}, sponsor_info_approved:"\
  " #{@sponsor_info_approved.inspect}, sponsor_info_denied: #{@sponsor_info_denied.inspect},"\
  " sponsor_info_pending: #{@sponsor_info_pending.inspect}, sponsor_name:"\
  " #{@sponsor_name.inspect}, sponsor_name_error: #{@sponsor_name_error.inspect},"\
  " sponsor_note_pending: #{@sponsor_note_pending.inspect}, sponsor_request_access:"\
  " #{@sponsor_request_access.inspect}, sponsor_status_approved:"\
  " #{@sponsor_status_approved.inspect}, sponsor_status_denied:"\
  " #{@sponsor_status_denied.inspect}, sponsor_status_pending:"\
  " #{@sponsor_status_pending.inspect}, sponsor_submit: #{@sponsor_submit.inspect},"\
  " sponsors_error: #{@sponsors_error.inspect}, sponsors_field_label:"\
  " #{@sponsors_field_label.inspect}, sv_se: #{@sv_se.inspect}, th_th: #{@th_th.inspect}, tos:"\
  " #{@tos.inspect}, tos_accept_label: #{@tos_accept_label.inspect}, tos_error:"\
  " #{@tos_error.inspect}, tos_link: #{@tos_link.inspect}, tos_text: #{@tos_text.inspect},"\
  " tr_tr: #{@tr_tr.inspect}, uk_ua: #{@uk_ua.inspect}, vi_vn: #{@vi_vn.inspect}, zh_hans:"\
  " #{@zh_hans.inspect}, zh_hant: #{@zh_hant.inspect}>"
end

#to_sObject

Provides a human-readable string representation of the object.



1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
# File 'lib/mist_api/models/wlan_portal_template_setting.rb', line 1722

def to_s
  class_name = self.class.name.split('::').last
  "<#{class_name} access_code_alternate_email: #{@access_code_alternate_email}, alignment:"\
  " #{@alignment}, ar: #{@ar}, auth_button_amazon: #{@auth_button_amazon}, auth_button_azure:"\
  " #{@auth_button_azure}, auth_button_email: #{@auth_button_email}, auth_button_facebook:"\
  " #{@auth_button_facebook}, auth_button_google: #{@auth_button_google},"\
  " auth_button_microsoft: #{@auth_button_microsoft}, auth_button_passphrase:"\
  " #{@auth_button_passphrase}, auth_button_sms: #{@auth_button_sms}, auth_button_sponsor:"\
  " #{@auth_button_sponsor}, auth_label: #{@auth_label}, back_link: #{@back_link}, ca_es:"\
  " #{@ca_es}, color: #{@color}, color_dark: #{@color_dark}, color_light: #{@color_light},"\
  " company: #{@company}, company_error: #{@company_error}, company_label: #{@company_label},"\
  " cs_cz: #{@cs_cz}, da_dk: #{@da_dk}, de_de: #{@de_de}, el_gr: #{@el_gr}, email: #{@email},"\
  " email_access_domain_error: #{@email_access_domain_error}, email_cancel: #{@email_cancel},"\
  " email_code_cancel: #{@email_code_cancel}, email_code_error: #{@email_code_error},"\
  " email_code_field_label: #{@email_code_field_label}, email_code_message:"\
  " #{@email_code_message}, email_code_submit: #{@email_code_submit}, email_code_title:"\
  " #{@email_code_title}, email_error: #{@email_error}, email_field_label:"\
  " #{@email_field_label}, email_label: #{@email_label}, email_message: #{@email_message},"\
  " email_submit: #{@email_submit}, email_title: #{@email_title}, en_gb: #{@en_gb}, en_us:"\
  " #{@en_us}, es_es: #{@es_es}, fi_fi: #{@fi_fi}, field1: #{@field1}, field1_error:"\
  " #{@field1_error}, field1_label: #{@field1_label}, field1_required: #{@field1_required},"\
  " field2: #{@field2}, field2_error: #{@field2_error}, field2_label: #{@field2_label},"\
  " field2_required: #{@field2_required}, field3: #{@field3}, field3_error: #{@field3_error},"\
  " field3_label: #{@field3_label}, field3_required: #{@field3_required}, field4: #{@field4},"\
  " field4_error: #{@field4_error}, field4_label: #{@field4_label}, field4_required:"\
  " #{@field4_required}, fr_fr: #{@fr_fr}, he_il: #{@he_il}, hi_in: #{@hi_in}, hr_hr:"\
  " #{@hr_hr}, hu_hu: #{@hu_hu}, id_id: #{@id_id}, it_it: #{@it_it}, ja_jp: #{@ja_jp}, ko_kr:"\
  " #{@ko_kr}, logo: #{@logo}, logo_height: #{@logo_height}, logo_width: #{@logo_width},"\
  " marketing_policy_link: #{@marketing_policy_link}, marketing_policy_opt_in:"\
  " #{@marketing_policy_opt_in}, marketing_policy_opt_in_label:"\
  " #{@marketing_policy_opt_in_label}, marketing_policy_opt_in_text:"\
  " #{@marketing_policy_opt_in_text}, message: #{@message}, ms_my: #{@ms_my}, multi_auth:"\
  " #{@multi_auth}, name: #{@name}, name_error: #{@name_error}, name_label: #{@name_label},"\
  " nb_no: #{@nb_no}, nl_nl: #{@nl_nl}, opt_out_default: #{@opt_out_default}, optout:"\
  " #{@optout}, optout_label: #{@optout_label}, page_title: #{@page_title}, passphrase_cancel:"\
  " #{@passphrase_cancel}, passphrase_error: #{@passphrase_error}, passphrase_label:"\
  " #{@passphrase_label}, passphrase_message: #{@passphrase_message}, passphrase_submit:"\
  " #{@passphrase_submit}, passphrase_title: #{@passphrase_title}, pl_pl: #{@pl_pl},"\
  " powered_by: #{@powered_by}, privacy: #{@privacy}, privacy_policy_accept_label:"\
  " #{@privacy_policy_accept_label}, privacy_policy_error: #{@privacy_policy_error},"\
  " privacy_policy_link: #{@privacy_policy_link}, privacy_policy_text:"\
  " #{@privacy_policy_text}, pt_br: #{@pt_br}, pt_pt: #{@pt_pt}, required_field_label:"\
  " #{@required_field_label}, responsive_layout: #{@responsive_layout}, ro_ro: #{@ro_ro},"\
  " ru_ru: #{@ru_ru}, sign_in_label: #{@sign_in_label}, sk_sk: #{@sk_sk}, sms_carrier_default:"\
  " #{@sms_carrier_default}, sms_carrier_error: #{@sms_carrier_error},"\
  " sms_carrier_field_label: #{@sms_carrier_field_label}, sms_code_cancel:"\
  " #{@sms_code_cancel}, sms_code_error: #{@sms_code_error}, sms_code_field_label:"\
  " #{@sms_code_field_label}, sms_code_message: #{@sms_code_message}, sms_code_submit:"\
  " #{@sms_code_submit}, sms_code_title: #{@sms_code_title}, sms_country_field_label:"\
  " #{@sms_country_field_label}, sms_country_format: #{@sms_country_format},"\
  " sms_have_access_code: #{@sms_have_access_code}, sms_is_twilio: #{@sms_is_twilio},"\
  " sms_message_format: #{@sms_message_format}, sms_number_cancel: #{@sms_number_cancel},"\
  " sms_number_error: #{@sms_number_error}, sms_number_field_label:"\
  " #{@sms_number_field_label}, sms_number_format: #{@sms_number_format}, sms_number_message:"\
  " #{@sms_number_message}, sms_number_submit: #{@sms_number_submit}, sms_number_title:"\
  " #{@sms_number_title}, sms_username_format: #{@sms_username_format}, sms_validity_duration:"\
  " #{@sms_validity_duration}, sponsor_back_link: #{@sponsor_back_link}, sponsor_cancel:"\
  " #{@sponsor_cancel}, sponsor_email: #{@sponsor_email}, sponsor_email_error:"\
  " #{@sponsor_email_error}, sponsor_email_template: #{@sponsor_email_template},"\
  " sponsor_info_approved: #{@sponsor_info_approved}, sponsor_info_denied:"\
  " #{@sponsor_info_denied}, sponsor_info_pending: #{@sponsor_info_pending}, sponsor_name:"\
  " #{@sponsor_name}, sponsor_name_error: #{@sponsor_name_error}, sponsor_note_pending:"\
  " #{@sponsor_note_pending}, sponsor_request_access: #{@sponsor_request_access},"\
  " sponsor_status_approved: #{@sponsor_status_approved}, sponsor_status_denied:"\
  " #{@sponsor_status_denied}, sponsor_status_pending: #{@sponsor_status_pending},"\
  " sponsor_submit: #{@sponsor_submit}, sponsors_error: #{@sponsors_error},"\
  " sponsors_field_label: #{@sponsors_field_label}, sv_se: #{@sv_se}, th_th: #{@th_th}, tos:"\
  " #{@tos}, tos_accept_label: #{@tos_accept_label}, tos_error: #{@tos_error}, tos_link:"\
  " #{@tos_link}, tos_text: #{@tos_text}, tr_tr: #{@tr_tr}, uk_ua: #{@uk_ua}, vi_vn:"\
  " #{@vi_vn}, zh_hans: #{@zh_hans}, zh_hant: #{@zh_hant}>"
end