1/** 2 * Copyright 2016 IBM Corp. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17/** 18 * AUTOMATICALLY GENERATED CODE - DO NOT MODIFY 19 */ 20 21package datatypes 22 23// This class represents a login/logout sheet for facility visitors. 24type User_Access_Facility_Log struct { 25 Entity 26 27 // This is the account associated with the log entry. For users under a customer's account, it is the customer's account. For contractors and others visiting a colocation area, it is the account associated with the area they visited. 28 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 29 30 // This is the account associated with a log record. For a customer logging into a datacenter, this is the customer's account. For a contractor or any other guest logging into a customer's cabinet or colocation cage, this is the customer's account. 31 AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"` 32 33 // This is the location of the facility. 34 Datacenter *Location `json:"datacenter,omitempty" xmlrpc:"datacenter,omitempty"` 35 36 // This is a short description of why the person is at the location. 37 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 38 39 // This is the colocation hardware that was visited. 40 Hardware *Hardware `json:"hardware,omitempty" xmlrpc:"hardware,omitempty"` 41 42 // no documentation yet 43 HardwareId *int `json:"hardwareId,omitempty" xmlrpc:"hardwareId,omitempty"` 44 45 // no documentation yet 46 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 47 48 // no documentation yet 49 LocationId *int `json:"locationId,omitempty" xmlrpc:"locationId,omitempty"` 50 51 // This is the type of person entering the facility. 52 LogType *User_Access_Facility_Log_Type `json:"logType,omitempty" xmlrpc:"logType,omitempty"` 53 54 // This is the date and time the person arrived. 55 TimeIn *Time `json:"timeIn,omitempty" xmlrpc:"timeIn,omitempty"` 56 57 // no documentation yet 58 TimeOut *Time `json:"timeOut,omitempty" xmlrpc:"timeOut,omitempty"` 59 60 // no documentation yet 61 Visitor *Entity `json:"visitor,omitempty" xmlrpc:"visitor,omitempty"` 62} 63 64// no documentation yet 65type User_Access_Facility_Log_Type struct { 66 Entity 67 68 // no documentation yet 69 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 70 71 // no documentation yet 72 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 73 74 // no documentation yet 75 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 76} 77 78// This class represents a facility visitor that is not an active employee or customer. 79type User_Access_Facility_Visitor struct { 80 Entity 81 82 // no documentation yet 83 CompanyName *string `json:"companyName,omitempty" xmlrpc:"companyName,omitempty"` 84 85 // no documentation yet 86 FirstName *string `json:"firstName,omitempty" xmlrpc:"firstName,omitempty"` 87 88 // no documentation yet 89 LastName *string `json:"lastName,omitempty" xmlrpc:"lastName,omitempty"` 90 91 // no documentation yet 92 TypeId *int `json:"typeId,omitempty" xmlrpc:"typeId,omitempty"` 93 94 // no documentation yet 95 VisitorType *User_Access_Facility_Visitor_Type `json:"visitorType,omitempty" xmlrpc:"visitorType,omitempty"` 96} 97 98// no documentation yet 99type User_Access_Facility_Visitor_Type struct { 100 Entity 101 102 // no documentation yet 103 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 104 105 // no documentation yet 106 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 107 108 // no documentation yet 109 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 110} 111 112// The SoftLayer_User_Customer data type contains general information relating to a single SoftLayer customer portal user. Personal information in this type such as names, addresses, and phone numbers are not necessarily associated with the customer account the user is assigned to. 113type User_Customer struct { 114 User_Interface 115 116 // The customer account that a user belongs to. 117 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 118 119 // A portal user's associated [[SoftLayer_Account|customer account]] id. 120 AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"` 121 122 // A count of 123 ActionCount *uint `json:"actionCount,omitempty" xmlrpc:"actionCount,omitempty"` 124 125 // no documentation yet 126 Actions []User_Permission_Action `json:"actions,omitempty" xmlrpc:"actions,omitempty"` 127 128 // A count of a portal user's additional email addresses. These email addresses are contacted when updates are made to support tickets. 129 AdditionalEmailCount *uint `json:"additionalEmailCount,omitempty" xmlrpc:"additionalEmailCount,omitempty"` 130 131 // A portal user's additional email addresses. These email addresses are contacted when updates are made to support tickets. 132 AdditionalEmails []User_Customer_AdditionalEmail `json:"additionalEmails,omitempty" xmlrpc:"additionalEmails,omitempty"` 133 134 // The first line of the mailing address belonging to a portal user. 135 Address1 *string `json:"address1,omitempty" xmlrpc:"address1,omitempty"` 136 137 // The second line of the mailing address belonging to a portal user. 138 Address2 *string `json:"address2,omitempty" xmlrpc:"address2,omitempty"` 139 140 // A portal user's AOL Instant Messenger screen name. 141 Aim *string `json:"aim,omitempty" xmlrpc:"aim,omitempty"` 142 143 // A portal user's secondary phone number. 144 AlternatePhone *string `json:"alternatePhone,omitempty" xmlrpc:"alternatePhone,omitempty"` 145 146 // A count of a portal user's API Authentication keys. There is a max limit of two API keys per user. 147 ApiAuthenticationKeyCount *uint `json:"apiAuthenticationKeyCount,omitempty" xmlrpc:"apiAuthenticationKeyCount,omitempty"` 148 149 // A portal user's API Authentication keys. There is a max limit of two API keys per user. 150 ApiAuthenticationKeys []User_Customer_ApiAuthentication `json:"apiAuthenticationKeys,omitempty" xmlrpc:"apiAuthenticationKeys,omitempty"` 151 152 // The authentication token used for logging into the SoftLayer customer portal. 153 AuthenticationToken *Container_User_Authentication_Token `json:"authenticationToken,omitempty" xmlrpc:"authenticationToken,omitempty"` 154 155 // A count of the CDN accounts associated with a portal user. 156 CdnAccountCount *uint `json:"cdnAccountCount,omitempty" xmlrpc:"cdnAccountCount,omitempty"` 157 158 // The CDN accounts associated with a portal user. 159 CdnAccounts []Network_ContentDelivery_Account `json:"cdnAccounts,omitempty" xmlrpc:"cdnAccounts,omitempty"` 160 161 // A count of a portal user's child users. Some portal users may not have child users. 162 ChildUserCount *uint `json:"childUserCount,omitempty" xmlrpc:"childUserCount,omitempty"` 163 164 // A portal user's child users. Some portal users may not have child users. 165 ChildUsers []User_Customer `json:"childUsers,omitempty" xmlrpc:"childUsers,omitempty"` 166 167 // The city of the mailing address belonging to a portal user. 168 City *string `json:"city,omitempty" xmlrpc:"city,omitempty"` 169 170 // A count of an user's associated closed tickets. 171 ClosedTicketCount *uint `json:"closedTicketCount,omitempty" xmlrpc:"closedTicketCount,omitempty"` 172 173 // An user's associated closed tickets. 174 ClosedTickets []Ticket `json:"closedTickets,omitempty" xmlrpc:"closedTickets,omitempty"` 175 176 // A portal user's associated company. This may not be the same company as the customer that owns this portal user. 177 CompanyName *string `json:"companyName,omitempty" xmlrpc:"companyName,omitempty"` 178 179 // A two-letter abbreviation of the country in the mailing address belonging to a portal user. 180 Country *string `json:"country,omitempty" xmlrpc:"country,omitempty"` 181 182 // The date a portal user's record was created. 183 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 184 185 // Whether a portal user's time zone is affected by Daylight Savings Time. 186 DaylightSavingsTimeFlag *bool `json:"daylightSavingsTimeFlag,omitempty" xmlrpc:"daylightSavingsTimeFlag,omitempty"` 187 188 // A count of the dedicated hosts to which the user has been granted access. 189 DedicatedHostCount *uint `json:"dedicatedHostCount,omitempty" xmlrpc:"dedicatedHostCount,omitempty"` 190 191 // The dedicated hosts to which the user has been granted access. 192 DedicatedHosts []Virtual_DedicatedHost `json:"dedicatedHosts,omitempty" xmlrpc:"dedicatedHosts,omitempty"` 193 194 // Flag used to deny access to all hardware and cloud computing instances upon user creation. 195 DenyAllResourceAccessOnCreateFlag *bool `json:"denyAllResourceAccessOnCreateFlag,omitempty" xmlrpc:"denyAllResourceAccessOnCreateFlag,omitempty"` 196 197 // no documentation yet 198 DisplayName *string `json:"displayName,omitempty" xmlrpc:"displayName,omitempty"` 199 200 // A portal user's email address. 201 Email *string `json:"email,omitempty" xmlrpc:"email,omitempty"` 202 203 // A count of the external authentication bindings that link an external identifier to a SoftLayer user. 204 ExternalBindingCount *uint `json:"externalBindingCount,omitempty" xmlrpc:"externalBindingCount,omitempty"` 205 206 // The external authentication bindings that link an external identifier to a SoftLayer user. 207 ExternalBindings []User_External_Binding `json:"externalBindings,omitempty" xmlrpc:"externalBindings,omitempty"` 208 209 // A portal user's first name. 210 FirstName *string `json:"firstName,omitempty" xmlrpc:"firstName,omitempty"` 211 212 // A user's password for the SoftLayer forums, hashed for auto-login capability from the SoftLayer customer portal 213 ForumPasswordHash *string `json:"forumPasswordHash,omitempty" xmlrpc:"forumPasswordHash,omitempty"` 214 215 // A portal user's accessible hardware. These permissions control which hardware a user has access to in the SoftLayer customer portal. 216 Hardware []Hardware `json:"hardware,omitempty" xmlrpc:"hardware,omitempty"` 217 218 // A count of a portal user's accessible hardware. These permissions control which hardware a user has access to in the SoftLayer customer portal. 219 HardwareCount *uint `json:"hardwareCount,omitempty" xmlrpc:"hardwareCount,omitempty"` 220 221 // A count of hardware notifications associated with this user. A hardware notification links a user to a piece of hardware, and that user will be notified if any monitors on that hardware fail, if the monitors have a status of 'Notify User'. 222 HardwareNotificationCount *uint `json:"hardwareNotificationCount,omitempty" xmlrpc:"hardwareNotificationCount,omitempty"` 223 224 // Hardware notifications associated with this user. A hardware notification links a user to a piece of hardware, and that user will be notified if any monitors on that hardware fail, if the monitors have a status of 'Notify User'. 225 HardwareNotifications []User_Customer_Notification_Hardware `json:"hardwareNotifications,omitempty" xmlrpc:"hardwareNotifications,omitempty"` 226 227 // Whether or not a user has acknowledged the support policy. 228 HasAcknowledgedSupportPolicyFlag *bool `json:"hasAcknowledgedSupportPolicyFlag,omitempty" xmlrpc:"hasAcknowledgedSupportPolicyFlag,omitempty"` 229 230 // Permission granting the user access to all Dedicated Host devices on the account. 231 HasFullDedicatedHostAccessFlag *bool `json:"hasFullDedicatedHostAccessFlag,omitempty" xmlrpc:"hasFullDedicatedHostAccessFlag,omitempty"` 232 233 // Whether or not a portal user has access to all hardware on their account. 234 HasFullHardwareAccessFlag *bool `json:"hasFullHardwareAccessFlag,omitempty" xmlrpc:"hasFullHardwareAccessFlag,omitempty"` 235 236 // Whether or not a portal user has access to all hardware on their account. 237 HasFullVirtualGuestAccessFlag *bool `json:"hasFullVirtualGuestAccessFlag,omitempty" xmlrpc:"hasFullVirtualGuestAccessFlag,omitempty"` 238 239 // A portal user's ICQ UIN. 240 Icq *string `json:"icq,omitempty" xmlrpc:"icq,omitempty"` 241 242 // A portal user's internal identifying number. 243 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 244 245 // The IP addresses or IP ranges from which a user may login to the SoftLayer customer portal. Specify subnets in CIDR format and separate multiple addresses and subnets by commas. You may combine IPv4 and IPv6 addresses and subnets, for example: 192.168.0.0/16,fe80:021b::0/64. 246 IpAddressRestriction *string `json:"ipAddressRestriction,omitempty" xmlrpc:"ipAddressRestriction,omitempty"` 247 248 // no documentation yet 249 IsMasterUserFlag *bool `json:"isMasterUserFlag,omitempty" xmlrpc:"isMasterUserFlag,omitempty"` 250 251 // A portal user's last name. 252 LastName *string `json:"lastName,omitempty" xmlrpc:"lastName,omitempty"` 253 254 // A count of 255 LayoutProfileCount *uint `json:"layoutProfileCount,omitempty" xmlrpc:"layoutProfileCount,omitempty"` 256 257 // no documentation yet 258 LayoutProfiles []Layout_Profile `json:"layoutProfiles,omitempty" xmlrpc:"layoutProfiles,omitempty"` 259 260 // The linked account integration mode 261 LinkedAccountIntegrationMode *string `json:"linkedAccountIntegrationMode,omitempty" xmlrpc:"linkedAccountIntegrationMode,omitempty"` 262 263 // A user's locale. Locale holds user's language and region information. 264 Locale *Locale `json:"locale,omitempty" xmlrpc:"locale,omitempty"` 265 266 // A portal user's associated [[SoftLayer_Locale|locale]] id. 267 LocaleId *int `json:"localeId,omitempty" xmlrpc:"localeId,omitempty"` 268 269 // A count of a user's attempts to log into the SoftLayer customer portal. 270 LoginAttemptCount *uint `json:"loginAttemptCount,omitempty" xmlrpc:"loginAttemptCount,omitempty"` 271 272 // A user's attempts to log into the SoftLayer customer portal. 273 LoginAttempts []User_Customer_Access_Authentication `json:"loginAttempts,omitempty" xmlrpc:"loginAttempts,omitempty"` 274 275 // Determines if this portal user is managed by SAML federation. 276 ManagedByFederationFlag *bool `json:"managedByFederationFlag,omitempty" xmlrpc:"managedByFederationFlag,omitempty"` 277 278 // Determines if this portal user is managed by IBMid federation. 279 ManagedByOpenIdConnectFlag *bool `json:"managedByOpenIdConnectFlag,omitempty" xmlrpc:"managedByOpenIdConnectFlag,omitempty"` 280 281 // A count of a portal user's associated mobile device profiles. 282 MobileDeviceCount *uint `json:"mobileDeviceCount,omitempty" xmlrpc:"mobileDeviceCount,omitempty"` 283 284 // A portal user's associated mobile device profiles. 285 MobileDevices []User_Customer_MobileDevice `json:"mobileDevices,omitempty" xmlrpc:"mobileDevices,omitempty"` 286 287 // The date a portal user's record was last modified. 288 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 289 290 // A portal user's MSN address. 291 Msn *string `json:"msn,omitempty" xmlrpc:"msn,omitempty"` 292 293 // no documentation yet 294 NameId *string `json:"nameId,omitempty" xmlrpc:"nameId,omitempty"` 295 296 // A count of notification subscription records for the user. 297 NotificationSubscriberCount *uint `json:"notificationSubscriberCount,omitempty" xmlrpc:"notificationSubscriberCount,omitempty"` 298 299 // Notification subscription records for the user. 300 NotificationSubscribers []Notification_Subscriber `json:"notificationSubscribers,omitempty" xmlrpc:"notificationSubscribers,omitempty"` 301 302 // A portal user's office phone number. 303 OfficePhone *string `json:"officePhone,omitempty" xmlrpc:"officePhone,omitempty"` 304 305 // The BlueID username associated to with this user, if the account is managed by OpenIDConnect / BlueID federation 306 OpenIdConnectUserName *string `json:"openIdConnectUserName,omitempty" xmlrpc:"openIdConnectUserName,omitempty"` 307 308 // A count of an user's associated open tickets. 309 OpenTicketCount *uint `json:"openTicketCount,omitempty" xmlrpc:"openTicketCount,omitempty"` 310 311 // An user's associated open tickets. 312 OpenTickets []Ticket `json:"openTickets,omitempty" xmlrpc:"openTickets,omitempty"` 313 314 // A count of a portal user's vpn accessible subnets. 315 OverrideCount *uint `json:"overrideCount,omitempty" xmlrpc:"overrideCount,omitempty"` 316 317 // A portal user's vpn accessible subnets. 318 Overrides []Network_Service_Vpn_Overrides `json:"overrides,omitempty" xmlrpc:"overrides,omitempty"` 319 320 // A portal user's parent user. If a SoftLayer_User_Customer has a null parentId property then it doesn't have a parent user. 321 Parent *User_Customer `json:"parent,omitempty" xmlrpc:"parent,omitempty"` 322 323 // A portal user's parent user. Id a users parentId is ''null'' then it doesn't have a parent user in the customer portal. 324 ParentId *int `json:"parentId,omitempty" xmlrpc:"parentId,omitempty"` 325 326 // The expiration date for the user's password 327 PasswordExpireDate *Time `json:"passwordExpireDate,omitempty" xmlrpc:"passwordExpireDate,omitempty"` 328 329 // A count of a portal user's permissions. These permissions control that user's access to functions within the SoftLayer customer portal and API. 330 PermissionCount *uint `json:"permissionCount,omitempty" xmlrpc:"permissionCount,omitempty"` 331 332 // no documentation yet 333 PermissionSystemVersion *int `json:"permissionSystemVersion,omitempty" xmlrpc:"permissionSystemVersion,omitempty"` 334 335 // A portal user's permissions. These permissions control that user's access to functions within the SoftLayer customer portal and API. 336 Permissions []User_Customer_CustomerPermission_Permission `json:"permissions,omitempty" xmlrpc:"permissions,omitempty"` 337 338 // The postal code of the mailing address belonging to an portal user. 339 PostalCode *string `json:"postalCode,omitempty" xmlrpc:"postalCode,omitempty"` 340 341 // Whether a portal user may connect to the SoftLayer private network via PPTP VPN or not. 342 PptpVpnAllowedFlag *bool `json:"pptpVpnAllowedFlag,omitempty" xmlrpc:"pptpVpnAllowedFlag,omitempty"` 343 344 // A count of 345 PreferenceCount *uint `json:"preferenceCount,omitempty" xmlrpc:"preferenceCount,omitempty"` 346 347 // no documentation yet 348 Preferences []User_Preference `json:"preferences,omitempty" xmlrpc:"preferences,omitempty"` 349 350 // A count of 351 RoleCount *uint `json:"roleCount,omitempty" xmlrpc:"roleCount,omitempty"` 352 353 // no documentation yet 354 Roles []User_Permission_Role `json:"roles,omitempty" xmlrpc:"roles,omitempty"` 355 356 // no documentation yet 357 SalesforceUserLink *User_Customer_Link `json:"salesforceUserLink,omitempty" xmlrpc:"salesforceUserLink,omitempty"` 358 359 // no documentation yet 360 SavedId *string `json:"savedId,omitempty" xmlrpc:"savedId,omitempty"` 361 362 // Whether a user may change their security options (IP restriction, password expiration, or enforce security questions on login) which were pre-selected by their account's master user. 363 SecondaryLoginManagementFlag *bool `json:"secondaryLoginManagementFlag,omitempty" xmlrpc:"secondaryLoginManagementFlag,omitempty"` 364 365 // Whether a user is required to answer a security question when logging into the SoftLayer customer portal. 366 SecondaryLoginRequiredFlag *bool `json:"secondaryLoginRequiredFlag,omitempty" xmlrpc:"secondaryLoginRequiredFlag,omitempty"` 367 368 // The date when a user's password was last updated. 369 SecondaryPasswordModifyDate *Time `json:"secondaryPasswordModifyDate,omitempty" xmlrpc:"secondaryPasswordModifyDate,omitempty"` 370 371 // The number of days for which a user's password is active. 372 SecondaryPasswordTimeoutDays *int `json:"secondaryPasswordTimeoutDays,omitempty" xmlrpc:"secondaryPasswordTimeoutDays,omitempty"` 373 374 // A count of a portal user's security question answers. Some portal users may not have security answers or may not be configured to require answering a security question on login. 375 SecurityAnswerCount *uint `json:"securityAnswerCount,omitempty" xmlrpc:"securityAnswerCount,omitempty"` 376 377 // A portal user's security question answers. Some portal users may not have security answers or may not be configured to require answering a security question on login. 378 SecurityAnswers []User_Customer_Security_Answer `json:"securityAnswers,omitempty" xmlrpc:"securityAnswers,omitempty"` 379 380 // A phone number that can receive SMS text messages for this portal user. 381 Sms *string `json:"sms,omitempty" xmlrpc:"sms,omitempty"` 382 383 // Whether a portal user may connect to the SoftLayer private network via SSL VPN or not. 384 SslVpnAllowedFlag *bool `json:"sslVpnAllowedFlag,omitempty" xmlrpc:"sslVpnAllowedFlag,omitempty"` 385 386 // A two-letter abbreviation of the state in the mailing address belonging to a portal user. If a user does not reside in a province then this is typically blank. 387 State *string `json:"state,omitempty" xmlrpc:"state,omitempty"` 388 389 // The date a portal users record's last status change. 390 StatusDate *Time `json:"statusDate,omitempty" xmlrpc:"statusDate,omitempty"` 391 392 // A count of a user's notification subscription records. 393 SubscriberCount *uint `json:"subscriberCount,omitempty" xmlrpc:"subscriberCount,omitempty"` 394 395 // A user's notification subscription records. 396 Subscribers []Notification_User_Subscriber `json:"subscribers,omitempty" xmlrpc:"subscribers,omitempty"` 397 398 // A count of a user's successful attempts to log into the SoftLayer customer portal. 399 SuccessfulLoginCount *uint `json:"successfulLoginCount,omitempty" xmlrpc:"successfulLoginCount,omitempty"` 400 401 // A user's successful attempts to log into the SoftLayer customer portal. 402 SuccessfulLogins []User_Customer_Access_Authentication `json:"successfulLogins,omitempty" xmlrpc:"successfulLogins,omitempty"` 403 404 // Whether or not a user is required to acknowledge the support policy for portal access. 405 SupportPolicyAcknowledgementRequiredFlag *int `json:"supportPolicyAcknowledgementRequiredFlag,omitempty" xmlrpc:"supportPolicyAcknowledgementRequiredFlag,omitempty"` 406 407 // A count of the surveys that a user has taken in the SoftLayer customer portal. 408 SurveyCount *uint `json:"surveyCount,omitempty" xmlrpc:"surveyCount,omitempty"` 409 410 // Whether or not a user must take a brief survey the next time they log into the SoftLayer customer portal. 411 SurveyRequiredFlag *bool `json:"surveyRequiredFlag,omitempty" xmlrpc:"surveyRequiredFlag,omitempty"` 412 413 // The surveys that a user has taken in the SoftLayer customer portal. 414 Surveys []Survey `json:"surveys,omitempty" xmlrpc:"surveys,omitempty"` 415 416 // A count of an user's associated tickets. 417 TicketCount *uint `json:"ticketCount,omitempty" xmlrpc:"ticketCount,omitempty"` 418 419 // An user's associated tickets. 420 Tickets []Ticket `json:"tickets,omitempty" xmlrpc:"tickets,omitempty"` 421 422 // A portal user's time zone. 423 Timezone *Locale_Timezone `json:"timezone,omitempty" xmlrpc:"timezone,omitempty"` 424 425 // A portal user's time zone. 426 TimezoneId *int `json:"timezoneId,omitempty" xmlrpc:"timezoneId,omitempty"` 427 428 // A count of a user's unsuccessful attempts to log into the SoftLayer customer portal. 429 UnsuccessfulLoginCount *uint `json:"unsuccessfulLoginCount,omitempty" xmlrpc:"unsuccessfulLoginCount,omitempty"` 430 431 // A user's unsuccessful attempts to log into the SoftLayer customer portal. 432 UnsuccessfulLogins []User_Customer_Access_Authentication `json:"unsuccessfulLogins,omitempty" xmlrpc:"unsuccessfulLogins,omitempty"` 433 434 // A count of 435 UserLinkCount *uint `json:"userLinkCount,omitempty" xmlrpc:"userLinkCount,omitempty"` 436 437 // no documentation yet 438 UserLinks []User_Customer_Link `json:"userLinks,omitempty" xmlrpc:"userLinks,omitempty"` 439 440 // A portal user's status, which controls overall access to the SoftLayer customer portal and VPN access to the private network. 441 UserStatus *User_Customer_Status `json:"userStatus,omitempty" xmlrpc:"userStatus,omitempty"` 442 443 // A number reflecting the state of a portal user. 444 UserStatusId *int `json:"userStatusId,omitempty" xmlrpc:"userStatusId,omitempty"` 445 446 // A portal user's username. 447 Username *string `json:"username,omitempty" xmlrpc:"username,omitempty"` 448 449 // The verification code from Bluemix BSS to save in the invitation 450 VerificationCode *string `json:"verificationCode,omitempty" xmlrpc:"verificationCode,omitempty"` 451 452 // A count of a portal user's accessible CloudLayer Computing Instances. These permissions control which CloudLayer Computing Instances a user has access to in the SoftLayer customer portal. 453 VirtualGuestCount *uint `json:"virtualGuestCount,omitempty" xmlrpc:"virtualGuestCount,omitempty"` 454 455 // A portal user's accessible CloudLayer Computing Instances. These permissions control which CloudLayer Computing Instances a user has access to in the SoftLayer customer portal. 456 VirtualGuests []Virtual_Guest `json:"virtualGuests,omitempty" xmlrpc:"virtualGuests,omitempty"` 457 458 // Whether a portal user vpn subnets have been manual configured. 459 VpnManualConfig *bool `json:"vpnManualConfig,omitempty" xmlrpc:"vpnManualConfig,omitempty"` 460 461 // A portal user's Yahoo! Chat name. 462 Yahoo *string `json:"yahoo,omitempty" xmlrpc:"yahoo,omitempty"` 463} 464 465// SoftLayer_User_Customer_Access_Authentication models a single attempt to log into the SoftLayer customer portal. A SoftLayer_User_Customer_Access_Authentication record is created every time a user attempts to log into the portal. Use this service to audit your users' portal activity and diagnose potential security breaches of your SoftLayer portal accounts. 466// 467// Unsuccessful login attempts can be caused by an incorrect password, failing to answer or not answering a login security question if the user has them configured, or attempting to log in from an IP address outside of the user's IP address restriction list. 468// 469// SoftLayer employees periodically log into our customer portal as users to diagnose portal issues, verify settings and configuration, and to perform maintenance on your account or services. SoftLayer employees only log into customer accounts from the following IP ranges: 470// * 2607:f0d0:1000::/48 471// * 2607:f0d0:2000::/48 472// * 2607:f0d0:3000::/48 473// * 66.228.118.67/32 474// * 66.228.118.86/32 475type User_Customer_Access_Authentication struct { 476 Entity 477 478 // The date of an attempt to log into the SoftLayer customer portal. 479 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 480 481 // The IP address of the user who attempted to log into the SoftLayer customer portal. 482 IpAddress *string `json:"ipAddress,omitempty" xmlrpc:"ipAddress,omitempty"` 483 484 // Whether an attempt to log into the SoftLayer customer portal was successful or not. 485 SuccessFlag *bool `json:"successFlag,omitempty" xmlrpc:"successFlag,omitempty"` 486 487 // The user who has attempted to log into the SoftLayer customer portal. 488 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 489 490 // The internal identifier of the user who attempted to log into the SoftLayer customer portal. 491 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 492 493 // The username used when attempting to log into the SoftLayer customer portal 494 Username *string `json:"username,omitempty" xmlrpc:"username,omitempty"` 495} 496 497// The SoftLayer_User_Customer_AdditionalEmail data type contains the additional email for use in ticket update notifications. 498type User_Customer_AdditionalEmail struct { 499 Entity 500 501 // Email assigned to user for use in ticket update notifications. 502 Email *string `json:"email,omitempty" xmlrpc:"email,omitempty"` 503 504 // The portal user that owns this additional email address. 505 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 506 507 // An internal identifier for the portal user who this additional email belongs to. 508 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 509} 510 511// The SoftLayer_User_Customer_ApiAuthentication type contains user's authentication key(s). 512type User_Customer_ApiAuthentication struct { 513 Entity 514 515 // The user's authentication key for API access. 516 AuthenticationKey *string `json:"authenticationKey,omitempty" xmlrpc:"authenticationKey,omitempty"` 517 518 // The user's API authentication identifying number. 519 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 520 521 // The IP addresses or IP ranges from which this user may access the SoftLayer API. Specify subnets in CIDR format and separate multiple addresses and subnets by commas. You may combine IPv4 and IPv6 addresses and subnets, for example: 192.168.0.0/16,fe80:021b::0/64. 522 IpAddressRestriction *string `json:"ipAddressRestriction,omitempty" xmlrpc:"ipAddressRestriction,omitempty"` 523 524 // The user's authentication key modification date. 525 TimestampKey *int `json:"timestampKey,omitempty" xmlrpc:"timestampKey,omitempty"` 526 527 // The user who owns the api authentication key. 528 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 529 530 // The user's identifying number. 531 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 532} 533 534// Each SoftLayer portal account is assigned a series of permissions that determine what access the user has to functions within the SoftLayer customer portal. This status is reflected in the SoftLayer_User_Customer_Status data type. Permissions differ from user status in that user status applies globally to the portal while user permissions are applied to specific portal functions. 535type User_Customer_CustomerPermission_Permission struct { 536 Entity 537 538 // A user permission's short name. 539 Key *string `json:"key,omitempty" xmlrpc:"key,omitempty"` 540 541 // A user permission's key name. 542 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 543 544 // A user permission's name. 545 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 546} 547 548// The SoftLayer_User_Customer_External_Binding data type contains general information for a single external binding. This includes the 3rd party vendor, type of binding, and a unique identifier and password that is used to authenticate against the 3rd party service. 549type User_Customer_External_Binding struct { 550 User_External_Binding 551 552 // The SoftLayer user that the external authentication binding belongs to. 553 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 554} 555 556// The SoftLayer_User_Customer_External_Binding_Attribute data type contains the value for a single attribute associated with an external binding. External binding attributes contain additional information about an external binding. An attribute can be generic or specific to a 3rd party vendor. For example these attributes relate to Verisign: 557// *Credential Type 558// *Credential State 559// *Credential Expiration Date 560// *Credential Last Update Date 561type User_Customer_External_Binding_Attribute struct { 562 User_External_Binding_Attribute 563} 564 565// The SoftLayer_User_Customer_External_Binding_Phone data type contains information about an external binding that uses a phone call, SMS or mobile app for 2 form factor authentication. The external binding information is used when a SoftLayer customer logs into the SoftLayer customer portal or VPN to authenticate them against a trusted 3rd party, in this case using a mobile phone, mobile phone application or land-line phone. 566// 567// SoftLayer users with an active external binding will be prohibited from using the API for security reasons. 568type User_Customer_External_Binding_Phone struct { 569 User_Customer_External_Binding 570 571 // The current external binding status. It can be "ACTIVE" or "BLOCKED". 572 BindingStatus *string `json:"bindingStatus,omitempty" xmlrpc:"bindingStatus,omitempty"` 573 574 // no documentation yet 575 PinLength *string `json:"pinLength,omitempty" xmlrpc:"pinLength,omitempty"` 576} 577 578// The SoftLayer_User_Customer_External_Binding_Totp data type contains information about a single time-based one time password external binding. The external binding information is used when a SoftLayer customer logs into the SoftLayer customer portal to authenticate them. 579// 580// The information provided by this external binding data type includes: 581// * The type of credential 582// * The current state of the credential 583// ** Active 584// ** Inactive 585// 586// 587// SoftLayer users with an active external binding will be prohibited from using the API for security reasons. 588type User_Customer_External_Binding_Totp struct { 589 User_Customer_External_Binding 590} 591 592// The SoftLayer_User_Customer_External_Binding_Type data type contains information relating to a type of external authentication binding. It contains a user friendly name as well as a unique key name. 593type User_Customer_External_Binding_Type struct { 594 User_External_Binding_Type 595} 596 597// The SoftLayer_User_Customer_External_Binding_Vendor data type contains information for a single external binding vendor. This information includes a user friendly vendor name, a unique version of the vendor name, and a unique internal identifier that can be used when creating a new external binding. 598type User_Customer_External_Binding_Vendor struct { 599 User_External_Binding_Vendor 600} 601 602// The SoftLayer_User_Customer_External_Binding_Verisign data type contains information about a single VeriSign external binding. The external binding information is used when a SoftLayer customer logs into the SoftLayer customer portal to authenticate them against a 3rd party, in this case VeriSign. 603// 604// The information provided by the VeriSign external binding data type includes: 605// * The type of credential 606// * The current state of the credential 607// ** Enabled 608// ** Disabled 609// ** Locked 610// * The credential's expiration date 611// * The last time the credential was updated 612// 613// 614// SoftLayer users with an active external binding will be prohibited from using the API for security reasons. 615type User_Customer_External_Binding_Verisign struct { 616 User_Customer_External_Binding 617 618 // The date that a VeriSign credential expires. 619 CredentialExpirationDate *string `json:"credentialExpirationDate,omitempty" xmlrpc:"credentialExpirationDate,omitempty"` 620 621 // The last time a VeriSign credential was updated. 622 CredentialLastUpdateDate *string `json:"credentialLastUpdateDate,omitempty" xmlrpc:"credentialLastUpdateDate,omitempty"` 623 624 // The current state of a VeriSign credential. This can be 'Enabled', 'Disabled', or 'Locked'. 625 CredentialState *string `json:"credentialState,omitempty" xmlrpc:"credentialState,omitempty"` 626 627 // The type of VeriSign credential. This can be either 'Hardware' or 'Software'. 628 CredentialType *string `json:"credentialType,omitempty" xmlrpc:"credentialType,omitempty"` 629} 630 631// no documentation yet 632type User_Customer_Invitation struct { 633 Entity 634 635 // no documentation yet 636 Code *string `json:"code,omitempty" xmlrpc:"code,omitempty"` 637 638 // no documentation yet 639 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 640 641 // no documentation yet 642 CreatorId *int `json:"creatorId,omitempty" xmlrpc:"creatorId,omitempty"` 643 644 // no documentation yet 645 CreatorType *string `json:"creatorType,omitempty" xmlrpc:"creatorType,omitempty"` 646 647 // no documentation yet 648 Email *string `json:"email,omitempty" xmlrpc:"email,omitempty"` 649 650 // no documentation yet 651 ExistingBlueIdFlag *int `json:"existingBlueIdFlag,omitempty" xmlrpc:"existingBlueIdFlag,omitempty"` 652 653 // no documentation yet 654 ExpirationDate *Time `json:"expirationDate,omitempty" xmlrpc:"expirationDate,omitempty"` 655 656 // no documentation yet 657 IbmIdUsername *string `json:"ibmIdUsername,omitempty" xmlrpc:"ibmIdUsername,omitempty"` 658 659 // no documentation yet 660 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 661 662 // no documentation yet 663 IsFederatedEmailDomainFlag *int `json:"isFederatedEmailDomainFlag,omitempty" xmlrpc:"isFederatedEmailDomainFlag,omitempty"` 664 665 // no documentation yet 666 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 667 668 // no documentation yet 669 ResponseDate *Time `json:"responseDate,omitempty" xmlrpc:"responseDate,omitempty"` 670 671 // no documentation yet 672 StatusId *int `json:"statusId,omitempty" xmlrpc:"statusId,omitempty"` 673 674 // no documentation yet 675 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 676 677 // no documentation yet 678 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 679} 680 681// no documentation yet 682type User_Customer_Link struct { 683 Entity 684 685 // no documentation yet 686 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 687 688 // no documentation yet 689 DefaultFlag *int `json:"defaultFlag,omitempty" xmlrpc:"defaultFlag,omitempty"` 690 691 // no documentation yet 692 DestinationUserAlphanumericId *string `json:"destinationUserAlphanumericId,omitempty" xmlrpc:"destinationUserAlphanumericId,omitempty"` 693 694 // no documentation yet 695 DestinationUserId *int `json:"destinationUserId,omitempty" xmlrpc:"destinationUserId,omitempty"` 696 697 // no documentation yet 698 IbmIdUniqueIdentifier *string `json:"ibmIdUniqueIdentifier,omitempty" xmlrpc:"ibmIdUniqueIdentifier,omitempty"` 699 700 // no documentation yet 701 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 702 703 // no documentation yet 704 ServiceProvider *Service_Provider `json:"serviceProvider,omitempty" xmlrpc:"serviceProvider,omitempty"` 705 706 // no documentation yet 707 ServiceProviderId *int `json:"serviceProviderId,omitempty" xmlrpc:"serviceProviderId,omitempty"` 708 709 // no documentation yet 710 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 711 712 // no documentation yet 713 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 714} 715 716// no documentation yet 717type User_Customer_Link_ThePlanet struct { 718 User_Customer_Link 719} 720 721// no documentation yet 722type User_Customer_Link_VerifiedIBMidLinkCollection struct { 723 Entity 724 725 // no documentation yet 726 BadLinksDifferentIUI []User_Customer_Link `json:"badLinksDifferentIUI,omitempty" xmlrpc:"badLinksDifferentIUI,omitempty"` 727 728 // no documentation yet 729 BadLinksDifferentUsername []User_Customer_Link `json:"badLinksDifferentUsername,omitempty" xmlrpc:"badLinksDifferentUsername,omitempty"` 730 731 // no documentation yet 732 GoodLinks []User_Customer_Link `json:"goodLinks,omitempty" xmlrpc:"goodLinks,omitempty"` 733} 734 735// This class represents a mobile device belonging to a user. The device can be a phone, tablet, or possibly even some Android based net books. The purpose is to tie just enough info with the device and the user to enable push notifications through non-softlayer entities (Google, Apple, RIM). 736type User_Customer_MobileDevice struct { 737 Entity 738 739 // A count of notification subscriptions available to a mobile device. 740 AvailablePushNotificationSubscriptionCount *uint `json:"availablePushNotificationSubscriptionCount,omitempty" xmlrpc:"availablePushNotificationSubscriptionCount,omitempty"` 741 742 // Notification subscriptions available to a mobile device. 743 AvailablePushNotificationSubscriptions []Notification `json:"availablePushNotificationSubscriptions,omitempty" xmlrpc:"availablePushNotificationSubscriptions,omitempty"` 744 745 // Created date for the record. 746 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 747 748 // The user this mobile device belongs to. 749 Customer *User_Customer `json:"customer,omitempty" xmlrpc:"customer,omitempty"` 750 751 // The device resolution formatted width x height 752 DisplayResolutionXxY *string `json:"displayResolutionXxY,omitempty" xmlrpc:"displayResolutionXxY,omitempty"` 753 754 // Record Identifier 755 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 756 757 // Device type identifier. 758 MobileDeviceTypeId *int `json:"mobileDeviceTypeId,omitempty" xmlrpc:"mobileDeviceTypeId,omitempty"` 759 760 // Mobile OS identifier. 761 MobileOperatingSystemId *int `json:"mobileOperatingSystemId,omitempty" xmlrpc:"mobileOperatingSystemId,omitempty"` 762 763 // Device model number 764 ModelNumber *string `json:"modelNumber,omitempty" xmlrpc:"modelNumber,omitempty"` 765 766 // Last modify date for the record. 767 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 768 769 // The name of the device the user is using. 770 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 771 772 // The operating system this device is using 773 OperatingSystem *User_Customer_MobileDevice_OperatingSystem `json:"operatingSystem,omitempty" xmlrpc:"operatingSystem,omitempty"` 774 775 // Device phone number 776 PhoneNumber *string `json:"phoneNumber,omitempty" xmlrpc:"phoneNumber,omitempty"` 777 778 // A count of notification subscriptions attached to a mobile device. 779 PushNotificationSubscriptionCount *uint `json:"pushNotificationSubscriptionCount,omitempty" xmlrpc:"pushNotificationSubscriptionCount,omitempty"` 780 781 // Notification subscriptions attached to a mobile device. 782 PushNotificationSubscriptions []Notification_User_Subscriber `json:"pushNotificationSubscriptions,omitempty" xmlrpc:"pushNotificationSubscriptions,omitempty"` 783 784 // Device serial number 785 SerialNumber *string `json:"serialNumber,omitempty" xmlrpc:"serialNumber,omitempty"` 786 787 // The token that is provided by the mobile device. 788 Token *string `json:"token,omitempty" xmlrpc:"token,omitempty"` 789 790 // The type of device this user is using 791 Type *User_Customer_MobileDevice_Type `json:"type,omitempty" xmlrpc:"type,omitempty"` 792 793 // User Identifier 794 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 795} 796 797// This class represents the mobile operating system installed on a user's registered mobile device. It assists us when determining the how to get a push notification to the user. 798type User_Customer_MobileDevice_OperatingSystem struct { 799 Entity 800 801 // Build revision number of the operating system. 802 BuildVersion *int `json:"buildVersion,omitempty" xmlrpc:"buildVersion,omitempty"` 803 804 // Create date of the record. 805 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 806 807 // Description of the mobile operating system.. 808 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 809 810 // Indentifier for the record. 811 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 812 813 // Major revision number of the operating system. 814 MajorVersion *int `json:"majorVersion,omitempty" xmlrpc:"majorVersion,omitempty"` 815 816 // Minor revision number of the operating system. 817 MinorVersion *int `json:"minorVersion,omitempty" xmlrpc:"minorVersion,omitempty"` 818 819 // Modify date of the record. 820 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 821 822 // Name of the mobile operating system. 823 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 824} 825 826// Describes a supported class of mobile device. In this the word class is used in the context of classes of consumer electronic devices, the two most prominent examples being mobile phones and tablets. 827type User_Customer_MobileDevice_Type struct { 828 Entity 829 830 // Record create date. 831 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 832 833 // A description of the device 834 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 835 836 // Indentifier for record. 837 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 838 839 // Last modify date for record. 840 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 841 842 // The common name of the device. 843 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 844} 845 846// The Customer_Notification_Hardware object stores links between customers and the hardware devices they wish to monitor. This link is not enough, the user must be sure to also create SoftLayer_Network_Monitor_Version1_Query_Host instance with the response action set to "notify users" in order for the users linked to that hardware object to be notified on failure. 847type User_Customer_Notification_Hardware struct { 848 Entity 849 850 // The hardware object that will be monitored. 851 Hardware *Hardware `json:"hardware,omitempty" xmlrpc:"hardware,omitempty"` 852 853 // The ID of the Hardware object that is to be monitored. 854 HardwareId *int `json:"hardwareId,omitempty" xmlrpc:"hardwareId,omitempty"` 855 856 // The unique identifier for this object 857 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 858 859 // The user that will be notified when the associated hardware object fails a monitoring instance. 860 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 861 862 // The ID of the SoftLayer_User_Customer object that represents the user to be notified on monitoring failure. 863 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 864} 865 866// The SoftLayer_User_Customer_Notification_Virtual_Guest object stores links between customers and the virtual guests they wish to monitor. This link is not enough, the user must be sure to also create SoftLayer_Network_Monitor_Version1_Query_Host instance with the response action set to "notify users" in order for the users linked to that hardware object to be notified on failure. 867type User_Customer_Notification_Virtual_Guest struct { 868 Entity 869 870 // The virtual guest object that will be monitored. 871 Guest *Virtual_Guest `json:"guest,omitempty" xmlrpc:"guest,omitempty"` 872 873 // The ID of the virtual guest object that is to be monitored. 874 GuestId *int `json:"guestId,omitempty" xmlrpc:"guestId,omitempty"` 875 876 // The unique identifier for this object 877 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 878 879 // The user that will be notified when the associated virtual guest object fails a monitoring instance. 880 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 881 882 // The ID of the SoftLayer_User_Customer object that represents the user to be notified on monitoring failure. 883 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 884} 885 886// no documentation yet 887type User_Customer_OpenIdConnect struct { 888 User_Customer 889} 890 891// no documentation yet 892type User_Customer_Prospect struct { 893 Entity 894 895 // no documentation yet 896 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 897 898 // A count of 899 AssignedEmployeeCount *uint `json:"assignedEmployeeCount,omitempty" xmlrpc:"assignedEmployeeCount,omitempty"` 900 901 // no documentation yet 902 AssignedEmployees []User_Employee `json:"assignedEmployees,omitempty" xmlrpc:"assignedEmployees,omitempty"` 903 904 // A count of 905 QuoteCount *uint `json:"quoteCount,omitempty" xmlrpc:"quoteCount,omitempty"` 906 907 // no documentation yet 908 Quotes []Billing_Order_Quote `json:"quotes,omitempty" xmlrpc:"quotes,omitempty"` 909 910 // no documentation yet 911 Type *User_Customer_Prospect_Type `json:"type,omitempty" xmlrpc:"type,omitempty"` 912} 913 914// Contains user information for Service Provider Enrollment. 915type User_Customer_Prospect_ServiceProvider_EnrollRequest struct { 916 Entity 917 918 // Flag indicating whether or not applicant has accepted all current SSP agreements. 919 AcceptAllAgreementsFlag *bool `json:"acceptAllAgreementsFlag,omitempty" xmlrpc:"acceptAllAgreementsFlag,omitempty"` 920 921 // accountId of existing SoftLayer Customer 922 AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"` 923 924 // Service provider address1 925 Address1 *string `json:"address1,omitempty" xmlrpc:"address1,omitempty"` 926 927 // Service provider address2 928 Address2 *string `json:"address2,omitempty" xmlrpc:"address2,omitempty"` 929 930 // Credit card account number 931 CardAccountNumber *string `json:"cardAccountNumber,omitempty" xmlrpc:"cardAccountNumber,omitempty"` 932 933 // Credit card expiration month 934 CardExpirationMonth *string `json:"cardExpirationMonth,omitempty" xmlrpc:"cardExpirationMonth,omitempty"` 935 936 // Credit card expiration year 937 CardExpirationYear *string `json:"cardExpirationYear,omitempty" xmlrpc:"cardExpirationYear,omitempty"` 938 939 // Type of credit card being used 940 CardType *string `json:"cardType,omitempty" xmlrpc:"cardType,omitempty"` 941 942 // Credit card verification number 943 CardVerificationNumber *string `json:"cardVerificationNumber,omitempty" xmlrpc:"cardVerificationNumber,omitempty"` 944 945 // Service provider city 946 City *string `json:"city,omitempty" xmlrpc:"city,omitempty"` 947 948 // Service provider company name 949 CompanyName *string `json:"companyName,omitempty" xmlrpc:"companyName,omitempty"` 950 951 // Catalyst company types. 952 CompanyType *Catalyst_Company_Type `json:"companyType,omitempty" xmlrpc:"companyType,omitempty"` 953 954 // Id of the company type which best describes applicant's company 955 CompanyTypeId *int `json:"companyTypeId,omitempty" xmlrpc:"companyTypeId,omitempty"` 956 957 // Service provider company url 958 CompanyUrl *string `json:"companyUrl,omitempty" xmlrpc:"companyUrl,omitempty"` 959 960 // Service provider contact's email 961 ContactEmail *string `json:"contactEmail,omitempty" xmlrpc:"contactEmail,omitempty"` 962 963 // Service provider contact's first name 964 ContactFirstName *string `json:"contactFirstName,omitempty" xmlrpc:"contactFirstName,omitempty"` 965 966 // Service provider contact's last name 967 ContactLastName *string `json:"contactLastName,omitempty" xmlrpc:"contactLastName,omitempty"` 968 969 // Service provider contact's Phone 970 ContactPhone *string `json:"contactPhone,omitempty" xmlrpc:"contactPhone,omitempty"` 971 972 // Service provider country 973 Country *string `json:"country,omitempty" xmlrpc:"country,omitempty"` 974 975 // Customer Prospect id 976 CustomerProspectId *int `json:"customerProspectId,omitempty" xmlrpc:"customerProspectId,omitempty"` 977 978 // Id of the device fingerprint 979 DeviceFingerprintId *string `json:"deviceFingerprintId,omitempty" xmlrpc:"deviceFingerprintId,omitempty"` 980 981 // Service provider email 982 Email *string `json:"email,omitempty" xmlrpc:"email,omitempty"` 983 984 // Indicates if customer has an existing SoftLayer account 985 ExistingCustomerFlag *bool `json:"existingCustomerFlag,omitempty" xmlrpc:"existingCustomerFlag,omitempty"` 986 987 // Service provider first name 988 FirstName *string `json:"firstName,omitempty" xmlrpc:"firstName,omitempty"` 989 990 // IBM partner world id 991 IbmPartnerWorldId *string `json:"ibmPartnerWorldId,omitempty" xmlrpc:"ibmPartnerWorldId,omitempty"` 992 993 // Indicates if the customer is IBM partner world member 994 IbmPartnerWorldMemberFlag *bool `json:"ibmPartnerWorldMemberFlag,omitempty" xmlrpc:"ibmPartnerWorldMemberFlag,omitempty"` 995 996 // Service provider last name 997 LastName *string `json:"lastName,omitempty" xmlrpc:"lastName,omitempty"` 998 999 // Flag indicating whether or not applicant acknowledged MSA 1000 MasterAgreementCompleteFlag *bool `json:"masterAgreementCompleteFlag,omitempty" xmlrpc:"masterAgreementCompleteFlag,omitempty"` 1001 1002 // Service provider office phone 1003 OfficePhone *string `json:"officePhone,omitempty" xmlrpc:"officePhone,omitempty"` 1004 1005 // Service provider postalCode 1006 PostalCode *string `json:"postalCode,omitempty" xmlrpc:"postalCode,omitempty"` 1007 1008 // Flag indicating whether or not applicant acknowledged service provider addendum 1009 ServiceProviderAddendumFlag *bool `json:"serviceProviderAddendumFlag,omitempty" xmlrpc:"serviceProviderAddendumFlag,omitempty"` 1010 1011 // Service provider state 1012 State *string `json:"state,omitempty" xmlrpc:"state,omitempty"` 1013 1014 // Survey responses 1015 SurveyResponses []Survey_Response `json:"surveyResponses,omitempty" xmlrpc:"surveyResponses,omitempty"` 1016 1017 // Applicant's VAT id, if one exists 1018 VatId *string `json:"vatId,omitempty" xmlrpc:"vatId,omitempty"` 1019} 1020 1021// no documentation yet 1022type User_Customer_Prospect_Type struct { 1023 Entity 1024 1025 // no documentation yet 1026 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 1027 1028 // no documentation yet 1029 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 1030 1031 // no documentation yet 1032 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1033 1034 // no documentation yet 1035 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1036 1037 // no documentation yet 1038 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 1039 1040 // no documentation yet 1041 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1042} 1043 1044// The SoftLayer_User_Customer_Security_Answer type contains user's answers to security questions. 1045type User_Customer_Security_Answer struct { 1046 Entity 1047 1048 // A user's answer. 1049 Answer *string `json:"answer,omitempty" xmlrpc:"answer,omitempty"` 1050 1051 // A user's answer identifying number. 1052 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1053 1054 // The question the security answer is associated with. 1055 Question *User_Security_Question `json:"question,omitempty" xmlrpc:"question,omitempty"` 1056 1057 // A user's question identifying number. 1058 QuestionId *int `json:"questionId,omitempty" xmlrpc:"questionId,omitempty"` 1059 1060 // The user who the security answer belongs to. 1061 User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"` 1062 1063 // A user's identifying number. 1064 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 1065} 1066 1067// Each SoftLayer portal account is assigned a status code that determines how it's treated in the customer portal. This status is reflected in the SoftLayer_User_Customer_Status data type. Status differs from user permissions in that user status applies globally to the portal while user permissions are applied to specific portal functions. 1068type User_Customer_Status struct { 1069 Entity 1070 1071 // A user's status identifying number. 1072 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1073 1074 // A user's status keyname 1075 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1076 1077 // A user's status. This can be either "Active" for user accounts with portal access, "Inactive" for users disabled by another portal user, "Disabled" for accounts turned off by SoftLayer, or "VPN Only" for user accounts with no access to the customer portal but VPN access to the private network. 1078 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1079} 1080 1081// A SoftLayer_User_Employee models a single SoftLayer employee for the purposes of ticket updates created by SoftLayer employees. SoftLayer portal and API users cannot see individual employee names in ticket responses. SoftLayer employees can be assigned to customer accounts as a personal support representative. Employee names and email will be available if an employee is assigned to the account. 1082type User_Employee struct { 1083 User_Interface 1084 1085 // A count of 1086 ActionCount *uint `json:"actionCount,omitempty" xmlrpc:"actionCount,omitempty"` 1087 1088 // no documentation yet 1089 Actions []User_Permission_Action `json:"actions,omitempty" xmlrpc:"actions,omitempty"` 1090 1091 // no documentation yet 1092 ChatTranscript []Ticket_Chat `json:"chatTranscript,omitempty" xmlrpc:"chatTranscript,omitempty"` 1093 1094 // A count of 1095 ChatTranscriptCount *uint `json:"chatTranscriptCount,omitempty" xmlrpc:"chatTranscriptCount,omitempty"` 1096 1097 // no documentation yet 1098 DisplayName *string `json:"displayName,omitempty" xmlrpc:"displayName,omitempty"` 1099 1100 // A SoftLayer employee's email address. Email addresses are only visible to [[SoftLayer_Account|SoftLayer Accounts]] that are assigned to an employee 1101 Email *string `json:"email,omitempty" xmlrpc:"email,omitempty"` 1102 1103 // The department that a SoftLayer employee belongs to. 1104 EmployeeDepartment *User_Employee_Department `json:"employeeDepartment,omitempty" xmlrpc:"employeeDepartment,omitempty"` 1105 1106 // A SoftLayer employee's [[SoftLayer_User_Employee_Department|department]] id. 1107 EmployeeDepartmentId *int `json:"employeeDepartmentId,omitempty" xmlrpc:"employeeDepartmentId,omitempty"` 1108 1109 // A SoftLayer employee's first name. First names are only visible to [[SoftLayer_Account|SoftLayer Accounts]] that are assigned to an employee 1110 FirstName *string `json:"firstName,omitempty" xmlrpc:"firstName,omitempty"` 1111 1112 // A SoftLayer employee's last name. Last names are only visible to [[SoftLayer_Account|SoftLayer Accounts]] that are assigned to an employee 1113 LastName *string `json:"lastName,omitempty" xmlrpc:"lastName,omitempty"` 1114 1115 // A count of 1116 LayoutProfileCount *uint `json:"layoutProfileCount,omitempty" xmlrpc:"layoutProfileCount,omitempty"` 1117 1118 // no documentation yet 1119 LayoutProfiles []Layout_Profile `json:"layoutProfiles,omitempty" xmlrpc:"layoutProfiles,omitempty"` 1120 1121 // no documentation yet 1122 MetricTrackingObject *Metric_Tracking_Object `json:"metricTrackingObject,omitempty" xmlrpc:"metricTrackingObject,omitempty"` 1123 1124 // no documentation yet 1125 OfficePhone *string `json:"officePhone,omitempty" xmlrpc:"officePhone,omitempty"` 1126 1127 // A count of 1128 RoleCount *uint `json:"roleCount,omitempty" xmlrpc:"roleCount,omitempty"` 1129 1130 // no documentation yet 1131 Roles []User_Permission_Role `json:"roles,omitempty" xmlrpc:"roles,omitempty"` 1132 1133 // A count of 1134 SecurityLevelCount *uint `json:"securityLevelCount,omitempty" xmlrpc:"securityLevelCount,omitempty"` 1135 1136 // no documentation yet 1137 SecurityLevels []Security_Level `json:"securityLevels,omitempty" xmlrpc:"securityLevels,omitempty"` 1138 1139 // no documentation yet 1140 TicketActivities []Ticket_Activity `json:"ticketActivities,omitempty" xmlrpc:"ticketActivities,omitempty"` 1141 1142 // A count of 1143 TicketActivityCount *uint `json:"ticketActivityCount,omitempty" xmlrpc:"ticketActivityCount,omitempty"` 1144 1145 // A count of 1146 TicketAttachmentReferenceCount *uint `json:"ticketAttachmentReferenceCount,omitempty" xmlrpc:"ticketAttachmentReferenceCount,omitempty"` 1147 1148 // no documentation yet 1149 TicketAttachmentReferences []Ticket_Attachment `json:"ticketAttachmentReferences,omitempty" xmlrpc:"ticketAttachmentReferences,omitempty"` 1150 1151 // A representation of a SoftLayer employee's username. In all cases this should simply state "Employee". 1152 Username *string `json:"username,omitempty" xmlrpc:"username,omitempty"` 1153} 1154 1155// SoftLayer_User_Employee_Department models a department within SoftLayer's internal employee hierarchy. Common departments include Support, Sales, Accounting, Development, Systems, and Networking. 1156type User_Employee_Department struct { 1157 Entity 1158 1159 // The name of one of SoftLayer's employee departments. 1160 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1161} 1162 1163// The SoftLayer_User_External_Binding data type contains general information for a single external binding. This includes the 3rd party vendor, type of binding, and a unique identifier and password that is used to authenticate against the 3rd party service. 1164type User_External_Binding struct { 1165 Entity 1166 1167 // The flag that determines whether the external binding is active will be used for authentication or not. 1168 Active *bool `json:"active,omitempty" xmlrpc:"active,omitempty"` 1169 1170 // A count of attributes of an external authentication binding. 1171 AttributeCount *uint `json:"attributeCount,omitempty" xmlrpc:"attributeCount,omitempty"` 1172 1173 // Attributes of an external authentication binding. 1174 Attributes []User_External_Binding_Attribute `json:"attributes,omitempty" xmlrpc:"attributes,omitempty"` 1175 1176 // Information regarding the billing item for external authentication. 1177 BillingItem *Billing_Item `json:"billingItem,omitempty" xmlrpc:"billingItem,omitempty"` 1178 1179 // The date that the external authentication binding was created. 1180 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 1181 1182 // The identifier used to identify this binding to an external authentication source. 1183 ExternalId *string `json:"externalId,omitempty" xmlrpc:"externalId,omitempty"` 1184 1185 // An external authentication binding's internal identifier. 1186 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1187 1188 // An optional note for identifying the external binding. 1189 Note *string `json:"note,omitempty" xmlrpc:"note,omitempty"` 1190 1191 // The password used to authenticate the external id at an external authentication source. 1192 Password *string `json:"password,omitempty" xmlrpc:"password,omitempty"` 1193 1194 // The type of external authentication binding. 1195 Type *User_External_Binding_Type `json:"type,omitempty" xmlrpc:"type,omitempty"` 1196 1197 // The [[SoftLayer_User_External_Binding_Type|type]] identifier of an external authentication binding. 1198 TypeId *int `json:"typeId,omitempty" xmlrpc:"typeId,omitempty"` 1199 1200 // An external authentication binding's associated [[SoftLayer_User_Customer|user account]] id. 1201 UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"` 1202 1203 // The vendor of an external authentication binding. 1204 Vendor *User_External_Binding_Vendor `json:"vendor,omitempty" xmlrpc:"vendor,omitempty"` 1205 1206 // The [[SoftLayer_User_External_Binding_Vendor|vendor]] identifier of an external authentication binding. 1207 VendorId *int `json:"vendorId,omitempty" xmlrpc:"vendorId,omitempty"` 1208} 1209 1210// The SoftLayer_User_External_Binding_Attribute data type contains the value for a single attribute associated with an external binding. External binding attributes contain additional information about an external binding. An attribute can be generic or specific to a 3rd party vendor. For example these attributes relate to Verisign: 1211// *Credential Type 1212// *Credential State 1213// *Credential Expiration Date 1214// *Credential Last Update Date 1215type User_External_Binding_Attribute struct { 1216 Entity 1217 1218 // The external authentication binding an attribute belongs to. 1219 ExternalBinding *User_External_Binding `json:"externalBinding,omitempty" xmlrpc:"externalBinding,omitempty"` 1220 1221 // The value of an external binding attribute. 1222 Value *string `json:"value,omitempty" xmlrpc:"value,omitempty"` 1223} 1224 1225// The SoftLayer_User_External_Binding_Type data type contains information relating to a type of external authentication binding. It contains a user friendly name as well as a unique key name. 1226type User_External_Binding_Type struct { 1227 Entity 1228 1229 // The unique name used to identify a type of external authentication binding. 1230 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1231 1232 // The user friendly name of a type of external authentication binding. 1233 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1234} 1235 1236// The SoftLayer_User_External_Binding_Vendor data type contains information for a single external binding vendor. This information includes a user friendly vendor name, a unique version of the vendor name, and a unique internal identifier that can be used when creating a new external binding. 1237type User_External_Binding_Vendor struct { 1238 Entity 1239 1240 // The unique identifier for an external binding vendor. 1241 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1242 1243 // A unique version of the name property. 1244 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1245 1246 // The user friendly name of an external binding vendor. 1247 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1248} 1249 1250// A SoftLayer_User_Interface represents a generic user instance within the SoftLayer API. The SoftLayer API uses SoftLayer_User_Interfaces in cases where a user object could be one of many types of users. Currently the [[SoftLayer_User_Customer]] and [[SoftLayer_User_Employee]] classes are abstracted by this type. 1251type User_Interface struct { 1252 Entity 1253} 1254 1255// no documentation yet 1256type User_Permission_Action struct { 1257 Entity 1258 1259 // no documentation yet 1260 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 1261 1262 // no documentation yet 1263 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 1264 1265 // no documentation yet 1266 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1267 1268 // no documentation yet 1269 Key *string `json:"key,omitempty" xmlrpc:"key,omitempty"` 1270 1271 // no documentation yet 1272 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1273 1274 // no documentation yet 1275 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 1276 1277 // no documentation yet 1278 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1279} 1280 1281// no documentation yet 1282type User_Permission_Group struct { 1283 Entity 1284 1285 // no documentation yet 1286 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 1287 1288 // A permission groups associated [[SoftLayer_Account|customer account]] id. 1289 AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"` 1290 1291 // A count of 1292 ActionCount *uint `json:"actionCount,omitempty" xmlrpc:"actionCount,omitempty"` 1293 1294 // no documentation yet 1295 Actions []User_Permission_Action `json:"actions,omitempty" xmlrpc:"actions,omitempty"` 1296 1297 // The date the permission group record was created. 1298 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 1299 1300 // The description of the permission group. 1301 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 1302 1303 // The date the temporary group will be destroyed. 1304 ExpirationDate *Time `json:"expirationDate,omitempty" xmlrpc:"expirationDate,omitempty"` 1305 1306 // A permission groups internal identifying number. 1307 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1308 1309 // The date the permission group record was last modified. 1310 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 1311 1312 // The name of the permission group. 1313 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1314 1315 // A count of 1316 RoleCount *uint `json:"roleCount,omitempty" xmlrpc:"roleCount,omitempty"` 1317 1318 // no documentation yet 1319 Roles []User_Permission_Role `json:"roles,omitempty" xmlrpc:"roles,omitempty"` 1320 1321 // The type of the permission group. 1322 Type *User_Permission_Group_Type `json:"type,omitempty" xmlrpc:"type,omitempty"` 1323 1324 // The type of permission group. 1325 TypeId *int `json:"typeId,omitempty" xmlrpc:"typeId,omitempty"` 1326} 1327 1328// no documentation yet 1329type User_Permission_Group_Type struct { 1330 Entity 1331 1332 // no documentation yet 1333 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 1334 1335 // A count of 1336 GroupCount *uint `json:"groupCount,omitempty" xmlrpc:"groupCount,omitempty"` 1337 1338 // no documentation yet 1339 Groups []User_Permission_Group `json:"groups,omitempty" xmlrpc:"groups,omitempty"` 1340 1341 // no documentation yet 1342 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1343 1344 // no documentation yet 1345 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1346 1347 // no documentation yet 1348 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 1349 1350 // no documentation yet 1351 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1352} 1353 1354// no documentation yet 1355type User_Permission_Role struct { 1356 Entity 1357 1358 // no documentation yet 1359 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 1360 1361 // A permission roles associated [[SoftLayer_Account|customer account]] id. 1362 AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"` 1363 1364 // A count of 1365 ActionCount *uint `json:"actionCount,omitempty" xmlrpc:"actionCount,omitempty"` 1366 1367 // no documentation yet 1368 Actions []User_Permission_Action `json:"actions,omitempty" xmlrpc:"actions,omitempty"` 1369 1370 // The date the permission role record was created. 1371 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 1372 1373 // The description of the permission role. 1374 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 1375 1376 // A count of 1377 GroupCount *uint `json:"groupCount,omitempty" xmlrpc:"groupCount,omitempty"` 1378 1379 // no documentation yet 1380 Groups []User_Permission_Group `json:"groups,omitempty" xmlrpc:"groups,omitempty"` 1381 1382 // A permission roles internal identifying number. 1383 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1384 1385 // The date the permission role record was last modified. 1386 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 1387 1388 // The name of the permission role. 1389 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1390 1391 // A flag showing if new users should be automatically added to this role. 1392 NewUserDefaultFlag *int `json:"newUserDefaultFlag,omitempty" xmlrpc:"newUserDefaultFlag,omitempty"` 1393 1394 // A flag showing if the permission role was created by our internal system for a single user. If this flag is set only a single user can be assigned to this permission role and it can not be deleted. 1395 SystemFlag *int `json:"systemFlag,omitempty" xmlrpc:"systemFlag,omitempty"` 1396 1397 // A count of 1398 UserCount *uint `json:"userCount,omitempty" xmlrpc:"userCount,omitempty"` 1399 1400 // no documentation yet 1401 Users []User_Customer `json:"users,omitempty" xmlrpc:"users,omitempty"` 1402} 1403 1404// The SoftLayer_User_Preference data type contains a single user preference to a specific preference type. 1405type User_Preference struct { 1406 Entity 1407 1408 // Description of the user preference 1409 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 1410 1411 // Type of user preference 1412 Type *User_Preference_Type `json:"type,omitempty" xmlrpc:"type,omitempty"` 1413 1414 // The users current preference value 1415 Value *string `json:"value,omitempty" xmlrpc:"value,omitempty"` 1416} 1417 1418// The SoftLayer_User_Preference_Type data type contains a single preference type including the accepted values. 1419type User_Preference_Type struct { 1420 Entity 1421 1422 // A description of the preference type 1423 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 1424 1425 // no documentation yet 1426 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 1427 1428 // The name of the preference type 1429 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 1430 1431 // An example of accepted preference values 1432 ValueExample *string `json:"valueExample,omitempty" xmlrpc:"valueExample,omitempty"` 1433} 1434 1435// The SoftLayer_User_Security_Question data type contains questions. 1436type User_Security_Question struct { 1437 Entity 1438 1439 // A security question's display order. 1440 DisplayOrder *int `json:"displayOrder,omitempty" xmlrpc:"displayOrder,omitempty"` 1441 1442 // A security question's internal identifying number. 1443 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 1444 1445 // A security question's question. 1446 Question *string `json:"question,omitempty" xmlrpc:"question,omitempty"` 1447 1448 // A security question's viewable flag. 1449 Viewable *int `json:"viewable,omitempty" xmlrpc:"viewable,omitempty"` 1450} 1451