account.go raw

   1  /**
   2   * Copyright 2016-2024 IBM Corp.
   3   *
   4   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
   5   * the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
   6   *
   7   * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
   8   * on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   9   * See the License for the specific language governing permissions and limitations under the License.
  10   */
  11  
  12  // AUTOMATICALLY GENERATED CODE - DO NOT MODIFY
  13  
  14  package services
  15  
  16  import (
  17  	"fmt"
  18  	"strings"
  19  
  20  	"github.com/softlayer/softlayer-go/datatypes"
  21  	"github.com/softlayer/softlayer-go/session"
  22  	"github.com/softlayer/softlayer-go/sl"
  23  )
  24  
  25  // The SoftLayer_Account data type contains general information relating to a single SoftLayer customer account. Personal information in this type such as names, addresses, and phone numbers are assigned to the account only and not to users belonging to the account. The SoftLayer_Account data type contains a number of relational properties that are used by the SoftLayer customer portal to quickly present a variety of account related services to it's users.
  26  //
  27  // SoftLayer customers are unable to change their company account information in the portal or the API. If you need to change this information please open a sales ticket in our customer portal and our account management staff will assist you.
  28  type Account struct {
  29  	Session session.SLSession
  30  	Options sl.Options
  31  }
  32  
  33  // GetAccountService returns an instance of the Account SoftLayer service
  34  func GetAccountService(sess session.SLSession) Account {
  35  	return Account{Session: sess}
  36  }
  37  
  38  func (r Account) Id(id int) Account {
  39  	r.Options.Id = &id
  40  	return r
  41  }
  42  
  43  func (r Account) Mask(mask string) Account {
  44  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
  45  		mask = fmt.Sprintf("mask[%s]", mask)
  46  	}
  47  
  48  	r.Options.Mask = mask
  49  	return r
  50  }
  51  
  52  func (r Account) Filter(filter string) Account {
  53  	r.Options.Filter = filter
  54  	return r
  55  }
  56  
  57  func (r Account) Limit(limit int) Account {
  58  	r.Options.Limit = &limit
  59  	return r
  60  }
  61  
  62  func (r Account) Offset(offset int) Account {
  63  	r.Options.Offset = &offset
  64  	return r
  65  }
  66  
  67  // no documentation yet
  68  func (r Account) ActivatePartner(accountId *string, hashCode *string) (resp datatypes.Account, err error) {
  69  	params := []interface{}{
  70  		accountId,
  71  		hashCode,
  72  	}
  73  	err = r.Session.DoRequest("SoftLayer_Account", "activatePartner", params, &r.Options, &resp)
  74  	return
  75  }
  76  
  77  // no documentation yet
  78  func (r Account) AddAchInformation(achInformation *datatypes.Container_Billing_Info_Ach) (resp bool, err error) {
  79  	params := []interface{}{
  80  		achInformation,
  81  	}
  82  	err = r.Session.DoRequest("SoftLayer_Account", "addAchInformation", params, &r.Options, &resp)
  83  	return
  84  }
  85  
  86  // no documentation yet
  87  func (r Account) AddReferralPartnerPaymentOption(paymentOption *datatypes.Container_Referral_Partner_Payment_Option) (resp bool, err error) {
  88  	params := []interface{}{
  89  		paymentOption,
  90  	}
  91  	err = r.Session.DoRequest("SoftLayer_Account", "addReferralPartnerPaymentOption", params, &r.Options, &resp)
  92  	return
  93  }
  94  
  95  // This method indicates whether or not Bandwidth Pooling updates are blocked for the account so the billing cycle can run.  Generally, accounts are restricted from moving servers in or out of Bandwidth Pools from 12:00 CST on the day prior to billing, until the billing batch completes, sometime after midnight the day of actual billing for the account.
  96  func (r Account) AreVdrUpdatesBlockedForBilling() (resp bool, err error) {
  97  	err = r.Session.DoRequest("SoftLayer_Account", "areVdrUpdatesBlockedForBilling", nil, &r.Options, &resp)
  98  	return
  99  }
 100  
 101  // no documentation yet
 102  // Deprecated: This function has been marked as deprecated.
 103  func (r Account) CancelPayPalTransaction(token *string, payerId *string) (resp bool, err error) {
 104  	params := []interface{}{
 105  		token,
 106  		payerId,
 107  	}
 108  	err = r.Session.DoRequest("SoftLayer_Account", "cancelPayPalTransaction", params, &r.Options, &resp)
 109  	return
 110  }
 111  
 112  // no documentation yet
 113  // Deprecated: This function has been marked as deprecated.
 114  func (r Account) CompletePayPalTransaction(token *string, payerId *string) (resp string, err error) {
 115  	params := []interface{}{
 116  		token,
 117  		payerId,
 118  	}
 119  	err = r.Session.DoRequest("SoftLayer_Account", "completePayPalTransaction", params, &r.Options, &resp)
 120  	return
 121  }
 122  
 123  // Retrieve the number of hourly services on an account that are active, plus any pending orders with hourly services attached.
 124  func (r Account) CountHourlyInstances() (resp int, err error) {
 125  	err = r.Session.DoRequest("SoftLayer_Account", "countHourlyInstances", nil, &r.Options, &resp)
 126  	return
 127  }
 128  
 129  // Create a new Customer user record in the SoftLayer customer portal. This is a wrapper around the Customer::createObject call, please see the documentation of that API. This wrapper adds the feature of the "silentlyCreate" option, which bypasses the IBMid invitation email process.  False (the default) goes through the IBMid invitation email process, which creates the IBMid/SoftLayer Single-Sign-On (SSO) user link when the invitation is accepted (meaning the email has been received, opened, and the link(s) inside the email have been clicked to complete the process). True will silently (no email) create the IBMid/SoftLayer user SSO link immediately. Either case will use the value in the template object 'email' field to indicate the IBMid to use. This can be the username or, if unique, the email address of an IBMid.  In the silent case, the IBMid must already exist.  In the non-silent invitation email case, the IBMid can be created during this flow, by specifying an email address to be used to create the IBMid.All the features and restrictions of createObject apply to this API as well.  In addition, note that the "silentlyCreate" flag is ONLY valid for IBMid-authenticated accounts.
 130  func (r Account) CreateUser(templateObject *datatypes.User_Customer, password *string, vpnPassword *string, silentlyCreateFlag *bool) (resp datatypes.User_Customer, err error) {
 131  	params := []interface{}{
 132  		templateObject,
 133  		password,
 134  		vpnPassword,
 135  		silentlyCreateFlag,
 136  	}
 137  	err = r.Session.DoRequest("SoftLayer_Account", "createUser", params, &r.Options, &resp)
 138  	return
 139  }
 140  
 141  // <p style="color:red"><strong>Warning</strong>: If you remove the EU Supported account flag, you are removing the restriction that limits Processing activities to EU personnel.</p>
 142  func (r Account) DisableEuSupport() (err error) {
 143  	var resp datatypes.Void
 144  	err = r.Session.DoRequest("SoftLayer_Account", "disableEuSupport", nil, &r.Options, &resp)
 145  	return
 146  }
 147  
 148  // Disables the VPN_CONFIG_REQUIRES_VPN_MANAGE attribute on the account. If the attribute does not exist for the account, it will be created and set to false.
 149  func (r Account) DisableVpnConfigRequiresVpnManageAttribute() (err error) {
 150  	var resp datatypes.Void
 151  	err = r.Session.DoRequest("SoftLayer_Account", "disableVpnConfigRequiresVpnManageAttribute", nil, &r.Options, &resp)
 152  	return
 153  }
 154  
 155  // This method will edit the account's information. Pass in a SoftLayer_Account template with the fields to be modified. Certain changes to the account will automatically create a ticket for manual review. This will be returned with the SoftLayer_Container_Account_Update_Response.<br> <br> The following fields are editable:<br> <br> <ul> <li>companyName</li> <li>firstName</li> <li>lastName</li> <li>address1</li> <li>address2</li> <li>city</li> <li>state</li> <li>country</li> <li>postalCode</li> <li>email</li> <li>officePhone</li> <li>alternatePhone</li> <li>faxPhone</li> <li>abuseEmails.email</li> <li>billingInfo.vatId</li> </ul>
 156  func (r Account) EditAccount(modifiedAccountInformation *datatypes.Account) (resp datatypes.Container_Account_Update_Response, err error) {
 157  	params := []interface{}{
 158  		modifiedAccountInformation,
 159  	}
 160  	err = r.Session.DoRequest("SoftLayer_Account", "editAccount", params, &r.Options, &resp)
 161  	return
 162  }
 163  
 164  // <p> If you select the EU Supported option, the most common Support issues will be limited to IBM Cloud staff located in the EU.  In the event your issue requires non-EU expert assistance, it will be reviewed and approval given prior to any non-EU intervention.  Additionally, in order to support and update the services, cross-border Processing of your data may still occur.  Please ensure you take the necessary actions to allow this Processing, as detailed in the <strong><a href="http://www-03.ibm.com/software/sla/sladb.nsf/sla/bm-6605-12">Cloud Service Terms</a></strong>. A standard Data Processing Addendum is available <strong><a href="https://www-05.ibm.com/support/operations/zz/en/dpa.html">here</a></strong>. </p>
 165  //
 166  // <p> <strong>Important note (you will only see this once):</strong> Orders using the API will proceed without additional notifications. The terms related to selecting products, services, or locations outside the EU apply to API orders. Users you create and API keys you generate will have the ability to order products, services, and locations outside of the EU. It is your responsibility to educate anyone you grant access to your account on the consequences and requirements if they make a selection that is not in the EU Supported option.  In order to meet EU Supported requirements, the current PPTP VPN solution will no longer be offered or supported. </p>
 167  //
 168  // <p> If PPTP has been selected as an option for any users in your account by itself (or in combination with another VPN offering), you will need to disable PPTP before selecting the EU Supported account feature. For more information on VPN changes, click <strong><a href="http://knowledgelayer.softlayer.com/procedure/activate-or-deactivate-pptp-vpn-access-user"> here</a></strong>. </p>
 169  func (r Account) EnableEuSupport() (err error) {
 170  	var resp datatypes.Void
 171  	err = r.Session.DoRequest("SoftLayer_Account", "enableEuSupport", nil, &r.Options, &resp)
 172  	return
 173  }
 174  
 175  // Enables the VPN_CONFIG_REQUIRES_VPN_MANAGE attribute on the account. If the attribute does not exist for the account, it will be created and set to true.
 176  func (r Account) EnableVpnConfigRequiresVpnManageAttribute() (err error) {
 177  	var resp datatypes.Void
 178  	err = r.Session.DoRequest("SoftLayer_Account", "enableVpnConfigRequiresVpnManageAttribute", nil, &r.Options, &resp)
 179  	return
 180  }
 181  
 182  // Retrieve An email address that is responsible for abuse and legal inquiries on behalf of an account. For instance, new legal and abuse tickets are sent to this address.
 183  func (r Account) GetAbuseEmail() (resp string, err error) {
 184  	err = r.Session.DoRequest("SoftLayer_Account", "getAbuseEmail", nil, &r.Options, &resp)
 185  	return
 186  }
 187  
 188  // Retrieve Email addresses that are responsible for abuse and legal inquiries on behalf of an account. For instance, new legal and abuse tickets are sent to these addresses.
 189  func (r Account) GetAbuseEmails() (resp []datatypes.Account_AbuseEmail, err error) {
 190  	err = r.Session.DoRequest("SoftLayer_Account", "getAbuseEmails", nil, &r.Options, &resp)
 191  	return
 192  }
 193  
 194  // This method returns an array of SoftLayer_Container_Network_Storage_Evault_WebCc_JobDetails objects for the given start and end dates. Start and end dates should be be valid ISO 8601 dates. The backupStatus can be one of null, 'success', 'failed', or 'conflict'. The 'success' backupStatus returns jobs with a status of 'COMPLETED', the 'failed' backupStatus returns jobs with a status of 'FAILED', while the 'conflict' backupStatus will return jobs that are not 'COMPLETED' or 'FAILED'.
 195  func (r Account) GetAccountBackupHistory(startDate *datatypes.Time, endDate *datatypes.Time, backupStatus *string) (resp []datatypes.Container_Network_Storage_Evault_WebCc_JobDetails, err error) {
 196  	params := []interface{}{
 197  		startDate,
 198  		endDate,
 199  		backupStatus,
 200  	}
 201  	err = r.Session.DoRequest("SoftLayer_Account", "getAccountBackupHistory", params, &r.Options, &resp)
 202  	return
 203  }
 204  
 205  // Retrieve The account contacts on an account.
 206  func (r Account) GetAccountContacts() (resp []datatypes.Account_Contact, err error) {
 207  	err = r.Session.DoRequest("SoftLayer_Account", "getAccountContacts", nil, &r.Options, &resp)
 208  	return
 209  }
 210  
 211  // Retrieve The account software licenses owned by an account
 212  func (r Account) GetAccountLicenses() (resp []datatypes.Software_AccountLicense, err error) {
 213  	err = r.Session.DoRequest("SoftLayer_Account", "getAccountLicenses", nil, &r.Options, &resp)
 214  	return
 215  }
 216  
 217  // Retrieve
 218  func (r Account) GetAccountLinks() (resp []datatypes.Account_Link, err error) {
 219  	err = r.Session.DoRequest("SoftLayer_Account", "getAccountLinks", nil, &r.Options, &resp)
 220  	return
 221  }
 222  
 223  // Retrieve An account's status presented in a more detailed data type.
 224  func (r Account) GetAccountStatus() (resp datatypes.Account_Status, err error) {
 225  	err = r.Session.DoRequest("SoftLayer_Account", "getAccountStatus", nil, &r.Options, &resp)
 226  	return
 227  }
 228  
 229  // This method pulls an account trait by its key.
 230  func (r Account) GetAccountTraitValue(keyName *string) (resp string, err error) {
 231  	params := []interface{}{
 232  		keyName,
 233  	}
 234  	err = r.Session.DoRequest("SoftLayer_Account", "getAccountTraitValue", params, &r.Options, &resp)
 235  	return
 236  }
 237  
 238  // Retrieve The billing item associated with an account's monthly discount.
 239  func (r Account) GetActiveAccountDiscountBillingItem() (resp datatypes.Billing_Item, err error) {
 240  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveAccountDiscountBillingItem", nil, &r.Options, &resp)
 241  	return
 242  }
 243  
 244  // Retrieve The active account software licenses owned by an account
 245  func (r Account) GetActiveAccountLicenses() (resp []datatypes.Software_AccountLicense, err error) {
 246  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveAccountLicenses", nil, &r.Options, &resp)
 247  	return
 248  }
 249  
 250  // Retrieve The active address(es) that belong to an account.
 251  func (r Account) GetActiveAddresses() (resp []datatypes.Account_Address, err error) {
 252  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveAddresses", nil, &r.Options, &resp)
 253  	return
 254  }
 255  
 256  // Retrieve All active agreements for an account
 257  func (r Account) GetActiveAgreements() (resp []datatypes.Account_Agreement, err error) {
 258  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveAgreements", nil, &r.Options, &resp)
 259  	return
 260  }
 261  
 262  // Retrieve All billing agreements for an account
 263  func (r Account) GetActiveBillingAgreements() (resp []datatypes.Account_Agreement, err error) {
 264  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveBillingAgreements", nil, &r.Options, &resp)
 265  	return
 266  }
 267  
 268  // Retrieve
 269  func (r Account) GetActiveCatalystEnrollment() (resp datatypes.Catalyst_Enrollment, err error) {
 270  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveCatalystEnrollment", nil, &r.Options, &resp)
 271  	return
 272  }
 273  
 274  // Retrieve Deprecated.
 275  func (r Account) GetActiveColocationContainers() (resp []datatypes.Billing_Item, err error) {
 276  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveColocationContainers", nil, &r.Options, &resp)
 277  	return
 278  }
 279  
 280  // Retrieve [Deprecated] Please use SoftLayer_Account::activeFlexibleCreditEnrollments.
 281  func (r Account) GetActiveFlexibleCreditEnrollment() (resp datatypes.FlexibleCredit_Enrollment, err error) {
 282  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveFlexibleCreditEnrollment", nil, &r.Options, &resp)
 283  	return
 284  }
 285  
 286  // Retrieve
 287  func (r Account) GetActiveFlexibleCreditEnrollments() (resp []datatypes.FlexibleCredit_Enrollment, err error) {
 288  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveFlexibleCreditEnrollments", nil, &r.Options, &resp)
 289  	return
 290  }
 291  
 292  // Retrieve
 293  func (r Account) GetActiveNotificationSubscribers() (resp []datatypes.Notification_Subscriber, err error) {
 294  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveNotificationSubscribers", nil, &r.Options, &resp)
 295  	return
 296  }
 297  
 298  // This is deprecated and will not return any results.
 299  // Deprecated: This function has been marked as deprecated.
 300  func (r Account) GetActiveOutletPackages() (resp []datatypes.Product_Package, err error) {
 301  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveOutletPackages", nil, &r.Options, &resp)
 302  	return
 303  }
 304  
 305  // This method will return the [[SoftLayer_Product_Package]] objects from which you can order a bare metal server, virtual server, service (such as CDN or Object Storage) or other software. Once you have the package you want to order from, you may query one of various endpoints from that package to get specific information about its products and pricing. See [[SoftLayer_Product_Package/getCategories|getCategories]] or [[SoftLayer_Product_Package/getItems|getItems]] for more information.
 306  //
 307  // Packages that have been retired will not appear in this result set.
 308  func (r Account) GetActivePackages() (resp []datatypes.Product_Package, err error) {
 309  	err = r.Session.DoRequest("SoftLayer_Account", "getActivePackages", nil, &r.Options, &resp)
 310  	return
 311  }
 312  
 313  // <strong>This method is deprecated and should not be used in production code.</strong>
 314  //
 315  // This method will return the [[SoftLayer_Product_Package]] objects from which you can order a bare metal server, virtual server, service (such as CDN or Object Storage) or other software filtered by an attribute type associated with the package. Once you have the package you want to order from, you may query one of various endpoints from that package to get specific information about its products and pricing. See [[SoftLayer_Product_Package/getCategories|getCategories]] or [[SoftLayer_Product_Package/getItems|getItems]] for more information.
 316  // Deprecated: This function has been marked as deprecated.
 317  func (r Account) GetActivePackagesByAttribute(attributeKeyName *string) (resp []datatypes.Product_Package, err error) {
 318  	params := []interface{}{
 319  		attributeKeyName,
 320  	}
 321  	err = r.Session.DoRequest("SoftLayer_Account", "getActivePackagesByAttribute", params, &r.Options, &resp)
 322  	return
 323  }
 324  
 325  // [DEPRECATED] This method pulls all the active private hosted cloud packages. This will give you a basic description of the packages that are currently active and from which you can order private hosted cloud configurations.
 326  // Deprecated: This function has been marked as deprecated.
 327  func (r Account) GetActivePrivateHostedCloudPackages() (resp []datatypes.Product_Package, err error) {
 328  	err = r.Session.DoRequest("SoftLayer_Account", "getActivePrivateHostedCloudPackages", nil, &r.Options, &resp)
 329  	return
 330  }
 331  
 332  // Retrieve An account's non-expired quotes.
 333  func (r Account) GetActiveQuotes() (resp []datatypes.Billing_Order_Quote, err error) {
 334  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveQuotes", nil, &r.Options, &resp)
 335  	return
 336  }
 337  
 338  // Retrieve Active reserved capacity agreements for an account
 339  func (r Account) GetActiveReservedCapacityAgreements() (resp []datatypes.Account_Agreement, err error) {
 340  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveReservedCapacityAgreements", nil, &r.Options, &resp)
 341  	return
 342  }
 343  
 344  // Retrieve The virtual software licenses controlled by an account
 345  func (r Account) GetActiveVirtualLicenses() (resp []datatypes.Software_VirtualLicense, err error) {
 346  	err = r.Session.DoRequest("SoftLayer_Account", "getActiveVirtualLicenses", nil, &r.Options, &resp)
 347  	return
 348  }
 349  
 350  // Retrieve An account's associated load balancers.
 351  func (r Account) GetAdcLoadBalancers() (resp []datatypes.Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress, err error) {
 352  	err = r.Session.DoRequest("SoftLayer_Account", "getAdcLoadBalancers", nil, &r.Options, &resp)
 353  	return
 354  }
 355  
 356  // Retrieve All the address(es) that belong to an account.
 357  func (r Account) GetAddresses() (resp []datatypes.Account_Address, err error) {
 358  	err = r.Session.DoRequest("SoftLayer_Account", "getAddresses", nil, &r.Options, &resp)
 359  	return
 360  }
 361  
 362  // Retrieve An affiliate identifier associated with the customer account.
 363  func (r Account) GetAffiliateId() (resp string, err error) {
 364  	err = r.Session.DoRequest("SoftLayer_Account", "getAffiliateId", nil, &r.Options, &resp)
 365  	return
 366  }
 367  
 368  // Retrieve The billing items that will be on an account's next invoice.
 369  func (r Account) GetAllBillingItems() (resp []datatypes.Billing_Item, err error) {
 370  	err = r.Session.DoRequest("SoftLayer_Account", "getAllBillingItems", nil, &r.Options, &resp)
 371  	return
 372  }
 373  
 374  // Retrieve The billing items that will be on an account's next invoice.
 375  func (r Account) GetAllCommissionBillingItems() (resp []datatypes.Billing_Item, err error) {
 376  	err = r.Session.DoRequest("SoftLayer_Account", "getAllCommissionBillingItems", nil, &r.Options, &resp)
 377  	return
 378  }
 379  
 380  // Retrieve The billing items that will be on an account's next invoice.
 381  func (r Account) GetAllRecurringTopLevelBillingItems() (resp []datatypes.Billing_Item, err error) {
 382  	err = r.Session.DoRequest("SoftLayer_Account", "getAllRecurringTopLevelBillingItems", nil, &r.Options, &resp)
 383  	return
 384  }
 385  
 386  // Retrieve The billing items that will be on an account's next invoice. Does not consider associated items.
 387  func (r Account) GetAllRecurringTopLevelBillingItemsUnfiltered() (resp []datatypes.Billing_Item, err error) {
 388  	err = r.Session.DoRequest("SoftLayer_Account", "getAllRecurringTopLevelBillingItemsUnfiltered", nil, &r.Options, &resp)
 389  	return
 390  }
 391  
 392  // Retrieve The billing items that will be on an account's next invoice.
 393  func (r Account) GetAllSubnetBillingItems() (resp []datatypes.Billing_Item, err error) {
 394  	err = r.Session.DoRequest("SoftLayer_Account", "getAllSubnetBillingItems", nil, &r.Options, &resp)
 395  	return
 396  }
 397  
 398  // Retrieve All billing items of an account.
 399  func (r Account) GetAllTopLevelBillingItems() (resp []datatypes.Billing_Item, err error) {
 400  	err = r.Session.DoRequest("SoftLayer_Account", "getAllTopLevelBillingItems", nil, &r.Options, &resp)
 401  	return
 402  }
 403  
 404  // Retrieve The billing items that will be on an account's next invoice. Does not consider associated items.
 405  func (r Account) GetAllTopLevelBillingItemsUnfiltered() (resp []datatypes.Billing_Item, err error) {
 406  	err = r.Session.DoRequest("SoftLayer_Account", "getAllTopLevelBillingItemsUnfiltered", nil, &r.Options, &resp)
 407  	return
 408  }
 409  
 410  // Retrieve Indicates whether this account is allowed to silently migrate to use IBMid Authentication.
 411  func (r Account) GetAllowIbmIdSilentMigrationFlag() (resp bool, err error) {
 412  	err = r.Session.DoRequest("SoftLayer_Account", "getAllowIbmIdSilentMigrationFlag", nil, &r.Options, &resp)
 413  	return
 414  }
 415  
 416  // Retrieve Flag indicating if this account can be linked with Bluemix.
 417  func (r Account) GetAllowsBluemixAccountLinkingFlag() (resp bool, err error) {
 418  	err = r.Session.DoRequest("SoftLayer_Account", "getAllowsBluemixAccountLinkingFlag", nil, &r.Options, &resp)
 419  	return
 420  }
 421  
 422  // no documentation yet
 423  func (r Account) GetAlternateCreditCardData() (resp datatypes.Container_Account_Payment_Method_CreditCard, err error) {
 424  	err = r.Session.DoRequest("SoftLayer_Account", "getAlternateCreditCardData", nil, &r.Options, &resp)
 425  	return
 426  }
 427  
 428  // Retrieve An account's associated application delivery controller records.
 429  func (r Account) GetApplicationDeliveryControllers() (resp []datatypes.Network_Application_Delivery_Controller, err error) {
 430  	err = r.Session.DoRequest("SoftLayer_Account", "getApplicationDeliveryControllers", nil, &r.Options, &resp)
 431  	return
 432  }
 433  
 434  // Retrieve a single [[SoftLayer_Account_Attribute]] record by its [[SoftLayer_Account_Attribute_Type|types's]] key name.
 435  func (r Account) GetAttributeByType(attributeType *string) (resp datatypes.Account_Attribute, err error) {
 436  	params := []interface{}{
 437  		attributeType,
 438  	}
 439  	err = r.Session.DoRequest("SoftLayer_Account", "getAttributeByType", params, &r.Options, &resp)
 440  	return
 441  }
 442  
 443  // Retrieve The account attribute values for a SoftLayer customer account.
 444  func (r Account) GetAttributes() (resp []datatypes.Account_Attribute, err error) {
 445  	err = r.Session.DoRequest("SoftLayer_Account", "getAttributes", nil, &r.Options, &resp)
 446  	return
 447  }
 448  
 449  // no documentation yet
 450  func (r Account) GetAuxiliaryNotifications() (resp []datatypes.Container_Utility_Message, err error) {
 451  	err = r.Session.DoRequest("SoftLayer_Account", "getAuxiliaryNotifications", nil, &r.Options, &resp)
 452  	return
 453  }
 454  
 455  // Retrieve The public network VLANs assigned to an account.
 456  func (r Account) GetAvailablePublicNetworkVlans() (resp []datatypes.Network_Vlan, err error) {
 457  	err = r.Session.DoRequest("SoftLayer_Account", "getAvailablePublicNetworkVlans", nil, &r.Options, &resp)
 458  	return
 459  }
 460  
 461  // Retrieve The account balance of a SoftLayer customer account. An account's balance is the amount of money owed to SoftLayer by the account holder, returned as a floating point number with two decimal places, measured in US Dollars ($USD). A negative account balance means the account holder has overpaid and is owed money by SoftLayer.
 462  func (r Account) GetBalance() (resp datatypes.Float64, err error) {
 463  	err = r.Session.DoRequest("SoftLayer_Account", "getBalance", nil, &r.Options, &resp)
 464  	return
 465  }
 466  
 467  // Retrieve The bandwidth allotments for an account.
 468  func (r Account) GetBandwidthAllotments() (resp []datatypes.Network_Bandwidth_Version1_Allotment, err error) {
 469  	err = r.Session.DoRequest("SoftLayer_Account", "getBandwidthAllotments", nil, &r.Options, &resp)
 470  	return
 471  }
 472  
 473  // Retrieve The bandwidth allotments for an account currently over allocation.
 474  func (r Account) GetBandwidthAllotmentsOverAllocation() (resp []datatypes.Network_Bandwidth_Version1_Allotment, err error) {
 475  	err = r.Session.DoRequest("SoftLayer_Account", "getBandwidthAllotmentsOverAllocation", nil, &r.Options, &resp)
 476  	return
 477  }
 478  
 479  // Retrieve The bandwidth allotments for an account projected to go over allocation.
 480  func (r Account) GetBandwidthAllotmentsProjectedOverAllocation() (resp []datatypes.Network_Bandwidth_Version1_Allotment, err error) {
 481  	err = r.Session.DoRequest("SoftLayer_Account", "getBandwidthAllotmentsProjectedOverAllocation", nil, &r.Options, &resp)
 482  	return
 483  }
 484  
 485  // no documentation yet
 486  func (r Account) GetBandwidthList(networkType *string, direction *string, startDate *string, endDate *string, serverIds []int) (resp []datatypes.Container_Bandwidth_Usage, err error) {
 487  	params := []interface{}{
 488  		networkType,
 489  		direction,
 490  		startDate,
 491  		endDate,
 492  		serverIds,
 493  	}
 494  	err = r.Session.DoRequest("SoftLayer_Account", "getBandwidthList", params, &r.Options, &resp)
 495  	return
 496  }
 497  
 498  // Retrieve An account's associated bare metal server objects.
 499  func (r Account) GetBareMetalInstances() (resp []datatypes.Hardware, err error) {
 500  	err = r.Session.DoRequest("SoftLayer_Account", "getBareMetalInstances", nil, &r.Options, &resp)
 501  	return
 502  }
 503  
 504  // Retrieve All billing agreements for an account
 505  func (r Account) GetBillingAgreements() (resp []datatypes.Account_Agreement, err error) {
 506  	err = r.Session.DoRequest("SoftLayer_Account", "getBillingAgreements", nil, &r.Options, &resp)
 507  	return
 508  }
 509  
 510  // Retrieve An account's billing information.
 511  func (r Account) GetBillingInfo() (resp datatypes.Billing_Info, err error) {
 512  	err = r.Session.DoRequest("SoftLayer_Account", "getBillingInfo", nil, &r.Options, &resp)
 513  	return
 514  }
 515  
 516  // Retrieve Private template group objects (parent and children) and the shared template group objects (parent only) for an account.
 517  func (r Account) GetBlockDeviceTemplateGroups() (resp []datatypes.Virtual_Guest_Block_Device_Template_Group, err error) {
 518  	err = r.Session.DoRequest("SoftLayer_Account", "getBlockDeviceTemplateGroups", nil, &r.Options, &resp)
 519  	return
 520  }
 521  
 522  // Retrieve Flag indicating whether this account is restricted from performing a self-service brand migration by updating their credit card details.
 523  func (r Account) GetBlockSelfServiceBrandMigration() (resp bool, err error) {
 524  	err = r.Session.DoRequest("SoftLayer_Account", "getBlockSelfServiceBrandMigration", nil, &r.Options, &resp)
 525  	return
 526  }
 527  
 528  // Retrieve
 529  func (r Account) GetBluemixAccountId() (resp string, err error) {
 530  	err = r.Session.DoRequest("SoftLayer_Account", "getBluemixAccountId", nil, &r.Options, &resp)
 531  	return
 532  }
 533  
 534  // Retrieve The Platform account link associated with this SoftLayer account, if one exists.
 535  func (r Account) GetBluemixAccountLink() (resp datatypes.Account_Link_Bluemix, err error) {
 536  	err = r.Session.DoRequest("SoftLayer_Account", "getBluemixAccountLink", nil, &r.Options, &resp)
 537  	return
 538  }
 539  
 540  // Retrieve Returns true if this account is linked to IBM Bluemix, false if not.
 541  func (r Account) GetBluemixLinkedFlag() (resp bool, err error) {
 542  	err = r.Session.DoRequest("SoftLayer_Account", "getBluemixLinkedFlag", nil, &r.Options, &resp)
 543  	return
 544  }
 545  
 546  // Retrieve
 547  func (r Account) GetBrand() (resp datatypes.Brand, err error) {
 548  	err = r.Session.DoRequest("SoftLayer_Account", "getBrand", nil, &r.Options, &resp)
 549  	return
 550  }
 551  
 552  // Retrieve
 553  func (r Account) GetBrandAccountFlag() (resp bool, err error) {
 554  	err = r.Session.DoRequest("SoftLayer_Account", "getBrandAccountFlag", nil, &r.Options, &resp)
 555  	return
 556  }
 557  
 558  // Retrieve The brand keyName.
 559  func (r Account) GetBrandKeyName() (resp string, err error) {
 560  	err = r.Session.DoRequest("SoftLayer_Account", "getBrandKeyName", nil, &r.Options, &resp)
 561  	return
 562  }
 563  
 564  // Retrieve The Business Partner details for the account. Country Enterprise Code, Channel, Segment, Reseller Level.
 565  func (r Account) GetBusinessPartner() (resp datatypes.Account_Business_Partner, err error) {
 566  	err = r.Session.DoRequest("SoftLayer_Account", "getBusinessPartner", nil, &r.Options, &resp)
 567  	return
 568  }
 569  
 570  // Retrieve [DEPRECATED] All accounts may order VLANs.
 571  func (r Account) GetCanOrderAdditionalVlansFlag() (resp bool, err error) {
 572  	err = r.Session.DoRequest("SoftLayer_Account", "getCanOrderAdditionalVlansFlag", nil, &r.Options, &resp)
 573  	return
 574  }
 575  
 576  // Retrieve An account's active carts.
 577  func (r Account) GetCarts() (resp []datatypes.Billing_Order_Quote, err error) {
 578  	err = r.Session.DoRequest("SoftLayer_Account", "getCarts", nil, &r.Options, &resp)
 579  	return
 580  }
 581  
 582  // Retrieve
 583  func (r Account) GetCatalystEnrollments() (resp []datatypes.Catalyst_Enrollment, err error) {
 584  	err = r.Session.DoRequest("SoftLayer_Account", "getCatalystEnrollments", nil, &r.Options, &resp)
 585  	return
 586  }
 587  
 588  // Retrieve All closed tickets associated with an account.
 589  func (r Account) GetClosedTickets() (resp []datatypes.Ticket, err error) {
 590  	err = r.Session.DoRequest("SoftLayer_Account", "getClosedTickets", nil, &r.Options, &resp)
 591  	return
 592  }
 593  
 594  // Retrieve the user record of the user calling the SoftLayer API.
 595  func (r Account) GetCurrentUser() (resp datatypes.User_Customer, err error) {
 596  	err = r.Session.DoRequest("SoftLayer_Account", "getCurrentUser", nil, &r.Options, &resp)
 597  	return
 598  }
 599  
 600  // Retrieve [DEPRECATED] Datacenters which contain subnets that the account has access to route.
 601  func (r Account) GetDatacentersWithSubnetAllocations() (resp []datatypes.Location, err error) {
 602  	err = r.Session.DoRequest("SoftLayer_Account", "getDatacentersWithSubnetAllocations", nil, &r.Options, &resp)
 603  	return
 604  }
 605  
 606  // Retrieve An account's associated virtual dedicated host objects.
 607  func (r Account) GetDedicatedHosts() (resp []datatypes.Virtual_DedicatedHost, err error) {
 608  	err = r.Session.DoRequest("SoftLayer_Account", "getDedicatedHosts", nil, &r.Options, &resp)
 609  	return
 610  }
 611  
 612  // This returns a collection of dedicated hosts that are valid for a given image template.
 613  func (r Account) GetDedicatedHostsForImageTemplate(imageTemplateId *int) (resp []datatypes.Virtual_DedicatedHost, err error) {
 614  	params := []interface{}{
 615  		imageTemplateId,
 616  	}
 617  	err = r.Session.DoRequest("SoftLayer_Account", "getDedicatedHostsForImageTemplate", params, &r.Options, &resp)
 618  	return
 619  }
 620  
 621  // Retrieve A flag indicating whether payments are processed for this account.
 622  func (r Account) GetDisablePaymentProcessingFlag() (resp bool, err error) {
 623  	err = r.Session.DoRequest("SoftLayer_Account", "getDisablePaymentProcessingFlag", nil, &r.Options, &resp)
 624  	return
 625  }
 626  
 627  // Retrieve The SoftLayer employees that an account is assigned to.
 628  func (r Account) GetDisplaySupportRepresentativeAssignments() (resp []datatypes.Account_Attachment_Employee, err error) {
 629  	err = r.Session.DoRequest("SoftLayer_Account", "getDisplaySupportRepresentativeAssignments", nil, &r.Options, &resp)
 630  	return
 631  }
 632  
 633  // Retrieve The DNS domains associated with an account.
 634  func (r Account) GetDomains() (resp []datatypes.Dns_Domain, err error) {
 635  	err = r.Session.DoRequest("SoftLayer_Account", "getDomains", nil, &r.Options, &resp)
 636  	return
 637  }
 638  
 639  // Retrieve The DNS domains associated with an account that were not created as a result of a secondary DNS zone transfer.
 640  func (r Account) GetDomainsWithoutSecondaryDnsRecords() (resp []datatypes.Dns_Domain, err error) {
 641  	err = r.Session.DoRequest("SoftLayer_Account", "getDomainsWithoutSecondaryDnsRecords", nil, &r.Options, &resp)
 642  	return
 643  }
 644  
 645  // Retrieve Boolean flag dictating whether or not this account has the EU Supported flag. This flag indicates that this account uses IBM Cloud services to process EU citizen's personal data.
 646  func (r Account) GetEuSupportedFlag() (resp bool, err error) {
 647  	err = r.Session.DoRequest("SoftLayer_Account", "getEuSupportedFlag", nil, &r.Options, &resp)
 648  	return
 649  }
 650  
 651  // Retrieve The total capacity of Legacy EVault Volumes on an account, in GB.
 652  func (r Account) GetEvaultCapacityGB() (resp uint, err error) {
 653  	err = r.Session.DoRequest("SoftLayer_Account", "getEvaultCapacityGB", nil, &r.Options, &resp)
 654  	return
 655  }
 656  
 657  // Retrieve An account's master EVault user. This is only used when an account has EVault service.
 658  func (r Account) GetEvaultMasterUsers() (resp []datatypes.Account_Password, err error) {
 659  	err = r.Session.DoRequest("SoftLayer_Account", "getEvaultMasterUsers", nil, &r.Options, &resp)
 660  	return
 661  }
 662  
 663  // Retrieve An account's associated EVault storage volumes.
 664  func (r Account) GetEvaultNetworkStorage() (resp []datatypes.Network_Storage, err error) {
 665  	err = r.Session.DoRequest("SoftLayer_Account", "getEvaultNetworkStorage", nil, &r.Options, &resp)
 666  	return
 667  }
 668  
 669  // Retrieve Stored security certificates that are expired (ie. SSL)
 670  func (r Account) GetExpiredSecurityCertificates() (resp []datatypes.Security_Certificate, err error) {
 671  	err = r.Session.DoRequest("SoftLayer_Account", "getExpiredSecurityCertificates", nil, &r.Options, &resp)
 672  	return
 673  }
 674  
 675  // Retrieve Logs of who entered a colocation area which is assigned to this account, or when a user under this account enters a datacenter.
 676  func (r Account) GetFacilityLogs() (resp []datatypes.User_Access_Facility_Log, err error) {
 677  	err = r.Session.DoRequest("SoftLayer_Account", "getFacilityLogs", nil, &r.Options, &resp)
 678  	return
 679  }
 680  
 681  // Retrieve
 682  func (r Account) GetFileBlockBetaAccessFlag() (resp bool, err error) {
 683  	err = r.Session.DoRequest("SoftLayer_Account", "getFileBlockBetaAccessFlag", nil, &r.Options, &resp)
 684  	return
 685  }
 686  
 687  // Retrieve All of the account's current and former Flexible Credit enrollments.
 688  func (r Account) GetFlexibleCreditEnrollments() (resp []datatypes.FlexibleCredit_Enrollment, err error) {
 689  	err = r.Session.DoRequest("SoftLayer_Account", "getFlexibleCreditEnrollments", nil, &r.Options, &resp)
 690  	return
 691  }
 692  
 693  // [DEPRECATED] Please use SoftLayer_Account::getFlexibleCreditProgramsInfo.
 694  //
 695  // This method will return a [[SoftLayer_Container_Account_Discount_Program]] object containing the Flexible Credit Program information for this account. To be considered an active participant, the account must have an enrollment record with a monthly credit amount set and the current date must be within the range defined by the enrollment and graduation date. The forNextBillCycle parameter can be set to true to return a SoftLayer_Container_Account_Discount_Program object with information with relation to the next bill cycle. The forNextBillCycle parameter defaults to false. Please note that all discount amount entries are reported as pre-tax amounts and the legacy tax fields in the [[SoftLayer_Container_Account_Discount_Program]] are deprecated.
 696  // Deprecated: This function has been marked as deprecated.
 697  func (r Account) GetFlexibleCreditProgramInfo(forNextBillCycle *bool) (resp datatypes.Container_Account_Discount_Program, err error) {
 698  	params := []interface{}{
 699  		forNextBillCycle,
 700  	}
 701  	err = r.Session.DoRequest("SoftLayer_Account", "getFlexibleCreditProgramInfo", params, &r.Options, &resp)
 702  	return
 703  }
 704  
 705  // This method will return a [[SoftLayer_Container_Account_Discount_Program_Collection]] object containing information on all of the Flexible Credit Programs your account is enrolled in. To be considered an active participant, the account must have at least one enrollment record with a monthly credit amount set and the current date must be within the range defined by the enrollment and graduation date. The forNextBillCycle parameter can be set to true to return a SoftLayer_Container_Account_Discount_Program_Collection object with information with relation to the next bill cycle. The forNextBillCycle parameter defaults to false. Please note that all discount amount entries are reported as pre-tax amounts.
 706  func (r Account) GetFlexibleCreditProgramsInfo(nextBillingCycleFlag *bool) (resp datatypes.Container_Account_Discount_Program_Collection, err error) {
 707  	params := []interface{}{
 708  		nextBillingCycleFlag,
 709  	}
 710  	err = r.Session.DoRequest("SoftLayer_Account", "getFlexibleCreditProgramsInfo", params, &r.Options, &resp)
 711  	return
 712  }
 713  
 714  // Retrieve Timestamp representing the point in time when an account is required to link with PaaS.
 715  func (r Account) GetForcePaasAccountLinkDate() (resp string, err error) {
 716  	err = r.Session.DoRequest("SoftLayer_Account", "getForcePaasAccountLinkDate", nil, &r.Options, &resp)
 717  	return
 718  }
 719  
 720  // Retrieve
 721  func (r Account) GetGlobalIpRecords() (resp []datatypes.Network_Subnet_IpAddress_Global, err error) {
 722  	err = r.Session.DoRequest("SoftLayer_Account", "getGlobalIpRecords", nil, &r.Options, &resp)
 723  	return
 724  }
 725  
 726  // Retrieve
 727  func (r Account) GetGlobalIpv4Records() (resp []datatypes.Network_Subnet_IpAddress_Global, err error) {
 728  	err = r.Session.DoRequest("SoftLayer_Account", "getGlobalIpv4Records", nil, &r.Options, &resp)
 729  	return
 730  }
 731  
 732  // Retrieve
 733  func (r Account) GetGlobalIpv6Records() (resp []datatypes.Network_Subnet_IpAddress_Global, err error) {
 734  	err = r.Session.DoRequest("SoftLayer_Account", "getGlobalIpv6Records", nil, &r.Options, &resp)
 735  	return
 736  }
 737  
 738  // Retrieve An account's associated hardware objects.
 739  func (r Account) GetHardware() (resp []datatypes.Hardware, err error) {
 740  	err = r.Session.DoRequest("SoftLayer_Account", "getHardware", nil, &r.Options, &resp)
 741  	return
 742  }
 743  
 744  // Retrieve An account's associated hardware objects currently over bandwidth allocation.
 745  func (r Account) GetHardwareOverBandwidthAllocation() (resp []datatypes.Hardware, err error) {
 746  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareOverBandwidthAllocation", nil, &r.Options, &resp)
 747  	return
 748  }
 749  
 750  // Return a collection of managed hardware pools.
 751  func (r Account) GetHardwarePools() (resp []datatypes.Container_Hardware_Pool_Details, err error) {
 752  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwarePools", nil, &r.Options, &resp)
 753  	return
 754  }
 755  
 756  // Retrieve An account's associated hardware objects projected to go over bandwidth allocation.
 757  func (r Account) GetHardwareProjectedOverBandwidthAllocation() (resp []datatypes.Hardware, err error) {
 758  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareProjectedOverBandwidthAllocation", nil, &r.Options, &resp)
 759  	return
 760  }
 761  
 762  // Retrieve All hardware associated with an account that has the cPanel web hosting control panel installed.
 763  func (r Account) GetHardwareWithCpanel() (resp []datatypes.Hardware, err error) {
 764  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithCpanel", nil, &r.Options, &resp)
 765  	return
 766  }
 767  
 768  // Retrieve All hardware associated with an account that has the Helm web hosting control panel installed.
 769  func (r Account) GetHardwareWithHelm() (resp []datatypes.Hardware, err error) {
 770  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithHelm", nil, &r.Options, &resp)
 771  	return
 772  }
 773  
 774  // Retrieve All hardware associated with an account that has McAfee Secure software components.
 775  func (r Account) GetHardwareWithMcafee() (resp []datatypes.Hardware, err error) {
 776  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithMcafee", nil, &r.Options, &resp)
 777  	return
 778  }
 779  
 780  // Retrieve All hardware associated with an account that has McAfee Secure AntiVirus for Redhat software components.
 781  func (r Account) GetHardwareWithMcafeeAntivirusRedhat() (resp []datatypes.Hardware, err error) {
 782  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithMcafeeAntivirusRedhat", nil, &r.Options, &resp)
 783  	return
 784  }
 785  
 786  // Retrieve All hardware associated with an account that has McAfee Secure AntiVirus for Windows software components.
 787  func (r Account) GetHardwareWithMcafeeAntivirusWindows() (resp []datatypes.Hardware, err error) {
 788  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithMcafeeAntivirusWindows", nil, &r.Options, &resp)
 789  	return
 790  }
 791  
 792  // Retrieve All hardware associated with an account that has McAfee Secure Intrusion Detection System software components.
 793  func (r Account) GetHardwareWithMcafeeIntrusionDetectionSystem() (resp []datatypes.Hardware, err error) {
 794  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithMcafeeIntrusionDetectionSystem", nil, &r.Options, &resp)
 795  	return
 796  }
 797  
 798  // Retrieve All hardware associated with an account that has the Plesk web hosting control panel installed.
 799  func (r Account) GetHardwareWithPlesk() (resp []datatypes.Hardware, err error) {
 800  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithPlesk", nil, &r.Options, &resp)
 801  	return
 802  }
 803  
 804  // Retrieve All hardware associated with an account that has the QuantaStor storage system installed.
 805  func (r Account) GetHardwareWithQuantastor() (resp []datatypes.Hardware, err error) {
 806  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithQuantastor", nil, &r.Options, &resp)
 807  	return
 808  }
 809  
 810  // Retrieve All hardware associated with an account that has the Urchin web traffic analytics package installed.
 811  func (r Account) GetHardwareWithUrchin() (resp []datatypes.Hardware, err error) {
 812  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithUrchin", nil, &r.Options, &resp)
 813  	return
 814  }
 815  
 816  // Retrieve All hardware associated with an account that is running a version of the Microsoft Windows operating system.
 817  func (r Account) GetHardwareWithWindows() (resp []datatypes.Hardware, err error) {
 818  	err = r.Session.DoRequest("SoftLayer_Account", "getHardwareWithWindows", nil, &r.Options, &resp)
 819  	return
 820  }
 821  
 822  // Retrieve Return 1 if one of the account's hardware has the EVault Bare Metal Server Restore Plugin otherwise 0.
 823  func (r Account) GetHasEvaultBareMetalRestorePluginFlag() (resp bool, err error) {
 824  	err = r.Session.DoRequest("SoftLayer_Account", "getHasEvaultBareMetalRestorePluginFlag", nil, &r.Options, &resp)
 825  	return
 826  }
 827  
 828  // Retrieve Return 1 if one of the account's hardware has an installation of Idera Server Backup otherwise 0.
 829  func (r Account) GetHasIderaBareMetalRestorePluginFlag() (resp bool, err error) {
 830  	err = r.Session.DoRequest("SoftLayer_Account", "getHasIderaBareMetalRestorePluginFlag", nil, &r.Options, &resp)
 831  	return
 832  }
 833  
 834  // Retrieve The number of orders in a PENDING status for a SoftLayer customer account.
 835  func (r Account) GetHasPendingOrder() (resp uint, err error) {
 836  	err = r.Session.DoRequest("SoftLayer_Account", "getHasPendingOrder", nil, &r.Options, &resp)
 837  	return
 838  }
 839  
 840  // Retrieve Return 1 if one of the account's hardware has an installation of R1Soft CDP otherwise 0.
 841  func (r Account) GetHasR1softBareMetalRestorePluginFlag() (resp bool, err error) {
 842  	err = r.Session.DoRequest("SoftLayer_Account", "getHasR1softBareMetalRestorePluginFlag", nil, &r.Options, &resp)
 843  	return
 844  }
 845  
 846  // Retrieve An account's associated hourly bare metal server objects.
 847  func (r Account) GetHourlyBareMetalInstances() (resp []datatypes.Hardware, err error) {
 848  	err = r.Session.DoRequest("SoftLayer_Account", "getHourlyBareMetalInstances", nil, &r.Options, &resp)
 849  	return
 850  }
 851  
 852  // Retrieve Hourly service billing items that will be on an account's next invoice.
 853  func (r Account) GetHourlyServiceBillingItems() (resp []datatypes.Billing_Item, err error) {
 854  	err = r.Session.DoRequest("SoftLayer_Account", "getHourlyServiceBillingItems", nil, &r.Options, &resp)
 855  	return
 856  }
 857  
 858  // Retrieve An account's associated hourly virtual guest objects.
 859  func (r Account) GetHourlyVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
 860  	err = r.Session.DoRequest("SoftLayer_Account", "getHourlyVirtualGuests", nil, &r.Options, &resp)
 861  	return
 862  }
 863  
 864  // Retrieve An account's associated Virtual Storage volumes.
 865  func (r Account) GetHubNetworkStorage() (resp []datatypes.Network_Storage, err error) {
 866  	err = r.Session.DoRequest("SoftLayer_Account", "getHubNetworkStorage", nil, &r.Options, &resp)
 867  	return
 868  }
 869  
 870  // Retrieve Unique identifier for a customer used throughout IBM.
 871  func (r Account) GetIbmCustomerNumber() (resp string, err error) {
 872  	err = r.Session.DoRequest("SoftLayer_Account", "getIbmCustomerNumber", nil, &r.Options, &resp)
 873  	return
 874  }
 875  
 876  // Retrieve Indicates whether this account requires IBMid authentication.
 877  func (r Account) GetIbmIdAuthenticationRequiredFlag() (resp bool, err error) {
 878  	err = r.Session.DoRequest("SoftLayer_Account", "getIbmIdAuthenticationRequiredFlag", nil, &r.Options, &resp)
 879  	return
 880  }
 881  
 882  // Retrieve This key is deprecated and should not be used.
 883  func (r Account) GetIbmIdMigrationExpirationTimestamp() (resp string, err error) {
 884  	err = r.Session.DoRequest("SoftLayer_Account", "getIbmIdMigrationExpirationTimestamp", nil, &r.Options, &resp)
 885  	return
 886  }
 887  
 888  // Retrieve An in progress request to switch billing systems.
 889  func (r Account) GetInProgressExternalAccountSetup() (resp datatypes.Account_External_Setup, err error) {
 890  	err = r.Session.DoRequest("SoftLayer_Account", "getInProgressExternalAccountSetup", nil, &r.Options, &resp)
 891  	return
 892  }
 893  
 894  // Retrieve Account attribute flag indicating internal cci host account.
 895  func (r Account) GetInternalCciHostAccountFlag() (resp bool, err error) {
 896  	err = r.Session.DoRequest("SoftLayer_Account", "getInternalCciHostAccountFlag", nil, &r.Options, &resp)
 897  	return
 898  }
 899  
 900  // Retrieve Account attribute flag indicating account creates internal image templates.
 901  func (r Account) GetInternalImageTemplateCreationFlag() (resp bool, err error) {
 902  	err = r.Session.DoRequest("SoftLayer_Account", "getInternalImageTemplateCreationFlag", nil, &r.Options, &resp)
 903  	return
 904  }
 905  
 906  // Retrieve
 907  func (r Account) GetInternalNotes() (resp []datatypes.Account_Note, err error) {
 908  	err = r.Session.DoRequest("SoftLayer_Account", "getInternalNotes", nil, &r.Options, &resp)
 909  	return
 910  }
 911  
 912  // Retrieve Account attribute flag indicating restricted account.
 913  func (r Account) GetInternalRestrictionFlag() (resp bool, err error) {
 914  	err = r.Session.DoRequest("SoftLayer_Account", "getInternalRestrictionFlag", nil, &r.Options, &resp)
 915  	return
 916  }
 917  
 918  // Retrieve An account's associated billing invoices.
 919  func (r Account) GetInvoices() (resp []datatypes.Billing_Invoice, err error) {
 920  	err = r.Session.DoRequest("SoftLayer_Account", "getInvoices", nil, &r.Options, &resp)
 921  	return
 922  }
 923  
 924  // Retrieve
 925  func (r Account) GetIpAddresses() (resp []datatypes.Network_Subnet_IpAddress, err error) {
 926  	err = r.Session.DoRequest("SoftLayer_Account", "getIpAddresses", nil, &r.Options, &resp)
 927  	return
 928  }
 929  
 930  // Retrieve
 931  func (r Account) GetIscsiIsolationDisabled() (resp bool, err error) {
 932  	err = r.Session.DoRequest("SoftLayer_Account", "getIscsiIsolationDisabled", nil, &r.Options, &resp)
 933  	return
 934  }
 935  
 936  // Retrieve An account's associated iSCSI storage volumes.
 937  func (r Account) GetIscsiNetworkStorage() (resp []datatypes.Network_Storage, err error) {
 938  	err = r.Session.DoRequest("SoftLayer_Account", "getIscsiNetworkStorage", nil, &r.Options, &resp)
 939  	return
 940  }
 941  
 942  // Retrieve The most recently canceled billing item.
 943  func (r Account) GetLastCanceledBillingItem() (resp datatypes.Billing_Item, err error) {
 944  	err = r.Session.DoRequest("SoftLayer_Account", "getLastCanceledBillingItem", nil, &r.Options, &resp)
 945  	return
 946  }
 947  
 948  // Retrieve The most recent cancelled server billing item.
 949  func (r Account) GetLastCancelledServerBillingItem() (resp datatypes.Billing_Item, err error) {
 950  	err = r.Session.DoRequest("SoftLayer_Account", "getLastCancelledServerBillingItem", nil, &r.Options, &resp)
 951  	return
 952  }
 953  
 954  // Retrieve The five most recently closed abuse tickets associated with an account.
 955  func (r Account) GetLastFiveClosedAbuseTickets() (resp []datatypes.Ticket, err error) {
 956  	err = r.Session.DoRequest("SoftLayer_Account", "getLastFiveClosedAbuseTickets", nil, &r.Options, &resp)
 957  	return
 958  }
 959  
 960  // Retrieve The five most recently closed accounting tickets associated with an account.
 961  func (r Account) GetLastFiveClosedAccountingTickets() (resp []datatypes.Ticket, err error) {
 962  	err = r.Session.DoRequest("SoftLayer_Account", "getLastFiveClosedAccountingTickets", nil, &r.Options, &resp)
 963  	return
 964  }
 965  
 966  // Retrieve The five most recently closed tickets that do not belong to the abuse, accounting, sales, or support groups associated with an account.
 967  func (r Account) GetLastFiveClosedOtherTickets() (resp []datatypes.Ticket, err error) {
 968  	err = r.Session.DoRequest("SoftLayer_Account", "getLastFiveClosedOtherTickets", nil, &r.Options, &resp)
 969  	return
 970  }
 971  
 972  // Retrieve The five most recently closed sales tickets associated with an account.
 973  func (r Account) GetLastFiveClosedSalesTickets() (resp []datatypes.Ticket, err error) {
 974  	err = r.Session.DoRequest("SoftLayer_Account", "getLastFiveClosedSalesTickets", nil, &r.Options, &resp)
 975  	return
 976  }
 977  
 978  // Retrieve The five most recently closed support tickets associated with an account.
 979  func (r Account) GetLastFiveClosedSupportTickets() (resp []datatypes.Ticket, err error) {
 980  	err = r.Session.DoRequest("SoftLayer_Account", "getLastFiveClosedSupportTickets", nil, &r.Options, &resp)
 981  	return
 982  }
 983  
 984  // Retrieve The five most recently closed tickets associated with an account.
 985  func (r Account) GetLastFiveClosedTickets() (resp []datatypes.Ticket, err error) {
 986  	err = r.Session.DoRequest("SoftLayer_Account", "getLastFiveClosedTickets", nil, &r.Options, &resp)
 987  	return
 988  }
 989  
 990  // Retrieve An account's most recent billing date.
 991  func (r Account) GetLatestBillDate() (resp datatypes.Time, err error) {
 992  	err = r.Session.DoRequest("SoftLayer_Account", "getLatestBillDate", nil, &r.Options, &resp)
 993  	return
 994  }
 995  
 996  // Retrieve An account's latest recurring invoice.
 997  func (r Account) GetLatestRecurringInvoice() (resp datatypes.Billing_Invoice, err error) {
 998  	err = r.Session.DoRequest("SoftLayer_Account", "getLatestRecurringInvoice", nil, &r.Options, &resp)
 999  	return
1000  }
1001  
1002  // Retrieve An account's latest recurring pending invoice.
1003  func (r Account) GetLatestRecurringPendingInvoice() (resp datatypes.Billing_Invoice, err error) {
1004  	err = r.Session.DoRequest("SoftLayer_Account", "getLatestRecurringPendingInvoice", nil, &r.Options, &resp)
1005  	return
1006  }
1007  
1008  // Retrieve The total capacity of Legacy iSCSI Volumes on an account, in GB.
1009  func (r Account) GetLegacyIscsiCapacityGB() (resp uint, err error) {
1010  	err = r.Session.DoRequest("SoftLayer_Account", "getLegacyIscsiCapacityGB", nil, &r.Options, &resp)
1011  	return
1012  }
1013  
1014  // Retrieve An account's associated load balancers.
1015  func (r Account) GetLoadBalancers() (resp []datatypes.Network_LoadBalancer_VirtualIpAddress, err error) {
1016  	err = r.Session.DoRequest("SoftLayer_Account", "getLoadBalancers", nil, &r.Options, &resp)
1017  	return
1018  }
1019  
1020  // Retrieve The total capacity of Legacy lockbox Volumes on an account, in GB.
1021  func (r Account) GetLockboxCapacityGB() (resp uint, err error) {
1022  	err = r.Session.DoRequest("SoftLayer_Account", "getLockboxCapacityGB", nil, &r.Options, &resp)
1023  	return
1024  }
1025  
1026  // Retrieve An account's associated Lockbox storage volumes.
1027  func (r Account) GetLockboxNetworkStorage() (resp []datatypes.Network_Storage, err error) {
1028  	err = r.Session.DoRequest("SoftLayer_Account", "getLockboxNetworkStorage", nil, &r.Options, &resp)
1029  	return
1030  }
1031  
1032  // Retrieve
1033  func (r Account) GetManualPaymentsUnderReview() (resp []datatypes.Billing_Payment_Card_ManualPayment, err error) {
1034  	err = r.Session.DoRequest("SoftLayer_Account", "getManualPaymentsUnderReview", nil, &r.Options, &resp)
1035  	return
1036  }
1037  
1038  // Retrieve An account's master user.
1039  func (r Account) GetMasterUser() (resp datatypes.User_Customer, err error) {
1040  	err = r.Session.DoRequest("SoftLayer_Account", "getMasterUser", nil, &r.Options, &resp)
1041  	return
1042  }
1043  
1044  // Retrieve An account's media transfer service requests.
1045  func (r Account) GetMediaDataTransferRequests() (resp []datatypes.Account_Media_Data_Transfer_Request, err error) {
1046  	err = r.Session.DoRequest("SoftLayer_Account", "getMediaDataTransferRequests", nil, &r.Options, &resp)
1047  	return
1048  }
1049  
1050  // Retrieve Flag indicating whether this account is restricted to the IBM Cloud portal.
1051  func (r Account) GetMigratedToIbmCloudPortalFlag() (resp bool, err error) {
1052  	err = r.Session.DoRequest("SoftLayer_Account", "getMigratedToIbmCloudPortalFlag", nil, &r.Options, &resp)
1053  	return
1054  }
1055  
1056  // Retrieve An account's associated monthly bare metal server objects.
1057  func (r Account) GetMonthlyBareMetalInstances() (resp []datatypes.Hardware, err error) {
1058  	err = r.Session.DoRequest("SoftLayer_Account", "getMonthlyBareMetalInstances", nil, &r.Options, &resp)
1059  	return
1060  }
1061  
1062  // Retrieve An account's associated monthly virtual guest objects.
1063  func (r Account) GetMonthlyVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1064  	err = r.Session.DoRequest("SoftLayer_Account", "getMonthlyVirtualGuests", nil, &r.Options, &resp)
1065  	return
1066  }
1067  
1068  // Retrieve An account's associated NAS storage volumes.
1069  func (r Account) GetNasNetworkStorage() (resp []datatypes.Network_Storage, err error) {
1070  	err = r.Session.DoRequest("SoftLayer_Account", "getNasNetworkStorage", nil, &r.Options, &resp)
1071  	return
1072  }
1073  
1074  // This returns a collection of active NetApp software account license keys.
1075  func (r Account) GetNetAppActiveAccountLicenseKeys() (resp []string, err error) {
1076  	err = r.Session.DoRequest("SoftLayer_Account", "getNetAppActiveAccountLicenseKeys", nil, &r.Options, &resp)
1077  	return
1078  }
1079  
1080  // Retrieve [Deprecated] Whether or not this account can define their own networks.
1081  func (r Account) GetNetworkCreationFlag() (resp bool, err error) {
1082  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkCreationFlag", nil, &r.Options, &resp)
1083  	return
1084  }
1085  
1086  // Retrieve All network gateway devices on this account.
1087  func (r Account) GetNetworkGateways() (resp []datatypes.Network_Gateway, err error) {
1088  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkGateways", nil, &r.Options, &resp)
1089  	return
1090  }
1091  
1092  // Retrieve An account's associated network hardware.
1093  func (r Account) GetNetworkHardware() (resp []datatypes.Hardware, err error) {
1094  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkHardware", nil, &r.Options, &resp)
1095  	return
1096  }
1097  
1098  // Retrieve
1099  func (r Account) GetNetworkMessageDeliveryAccounts() (resp []datatypes.Network_Message_Delivery, err error) {
1100  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMessageDeliveryAccounts", nil, &r.Options, &resp)
1101  	return
1102  }
1103  
1104  // Retrieve Hardware which is currently experiencing a service failure.
1105  func (r Account) GetNetworkMonitorDownHardware() (resp []datatypes.Hardware, err error) {
1106  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMonitorDownHardware", nil, &r.Options, &resp)
1107  	return
1108  }
1109  
1110  // Retrieve Virtual guest which is currently experiencing a service failure.
1111  func (r Account) GetNetworkMonitorDownVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1112  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMonitorDownVirtualGuests", nil, &r.Options, &resp)
1113  	return
1114  }
1115  
1116  // Retrieve Hardware which is currently recovering from a service failure.
1117  func (r Account) GetNetworkMonitorRecoveringHardware() (resp []datatypes.Hardware, err error) {
1118  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMonitorRecoveringHardware", nil, &r.Options, &resp)
1119  	return
1120  }
1121  
1122  // Retrieve Virtual guest which is currently recovering from a service failure.
1123  func (r Account) GetNetworkMonitorRecoveringVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1124  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMonitorRecoveringVirtualGuests", nil, &r.Options, &resp)
1125  	return
1126  }
1127  
1128  // Retrieve Hardware which is currently online.
1129  func (r Account) GetNetworkMonitorUpHardware() (resp []datatypes.Hardware, err error) {
1130  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMonitorUpHardware", nil, &r.Options, &resp)
1131  	return
1132  }
1133  
1134  // Retrieve Virtual guest which is currently online.
1135  func (r Account) GetNetworkMonitorUpVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1136  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkMonitorUpVirtualGuests", nil, &r.Options, &resp)
1137  	return
1138  }
1139  
1140  // Retrieve An account's associated storage volumes. This includes Lockbox, NAS, EVault, and iSCSI volumes.
1141  func (r Account) GetNetworkStorage() (resp []datatypes.Network_Storage, err error) {
1142  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkStorage", nil, &r.Options, &resp)
1143  	return
1144  }
1145  
1146  // Retrieve An account's Network Storage groups.
1147  func (r Account) GetNetworkStorageGroups() (resp []datatypes.Network_Storage_Group, err error) {
1148  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkStorageGroups", nil, &r.Options, &resp)
1149  	return
1150  }
1151  
1152  // Retrieve IPSec network tunnels for an account.
1153  func (r Account) GetNetworkTunnelContexts() (resp []datatypes.Network_Tunnel_Module_Context, err error) {
1154  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkTunnelContexts", nil, &r.Options, &resp)
1155  	return
1156  }
1157  
1158  // Retrieve Whether or not an account has automatic private VLAN spanning enabled.
1159  func (r Account) GetNetworkVlanSpan() (resp datatypes.Account_Network_Vlan_Span, err error) {
1160  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkVlanSpan", nil, &r.Options, &resp)
1161  	return
1162  }
1163  
1164  // Retrieve All network VLANs assigned to an account.
1165  func (r Account) GetNetworkVlans() (resp []datatypes.Network_Vlan, err error) {
1166  	err = r.Session.DoRequest("SoftLayer_Account", "getNetworkVlans", nil, &r.Options, &resp)
1167  	return
1168  }
1169  
1170  // Return an account's next invoice in a Microsoft excel format. The "next invoice" is what a customer will be billed on their next invoice, assuming no changes are made. Currently this does not include Bandwidth Pooling charges.
1171  func (r Account) GetNextInvoiceExcel(documentCreateDate *datatypes.Time) (resp []byte, err error) {
1172  	params := []interface{}{
1173  		documentCreateDate,
1174  	}
1175  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceExcel", params, &r.Options, &resp)
1176  	return
1177  }
1178  
1179  // Retrieve The pre-tax total amount exempt from incubator credit for the account's next invoice. This field is now deprecated and will soon be removed. Please update all references to instead use nextInvoiceTotalAmount
1180  func (r Account) GetNextInvoiceIncubatorExemptTotal() (resp datatypes.Float64, err error) {
1181  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceIncubatorExemptTotal", nil, &r.Options, &resp)
1182  	return
1183  }
1184  
1185  // Return an account's next invoice in PDF format. The "next invoice" is what a customer will be billed on their next invoice, assuming no changes are made. Currently this does not include Bandwidth Pooling charges.
1186  func (r Account) GetNextInvoicePdf(documentCreateDate *datatypes.Time) (resp []byte, err error) {
1187  	params := []interface{}{
1188  		documentCreateDate,
1189  	}
1190  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoicePdf", params, &r.Options, &resp)
1191  	return
1192  }
1193  
1194  // Return an account's next invoice detailed portion in PDF format. The "next invoice" is what a customer will be billed on their next invoice, assuming no changes are made. Currently this does not include Bandwidth Pooling charges.
1195  func (r Account) GetNextInvoicePdfDetailed(documentCreateDate *datatypes.Time) (resp []byte, err error) {
1196  	params := []interface{}{
1197  		documentCreateDate,
1198  	}
1199  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoicePdfDetailed", params, &r.Options, &resp)
1200  	return
1201  }
1202  
1203  // Retrieve The pre-tax platform services total amount of an account's next invoice.
1204  func (r Account) GetNextInvoicePlatformServicesTotalAmount() (resp datatypes.Float64, err error) {
1205  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoicePlatformServicesTotalAmount", nil, &r.Options, &resp)
1206  	return
1207  }
1208  
1209  // Retrieve The total recurring charge amount of an account's next invoice eligible for account discount measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1210  func (r Account) GetNextInvoiceRecurringAmountEligibleForAccountDiscount() (resp datatypes.Float64, err error) {
1211  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceRecurringAmountEligibleForAccountDiscount", nil, &r.Options, &resp)
1212  	return
1213  }
1214  
1215  // Retrieve The billing items that will be on an account's next invoice.
1216  func (r Account) GetNextInvoiceTopLevelBillingItems() (resp []datatypes.Billing_Item, err error) {
1217  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTopLevelBillingItems", nil, &r.Options, &resp)
1218  	return
1219  }
1220  
1221  // Retrieve The pre-tax total amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1222  func (r Account) GetNextInvoiceTotalAmount() (resp datatypes.Float64, err error) {
1223  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalAmount", nil, &r.Options, &resp)
1224  	return
1225  }
1226  
1227  // Retrieve The total one-time charge amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1228  func (r Account) GetNextInvoiceTotalOneTimeAmount() (resp datatypes.Float64, err error) {
1229  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalOneTimeAmount", nil, &r.Options, &resp)
1230  	return
1231  }
1232  
1233  // Retrieve The total one-time tax amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1234  func (r Account) GetNextInvoiceTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
1235  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalOneTimeTaxAmount", nil, &r.Options, &resp)
1236  	return
1237  }
1238  
1239  // Retrieve The total recurring charge amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1240  func (r Account) GetNextInvoiceTotalRecurringAmount() (resp datatypes.Float64, err error) {
1241  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalRecurringAmount", nil, &r.Options, &resp)
1242  	return
1243  }
1244  
1245  // Retrieve The total recurring charge amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1246  func (r Account) GetNextInvoiceTotalRecurringAmountBeforeAccountDiscount() (resp datatypes.Float64, err error) {
1247  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalRecurringAmountBeforeAccountDiscount", nil, &r.Options, &resp)
1248  	return
1249  }
1250  
1251  // Retrieve The total recurring tax amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1252  func (r Account) GetNextInvoiceTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
1253  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalRecurringTaxAmount", nil, &r.Options, &resp)
1254  	return
1255  }
1256  
1257  // Retrieve The total recurring charge amount of an account's next invoice measured in US Dollars ($USD), assuming no changes or charges occur between now and time of billing.
1258  func (r Account) GetNextInvoiceTotalTaxableRecurringAmount() (resp datatypes.Float64, err error) {
1259  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceTotalTaxableRecurringAmount", nil, &r.Options, &resp)
1260  	return
1261  }
1262  
1263  // no documentation yet
1264  func (r Account) GetNextInvoiceZeroFeeItemCounts() (resp []datatypes.Container_Product_Item_Category_ZeroFee_Count, err error) {
1265  	err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoiceZeroFeeItemCounts", nil, &r.Options, &resp)
1266  	return
1267  }
1268  
1269  // Retrieve
1270  func (r Account) GetNotificationSubscribers() (resp []datatypes.Notification_Subscriber, err error) {
1271  	err = r.Session.DoRequest("SoftLayer_Account", "getNotificationSubscribers", nil, &r.Options, &resp)
1272  	return
1273  }
1274  
1275  // getObject retrieves the SoftLayer_Account object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Account service. You can only retrieve the account that your portal user is assigned to.
1276  func (r Account) GetObject() (resp datatypes.Account, err error) {
1277  	err = r.Session.DoRequest("SoftLayer_Account", "getObject", nil, &r.Options, &resp)
1278  	return
1279  }
1280  
1281  // Retrieve The open abuse tickets associated with an account.
1282  func (r Account) GetOpenAbuseTickets() (resp []datatypes.Ticket, err error) {
1283  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenAbuseTickets", nil, &r.Options, &resp)
1284  	return
1285  }
1286  
1287  // Retrieve The open accounting tickets associated with an account.
1288  func (r Account) GetOpenAccountingTickets() (resp []datatypes.Ticket, err error) {
1289  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenAccountingTickets", nil, &r.Options, &resp)
1290  	return
1291  }
1292  
1293  // Retrieve The open billing tickets associated with an account.
1294  func (r Account) GetOpenBillingTickets() (resp []datatypes.Ticket, err error) {
1295  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenBillingTickets", nil, &r.Options, &resp)
1296  	return
1297  }
1298  
1299  // Retrieve An open ticket requesting cancellation of this server, if one exists.
1300  func (r Account) GetOpenCancellationRequests() (resp []datatypes.Billing_Item_Cancellation_Request, err error) {
1301  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenCancellationRequests", nil, &r.Options, &resp)
1302  	return
1303  }
1304  
1305  // Retrieve The open tickets that do not belong to the abuse, accounting, sales, or support groups associated with an account.
1306  func (r Account) GetOpenOtherTickets() (resp []datatypes.Ticket, err error) {
1307  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenOtherTickets", nil, &r.Options, &resp)
1308  	return
1309  }
1310  
1311  // Retrieve An account's recurring invoices.
1312  func (r Account) GetOpenRecurringInvoices() (resp []datatypes.Billing_Invoice, err error) {
1313  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenRecurringInvoices", nil, &r.Options, &resp)
1314  	return
1315  }
1316  
1317  // Retrieve The open sales tickets associated with an account.
1318  func (r Account) GetOpenSalesTickets() (resp []datatypes.Ticket, err error) {
1319  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenSalesTickets", nil, &r.Options, &resp)
1320  	return
1321  }
1322  
1323  // Retrieve An account's associated Openstack related Object Storage accounts.
1324  func (r Account) GetOpenStackObjectStorage() (resp []datatypes.Network_Storage, err error) {
1325  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenStackObjectStorage", nil, &r.Options, &resp)
1326  	return
1327  }
1328  
1329  // Retrieve The open support tickets associated with an account.
1330  func (r Account) GetOpenSupportTickets() (resp []datatypes.Ticket, err error) {
1331  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenSupportTickets", nil, &r.Options, &resp)
1332  	return
1333  }
1334  
1335  // Retrieve All open tickets associated with an account.
1336  func (r Account) GetOpenTickets() (resp []datatypes.Ticket, err error) {
1337  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenTickets", nil, &r.Options, &resp)
1338  	return
1339  }
1340  
1341  // Retrieve All open tickets associated with an account last edited by an employee.
1342  func (r Account) GetOpenTicketsWaitingOnCustomer() (resp []datatypes.Ticket, err error) {
1343  	err = r.Session.DoRequest("SoftLayer_Account", "getOpenTicketsWaitingOnCustomer", nil, &r.Options, &resp)
1344  	return
1345  }
1346  
1347  // Retrieve An account's associated billing orders excluding upgrades.
1348  func (r Account) GetOrders() (resp []datatypes.Billing_Order, err error) {
1349  	err = r.Session.DoRequest("SoftLayer_Account", "getOrders", nil, &r.Options, &resp)
1350  	return
1351  }
1352  
1353  // Retrieve The billing items that have no parent billing item. These are items that don't necessarily belong to a single server.
1354  func (r Account) GetOrphanBillingItems() (resp []datatypes.Billing_Item, err error) {
1355  	err = r.Session.DoRequest("SoftLayer_Account", "getOrphanBillingItems", nil, &r.Options, &resp)
1356  	return
1357  }
1358  
1359  // Retrieve
1360  func (r Account) GetOwnedBrands() (resp []datatypes.Brand, err error) {
1361  	err = r.Session.DoRequest("SoftLayer_Account", "getOwnedBrands", nil, &r.Options, &resp)
1362  	return
1363  }
1364  
1365  // Retrieve
1366  func (r Account) GetOwnedHardwareGenericComponentModels() (resp []datatypes.Hardware_Component_Model_Generic, err error) {
1367  	err = r.Session.DoRequest("SoftLayer_Account", "getOwnedHardwareGenericComponentModels", nil, &r.Options, &resp)
1368  	return
1369  }
1370  
1371  // Retrieve
1372  func (r Account) GetPaymentProcessors() (resp []datatypes.Billing_Payment_Processor, err error) {
1373  	err = r.Session.DoRequest("SoftLayer_Account", "getPaymentProcessors", nil, &r.Options, &resp)
1374  	return
1375  }
1376  
1377  // Before being approved for general use, a credit card must be approved by a SoftLayer agent. Once a credit card change request has been either approved or denied, the change request will no longer appear in the list of pending change requests. This method will return a list of all pending change requests as well as a portion of the data from the original request.
1378  func (r Account) GetPendingCreditCardChangeRequestData() (resp []datatypes.Container_Account_Payment_Method_CreditCard, err error) {
1379  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingCreditCardChangeRequestData", nil, &r.Options, &resp)
1380  	return
1381  }
1382  
1383  // Retrieve
1384  func (r Account) GetPendingEvents() (resp []datatypes.Notification_Occurrence_Event, err error) {
1385  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingEvents", nil, &r.Options, &resp)
1386  	return
1387  }
1388  
1389  // Retrieve An account's latest open (pending) invoice.
1390  func (r Account) GetPendingInvoice() (resp datatypes.Billing_Invoice, err error) {
1391  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoice", nil, &r.Options, &resp)
1392  	return
1393  }
1394  
1395  // Retrieve A list of top-level invoice items that are on an account's currently pending invoice.
1396  func (r Account) GetPendingInvoiceTopLevelItems() (resp []datatypes.Billing_Invoice_Item, err error) {
1397  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTopLevelItems", nil, &r.Options, &resp)
1398  	return
1399  }
1400  
1401  // Retrieve The total amount of an account's pending invoice, if one exists.
1402  func (r Account) GetPendingInvoiceTotalAmount() (resp datatypes.Float64, err error) {
1403  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalAmount", nil, &r.Options, &resp)
1404  	return
1405  }
1406  
1407  // Retrieve The total one-time charges for an account's pending invoice, if one exists. In other words, it is the sum of one-time charges, setup fees, and labor fees. It does not include taxes.
1408  func (r Account) GetPendingInvoiceTotalOneTimeAmount() (resp datatypes.Float64, err error) {
1409  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalOneTimeAmount", nil, &r.Options, &resp)
1410  	return
1411  }
1412  
1413  // Retrieve The sum of all the taxes related to one time charges for an account's pending invoice, if one exists.
1414  func (r Account) GetPendingInvoiceTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
1415  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalOneTimeTaxAmount", nil, &r.Options, &resp)
1416  	return
1417  }
1418  
1419  // Retrieve The total recurring amount of an account's pending invoice, if one exists.
1420  func (r Account) GetPendingInvoiceTotalRecurringAmount() (resp datatypes.Float64, err error) {
1421  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalRecurringAmount", nil, &r.Options, &resp)
1422  	return
1423  }
1424  
1425  // Retrieve The total amount of the recurring taxes on an account's pending invoice, if one exists.
1426  func (r Account) GetPendingInvoiceTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
1427  	err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalRecurringTaxAmount", nil, &r.Options, &resp)
1428  	return
1429  }
1430  
1431  // Retrieve An account's permission groups.
1432  func (r Account) GetPermissionGroups() (resp []datatypes.User_Permission_Group, err error) {
1433  	err = r.Session.DoRequest("SoftLayer_Account", "getPermissionGroups", nil, &r.Options, &resp)
1434  	return
1435  }
1436  
1437  // Retrieve An account's user roles.
1438  func (r Account) GetPermissionRoles() (resp []datatypes.User_Permission_Role, err error) {
1439  	err = r.Session.DoRequest("SoftLayer_Account", "getPermissionRoles", nil, &r.Options, &resp)
1440  	return
1441  }
1442  
1443  // Retrieve An account's associated virtual placement groups.
1444  func (r Account) GetPlacementGroups() (resp []datatypes.Virtual_PlacementGroup, err error) {
1445  	err = r.Session.DoRequest("SoftLayer_Account", "getPlacementGroups", nil, &r.Options, &resp)
1446  	return
1447  }
1448  
1449  // Retrieve
1450  func (r Account) GetPortableStorageVolumes() (resp []datatypes.Virtual_Disk_Image, err error) {
1451  	err = r.Session.DoRequest("SoftLayer_Account", "getPortableStorageVolumes", nil, &r.Options, &resp)
1452  	return
1453  }
1454  
1455  // Retrieve Customer specified URIs that are downloaded onto a newly provisioned or reloaded server. If the URI is sent over https it will be executed directly on the server.
1456  func (r Account) GetPostProvisioningHooks() (resp []datatypes.Provisioning_Hook, err error) {
1457  	err = r.Session.DoRequest("SoftLayer_Account", "getPostProvisioningHooks", nil, &r.Options, &resp)
1458  	return
1459  }
1460  
1461  // Retrieve (Deprecated) Boolean flag dictating whether or not this account supports PPTP VPN Access.
1462  func (r Account) GetPptpVpnAllowedFlag() (resp bool, err error) {
1463  	err = r.Session.DoRequest("SoftLayer_Account", "getPptpVpnAllowedFlag", nil, &r.Options, &resp)
1464  	return
1465  }
1466  
1467  // Retrieve An account's associated portal users with PPTP VPN access. (Deprecated)
1468  func (r Account) GetPptpVpnUsers() (resp []datatypes.User_Customer, err error) {
1469  	err = r.Session.DoRequest("SoftLayer_Account", "getPptpVpnUsers", nil, &r.Options, &resp)
1470  	return
1471  }
1472  
1473  // Retrieve An account's invoices in the PRE_OPEN status.
1474  func (r Account) GetPreOpenRecurringInvoices() (resp []datatypes.Billing_Invoice, err error) {
1475  	err = r.Session.DoRequest("SoftLayer_Account", "getPreOpenRecurringInvoices", nil, &r.Options, &resp)
1476  	return
1477  }
1478  
1479  // Retrieve The total recurring amount for an accounts previous revenue.
1480  func (r Account) GetPreviousRecurringRevenue() (resp datatypes.Float64, err error) {
1481  	err = r.Session.DoRequest("SoftLayer_Account", "getPreviousRecurringRevenue", nil, &r.Options, &resp)
1482  	return
1483  }
1484  
1485  // Retrieve The item price that an account is restricted to.
1486  func (r Account) GetPriceRestrictions() (resp []datatypes.Product_Item_Price_Account_Restriction, err error) {
1487  	err = r.Session.DoRequest("SoftLayer_Account", "getPriceRestrictions", nil, &r.Options, &resp)
1488  	return
1489  }
1490  
1491  // Retrieve All priority one tickets associated with an account.
1492  func (r Account) GetPriorityOneTickets() (resp []datatypes.Ticket, err error) {
1493  	err = r.Session.DoRequest("SoftLayer_Account", "getPriorityOneTickets", nil, &r.Options, &resp)
1494  	return
1495  }
1496  
1497  // Retrieve Private and shared template group objects (parent only) for an account.
1498  func (r Account) GetPrivateBlockDeviceTemplateGroups() (resp []datatypes.Virtual_Guest_Block_Device_Template_Group, err error) {
1499  	err = r.Session.DoRequest("SoftLayer_Account", "getPrivateBlockDeviceTemplateGroups", nil, &r.Options, &resp)
1500  	return
1501  }
1502  
1503  // Retrieve
1504  func (r Account) GetPrivateIpAddresses() (resp []datatypes.Network_Subnet_IpAddress, err error) {
1505  	err = r.Session.DoRequest("SoftLayer_Account", "getPrivateIpAddresses", nil, &r.Options, &resp)
1506  	return
1507  }
1508  
1509  // Retrieve The private network VLANs assigned to an account.
1510  func (r Account) GetPrivateNetworkVlans() (resp []datatypes.Network_Vlan, err error) {
1511  	err = r.Session.DoRequest("SoftLayer_Account", "getPrivateNetworkVlans", nil, &r.Options, &resp)
1512  	return
1513  }
1514  
1515  // Retrieve All private subnets associated with an account.
1516  func (r Account) GetPrivateSubnets() (resp []datatypes.Network_Subnet, err error) {
1517  	err = r.Session.DoRequest("SoftLayer_Account", "getPrivateSubnets", nil, &r.Options, &resp)
1518  	return
1519  }
1520  
1521  // Retrieve Boolean flag indicating whether or not this account is a Proof of Concept account.
1522  func (r Account) GetProofOfConceptAccountFlag() (resp bool, err error) {
1523  	err = r.Session.DoRequest("SoftLayer_Account", "getProofOfConceptAccountFlag", nil, &r.Options, &resp)
1524  	return
1525  }
1526  
1527  // Retrieve
1528  func (r Account) GetPublicIpAddresses() (resp []datatypes.Network_Subnet_IpAddress, err error) {
1529  	err = r.Session.DoRequest("SoftLayer_Account", "getPublicIpAddresses", nil, &r.Options, &resp)
1530  	return
1531  }
1532  
1533  // Retrieve The public network VLANs assigned to an account.
1534  func (r Account) GetPublicNetworkVlans() (resp []datatypes.Network_Vlan, err error) {
1535  	err = r.Session.DoRequest("SoftLayer_Account", "getPublicNetworkVlans", nil, &r.Options, &resp)
1536  	return
1537  }
1538  
1539  // Retrieve All public network subnets associated with an account.
1540  func (r Account) GetPublicSubnets() (resp []datatypes.Network_Subnet, err error) {
1541  	err = r.Session.DoRequest("SoftLayer_Account", "getPublicSubnets", nil, &r.Options, &resp)
1542  	return
1543  }
1544  
1545  // Retrieve An account's quotes.
1546  func (r Account) GetQuotes() (resp []datatypes.Billing_Order_Quote, err error) {
1547  	err = r.Session.DoRequest("SoftLayer_Account", "getQuotes", nil, &r.Options, &resp)
1548  	return
1549  }
1550  
1551  // Retrieve
1552  func (r Account) GetRecentEvents() (resp []datatypes.Notification_Occurrence_Event, err error) {
1553  	err = r.Session.DoRequest("SoftLayer_Account", "getRecentEvents", nil, &r.Options, &resp)
1554  	return
1555  }
1556  
1557  // Retrieve The Referral Partner for this account, if any.
1558  func (r Account) GetReferralPartner() (resp datatypes.Account, err error) {
1559  	err = r.Session.DoRequest("SoftLayer_Account", "getReferralPartner", nil, &r.Options, &resp)
1560  	return
1561  }
1562  
1563  // no documentation yet
1564  func (r Account) GetReferralPartnerCommissionForecast() (resp []datatypes.Container_Referral_Partner_Commission, err error) {
1565  	err = r.Session.DoRequest("SoftLayer_Account", "getReferralPartnerCommissionForecast", nil, &r.Options, &resp)
1566  	return
1567  }
1568  
1569  // no documentation yet
1570  func (r Account) GetReferralPartnerCommissionHistory() (resp []datatypes.Container_Referral_Partner_Commission, err error) {
1571  	err = r.Session.DoRequest("SoftLayer_Account", "getReferralPartnerCommissionHistory", nil, &r.Options, &resp)
1572  	return
1573  }
1574  
1575  // no documentation yet
1576  func (r Account) GetReferralPartnerCommissionPending() (resp []datatypes.Container_Referral_Partner_Commission, err error) {
1577  	err = r.Session.DoRequest("SoftLayer_Account", "getReferralPartnerCommissionPending", nil, &r.Options, &resp)
1578  	return
1579  }
1580  
1581  // Retrieve Flag indicating if the account was referred.
1582  func (r Account) GetReferredAccountFlag() (resp bool, err error) {
1583  	err = r.Session.DoRequest("SoftLayer_Account", "getReferredAccountFlag", nil, &r.Options, &resp)
1584  	return
1585  }
1586  
1587  // Retrieve If this is a account is a referral partner, the accounts this referral partner has referred
1588  func (r Account) GetReferredAccounts() (resp []datatypes.Account, err error) {
1589  	err = r.Session.DoRequest("SoftLayer_Account", "getReferredAccounts", nil, &r.Options, &resp)
1590  	return
1591  }
1592  
1593  // Retrieve
1594  func (r Account) GetRegulatedWorkloads() (resp []datatypes.Legal_RegulatedWorkload, err error) {
1595  	err = r.Session.DoRequest("SoftLayer_Account", "getRegulatedWorkloads", nil, &r.Options, &resp)
1596  	return
1597  }
1598  
1599  // Retrieve Remote management command requests for an account
1600  func (r Account) GetRemoteManagementCommandRequests() (resp []datatypes.Hardware_Component_RemoteManagement_Command_Request, err error) {
1601  	err = r.Session.DoRequest("SoftLayer_Account", "getRemoteManagementCommandRequests", nil, &r.Options, &resp)
1602  	return
1603  }
1604  
1605  // Retrieve The Replication events for all Network Storage volumes on an account.
1606  func (r Account) GetReplicationEvents() (resp []datatypes.Network_Storage_Event, err error) {
1607  	err = r.Session.DoRequest("SoftLayer_Account", "getReplicationEvents", nil, &r.Options, &resp)
1608  	return
1609  }
1610  
1611  // Retrieve Indicates whether newly created users under this account will be associated with IBMid via an email requiring a response, or not.
1612  func (r Account) GetRequireSilentIBMidUserCreation() (resp bool, err error) {
1613  	err = r.Session.DoRequest("SoftLayer_Account", "getRequireSilentIBMidUserCreation", nil, &r.Options, &resp)
1614  	return
1615  }
1616  
1617  // Retrieve All reserved capacity agreements for an account
1618  func (r Account) GetReservedCapacityAgreements() (resp []datatypes.Account_Agreement, err error) {
1619  	err = r.Session.DoRequest("SoftLayer_Account", "getReservedCapacityAgreements", nil, &r.Options, &resp)
1620  	return
1621  }
1622  
1623  // Retrieve The reserved capacity groups owned by this account.
1624  func (r Account) GetReservedCapacityGroups() (resp []datatypes.Virtual_ReservedCapacityGroup, err error) {
1625  	err = r.Session.DoRequest("SoftLayer_Account", "getReservedCapacityGroups", nil, &r.Options, &resp)
1626  	return
1627  }
1628  
1629  // Retrieve All Routers that an accounts VLANs reside on
1630  func (r Account) GetRouters() (resp []datatypes.Hardware, err error) {
1631  	err = r.Session.DoRequest("SoftLayer_Account", "getRouters", nil, &r.Options, &resp)
1632  	return
1633  }
1634  
1635  // Retrieve The SAML configuration for this account.
1636  func (r Account) GetSamlAuthentication() (resp datatypes.Account_Authentication_Saml, err error) {
1637  	err = r.Session.DoRequest("SoftLayer_Account", "getSamlAuthentication", nil, &r.Options, &resp)
1638  	return
1639  }
1640  
1641  // Retrieve The secondary DNS records for a SoftLayer customer account.
1642  func (r Account) GetSecondaryDomains() (resp []datatypes.Dns_Secondary, err error) {
1643  	err = r.Session.DoRequest("SoftLayer_Account", "getSecondaryDomains", nil, &r.Options, &resp)
1644  	return
1645  }
1646  
1647  // Retrieve Stored security certificates (ie. SSL)
1648  func (r Account) GetSecurityCertificates() (resp []datatypes.Security_Certificate, err error) {
1649  	err = r.Session.DoRequest("SoftLayer_Account", "getSecurityCertificates", nil, &r.Options, &resp)
1650  	return
1651  }
1652  
1653  // Retrieve The security groups belonging to this account.
1654  func (r Account) GetSecurityGroups() (resp []datatypes.Network_SecurityGroup, err error) {
1655  	err = r.Session.DoRequest("SoftLayer_Account", "getSecurityGroups", nil, &r.Options, &resp)
1656  	return
1657  }
1658  
1659  // Retrieve
1660  func (r Account) GetSecurityLevel() (resp datatypes.Security_Level, err error) {
1661  	err = r.Session.DoRequest("SoftLayer_Account", "getSecurityLevel", nil, &r.Options, &resp)
1662  	return
1663  }
1664  
1665  // Retrieve An account's vulnerability scan requests.
1666  func (r Account) GetSecurityScanRequests() (resp []datatypes.Network_Security_Scanner_Request, err error) {
1667  	err = r.Session.DoRequest("SoftLayer_Account", "getSecurityScanRequests", nil, &r.Options, &resp)
1668  	return
1669  }
1670  
1671  // Retrieve The service billing items that will be on an account's next invoice.
1672  func (r Account) GetServiceBillingItems() (resp []datatypes.Billing_Item, err error) {
1673  	err = r.Session.DoRequest("SoftLayer_Account", "getServiceBillingItems", nil, &r.Options, &resp)
1674  	return
1675  }
1676  
1677  // This method returns the [[SoftLayer_Virtual_Guest_Block_Device_Template_Group]] objects that have been shared with this account
1678  func (r Account) GetSharedBlockDeviceTemplateGroups() (resp []datatypes.Virtual_Guest_Block_Device_Template_Group, err error) {
1679  	err = r.Session.DoRequest("SoftLayer_Account", "getSharedBlockDeviceTemplateGroups", nil, &r.Options, &resp)
1680  	return
1681  }
1682  
1683  // Retrieve Shipments that belong to the customer's account.
1684  func (r Account) GetShipments() (resp []datatypes.Account_Shipment, err error) {
1685  	err = r.Session.DoRequest("SoftLayer_Account", "getShipments", nil, &r.Options, &resp)
1686  	return
1687  }
1688  
1689  // Retrieve Customer specified SSH keys that can be implemented onto a newly provisioned or reloaded server.
1690  func (r Account) GetSshKeys() (resp []datatypes.Security_Ssh_Key, err error) {
1691  	err = r.Session.DoRequest("SoftLayer_Account", "getSshKeys", nil, &r.Options, &resp)
1692  	return
1693  }
1694  
1695  // Retrieve An account's associated portal users with SSL VPN access.
1696  func (r Account) GetSslVpnUsers() (resp []datatypes.User_Customer, err error) {
1697  	err = r.Session.DoRequest("SoftLayer_Account", "getSslVpnUsers", nil, &r.Options, &resp)
1698  	return
1699  }
1700  
1701  // Retrieve An account's virtual guest objects that are hosted on a user provisioned hypervisor.
1702  func (r Account) GetStandardPoolVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1703  	err = r.Session.DoRequest("SoftLayer_Account", "getStandardPoolVirtualGuests", nil, &r.Options, &resp)
1704  	return
1705  }
1706  
1707  // Retrieve All network subnets associated with an account.
1708  func (r Account) GetSubnets() (resp []datatypes.Network_Subnet, err error) {
1709  	err = r.Session.DoRequest("SoftLayer_Account", "getSubnets", nil, &r.Options, &resp)
1710  	return
1711  }
1712  
1713  // Retrieve The SoftLayer employees that an account is assigned to.
1714  func (r Account) GetSupportRepresentatives() (resp []datatypes.User_Employee, err error) {
1715  	err = r.Session.DoRequest("SoftLayer_Account", "getSupportRepresentatives", nil, &r.Options, &resp)
1716  	return
1717  }
1718  
1719  // Retrieve The active support subscriptions for this account.
1720  func (r Account) GetSupportSubscriptions() (resp []datatypes.Billing_Item, err error) {
1721  	err = r.Session.DoRequest("SoftLayer_Account", "getSupportSubscriptions", nil, &r.Options, &resp)
1722  	return
1723  }
1724  
1725  // Retrieve
1726  func (r Account) GetSupportTier() (resp string, err error) {
1727  	err = r.Session.DoRequest("SoftLayer_Account", "getSupportTier", nil, &r.Options, &resp)
1728  	return
1729  }
1730  
1731  // Retrieve A flag indicating to suppress invoices.
1732  func (r Account) GetSuppressInvoicesFlag() (resp bool, err error) {
1733  	err = r.Session.DoRequest("SoftLayer_Account", "getSuppressInvoicesFlag", nil, &r.Options, &resp)
1734  	return
1735  }
1736  
1737  // Retrieve
1738  func (r Account) GetTags() (resp []datatypes.Tag, err error) {
1739  	err = r.Session.DoRequest("SoftLayer_Account", "getTags", nil, &r.Options, &resp)
1740  	return
1741  }
1742  
1743  // This method will return a SoftLayer_Container_Account_Discount_Program object containing the Technology Incubator Program information for this account. To be considered an active participant, the account must have an enrollment record with a monthly credit amount set and the current date must be within the range defined by the enrollment and graduation date. The forNextBillCycle parameter can be set to true to return a SoftLayer_Container_Account_Discount_Program object with information with relation to the next bill cycle. The forNextBillCycle parameter defaults to false.
1744  func (r Account) GetTechIncubatorProgramInfo(forNextBillCycle *bool) (resp datatypes.Container_Account_Discount_Program, err error) {
1745  	params := []interface{}{
1746  		forNextBillCycle,
1747  	}
1748  	err = r.Session.DoRequest("SoftLayer_Account", "getTechIncubatorProgramInfo", params, &r.Options, &resp)
1749  	return
1750  }
1751  
1752  // Retrieve Account attribute flag indicating test account.
1753  func (r Account) GetTestAccountAttributeFlag() (resp bool, err error) {
1754  	err = r.Session.DoRequest("SoftLayer_Account", "getTestAccountAttributeFlag", nil, &r.Options, &resp)
1755  	return
1756  }
1757  
1758  // Returns multiple [[SoftLayer_Container_Policy_Acceptance]] that represent the acceptance status of the applicable third-party policies for this account.
1759  func (r Account) GetThirdPartyPoliciesAcceptanceStatus() (resp []datatypes.Container_Policy_Acceptance, err error) {
1760  	err = r.Session.DoRequest("SoftLayer_Account", "getThirdPartyPoliciesAcceptanceStatus", nil, &r.Options, &resp)
1761  	return
1762  }
1763  
1764  // Retrieve An account's associated tickets.
1765  func (r Account) GetTickets() (resp []datatypes.Ticket, err error) {
1766  	err = r.Session.DoRequest("SoftLayer_Account", "getTickets", nil, &r.Options, &resp)
1767  	return
1768  }
1769  
1770  // Retrieve Tickets closed within the last 72 hours or last 10 tickets, whichever is less, associated with an account.
1771  func (r Account) GetTicketsClosedInTheLastThreeDays() (resp []datatypes.Ticket, err error) {
1772  	err = r.Session.DoRequest("SoftLayer_Account", "getTicketsClosedInTheLastThreeDays", nil, &r.Options, &resp)
1773  	return
1774  }
1775  
1776  // Retrieve Tickets closed today associated with an account.
1777  func (r Account) GetTicketsClosedToday() (resp []datatypes.Ticket, err error) {
1778  	err = r.Session.DoRequest("SoftLayer_Account", "getTicketsClosedToday", nil, &r.Options, &resp)
1779  	return
1780  }
1781  
1782  // Retrieve An account's associated upgrade requests.
1783  func (r Account) GetUpgradeRequests() (resp []datatypes.Product_Upgrade_Request, err error) {
1784  	err = r.Session.DoRequest("SoftLayer_Account", "getUpgradeRequests", nil, &r.Options, &resp)
1785  	return
1786  }
1787  
1788  // Retrieve An account's portal users.
1789  func (r Account) GetUsers() (resp []datatypes.User_Customer, err error) {
1790  	err = r.Session.DoRequest("SoftLayer_Account", "getUsers", nil, &r.Options, &resp)
1791  	return
1792  }
1793  
1794  // Retrieve a list of valid (non-expired) security certificates without the sensitive certificate information. This allows non-privileged users to view and select security certificates when configuring associated services.
1795  func (r Account) GetValidSecurityCertificateEntries() (resp []datatypes.Security_Certificate_Entry, err error) {
1796  	err = r.Session.DoRequest("SoftLayer_Account", "getValidSecurityCertificateEntries", nil, &r.Options, &resp)
1797  	return
1798  }
1799  
1800  // Retrieve Stored security certificates that are not expired (ie. SSL)
1801  func (r Account) GetValidSecurityCertificates() (resp []datatypes.Security_Certificate, err error) {
1802  	err = r.Session.DoRequest("SoftLayer_Account", "getValidSecurityCertificates", nil, &r.Options, &resp)
1803  	return
1804  }
1805  
1806  // Retrieve The bandwidth pooling for this account.
1807  func (r Account) GetVirtualDedicatedRacks() (resp []datatypes.Network_Bandwidth_Version1_Allotment, err error) {
1808  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualDedicatedRacks", nil, &r.Options, &resp)
1809  	return
1810  }
1811  
1812  // Retrieve An account's associated virtual server virtual disk images.
1813  func (r Account) GetVirtualDiskImages() (resp []datatypes.Virtual_Disk_Image, err error) {
1814  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualDiskImages", nil, &r.Options, &resp)
1815  	return
1816  }
1817  
1818  // Retrieve An account's associated virtual guest objects.
1819  func (r Account) GetVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1820  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuests", nil, &r.Options, &resp)
1821  	return
1822  }
1823  
1824  // Retrieve An account's associated virtual guest objects currently over bandwidth allocation.
1825  func (r Account) GetVirtualGuestsOverBandwidthAllocation() (resp []datatypes.Virtual_Guest, err error) {
1826  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsOverBandwidthAllocation", nil, &r.Options, &resp)
1827  	return
1828  }
1829  
1830  // Retrieve An account's associated virtual guest objects currently over bandwidth allocation.
1831  func (r Account) GetVirtualGuestsProjectedOverBandwidthAllocation() (resp []datatypes.Virtual_Guest, err error) {
1832  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsProjectedOverBandwidthAllocation", nil, &r.Options, &resp)
1833  	return
1834  }
1835  
1836  // Retrieve All virtual guests associated with an account that has the cPanel web hosting control panel installed.
1837  func (r Account) GetVirtualGuestsWithCpanel() (resp []datatypes.Virtual_Guest, err error) {
1838  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithCpanel", nil, &r.Options, &resp)
1839  	return
1840  }
1841  
1842  // Retrieve All virtual guests associated with an account that have McAfee Secure software components.
1843  func (r Account) GetVirtualGuestsWithMcafee() (resp []datatypes.Virtual_Guest, err error) {
1844  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithMcafee", nil, &r.Options, &resp)
1845  	return
1846  }
1847  
1848  // Retrieve All virtual guests associated with an account that have McAfee Secure AntiVirus for Redhat software components.
1849  func (r Account) GetVirtualGuestsWithMcafeeAntivirusRedhat() (resp []datatypes.Virtual_Guest, err error) {
1850  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithMcafeeAntivirusRedhat", nil, &r.Options, &resp)
1851  	return
1852  }
1853  
1854  // Retrieve All virtual guests associated with an account that has McAfee Secure AntiVirus for Windows software components.
1855  func (r Account) GetVirtualGuestsWithMcafeeAntivirusWindows() (resp []datatypes.Virtual_Guest, err error) {
1856  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithMcafeeAntivirusWindows", nil, &r.Options, &resp)
1857  	return
1858  }
1859  
1860  // Retrieve All virtual guests associated with an account that has McAfee Secure Intrusion Detection System software components.
1861  func (r Account) GetVirtualGuestsWithMcafeeIntrusionDetectionSystem() (resp []datatypes.Virtual_Guest, err error) {
1862  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithMcafeeIntrusionDetectionSystem", nil, &r.Options, &resp)
1863  	return
1864  }
1865  
1866  // Retrieve All virtual guests associated with an account that has the Plesk web hosting control panel installed.
1867  func (r Account) GetVirtualGuestsWithPlesk() (resp []datatypes.Virtual_Guest, err error) {
1868  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithPlesk", nil, &r.Options, &resp)
1869  	return
1870  }
1871  
1872  // Retrieve All virtual guests associated with an account that have the QuantaStor storage system installed.
1873  func (r Account) GetVirtualGuestsWithQuantastor() (resp []datatypes.Virtual_Guest, err error) {
1874  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithQuantastor", nil, &r.Options, &resp)
1875  	return
1876  }
1877  
1878  // Retrieve All virtual guests associated with an account that has the Urchin web traffic analytics package installed.
1879  func (r Account) GetVirtualGuestsWithUrchin() (resp []datatypes.Virtual_Guest, err error) {
1880  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualGuestsWithUrchin", nil, &r.Options, &resp)
1881  	return
1882  }
1883  
1884  // Retrieve The bandwidth pooling for this account.
1885  func (r Account) GetVirtualPrivateRack() (resp datatypes.Network_Bandwidth_Version1_Allotment, err error) {
1886  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualPrivateRack", nil, &r.Options, &resp)
1887  	return
1888  }
1889  
1890  // Retrieve An account's associated virtual server archived storage repositories.
1891  func (r Account) GetVirtualStorageArchiveRepositories() (resp []datatypes.Virtual_Storage_Repository, err error) {
1892  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualStorageArchiveRepositories", nil, &r.Options, &resp)
1893  	return
1894  }
1895  
1896  // Retrieve An account's associated virtual server public storage repositories.
1897  func (r Account) GetVirtualStoragePublicRepositories() (resp []datatypes.Virtual_Storage_Repository, err error) {
1898  	err = r.Session.DoRequest("SoftLayer_Account", "getVirtualStoragePublicRepositories", nil, &r.Options, &resp)
1899  	return
1900  }
1901  
1902  // This returns a collection of active VMware software account license keys.
1903  func (r Account) GetVmWareActiveAccountLicenseKeys() (resp []string, err error) {
1904  	err = r.Session.DoRequest("SoftLayer_Account", "getVmWareActiveAccountLicenseKeys", nil, &r.Options, &resp)
1905  	return
1906  }
1907  
1908  // Retrieve An account's associated VPC configured virtual guest objects.
1909  func (r Account) GetVpcVirtualGuests() (resp []datatypes.Virtual_Guest, err error) {
1910  	err = r.Session.DoRequest("SoftLayer_Account", "getVpcVirtualGuests", nil, &r.Options, &resp)
1911  	return
1912  }
1913  
1914  // Retrieve
1915  func (r Account) GetVpnConfigRequiresVPNManageFlag() (resp bool, err error) {
1916  	err = r.Session.DoRequest("SoftLayer_Account", "getVpnConfigRequiresVPNManageFlag", nil, &r.Options, &resp)
1917  	return
1918  }
1919  
1920  // Retrieve a list of an account's hardware's Windows Update status. This list includes which servers have available updates, which servers require rebooting due to updates, which servers have failed retrieving updates, and which servers have failed to communicate with the SoftLayer private Windows Software Update Services server.
1921  func (r Account) GetWindowsUpdateStatus() (resp []datatypes.Container_Utility_Microsoft_Windows_UpdateServices_Status, err error) {
1922  	err = r.Session.DoRequest("SoftLayer_Account", "getWindowsUpdateStatus", nil, &r.Options, &resp)
1923  	return
1924  }
1925  
1926  // Determine if an account has an [[SoftLayer_Account_Attribute|attribute]] associated with it. hasAttribute() returns false if the attribute does not exist or if it does not have a value.
1927  func (r Account) HasAttribute(attributeType *string) (resp bool, err error) {
1928  	params := []interface{}{
1929  		attributeType,
1930  	}
1931  	err = r.Session.DoRequest("SoftLayer_Account", "hasAttribute", params, &r.Options, &resp)
1932  	return
1933  }
1934  
1935  // This method will return the limit (number) of hourly services the account is allowed to have.
1936  func (r Account) HourlyInstanceLimit() (resp int, err error) {
1937  	err = r.Session.DoRequest("SoftLayer_Account", "hourlyInstanceLimit", nil, &r.Options, &resp)
1938  	return
1939  }
1940  
1941  // This method will return the limit (number) of hourly bare metal servers the account is allowed to have.
1942  func (r Account) HourlyServerLimit() (resp int, err error) {
1943  	err = r.Session.DoRequest("SoftLayer_Account", "hourlyServerLimit", nil, &r.Options, &resp)
1944  	return
1945  }
1946  
1947  // Initiates Payer Authentication and provides data that is required for payer authentication enrollment and device data collection.
1948  func (r Account) InitiatePayerAuthentication(setupInformation *datatypes.Billing_Payment_Card_PayerAuthentication_Setup_Information) (resp datatypes.Billing_Payment_Card_PayerAuthentication_Setup, err error) {
1949  	params := []interface{}{
1950  		setupInformation,
1951  	}
1952  	err = r.Session.DoRequest("SoftLayer_Account", "initiatePayerAuthentication", params, &r.Options, &resp)
1953  	return
1954  }
1955  
1956  // no documentation yet
1957  func (r Account) IsActiveVmwareCustomer() (resp bool, err error) {
1958  	err = r.Session.DoRequest("SoftLayer_Account", "isActiveVmwareCustomer", nil, &r.Options, &resp)
1959  	return
1960  }
1961  
1962  // Returns true if this account is eligible for the local currency program, false otherwise.
1963  func (r Account) IsEligibleForLocalCurrencyProgram() (resp bool, err error) {
1964  	err = r.Session.DoRequest("SoftLayer_Account", "isEligibleForLocalCurrencyProgram", nil, &r.Options, &resp)
1965  	return
1966  }
1967  
1968  // Returns true if this account is eligible to link with PaaS. False otherwise.
1969  func (r Account) IsEligibleToLinkWithPaas() (resp bool, err error) {
1970  	err = r.Session.DoRequest("SoftLayer_Account", "isEligibleToLinkWithPaas", nil, &r.Options, &resp)
1971  	return
1972  }
1973  
1974  // This method will link this SoftLayer account with the provided external account.
1975  func (r Account) LinkExternalAccount(externalAccountId *string, authorizationToken *string, externalServiceProviderKey *string) (err error) {
1976  	var resp datatypes.Void
1977  	params := []interface{}{
1978  		externalAccountId,
1979  		authorizationToken,
1980  		externalServiceProviderKey,
1981  	}
1982  	err = r.Session.DoRequest("SoftLayer_Account", "linkExternalAccount", params, &r.Options, &resp)
1983  	return
1984  }
1985  
1986  // no documentation yet
1987  func (r Account) RemoveAlternateCreditCard() (resp bool, err error) {
1988  	err = r.Session.DoRequest("SoftLayer_Account", "removeAlternateCreditCard", nil, &r.Options, &resp)
1989  	return
1990  }
1991  
1992  // Retrieve the record data associated with the submission of a Credit Card Change Request. Softlayer customers are permitted to request a change in Credit Card information. Part of the process calls for an attempt by SoftLayer to submit at $1.00 charge to the financial institution backing the credit card as a means of verifying that the information provided in the change request is valid.  The data associated with this change request returned to the calling function.
1993  //
1994  // If the onlyChangeNicknameFlag parameter is set to true, the nickname of the credit card will be changed immediately without requiring approval by an agent.  To change the nickname of the active payment method, pass the empty string for paymentRoleName.  To change the nickname for the alternate credit card, pass ALTERNATE_CREDIT_CARD as the paymentRoleName.  vatId must be set, but the value will not be used and the empty string is acceptable.
1995  func (r Account) RequestCreditCardChange(request *datatypes.Billing_Payment_Card_ChangeRequest, vatId *string, paymentRoleName *string, onlyChangeNicknameFlag *bool) (resp datatypes.Billing_Payment_Card_ChangeRequest, err error) {
1996  	params := []interface{}{
1997  		request,
1998  		vatId,
1999  		paymentRoleName,
2000  		onlyChangeNicknameFlag,
2001  	}
2002  	err = r.Session.DoRequest("SoftLayer_Account", "requestCreditCardChange", params, &r.Options, &resp)
2003  	return
2004  }
2005  
2006  // Retrieve the record data associated with the submission of a Manual Payment Request. Softlayer customers are permitted to request a manual one-time payment at a minimum amount of $2.00. Customers may submit a Credit Card Payment (Mastercard, Visa, American Express) or a PayPal payment. For Credit Card Payments, SoftLayer engages the credit card financial institution to submit the payment request.  The financial institution's response and other data associated with the transaction are returned to the calling function.  In the case of PayPal Payments, SoftLayer engages the PayPal system to initiate the PayPal payment sequence.  The applicable data generated during the request is returned to the calling function.
2007  func (r Account) RequestManualPayment(request *datatypes.Billing_Payment_Card_ManualPayment) (resp datatypes.Billing_Payment_Card_ManualPayment, err error) {
2008  	params := []interface{}{
2009  		request,
2010  	}
2011  	err = r.Session.DoRequest("SoftLayer_Account", "requestManualPayment", params, &r.Options, &resp)
2012  	return
2013  }
2014  
2015  // Retrieve the record data associated with the submission of a Manual Payment Request for a manual payment using a credit card which is on file and does not require an approval process.  Softlayer customers are permitted to request a manual one-time payment at a minimum amount of $2.00.  Customers may use an existing Credit Card on file (Mastercard, Visa, American Express).  SoftLayer engages the credit card financial institution to submit the payment request.  The financial institution's response and other data associated with the transaction are returned to the calling function.  The applicable data generated during the request is returned to the calling function.
2016  func (r Account) RequestManualPaymentUsingCreditCardOnFile(amount *string, payWithAlternateCardFlag *bool, note *string) (resp datatypes.Billing_Payment_Card_ManualPayment, err error) {
2017  	params := []interface{}{
2018  		amount,
2019  		payWithAlternateCardFlag,
2020  		note,
2021  	}
2022  	err = r.Session.DoRequest("SoftLayer_Account", "requestManualPaymentUsingCreditCardOnFile", params, &r.Options, &resp)
2023  	return
2024  }
2025  
2026  // no documentation yet
2027  func (r Account) SaveInternalCostRecovery(costRecoveryContainer *datatypes.Container_Account_Internal_Ibm_CostRecovery) (err error) {
2028  	var resp datatypes.Void
2029  	params := []interface{}{
2030  		costRecoveryContainer,
2031  	}
2032  	err = r.Session.DoRequest("SoftLayer_Account", "saveInternalCostRecovery", params, &r.Options, &resp)
2033  	return
2034  }
2035  
2036  // Set this account's abuse emails. Takes an array of email addresses as strings.
2037  func (r Account) SetAbuseEmails(emails []string) (resp bool, err error) {
2038  	params := []interface{}{
2039  		emails,
2040  	}
2041  	err = r.Session.DoRequest("SoftLayer_Account", "setAbuseEmails", params, &r.Options, &resp)
2042  	return
2043  }
2044  
2045  // Set the total number of servers that are to be maintained in the given pool. When a server is ordered a new server will be put in the pool to replace the server that was removed to fill an order to maintain the desired pool availability quantity.
2046  func (r Account) SetManagedPoolQuantity(poolKeyName *string, backendRouter *string, quantity *int) (resp int, err error) {
2047  	params := []interface{}{
2048  		poolKeyName,
2049  		backendRouter,
2050  		quantity,
2051  	}
2052  	err = r.Session.DoRequest("SoftLayer_Account", "setManagedPoolQuantity", params, &r.Options, &resp)
2053  	return
2054  }
2055  
2056  // Set the flag that enables or disables automatic private network VLAN spanning for a SoftLayer customer account. Enabling VLAN spanning allows an account's servers to talk on the same broadcast domain even if they reside within different private vlans.
2057  func (r Account) SetVlanSpan(enabled *bool) (resp bool, err error) {
2058  	params := []interface{}{
2059  		enabled,
2060  	}
2061  	err = r.Session.DoRequest("SoftLayer_Account", "setVlanSpan", params, &r.Options, &resp)
2062  	return
2063  }
2064  
2065  // no documentation yet
2066  func (r Account) SwapCreditCards() (resp bool, err error) {
2067  	err = r.Session.DoRequest("SoftLayer_Account", "swapCreditCards", nil, &r.Options, &resp)
2068  	return
2069  }
2070  
2071  // no documentation yet
2072  func (r Account) SyncCurrentUserPopulationWithPaas() (err error) {
2073  	var resp datatypes.Void
2074  	err = r.Session.DoRequest("SoftLayer_Account", "syncCurrentUserPopulationWithPaas", nil, &r.Options, &resp)
2075  	return
2076  }
2077  
2078  // [DEPRECATED] This method has been deprecated and will simply return false.
2079  // Deprecated: This function has been marked as deprecated.
2080  func (r Account) UpdateVpnUsersForResource(objectId *int, objectType *string) (resp bool, err error) {
2081  	params := []interface{}{
2082  		objectId,
2083  		objectType,
2084  	}
2085  	err = r.Session.DoRequest("SoftLayer_Account", "updateVpnUsersForResource", params, &r.Options, &resp)
2086  	return
2087  }
2088  
2089  // This method will validate the following account fields. Included are the allowed characters for each field.<br> <strong>Company Name (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parenthesis, exclamation point. Maximum length: 100 characters. (Note: may not contain an email address)<br> <strong>First Name (required):</strong> alphabet, space, period, dash, comma, apostrophe. Maximum length: 30 characters.<br> <strong>Last Name (required):</strong> alphabet, space, period, dash, comma, apostrophe. Maximum length: 30 characters.<br> <strong>Email (required):</strong> Validates e-mail addresses against the syntax in RFC 822.<br> <strong>Address 1 (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parentheses. Maximum length: 100 characters. (Note: may not contain an email address)<br> <strong>Address 2:</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parentheses. Maximum length: 100 characters. (Note: may not contain an email address)<br> <strong>City (required):</strong> alphabet, numbers, space, period, dash, apostrophe, forward slash, comma, parenthesis. Maximum length: 100 characters.<br> <strong>State (required if country is US, Brazil, Canada or India):</strong> Must be valid Alpha-2 ISO 3166-1 state code for that country.<br> <strong>Postal Code (required if country is US or Canada):</strong> Accepted characters are alphabet, numbers, dash, space. Maximum length: 50 characters.<br> <strong>Country (required):</strong> alphabet, numbers. Must be valid Alpha-2 ISO 3166-1 country code.<br> <strong>Office Phone (required):</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign. Maximum length: 100 characters.<br> <strong>Alternate Phone:</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign. Maximum length: 100 characters.<br> <strong>Fax Phone:</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign. Maximum length: 20 characters.<br>
2090  func (r Account) Validate(account *datatypes.Account) (resp []string, err error) {
2091  	params := []interface{}{
2092  		account,
2093  	}
2094  	err = r.Session.DoRequest("SoftLayer_Account", "validate", params, &r.Options, &resp)
2095  	return
2096  }
2097  
2098  // This method checks global and account specific requirements and returns true if the dollar amount entered is acceptable for this account and false otherwise. Please note the dollar amount is in USD.
2099  func (r Account) ValidateManualPaymentAmount(amount *string) (resp bool, err error) {
2100  	params := []interface{}{
2101  		amount,
2102  	}
2103  	err = r.Session.DoRequest("SoftLayer_Account", "validateManualPaymentAmount", params, &r.Options, &resp)
2104  	return
2105  }
2106  
2107  // The SoftLayer_Account_Address data type contains information on an address associated with a SoftLayer account.
2108  type Account_Address struct {
2109  	Session session.SLSession
2110  	Options sl.Options
2111  }
2112  
2113  // GetAccountAddressService returns an instance of the Account_Address SoftLayer service
2114  func GetAccountAddressService(sess session.SLSession) Account_Address {
2115  	return Account_Address{Session: sess}
2116  }
2117  
2118  func (r Account_Address) Id(id int) Account_Address {
2119  	r.Options.Id = &id
2120  	return r
2121  }
2122  
2123  func (r Account_Address) Mask(mask string) Account_Address {
2124  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2125  		mask = fmt.Sprintf("mask[%s]", mask)
2126  	}
2127  
2128  	r.Options.Mask = mask
2129  	return r
2130  }
2131  
2132  func (r Account_Address) Filter(filter string) Account_Address {
2133  	r.Options.Filter = filter
2134  	return r
2135  }
2136  
2137  func (r Account_Address) Limit(limit int) Account_Address {
2138  	r.Options.Limit = &limit
2139  	return r
2140  }
2141  
2142  func (r Account_Address) Offset(offset int) Account_Address {
2143  	r.Options.Offset = &offset
2144  	return r
2145  }
2146  
2147  // Create a new address record. The ”typeId”, ”accountId”, ”description”, ”address1”, ”city”, ”state”, ”country”, and ”postalCode” properties in the templateObject parameter are required properties and may not be null or empty. Users will be restricted to creating addresses for their account.
2148  func (r Account_Address) CreateObject(templateObject *datatypes.Account_Address) (resp datatypes.Account_Address, err error) {
2149  	params := []interface{}{
2150  		templateObject,
2151  	}
2152  	err = r.Session.DoRequest("SoftLayer_Account_Address", "createObject", params, &r.Options, &resp)
2153  	return
2154  }
2155  
2156  // Edit the properties of an address record by passing in a modified instance of a SoftLayer_Account_Address object. Users will be restricted to modifying addresses for their account.
2157  func (r Account_Address) EditObject(templateObject *datatypes.Account_Address) (resp bool, err error) {
2158  	params := []interface{}{
2159  		templateObject,
2160  	}
2161  	err = r.Session.DoRequest("SoftLayer_Account_Address", "editObject", params, &r.Options, &resp)
2162  	return
2163  }
2164  
2165  // Retrieve The account to which this address belongs.
2166  func (r Account_Address) GetAccount() (resp datatypes.Account, err error) {
2167  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getAccount", nil, &r.Options, &resp)
2168  	return
2169  }
2170  
2171  // Retrieve a list of SoftLayer datacenter addresses.
2172  func (r Account_Address) GetAllDataCenters() (resp []datatypes.Account_Address, err error) {
2173  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getAllDataCenters", nil, &r.Options, &resp)
2174  	return
2175  }
2176  
2177  // Retrieve The customer user who created this address.
2178  func (r Account_Address) GetCreateUser() (resp datatypes.User_Customer, err error) {
2179  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getCreateUser", nil, &r.Options, &resp)
2180  	return
2181  }
2182  
2183  // Retrieve The location of this address.
2184  func (r Account_Address) GetLocation() (resp datatypes.Location, err error) {
2185  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getLocation", nil, &r.Options, &resp)
2186  	return
2187  }
2188  
2189  // Retrieve The employee who last modified this address.
2190  func (r Account_Address) GetModifyEmployee() (resp datatypes.User_Employee, err error) {
2191  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getModifyEmployee", nil, &r.Options, &resp)
2192  	return
2193  }
2194  
2195  // Retrieve The customer user who last modified this address.
2196  func (r Account_Address) GetModifyUser() (resp datatypes.User_Customer, err error) {
2197  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getModifyUser", nil, &r.Options, &resp)
2198  	return
2199  }
2200  
2201  // Retrieve a list of SoftLayer datacenter addresses.
2202  func (r Account_Address) GetNetworkAddress(name *string) (resp []datatypes.Account_Address, err error) {
2203  	params := []interface{}{
2204  		name,
2205  	}
2206  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getNetworkAddress", params, &r.Options, &resp)
2207  	return
2208  }
2209  
2210  // no documentation yet
2211  func (r Account_Address) GetObject() (resp datatypes.Account_Address, err error) {
2212  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getObject", nil, &r.Options, &resp)
2213  	return
2214  }
2215  
2216  // Retrieve An account address' type.
2217  func (r Account_Address) GetType() (resp datatypes.Account_Address_Type, err error) {
2218  	err = r.Session.DoRequest("SoftLayer_Account_Address", "getType", nil, &r.Options, &resp)
2219  	return
2220  }
2221  
2222  // no documentation yet
2223  type Account_Address_Type struct {
2224  	Session session.SLSession
2225  	Options sl.Options
2226  }
2227  
2228  // GetAccountAddressTypeService returns an instance of the Account_Address_Type SoftLayer service
2229  func GetAccountAddressTypeService(sess session.SLSession) Account_Address_Type {
2230  	return Account_Address_Type{Session: sess}
2231  }
2232  
2233  func (r Account_Address_Type) Id(id int) Account_Address_Type {
2234  	r.Options.Id = &id
2235  	return r
2236  }
2237  
2238  func (r Account_Address_Type) Mask(mask string) Account_Address_Type {
2239  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2240  		mask = fmt.Sprintf("mask[%s]", mask)
2241  	}
2242  
2243  	r.Options.Mask = mask
2244  	return r
2245  }
2246  
2247  func (r Account_Address_Type) Filter(filter string) Account_Address_Type {
2248  	r.Options.Filter = filter
2249  	return r
2250  }
2251  
2252  func (r Account_Address_Type) Limit(limit int) Account_Address_Type {
2253  	r.Options.Limit = &limit
2254  	return r
2255  }
2256  
2257  func (r Account_Address_Type) Offset(offset int) Account_Address_Type {
2258  	r.Options.Offset = &offset
2259  	return r
2260  }
2261  
2262  // no documentation yet
2263  func (r Account_Address_Type) GetObject() (resp datatypes.Account_Address_Type, err error) {
2264  	err = r.Session.DoRequest("SoftLayer_Account_Address_Type", "getObject", nil, &r.Options, &resp)
2265  	return
2266  }
2267  
2268  // This service allows for a unique identifier to be associated to an existing customer account.
2269  type Account_Affiliation struct {
2270  	Session session.SLSession
2271  	Options sl.Options
2272  }
2273  
2274  // GetAccountAffiliationService returns an instance of the Account_Affiliation SoftLayer service
2275  func GetAccountAffiliationService(sess session.SLSession) Account_Affiliation {
2276  	return Account_Affiliation{Session: sess}
2277  }
2278  
2279  func (r Account_Affiliation) Id(id int) Account_Affiliation {
2280  	r.Options.Id = &id
2281  	return r
2282  }
2283  
2284  func (r Account_Affiliation) Mask(mask string) Account_Affiliation {
2285  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2286  		mask = fmt.Sprintf("mask[%s]", mask)
2287  	}
2288  
2289  	r.Options.Mask = mask
2290  	return r
2291  }
2292  
2293  func (r Account_Affiliation) Filter(filter string) Account_Affiliation {
2294  	r.Options.Filter = filter
2295  	return r
2296  }
2297  
2298  func (r Account_Affiliation) Limit(limit int) Account_Affiliation {
2299  	r.Options.Limit = &limit
2300  	return r
2301  }
2302  
2303  func (r Account_Affiliation) Offset(offset int) Account_Affiliation {
2304  	r.Options.Offset = &offset
2305  	return r
2306  }
2307  
2308  // Create a new affiliation to associate with an existing account.
2309  func (r Account_Affiliation) CreateObject(templateObject *datatypes.Account_Affiliation) (resp datatypes.Account_Affiliation, err error) {
2310  	params := []interface{}{
2311  		templateObject,
2312  	}
2313  	err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "createObject", params, &r.Options, &resp)
2314  	return
2315  }
2316  
2317  // deleteObject permanently removes an account affiliation
2318  func (r Account_Affiliation) DeleteObject() (resp bool, err error) {
2319  	err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "deleteObject", nil, &r.Options, &resp)
2320  	return
2321  }
2322  
2323  // Edit an affiliation that is associated to an existing account.
2324  func (r Account_Affiliation) EditObject(templateObject *datatypes.Account_Affiliation) (resp bool, err error) {
2325  	params := []interface{}{
2326  		templateObject,
2327  	}
2328  	err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "editObject", params, &r.Options, &resp)
2329  	return
2330  }
2331  
2332  // Retrieve The account that an affiliation belongs to.
2333  func (r Account_Affiliation) GetAccount() (resp datatypes.Account, err error) {
2334  	err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "getAccount", nil, &r.Options, &resp)
2335  	return
2336  }
2337  
2338  // Get account affiliation information associated with affiliate id.
2339  func (r Account_Affiliation) GetAccountAffiliationsByAffiliateId(affiliateId *string) (resp []datatypes.Account_Affiliation, err error) {
2340  	params := []interface{}{
2341  		affiliateId,
2342  	}
2343  	err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "getAccountAffiliationsByAffiliateId", params, &r.Options, &resp)
2344  	return
2345  }
2346  
2347  // no documentation yet
2348  func (r Account_Affiliation) GetObject() (resp datatypes.Account_Affiliation, err error) {
2349  	err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "getObject", nil, &r.Options, &resp)
2350  	return
2351  }
2352  
2353  // no documentation yet
2354  type Account_Agreement struct {
2355  	Session session.SLSession
2356  	Options sl.Options
2357  }
2358  
2359  // GetAccountAgreementService returns an instance of the Account_Agreement SoftLayer service
2360  func GetAccountAgreementService(sess session.SLSession) Account_Agreement {
2361  	return Account_Agreement{Session: sess}
2362  }
2363  
2364  func (r Account_Agreement) Id(id int) Account_Agreement {
2365  	r.Options.Id = &id
2366  	return r
2367  }
2368  
2369  func (r Account_Agreement) Mask(mask string) Account_Agreement {
2370  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2371  		mask = fmt.Sprintf("mask[%s]", mask)
2372  	}
2373  
2374  	r.Options.Mask = mask
2375  	return r
2376  }
2377  
2378  func (r Account_Agreement) Filter(filter string) Account_Agreement {
2379  	r.Options.Filter = filter
2380  	return r
2381  }
2382  
2383  func (r Account_Agreement) Limit(limit int) Account_Agreement {
2384  	r.Options.Limit = &limit
2385  	return r
2386  }
2387  
2388  func (r Account_Agreement) Offset(offset int) Account_Agreement {
2389  	r.Options.Offset = &offset
2390  	return r
2391  }
2392  
2393  // Retrieve
2394  func (r Account_Agreement) GetAccount() (resp datatypes.Account, err error) {
2395  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAccount", nil, &r.Options, &resp)
2396  	return
2397  }
2398  
2399  // Retrieve The type of agreement.
2400  func (r Account_Agreement) GetAgreementType() (resp datatypes.Account_Agreement_Type, err error) {
2401  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAgreementType", nil, &r.Options, &resp)
2402  	return
2403  }
2404  
2405  // Retrieve The files attached to an agreement.
2406  func (r Account_Agreement) GetAttachedBillingAgreementFiles() (resp []datatypes.Account_MasterServiceAgreement, err error) {
2407  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAttachedBillingAgreementFiles", nil, &r.Options, &resp)
2408  	return
2409  }
2410  
2411  // Retrieve The billing items associated with an agreement.
2412  func (r Account_Agreement) GetBillingItems() (resp []datatypes.Billing_Item, err error) {
2413  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getBillingItems", nil, &r.Options, &resp)
2414  	return
2415  }
2416  
2417  // no documentation yet
2418  func (r Account_Agreement) GetObject() (resp datatypes.Account_Agreement, err error) {
2419  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getObject", nil, &r.Options, &resp)
2420  	return
2421  }
2422  
2423  // Retrieve The status of the agreement.
2424  func (r Account_Agreement) GetStatus() (resp datatypes.Account_Agreement_Status, err error) {
2425  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getStatus", nil, &r.Options, &resp)
2426  	return
2427  }
2428  
2429  // Retrieve The top level billing item associated with an agreement.
2430  func (r Account_Agreement) GetTopLevelBillingItems() (resp []datatypes.Billing_Item, err error) {
2431  	err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getTopLevelBillingItems", nil, &r.Options, &resp)
2432  	return
2433  }
2434  
2435  // Account authentication has many different settings that can be set. This class allows the customer or employee to set these settings.
2436  type Account_Authentication_Attribute struct {
2437  	Session session.SLSession
2438  	Options sl.Options
2439  }
2440  
2441  // GetAccountAuthenticationAttributeService returns an instance of the Account_Authentication_Attribute SoftLayer service
2442  func GetAccountAuthenticationAttributeService(sess session.SLSession) Account_Authentication_Attribute {
2443  	return Account_Authentication_Attribute{Session: sess}
2444  }
2445  
2446  func (r Account_Authentication_Attribute) Id(id int) Account_Authentication_Attribute {
2447  	r.Options.Id = &id
2448  	return r
2449  }
2450  
2451  func (r Account_Authentication_Attribute) Mask(mask string) Account_Authentication_Attribute {
2452  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2453  		mask = fmt.Sprintf("mask[%s]", mask)
2454  	}
2455  
2456  	r.Options.Mask = mask
2457  	return r
2458  }
2459  
2460  func (r Account_Authentication_Attribute) Filter(filter string) Account_Authentication_Attribute {
2461  	r.Options.Filter = filter
2462  	return r
2463  }
2464  
2465  func (r Account_Authentication_Attribute) Limit(limit int) Account_Authentication_Attribute {
2466  	r.Options.Limit = &limit
2467  	return r
2468  }
2469  
2470  func (r Account_Authentication_Attribute) Offset(offset int) Account_Authentication_Attribute {
2471  	r.Options.Offset = &offset
2472  	return r
2473  }
2474  
2475  // Retrieve The SoftLayer customer account.
2476  func (r Account_Authentication_Attribute) GetAccount() (resp datatypes.Account, err error) {
2477  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute", "getAccount", nil, &r.Options, &resp)
2478  	return
2479  }
2480  
2481  // Retrieve The SoftLayer account authentication that has an attribute.
2482  func (r Account_Authentication_Attribute) GetAuthenticationRecord() (resp datatypes.Account_Authentication_Saml, err error) {
2483  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute", "getAuthenticationRecord", nil, &r.Options, &resp)
2484  	return
2485  }
2486  
2487  // no documentation yet
2488  func (r Account_Authentication_Attribute) GetObject() (resp datatypes.Account_Authentication_Attribute, err error) {
2489  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute", "getObject", nil, &r.Options, &resp)
2490  	return
2491  }
2492  
2493  // Retrieve The type of attribute assigned to a SoftLayer account authentication.
2494  func (r Account_Authentication_Attribute) GetType() (resp datatypes.Account_Authentication_Attribute_Type, err error) {
2495  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute", "getType", nil, &r.Options, &resp)
2496  	return
2497  }
2498  
2499  // SoftLayer_Account_Authentication_Attribute_Type models the type of attribute that can be assigned to a SoftLayer customer account authentication.
2500  type Account_Authentication_Attribute_Type struct {
2501  	Session session.SLSession
2502  	Options sl.Options
2503  }
2504  
2505  // GetAccountAuthenticationAttributeTypeService returns an instance of the Account_Authentication_Attribute_Type SoftLayer service
2506  func GetAccountAuthenticationAttributeTypeService(sess session.SLSession) Account_Authentication_Attribute_Type {
2507  	return Account_Authentication_Attribute_Type{Session: sess}
2508  }
2509  
2510  func (r Account_Authentication_Attribute_Type) Id(id int) Account_Authentication_Attribute_Type {
2511  	r.Options.Id = &id
2512  	return r
2513  }
2514  
2515  func (r Account_Authentication_Attribute_Type) Mask(mask string) Account_Authentication_Attribute_Type {
2516  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2517  		mask = fmt.Sprintf("mask[%s]", mask)
2518  	}
2519  
2520  	r.Options.Mask = mask
2521  	return r
2522  }
2523  
2524  func (r Account_Authentication_Attribute_Type) Filter(filter string) Account_Authentication_Attribute_Type {
2525  	r.Options.Filter = filter
2526  	return r
2527  }
2528  
2529  func (r Account_Authentication_Attribute_Type) Limit(limit int) Account_Authentication_Attribute_Type {
2530  	r.Options.Limit = &limit
2531  	return r
2532  }
2533  
2534  func (r Account_Authentication_Attribute_Type) Offset(offset int) Account_Authentication_Attribute_Type {
2535  	r.Options.Offset = &offset
2536  	return r
2537  }
2538  
2539  // no documentation yet
2540  func (r Account_Authentication_Attribute_Type) GetAllObjects() (resp []datatypes.Account_Attribute_Type, err error) {
2541  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute_Type", "getAllObjects", nil, &r.Options, &resp)
2542  	return
2543  }
2544  
2545  // no documentation yet
2546  func (r Account_Authentication_Attribute_Type) GetObject() (resp datatypes.Account_Authentication_Attribute_Type, err error) {
2547  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute_Type", "getObject", nil, &r.Options, &resp)
2548  	return
2549  }
2550  
2551  // no documentation yet
2552  type Account_Authentication_Saml struct {
2553  	Session session.SLSession
2554  	Options sl.Options
2555  }
2556  
2557  // GetAccountAuthenticationSamlService returns an instance of the Account_Authentication_Saml SoftLayer service
2558  func GetAccountAuthenticationSamlService(sess session.SLSession) Account_Authentication_Saml {
2559  	return Account_Authentication_Saml{Session: sess}
2560  }
2561  
2562  func (r Account_Authentication_Saml) Id(id int) Account_Authentication_Saml {
2563  	r.Options.Id = &id
2564  	return r
2565  }
2566  
2567  func (r Account_Authentication_Saml) Mask(mask string) Account_Authentication_Saml {
2568  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2569  		mask = fmt.Sprintf("mask[%s]", mask)
2570  	}
2571  
2572  	r.Options.Mask = mask
2573  	return r
2574  }
2575  
2576  func (r Account_Authentication_Saml) Filter(filter string) Account_Authentication_Saml {
2577  	r.Options.Filter = filter
2578  	return r
2579  }
2580  
2581  func (r Account_Authentication_Saml) Limit(limit int) Account_Authentication_Saml {
2582  	r.Options.Limit = &limit
2583  	return r
2584  }
2585  
2586  func (r Account_Authentication_Saml) Offset(offset int) Account_Authentication_Saml {
2587  	r.Options.Offset = &offset
2588  	return r
2589  }
2590  
2591  // no documentation yet
2592  func (r Account_Authentication_Saml) CreateObject(templateObject *datatypes.Account_Authentication_Saml) (resp datatypes.Account_Authentication_Saml, err error) {
2593  	params := []interface{}{
2594  		templateObject,
2595  	}
2596  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "createObject", params, &r.Options, &resp)
2597  	return
2598  }
2599  
2600  // no documentation yet
2601  func (r Account_Authentication_Saml) DeleteObject() (resp bool, err error) {
2602  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "deleteObject", nil, &r.Options, &resp)
2603  	return
2604  }
2605  
2606  // Edit the object by passing in a modified instance of the object
2607  func (r Account_Authentication_Saml) EditObject(templateObject *datatypes.Account_Authentication_Saml) (resp bool, err error) {
2608  	params := []interface{}{
2609  		templateObject,
2610  	}
2611  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "editObject", params, &r.Options, &resp)
2612  	return
2613  }
2614  
2615  // Retrieve The account associated with this saml configuration.
2616  func (r Account_Authentication_Saml) GetAccount() (resp datatypes.Account, err error) {
2617  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getAccount", nil, &r.Options, &resp)
2618  	return
2619  }
2620  
2621  // Retrieve The saml attribute values for a SoftLayer customer account.
2622  func (r Account_Authentication_Saml) GetAttributes() (resp []datatypes.Account_Authentication_Attribute, err error) {
2623  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getAttributes", nil, &r.Options, &resp)
2624  	return
2625  }
2626  
2627  // This method will return the service provider metadata in XML format.
2628  func (r Account_Authentication_Saml) GetMetadata() (resp string, err error) {
2629  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getMetadata", nil, &r.Options, &resp)
2630  	return
2631  }
2632  
2633  // no documentation yet
2634  func (r Account_Authentication_Saml) GetObject() (resp datatypes.Account_Authentication_Saml, err error) {
2635  	err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getObject", nil, &r.Options, &resp)
2636  	return
2637  }
2638  
2639  // Represents a request to migrate an account to the owned brand.
2640  type Account_Brand_Migration_Request struct {
2641  	Session session.SLSession
2642  	Options sl.Options
2643  }
2644  
2645  // GetAccountBrandMigrationRequestService returns an instance of the Account_Brand_Migration_Request SoftLayer service
2646  func GetAccountBrandMigrationRequestService(sess session.SLSession) Account_Brand_Migration_Request {
2647  	return Account_Brand_Migration_Request{Session: sess}
2648  }
2649  
2650  func (r Account_Brand_Migration_Request) Id(id int) Account_Brand_Migration_Request {
2651  	r.Options.Id = &id
2652  	return r
2653  }
2654  
2655  func (r Account_Brand_Migration_Request) Mask(mask string) Account_Brand_Migration_Request {
2656  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2657  		mask = fmt.Sprintf("mask[%s]", mask)
2658  	}
2659  
2660  	r.Options.Mask = mask
2661  	return r
2662  }
2663  
2664  func (r Account_Brand_Migration_Request) Filter(filter string) Account_Brand_Migration_Request {
2665  	r.Options.Filter = filter
2666  	return r
2667  }
2668  
2669  func (r Account_Brand_Migration_Request) Limit(limit int) Account_Brand_Migration_Request {
2670  	r.Options.Limit = &limit
2671  	return r
2672  }
2673  
2674  func (r Account_Brand_Migration_Request) Offset(offset int) Account_Brand_Migration_Request {
2675  	r.Options.Offset = &offset
2676  	return r
2677  }
2678  
2679  // Retrieve
2680  func (r Account_Brand_Migration_Request) GetAccount() (resp datatypes.Account, err error) {
2681  	err = r.Session.DoRequest("SoftLayer_Account_Brand_Migration_Request", "getAccount", nil, &r.Options, &resp)
2682  	return
2683  }
2684  
2685  // Retrieve
2686  func (r Account_Brand_Migration_Request) GetDestinationBrand() (resp datatypes.Brand, err error) {
2687  	err = r.Session.DoRequest("SoftLayer_Account_Brand_Migration_Request", "getDestinationBrand", nil, &r.Options, &resp)
2688  	return
2689  }
2690  
2691  // no documentation yet
2692  func (r Account_Brand_Migration_Request) GetObject() (resp datatypes.Account_Brand_Migration_Request, err error) {
2693  	err = r.Session.DoRequest("SoftLayer_Account_Brand_Migration_Request", "getObject", nil, &r.Options, &resp)
2694  	return
2695  }
2696  
2697  // Retrieve
2698  func (r Account_Brand_Migration_Request) GetSourceBrand() (resp datatypes.Brand, err error) {
2699  	err = r.Session.DoRequest("SoftLayer_Account_Brand_Migration_Request", "getSourceBrand", nil, &r.Options, &resp)
2700  	return
2701  }
2702  
2703  // Retrieve
2704  func (r Account_Brand_Migration_Request) GetUser() (resp datatypes.User_Customer, err error) {
2705  	err = r.Session.DoRequest("SoftLayer_Account_Brand_Migration_Request", "getUser", nil, &r.Options, &resp)
2706  	return
2707  }
2708  
2709  // Contains business partner details associated with an account. Country Enterprise Identifier (CEID), Channel ID, Segment ID and Reseller Level.
2710  type Account_Business_Partner struct {
2711  	Session session.SLSession
2712  	Options sl.Options
2713  }
2714  
2715  // GetAccountBusinessPartnerService returns an instance of the Account_Business_Partner SoftLayer service
2716  func GetAccountBusinessPartnerService(sess session.SLSession) Account_Business_Partner {
2717  	return Account_Business_Partner{Session: sess}
2718  }
2719  
2720  func (r Account_Business_Partner) Id(id int) Account_Business_Partner {
2721  	r.Options.Id = &id
2722  	return r
2723  }
2724  
2725  func (r Account_Business_Partner) Mask(mask string) Account_Business_Partner {
2726  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2727  		mask = fmt.Sprintf("mask[%s]", mask)
2728  	}
2729  
2730  	r.Options.Mask = mask
2731  	return r
2732  }
2733  
2734  func (r Account_Business_Partner) Filter(filter string) Account_Business_Partner {
2735  	r.Options.Filter = filter
2736  	return r
2737  }
2738  
2739  func (r Account_Business_Partner) Limit(limit int) Account_Business_Partner {
2740  	r.Options.Limit = &limit
2741  	return r
2742  }
2743  
2744  func (r Account_Business_Partner) Offset(offset int) Account_Business_Partner {
2745  	r.Options.Offset = &offset
2746  	return r
2747  }
2748  
2749  // Retrieve Account associated with the business partner data
2750  func (r Account_Business_Partner) GetAccount() (resp datatypes.Account, err error) {
2751  	err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getAccount", nil, &r.Options, &resp)
2752  	return
2753  }
2754  
2755  // Retrieve Channel indicator used to categorize business partner revenue.
2756  func (r Account_Business_Partner) GetChannel() (resp datatypes.Business_Partner_Channel, err error) {
2757  	err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getChannel", nil, &r.Options, &resp)
2758  	return
2759  }
2760  
2761  // no documentation yet
2762  func (r Account_Business_Partner) GetObject() (resp datatypes.Account_Business_Partner, err error) {
2763  	err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getObject", nil, &r.Options, &resp)
2764  	return
2765  }
2766  
2767  // Retrieve Segment indicator used to categorize business partner revenue.
2768  func (r Account_Business_Partner) GetSegment() (resp datatypes.Business_Partner_Segment, err error) {
2769  	err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getSegment", nil, &r.Options, &resp)
2770  	return
2771  }
2772  
2773  // no documentation yet
2774  type Account_Contact struct {
2775  	Session session.SLSession
2776  	Options sl.Options
2777  }
2778  
2779  // GetAccountContactService returns an instance of the Account_Contact SoftLayer service
2780  func GetAccountContactService(sess session.SLSession) Account_Contact {
2781  	return Account_Contact{Session: sess}
2782  }
2783  
2784  func (r Account_Contact) Id(id int) Account_Contact {
2785  	r.Options.Id = &id
2786  	return r
2787  }
2788  
2789  func (r Account_Contact) Mask(mask string) Account_Contact {
2790  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2791  		mask = fmt.Sprintf("mask[%s]", mask)
2792  	}
2793  
2794  	r.Options.Mask = mask
2795  	return r
2796  }
2797  
2798  func (r Account_Contact) Filter(filter string) Account_Contact {
2799  	r.Options.Filter = filter
2800  	return r
2801  }
2802  
2803  func (r Account_Contact) Limit(limit int) Account_Contact {
2804  	r.Options.Limit = &limit
2805  	return r
2806  }
2807  
2808  func (r Account_Contact) Offset(offset int) Account_Contact {
2809  	r.Options.Offset = &offset
2810  	return r
2811  }
2812  
2813  // <<EOT
2814  func (r Account_Contact) CreateComplianceReportRequestorContact(requestorTemplate *datatypes.Account_Contact) (resp datatypes.Account_Contact, err error) {
2815  	params := []interface{}{
2816  		requestorTemplate,
2817  	}
2818  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "createComplianceReportRequestorContact", params, &r.Options, &resp)
2819  	return
2820  }
2821  
2822  // This method creates an account contact. The accountId is fixed, other properties can be set during creation. The typeId indicates the SoftLayer_Account_Contact_Type for the contact. This method returns the SoftLayer_Account_Contact object that is created.
2823  func (r Account_Contact) CreateObject(templateObject *datatypes.Account_Contact) (resp datatypes.Account_Contact, err error) {
2824  	params := []interface{}{
2825  		templateObject,
2826  	}
2827  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "createObject", params, &r.Options, &resp)
2828  	return
2829  }
2830  
2831  // deleteObject permanently removes an account contact
2832  func (r Account_Contact) DeleteObject() (resp bool, err error) {
2833  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "deleteObject", nil, &r.Options, &resp)
2834  	return
2835  }
2836  
2837  // This method allows you to modify an account contact. Only master users are permitted to modify an account contact.
2838  func (r Account_Contact) EditObject(templateObject *datatypes.Account_Contact) (resp bool, err error) {
2839  	params := []interface{}{
2840  		templateObject,
2841  	}
2842  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "editObject", params, &r.Options, &resp)
2843  	return
2844  }
2845  
2846  // Retrieve
2847  func (r Account_Contact) GetAccount() (resp datatypes.Account, err error) {
2848  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "getAccount", nil, &r.Options, &resp)
2849  	return
2850  }
2851  
2852  // This method will return an array of SoftLayer_Account_Contact_Type objects which can be used when creating or editing an account contact.
2853  func (r Account_Contact) GetAllContactTypes() (resp []datatypes.Account_Contact_Type, err error) {
2854  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "getAllContactTypes", nil, &r.Options, &resp)
2855  	return
2856  }
2857  
2858  // no documentation yet
2859  func (r Account_Contact) GetObject() (resp datatypes.Account_Contact, err error) {
2860  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "getObject", nil, &r.Options, &resp)
2861  	return
2862  }
2863  
2864  // Retrieve
2865  func (r Account_Contact) GetType() (resp datatypes.Account_Contact_Type, err error) {
2866  	err = r.Session.DoRequest("SoftLayer_Account_Contact", "getType", nil, &r.Options, &resp)
2867  	return
2868  }
2869  
2870  // no documentation yet
2871  type Account_External_Setup struct {
2872  	Session session.SLSession
2873  	Options sl.Options
2874  }
2875  
2876  // GetAccountExternalSetupService returns an instance of the Account_External_Setup SoftLayer service
2877  func GetAccountExternalSetupService(sess session.SLSession) Account_External_Setup {
2878  	return Account_External_Setup{Session: sess}
2879  }
2880  
2881  func (r Account_External_Setup) Id(id int) Account_External_Setup {
2882  	r.Options.Id = &id
2883  	return r
2884  }
2885  
2886  func (r Account_External_Setup) Mask(mask string) Account_External_Setup {
2887  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2888  		mask = fmt.Sprintf("mask[%s]", mask)
2889  	}
2890  
2891  	r.Options.Mask = mask
2892  	return r
2893  }
2894  
2895  func (r Account_External_Setup) Filter(filter string) Account_External_Setup {
2896  	r.Options.Filter = filter
2897  	return r
2898  }
2899  
2900  func (r Account_External_Setup) Limit(limit int) Account_External_Setup {
2901  	r.Options.Limit = &limit
2902  	return r
2903  }
2904  
2905  func (r Account_External_Setup) Offset(offset int) Account_External_Setup {
2906  	r.Options.Offset = &offset
2907  	return r
2908  }
2909  
2910  // Calling this method signals that the account with the provided account id is ready to be billed by the external billing system.
2911  func (r Account_External_Setup) FinalizeExternalBillingForAccount(accountId *int) (resp datatypes.Container_Account_External_Setup_ProvisioningHoldLifted, err error) {
2912  	params := []interface{}{
2913  		accountId,
2914  	}
2915  	err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "finalizeExternalBillingForAccount", params, &r.Options, &resp)
2916  	return
2917  }
2918  
2919  // no documentation yet
2920  func (r Account_External_Setup) GetObject() (resp datatypes.Account_External_Setup, err error) {
2921  	err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "getObject", nil, &r.Options, &resp)
2922  	return
2923  }
2924  
2925  // Retrieve The transaction information related to verifying the customer credit card.
2926  func (r Account_External_Setup) GetVerifyCardTransaction() (resp datatypes.Billing_Payment_Card_Transaction, err error) {
2927  	err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "getVerifyCardTransaction", nil, &r.Options, &resp)
2928  	return
2929  }
2930  
2931  // no documentation yet
2932  type Account_Internal_Ibm struct {
2933  	Session session.SLSession
2934  	Options sl.Options
2935  }
2936  
2937  // GetAccountInternalIbmService returns an instance of the Account_Internal_Ibm SoftLayer service
2938  func GetAccountInternalIbmService(sess session.SLSession) Account_Internal_Ibm {
2939  	return Account_Internal_Ibm{Session: sess}
2940  }
2941  
2942  func (r Account_Internal_Ibm) Id(id int) Account_Internal_Ibm {
2943  	r.Options.Id = &id
2944  	return r
2945  }
2946  
2947  func (r Account_Internal_Ibm) Mask(mask string) Account_Internal_Ibm {
2948  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
2949  		mask = fmt.Sprintf("mask[%s]", mask)
2950  	}
2951  
2952  	r.Options.Mask = mask
2953  	return r
2954  }
2955  
2956  func (r Account_Internal_Ibm) Filter(filter string) Account_Internal_Ibm {
2957  	r.Options.Filter = filter
2958  	return r
2959  }
2960  
2961  func (r Account_Internal_Ibm) Limit(limit int) Account_Internal_Ibm {
2962  	r.Options.Limit = &limit
2963  	return r
2964  }
2965  
2966  func (r Account_Internal_Ibm) Offset(offset int) Account_Internal_Ibm {
2967  	r.Options.Offset = &offset
2968  	return r
2969  }
2970  
2971  // Validates request and, if the request is approved, returns a list of allowed uses for an automatically created IBMer IaaS account.
2972  func (r Account_Internal_Ibm) GetAccountTypes() (resp []string, err error) {
2973  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getAccountTypes", nil, &r.Options, &resp)
2974  	return
2975  }
2976  
2977  // Gets the URL used to perform manager validation.
2978  func (r Account_Internal_Ibm) GetAuthorizationUrl(requestId *int) (resp string, err error) {
2979  	params := []interface{}{
2980  		requestId,
2981  	}
2982  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getAuthorizationUrl", params, &r.Options, &resp)
2983  	return
2984  }
2985  
2986  // no documentation yet
2987  func (r Account_Internal_Ibm) GetBmsCountries() (resp []datatypes.BMS_Container_Country, err error) {
2988  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getBmsCountries", nil, &r.Options, &resp)
2989  	return
2990  }
2991  
2992  // no documentation yet
2993  func (r Account_Internal_Ibm) GetBmsCountryList() (resp []string, err error) {
2994  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getBmsCountryList", nil, &r.Options, &resp)
2995  	return
2996  }
2997  
2998  // Exchanges a code for a token during manager validation.
2999  func (r Account_Internal_Ibm) GetEmployeeAccessToken(unverifiedAuthenticationCode *string) (resp string, err error) {
3000  	params := []interface{}{
3001  		unverifiedAuthenticationCode,
3002  	}
3003  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getEmployeeAccessToken", params, &r.Options, &resp)
3004  	return
3005  }
3006  
3007  // After validating the requesting user through the access token, generates a container with the relevant request information and returns it.
3008  func (r Account_Internal_Ibm) GetManagerPreview(requestId *int, accessToken *string) (resp datatypes.Container_Account_Internal_Ibm_Request, err error) {
3009  	params := []interface{}{
3010  		requestId,
3011  		accessToken,
3012  	}
3013  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getManagerPreview", params, &r.Options, &resp)
3014  	return
3015  }
3016  
3017  // Checks for an existing request which would block an IBMer from submitting a new request. Such a request could be denied, approved, or awaiting manager action.
3018  func (r Account_Internal_Ibm) HasExistingRequest(employeeUid *string, managerUid *string) (resp bool, err error) {
3019  	params := []interface{}{
3020  		employeeUid,
3021  		managerUid,
3022  	}
3023  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "hasExistingRequest", params, &r.Options, &resp)
3024  	return
3025  }
3026  
3027  // Applies manager approval to a pending internal IBM account request. If cost recovery is already configured, this will create an account. If not, this will remind the internal team to configure cost recovery and create the account when possible.
3028  func (r Account_Internal_Ibm) ManagerApprove(requestId *int, accessToken *string) (err error) {
3029  	var resp datatypes.Void
3030  	params := []interface{}{
3031  		requestId,
3032  		accessToken,
3033  	}
3034  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "managerApprove", params, &r.Options, &resp)
3035  	return
3036  }
3037  
3038  // Denies a pending request and prevents additional requests from the same applicant for as long as the manager remains the same.
3039  func (r Account_Internal_Ibm) ManagerDeny(requestId *int, accessToken *string) (err error) {
3040  	var resp datatypes.Void
3041  	params := []interface{}{
3042  		requestId,
3043  		accessToken,
3044  	}
3045  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "managerDeny", params, &r.Options, &resp)
3046  	return
3047  }
3048  
3049  // Validates request and kicks off the approval process.
3050  func (r Account_Internal_Ibm) RequestAccount(requestContainer *datatypes.Container_Account_Internal_Ibm_Request) (err error) {
3051  	var resp datatypes.Void
3052  	params := []interface{}{
3053  		requestContainer,
3054  	}
3055  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "requestAccount", params, &r.Options, &resp)
3056  	return
3057  }
3058  
3059  // no documentation yet
3060  type Account_Internal_Ibm_CostRecovery_Validator struct {
3061  	Session session.SLSession
3062  	Options sl.Options
3063  }
3064  
3065  // GetAccountInternalIbmCostRecoveryValidatorService returns an instance of the Account_Internal_Ibm_CostRecovery_Validator SoftLayer service
3066  func GetAccountInternalIbmCostRecoveryValidatorService(sess session.SLSession) Account_Internal_Ibm_CostRecovery_Validator {
3067  	return Account_Internal_Ibm_CostRecovery_Validator{Session: sess}
3068  }
3069  
3070  func (r Account_Internal_Ibm_CostRecovery_Validator) Id(id int) Account_Internal_Ibm_CostRecovery_Validator {
3071  	r.Options.Id = &id
3072  	return r
3073  }
3074  
3075  func (r Account_Internal_Ibm_CostRecovery_Validator) Mask(mask string) Account_Internal_Ibm_CostRecovery_Validator {
3076  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3077  		mask = fmt.Sprintf("mask[%s]", mask)
3078  	}
3079  
3080  	r.Options.Mask = mask
3081  	return r
3082  }
3083  
3084  func (r Account_Internal_Ibm_CostRecovery_Validator) Filter(filter string) Account_Internal_Ibm_CostRecovery_Validator {
3085  	r.Options.Filter = filter
3086  	return r
3087  }
3088  
3089  func (r Account_Internal_Ibm_CostRecovery_Validator) Limit(limit int) Account_Internal_Ibm_CostRecovery_Validator {
3090  	r.Options.Limit = &limit
3091  	return r
3092  }
3093  
3094  func (r Account_Internal_Ibm_CostRecovery_Validator) Offset(offset int) Account_Internal_Ibm_CostRecovery_Validator {
3095  	r.Options.Offset = &offset
3096  	return r
3097  }
3098  
3099  // Will return a container with information for a PACT or WBS account ID and BMS country ID.
3100  func (r Account_Internal_Ibm_CostRecovery_Validator) GetSprintContainer(accountId *string, countryId *string) (resp datatypes.Sprint_Container_CostRecovery, err error) {
3101  	params := []interface{}{
3102  		accountId,
3103  		countryId,
3104  	}
3105  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm_CostRecovery_Validator", "getSprintContainer", params, &r.Options, &resp)
3106  	return
3107  }
3108  
3109  // Will validate a PACT or WBS account ID and BMS country ID. If the record is invalid, an exception is thrown. Otherwise, a container with account information is returned.
3110  func (r Account_Internal_Ibm_CostRecovery_Validator) ValidateByAccountAndCountryId(accountId *string, countryId *string) (resp datatypes.Sprint_Container_CostRecovery, err error) {
3111  	params := []interface{}{
3112  		accountId,
3113  		countryId,
3114  	}
3115  	err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm_CostRecovery_Validator", "validateByAccountAndCountryId", params, &r.Options, &resp)
3116  	return
3117  }
3118  
3119  // no documentation yet
3120  type Account_Link_Bluemix struct {
3121  	Session session.SLSession
3122  	Options sl.Options
3123  }
3124  
3125  // GetAccountLinkBluemixService returns an instance of the Account_Link_Bluemix SoftLayer service
3126  func GetAccountLinkBluemixService(sess session.SLSession) Account_Link_Bluemix {
3127  	return Account_Link_Bluemix{Session: sess}
3128  }
3129  
3130  func (r Account_Link_Bluemix) Id(id int) Account_Link_Bluemix {
3131  	r.Options.Id = &id
3132  	return r
3133  }
3134  
3135  func (r Account_Link_Bluemix) Mask(mask string) Account_Link_Bluemix {
3136  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3137  		mask = fmt.Sprintf("mask[%s]", mask)
3138  	}
3139  
3140  	r.Options.Mask = mask
3141  	return r
3142  }
3143  
3144  func (r Account_Link_Bluemix) Filter(filter string) Account_Link_Bluemix {
3145  	r.Options.Filter = filter
3146  	return r
3147  }
3148  
3149  func (r Account_Link_Bluemix) Limit(limit int) Account_Link_Bluemix {
3150  	r.Options.Limit = &limit
3151  	return r
3152  }
3153  
3154  func (r Account_Link_Bluemix) Offset(offset int) Account_Link_Bluemix {
3155  	r.Options.Offset = &offset
3156  	return r
3157  }
3158  
3159  // no documentation yet
3160  func (r Account_Link_Bluemix) GetObject() (resp datatypes.Account_Link_Bluemix, err error) {
3161  	err = r.Session.DoRequest("SoftLayer_Account_Link_Bluemix", "getObject", nil, &r.Options, &resp)
3162  	return
3163  }
3164  
3165  // no documentation yet
3166  func (r Account_Link_Bluemix) GetSupportTierType() (resp string, err error) {
3167  	err = r.Session.DoRequest("SoftLayer_Account_Link_Bluemix", "getSupportTierType", nil, &r.Options, &resp)
3168  	return
3169  }
3170  
3171  // The SoftLayer_Account_Lockdown_Request data type holds information on API requests from brand customers.
3172  type Account_Lockdown_Request struct {
3173  	Session session.SLSession
3174  	Options sl.Options
3175  }
3176  
3177  // GetAccountLockdownRequestService returns an instance of the Account_Lockdown_Request SoftLayer service
3178  func GetAccountLockdownRequestService(sess session.SLSession) Account_Lockdown_Request {
3179  	return Account_Lockdown_Request{Session: sess}
3180  }
3181  
3182  func (r Account_Lockdown_Request) Id(id int) Account_Lockdown_Request {
3183  	r.Options.Id = &id
3184  	return r
3185  }
3186  
3187  func (r Account_Lockdown_Request) Mask(mask string) Account_Lockdown_Request {
3188  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3189  		mask = fmt.Sprintf("mask[%s]", mask)
3190  	}
3191  
3192  	r.Options.Mask = mask
3193  	return r
3194  }
3195  
3196  func (r Account_Lockdown_Request) Filter(filter string) Account_Lockdown_Request {
3197  	r.Options.Filter = filter
3198  	return r
3199  }
3200  
3201  func (r Account_Lockdown_Request) Limit(limit int) Account_Lockdown_Request {
3202  	r.Options.Limit = &limit
3203  	return r
3204  }
3205  
3206  func (r Account_Lockdown_Request) Offset(offset int) Account_Lockdown_Request {
3207  	r.Options.Offset = &offset
3208  	return r
3209  }
3210  
3211  // Will cancel a lockdown request scheduled in the future. Once canceled, the lockdown request cannot be reconciled and new requests must be made for subsequent actions on the account.
3212  func (r Account_Lockdown_Request) CancelRequest() (err error) {
3213  	var resp datatypes.Void
3214  	err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "cancelRequest", nil, &r.Options, &resp)
3215  	return
3216  }
3217  
3218  // Takes the original lockdown request ID. The account will be disabled immediately. All hardware will be reclaimed and all accounts permanently disabled.
3219  func (r Account_Lockdown_Request) DisableLockedAccount(disableDate *string, statusChangeReasonKeyName *string) (resp int, err error) {
3220  	params := []interface{}{
3221  		disableDate,
3222  		statusChangeReasonKeyName,
3223  	}
3224  	err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "disableLockedAccount", params, &r.Options, &resp)
3225  	return
3226  }
3227  
3228  // Takes an account ID. Note the disconnection will happen immediately. A brand account request ID will be returned and will then be updated when the disconnection occurs.
3229  func (r Account_Lockdown_Request) DisconnectCompute(accountId *int, disconnectDate *string) (resp int, err error) {
3230  	params := []interface{}{
3231  		accountId,
3232  		disconnectDate,
3233  	}
3234  	err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "disconnectCompute", params, &r.Options, &resp)
3235  	return
3236  }
3237  
3238  // Provides a history of an account's lockdown requests and their status.
3239  func (r Account_Lockdown_Request) GetAccountHistory(accountId *int) (resp []datatypes.Account_Lockdown_Request, err error) {
3240  	params := []interface{}{
3241  		accountId,
3242  	}
3243  	err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "getAccountHistory", params, &r.Options, &resp)
3244  	return
3245  }
3246  
3247  // no documentation yet
3248  func (r Account_Lockdown_Request) GetObject() (resp datatypes.Account_Lockdown_Request, err error) {
3249  	err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "getObject", nil, &r.Options, &resp)
3250  	return
3251  }
3252  
3253  // Takes the original disconnected lockdown request ID. The account reconnection will happen immediately. The associated lockdown event will be unlocked and closed at that time.
3254  func (r Account_Lockdown_Request) ReconnectCompute(reconnectDate *string) (resp int, err error) {
3255  	params := []interface{}{
3256  		reconnectDate,
3257  	}
3258  	err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "reconnectCompute", params, &r.Options, &resp)
3259  	return
3260  }
3261  
3262  // no documentation yet
3263  type Account_MasterServiceAgreement struct {
3264  	Session session.SLSession
3265  	Options sl.Options
3266  }
3267  
3268  // GetAccountMasterServiceAgreementService returns an instance of the Account_MasterServiceAgreement SoftLayer service
3269  func GetAccountMasterServiceAgreementService(sess session.SLSession) Account_MasterServiceAgreement {
3270  	return Account_MasterServiceAgreement{Session: sess}
3271  }
3272  
3273  func (r Account_MasterServiceAgreement) Id(id int) Account_MasterServiceAgreement {
3274  	r.Options.Id = &id
3275  	return r
3276  }
3277  
3278  func (r Account_MasterServiceAgreement) Mask(mask string) Account_MasterServiceAgreement {
3279  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3280  		mask = fmt.Sprintf("mask[%s]", mask)
3281  	}
3282  
3283  	r.Options.Mask = mask
3284  	return r
3285  }
3286  
3287  func (r Account_MasterServiceAgreement) Filter(filter string) Account_MasterServiceAgreement {
3288  	r.Options.Filter = filter
3289  	return r
3290  }
3291  
3292  func (r Account_MasterServiceAgreement) Limit(limit int) Account_MasterServiceAgreement {
3293  	r.Options.Limit = &limit
3294  	return r
3295  }
3296  
3297  func (r Account_MasterServiceAgreement) Offset(offset int) Account_MasterServiceAgreement {
3298  	r.Options.Offset = &offset
3299  	return r
3300  }
3301  
3302  // Retrieve
3303  func (r Account_MasterServiceAgreement) GetAccount() (resp datatypes.Account, err error) {
3304  	err = r.Session.DoRequest("SoftLayer_Account_MasterServiceAgreement", "getAccount", nil, &r.Options, &resp)
3305  	return
3306  }
3307  
3308  // Gets a File Entity container with the user's account's current MSA PDF. Gets a translation if one is available. Otherwise, gets the master document.
3309  func (r Account_MasterServiceAgreement) GetFile() (resp datatypes.Container_Utility_File_Entity, err error) {
3310  	err = r.Session.DoRequest("SoftLayer_Account_MasterServiceAgreement", "getFile", nil, &r.Options, &resp)
3311  	return
3312  }
3313  
3314  // no documentation yet
3315  func (r Account_MasterServiceAgreement) GetObject() (resp datatypes.Account_MasterServiceAgreement, err error) {
3316  	err = r.Session.DoRequest("SoftLayer_Account_MasterServiceAgreement", "getObject", nil, &r.Options, &resp)
3317  	return
3318  }
3319  
3320  // The SoftLayer_Account_Media data type contains information on a single piece of media associated with a Data Transfer Service request.
3321  type Account_Media struct {
3322  	Session session.SLSession
3323  	Options sl.Options
3324  }
3325  
3326  // GetAccountMediaService returns an instance of the Account_Media SoftLayer service
3327  func GetAccountMediaService(sess session.SLSession) Account_Media {
3328  	return Account_Media{Session: sess}
3329  }
3330  
3331  func (r Account_Media) Id(id int) Account_Media {
3332  	r.Options.Id = &id
3333  	return r
3334  }
3335  
3336  func (r Account_Media) Mask(mask string) Account_Media {
3337  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3338  		mask = fmt.Sprintf("mask[%s]", mask)
3339  	}
3340  
3341  	r.Options.Mask = mask
3342  	return r
3343  }
3344  
3345  func (r Account_Media) Filter(filter string) Account_Media {
3346  	r.Options.Filter = filter
3347  	return r
3348  }
3349  
3350  func (r Account_Media) Limit(limit int) Account_Media {
3351  	r.Options.Limit = &limit
3352  	return r
3353  }
3354  
3355  func (r Account_Media) Offset(offset int) Account_Media {
3356  	r.Options.Offset = &offset
3357  	return r
3358  }
3359  
3360  // Edit the properties of a media record by passing in a modified instance of a SoftLayer_Account_Media object.
3361  func (r Account_Media) EditObject(templateObject *datatypes.Account_Media) (resp bool, err error) {
3362  	params := []interface{}{
3363  		templateObject,
3364  	}
3365  	err = r.Session.DoRequest("SoftLayer_Account_Media", "editObject", params, &r.Options, &resp)
3366  	return
3367  }
3368  
3369  // Retrieve The account to which the media belongs.
3370  func (r Account_Media) GetAccount() (resp datatypes.Account, err error) {
3371  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getAccount", nil, &r.Options, &resp)
3372  	return
3373  }
3374  
3375  // Retrieve a list supported media types for SoftLayer's Data Transfer Service.
3376  func (r Account_Media) GetAllMediaTypes() (resp []datatypes.Account_Media_Type, err error) {
3377  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getAllMediaTypes", nil, &r.Options, &resp)
3378  	return
3379  }
3380  
3381  // Retrieve The customer user who created the media object.
3382  func (r Account_Media) GetCreateUser() (resp datatypes.User_Customer, err error) {
3383  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getCreateUser", nil, &r.Options, &resp)
3384  	return
3385  }
3386  
3387  // Retrieve The datacenter where the media resides.
3388  func (r Account_Media) GetDatacenter() (resp datatypes.Location, err error) {
3389  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getDatacenter", nil, &r.Options, &resp)
3390  	return
3391  }
3392  
3393  // Retrieve The employee who last modified the media.
3394  func (r Account_Media) GetModifyEmployee() (resp datatypes.User_Employee, err error) {
3395  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getModifyEmployee", nil, &r.Options, &resp)
3396  	return
3397  }
3398  
3399  // Retrieve The customer user who last modified the media.
3400  func (r Account_Media) GetModifyUser() (resp datatypes.User_Customer, err error) {
3401  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getModifyUser", nil, &r.Options, &resp)
3402  	return
3403  }
3404  
3405  // no documentation yet
3406  func (r Account_Media) GetObject() (resp datatypes.Account_Media, err error) {
3407  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getObject", nil, &r.Options, &resp)
3408  	return
3409  }
3410  
3411  // Retrieve The request to which the media belongs.
3412  func (r Account_Media) GetRequest() (resp datatypes.Account_Media_Data_Transfer_Request, err error) {
3413  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getRequest", nil, &r.Options, &resp)
3414  	return
3415  }
3416  
3417  // Retrieve The media's type.
3418  func (r Account_Media) GetType() (resp datatypes.Account_Media_Type, err error) {
3419  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getType", nil, &r.Options, &resp)
3420  	return
3421  }
3422  
3423  // Retrieve A guest's associated EVault network storage service account.
3424  func (r Account_Media) GetVolume() (resp datatypes.Network_Storage, err error) {
3425  	err = r.Session.DoRequest("SoftLayer_Account_Media", "getVolume", nil, &r.Options, &resp)
3426  	return
3427  }
3428  
3429  // Remove a media from a SoftLayer account's list of media. The media record is not deleted.
3430  func (r Account_Media) RemoveMediaFromList(mediaTemplate *datatypes.Account_Media) (resp int, err error) {
3431  	params := []interface{}{
3432  		mediaTemplate,
3433  	}
3434  	err = r.Session.DoRequest("SoftLayer_Account_Media", "removeMediaFromList", params, &r.Options, &resp)
3435  	return
3436  }
3437  
3438  // The SoftLayer_Account_Media_Data_Transfer_Request data type contains information on a single Data Transfer Service request. Creation of these requests is limited to SoftLayer customers through the SoftLayer Customer Portal.
3439  type Account_Media_Data_Transfer_Request struct {
3440  	Session session.SLSession
3441  	Options sl.Options
3442  }
3443  
3444  // GetAccountMediaDataTransferRequestService returns an instance of the Account_Media_Data_Transfer_Request SoftLayer service
3445  func GetAccountMediaDataTransferRequestService(sess session.SLSession) Account_Media_Data_Transfer_Request {
3446  	return Account_Media_Data_Transfer_Request{Session: sess}
3447  }
3448  
3449  func (r Account_Media_Data_Transfer_Request) Id(id int) Account_Media_Data_Transfer_Request {
3450  	r.Options.Id = &id
3451  	return r
3452  }
3453  
3454  func (r Account_Media_Data_Transfer_Request) Mask(mask string) Account_Media_Data_Transfer_Request {
3455  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3456  		mask = fmt.Sprintf("mask[%s]", mask)
3457  	}
3458  
3459  	r.Options.Mask = mask
3460  	return r
3461  }
3462  
3463  func (r Account_Media_Data_Transfer_Request) Filter(filter string) Account_Media_Data_Transfer_Request {
3464  	r.Options.Filter = filter
3465  	return r
3466  }
3467  
3468  func (r Account_Media_Data_Transfer_Request) Limit(limit int) Account_Media_Data_Transfer_Request {
3469  	r.Options.Limit = &limit
3470  	return r
3471  }
3472  
3473  func (r Account_Media_Data_Transfer_Request) Offset(offset int) Account_Media_Data_Transfer_Request {
3474  	r.Options.Offset = &offset
3475  	return r
3476  }
3477  
3478  // Edit the properties of a data transfer request record by passing in a modified instance of a SoftLayer_Account_Media_Data_Transfer_Request object.
3479  func (r Account_Media_Data_Transfer_Request) EditObject(templateObject *datatypes.Account_Media_Data_Transfer_Request) (resp bool, err error) {
3480  	params := []interface{}{
3481  		templateObject,
3482  	}
3483  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "editObject", params, &r.Options, &resp)
3484  	return
3485  }
3486  
3487  // Retrieve The account to which the request belongs.
3488  func (r Account_Media_Data_Transfer_Request) GetAccount() (resp datatypes.Account, err error) {
3489  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getAccount", nil, &r.Options, &resp)
3490  	return
3491  }
3492  
3493  // Retrieve The active tickets that are attached to the data transfer request.
3494  func (r Account_Media_Data_Transfer_Request) GetActiveTickets() (resp []datatypes.Ticket, err error) {
3495  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getActiveTickets", nil, &r.Options, &resp)
3496  	return
3497  }
3498  
3499  // Retrieves a list of all the possible statuses to which a request may be set.
3500  func (r Account_Media_Data_Transfer_Request) GetAllRequestStatuses() (resp []datatypes.Account_Media_Data_Transfer_Request_Status, err error) {
3501  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getAllRequestStatuses", nil, &r.Options, &resp)
3502  	return
3503  }
3504  
3505  // Retrieve The billing item for the original request.
3506  func (r Account_Media_Data_Transfer_Request) GetBillingItem() (resp datatypes.Billing_Item, err error) {
3507  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getBillingItem", nil, &r.Options, &resp)
3508  	return
3509  }
3510  
3511  // Retrieve The customer user who created the request.
3512  func (r Account_Media_Data_Transfer_Request) GetCreateUser() (resp datatypes.User_Customer, err error) {
3513  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getCreateUser", nil, &r.Options, &resp)
3514  	return
3515  }
3516  
3517  // Retrieve The media of the request.
3518  func (r Account_Media_Data_Transfer_Request) GetMedia() (resp datatypes.Account_Media, err error) {
3519  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getMedia", nil, &r.Options, &resp)
3520  	return
3521  }
3522  
3523  // Retrieve The employee who last modified the request.
3524  func (r Account_Media_Data_Transfer_Request) GetModifyEmployee() (resp datatypes.User_Employee, err error) {
3525  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getModifyEmployee", nil, &r.Options, &resp)
3526  	return
3527  }
3528  
3529  // Retrieve The customer user who last modified the request.
3530  func (r Account_Media_Data_Transfer_Request) GetModifyUser() (resp datatypes.User_Customer, err error) {
3531  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getModifyUser", nil, &r.Options, &resp)
3532  	return
3533  }
3534  
3535  // no documentation yet
3536  func (r Account_Media_Data_Transfer_Request) GetObject() (resp datatypes.Account_Media_Data_Transfer_Request, err error) {
3537  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getObject", nil, &r.Options, &resp)
3538  	return
3539  }
3540  
3541  // Retrieve The shipments of the request.
3542  func (r Account_Media_Data_Transfer_Request) GetShipments() (resp []datatypes.Account_Shipment, err error) {
3543  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getShipments", nil, &r.Options, &resp)
3544  	return
3545  }
3546  
3547  // Retrieve The status of the request.
3548  func (r Account_Media_Data_Transfer_Request) GetStatus() (resp datatypes.Account_Media_Data_Transfer_Request_Status, err error) {
3549  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getStatus", nil, &r.Options, &resp)
3550  	return
3551  }
3552  
3553  // Retrieve All tickets that are attached to the data transfer request.
3554  func (r Account_Media_Data_Transfer_Request) GetTickets() (resp []datatypes.Ticket, err error) {
3555  	err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getTickets", nil, &r.Options, &resp)
3556  	return
3557  }
3558  
3559  // no documentation yet
3560  type Account_Note struct {
3561  	Session session.SLSession
3562  	Options sl.Options
3563  }
3564  
3565  // GetAccountNoteService returns an instance of the Account_Note SoftLayer service
3566  func GetAccountNoteService(sess session.SLSession) Account_Note {
3567  	return Account_Note{Session: sess}
3568  }
3569  
3570  func (r Account_Note) Id(id int) Account_Note {
3571  	r.Options.Id = &id
3572  	return r
3573  }
3574  
3575  func (r Account_Note) Mask(mask string) Account_Note {
3576  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3577  		mask = fmt.Sprintf("mask[%s]", mask)
3578  	}
3579  
3580  	r.Options.Mask = mask
3581  	return r
3582  }
3583  
3584  func (r Account_Note) Filter(filter string) Account_Note {
3585  	r.Options.Filter = filter
3586  	return r
3587  }
3588  
3589  func (r Account_Note) Limit(limit int) Account_Note {
3590  	r.Options.Limit = &limit
3591  	return r
3592  }
3593  
3594  func (r Account_Note) Offset(offset int) Account_Note {
3595  	r.Options.Offset = &offset
3596  	return r
3597  }
3598  
3599  // no documentation yet
3600  func (r Account_Note) CreateObject(templateObject *datatypes.Account_Note) (resp datatypes.Account_Note, err error) {
3601  	params := []interface{}{
3602  		templateObject,
3603  	}
3604  	err = r.Session.DoRequest("SoftLayer_Account_Note", "createObject", params, &r.Options, &resp)
3605  	return
3606  }
3607  
3608  // no documentation yet
3609  func (r Account_Note) DeleteObject() (resp bool, err error) {
3610  	err = r.Session.DoRequest("SoftLayer_Account_Note", "deleteObject", nil, &r.Options, &resp)
3611  	return
3612  }
3613  
3614  // no documentation yet
3615  func (r Account_Note) EditObject(templateObject *datatypes.Account_Note) (resp bool, err error) {
3616  	params := []interface{}{
3617  		templateObject,
3618  	}
3619  	err = r.Session.DoRequest("SoftLayer_Account_Note", "editObject", params, &r.Options, &resp)
3620  	return
3621  }
3622  
3623  // Retrieve
3624  func (r Account_Note) GetAccount() (resp datatypes.Account, err error) {
3625  	err = r.Session.DoRequest("SoftLayer_Account_Note", "getAccount", nil, &r.Options, &resp)
3626  	return
3627  }
3628  
3629  // Retrieve
3630  func (r Account_Note) GetCustomer() (resp datatypes.User_Customer, err error) {
3631  	err = r.Session.DoRequest("SoftLayer_Account_Note", "getCustomer", nil, &r.Options, &resp)
3632  	return
3633  }
3634  
3635  // Retrieve
3636  func (r Account_Note) GetNoteHistory() (resp []datatypes.Account_Note_History, err error) {
3637  	err = r.Session.DoRequest("SoftLayer_Account_Note", "getNoteHistory", nil, &r.Options, &resp)
3638  	return
3639  }
3640  
3641  // no documentation yet
3642  func (r Account_Note) GetObject() (resp datatypes.Account_Note, err error) {
3643  	err = r.Session.DoRequest("SoftLayer_Account_Note", "getObject", nil, &r.Options, &resp)
3644  	return
3645  }
3646  
3647  // no documentation yet
3648  type Account_Partner_Referral_Prospect struct {
3649  	Session session.SLSession
3650  	Options sl.Options
3651  }
3652  
3653  // GetAccountPartnerReferralProspectService returns an instance of the Account_Partner_Referral_Prospect SoftLayer service
3654  func GetAccountPartnerReferralProspectService(sess session.SLSession) Account_Partner_Referral_Prospect {
3655  	return Account_Partner_Referral_Prospect{Session: sess}
3656  }
3657  
3658  func (r Account_Partner_Referral_Prospect) Id(id int) Account_Partner_Referral_Prospect {
3659  	r.Options.Id = &id
3660  	return r
3661  }
3662  
3663  func (r Account_Partner_Referral_Prospect) Mask(mask string) Account_Partner_Referral_Prospect {
3664  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3665  		mask = fmt.Sprintf("mask[%s]", mask)
3666  	}
3667  
3668  	r.Options.Mask = mask
3669  	return r
3670  }
3671  
3672  func (r Account_Partner_Referral_Prospect) Filter(filter string) Account_Partner_Referral_Prospect {
3673  	r.Options.Filter = filter
3674  	return r
3675  }
3676  
3677  func (r Account_Partner_Referral_Prospect) Limit(limit int) Account_Partner_Referral_Prospect {
3678  	r.Options.Limit = &limit
3679  	return r
3680  }
3681  
3682  func (r Account_Partner_Referral_Prospect) Offset(offset int) Account_Partner_Referral_Prospect {
3683  	r.Options.Offset = &offset
3684  	return r
3685  }
3686  
3687  // Create a new Referral Partner Prospect
3688  func (r Account_Partner_Referral_Prospect) CreateProspect(templateObject *datatypes.Container_Referral_Partner_Prospect, commit *bool) (resp datatypes.Account_Partner_Referral_Prospect, err error) {
3689  	params := []interface{}{
3690  		templateObject,
3691  		commit,
3692  	}
3693  	err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "createProspect", params, &r.Options, &resp)
3694  	return
3695  }
3696  
3697  // no documentation yet
3698  func (r Account_Partner_Referral_Prospect) GetObject() (resp datatypes.Account_Partner_Referral_Prospect, err error) {
3699  	err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "getObject", nil, &r.Options, &resp)
3700  	return
3701  }
3702  
3703  // Retrieves Questions for a Referral Partner Survey
3704  func (r Account_Partner_Referral_Prospect) GetSurveyQuestions() (resp []datatypes.Survey_Question, err error) {
3705  	err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "getSurveyQuestions", nil, &r.Options, &resp)
3706  	return
3707  }
3708  
3709  // The SoftLayer_Account_Password contains username, passwords and notes for services that may require for external applications such the Webcc interface for the EVault Storage service.
3710  type Account_Password struct {
3711  	Session session.SLSession
3712  	Options sl.Options
3713  }
3714  
3715  // GetAccountPasswordService returns an instance of the Account_Password SoftLayer service
3716  func GetAccountPasswordService(sess session.SLSession) Account_Password {
3717  	return Account_Password{Session: sess}
3718  }
3719  
3720  func (r Account_Password) Id(id int) Account_Password {
3721  	r.Options.Id = &id
3722  	return r
3723  }
3724  
3725  func (r Account_Password) Mask(mask string) Account_Password {
3726  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3727  		mask = fmt.Sprintf("mask[%s]", mask)
3728  	}
3729  
3730  	r.Options.Mask = mask
3731  	return r
3732  }
3733  
3734  func (r Account_Password) Filter(filter string) Account_Password {
3735  	r.Options.Filter = filter
3736  	return r
3737  }
3738  
3739  func (r Account_Password) Limit(limit int) Account_Password {
3740  	r.Options.Limit = &limit
3741  	return r
3742  }
3743  
3744  func (r Account_Password) Offset(offset int) Account_Password {
3745  	r.Options.Offset = &offset
3746  	return r
3747  }
3748  
3749  // The password and/or notes may be modified.  Modifying the EVault passwords here will also update the password the Webcc interface will use.
3750  func (r Account_Password) EditObject(templateObject *datatypes.Account_Password) (resp bool, err error) {
3751  	params := []interface{}{
3752  		templateObject,
3753  	}
3754  	err = r.Session.DoRequest("SoftLayer_Account_Password", "editObject", params, &r.Options, &resp)
3755  	return
3756  }
3757  
3758  // Retrieve
3759  func (r Account_Password) GetAccount() (resp datatypes.Account, err error) {
3760  	err = r.Session.DoRequest("SoftLayer_Account_Password", "getAccount", nil, &r.Options, &resp)
3761  	return
3762  }
3763  
3764  // getObject retrieves the SoftLayer_Account_Password object whose ID corresponds to the ID number of the init parameter passed to the SoftLayer_Account_Password service.
3765  func (r Account_Password) GetObject() (resp datatypes.Account_Password, err error) {
3766  	err = r.Session.DoRequest("SoftLayer_Account_Password", "getObject", nil, &r.Options, &resp)
3767  	return
3768  }
3769  
3770  // Retrieve The service that an account/password combination is tied to.
3771  func (r Account_Password) GetType() (resp datatypes.Account_Password_Type, err error) {
3772  	err = r.Session.DoRequest("SoftLayer_Account_Password", "getType", nil, &r.Options, &resp)
3773  	return
3774  }
3775  
3776  // no documentation yet
3777  type Account_ProofOfConcept struct {
3778  	Session session.SLSession
3779  	Options sl.Options
3780  }
3781  
3782  // GetAccountProofOfConceptService returns an instance of the Account_ProofOfConcept SoftLayer service
3783  func GetAccountProofOfConceptService(sess session.SLSession) Account_ProofOfConcept {
3784  	return Account_ProofOfConcept{Session: sess}
3785  }
3786  
3787  func (r Account_ProofOfConcept) Id(id int) Account_ProofOfConcept {
3788  	r.Options.Id = &id
3789  	return r
3790  }
3791  
3792  func (r Account_ProofOfConcept) Mask(mask string) Account_ProofOfConcept {
3793  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
3794  		mask = fmt.Sprintf("mask[%s]", mask)
3795  	}
3796  
3797  	r.Options.Mask = mask
3798  	return r
3799  }
3800  
3801  func (r Account_ProofOfConcept) Filter(filter string) Account_ProofOfConcept {
3802  	r.Options.Filter = filter
3803  	return r
3804  }
3805  
3806  func (r Account_ProofOfConcept) Limit(limit int) Account_ProofOfConcept {
3807  	r.Options.Limit = &limit
3808  	return r
3809  }
3810  
3811  func (r Account_ProofOfConcept) Offset(offset int) Account_ProofOfConcept {
3812  	r.Options.Offset = &offset
3813  	return r
3814  }
3815  
3816  // Allows a verified reviewer to approve a request
3817  func (r Account_ProofOfConcept) ApproveReview(requestId *int, accessToken *string) (err error) {
3818  	var resp datatypes.Void
3819  	params := []interface{}{
3820  		requestId,
3821  		accessToken,
3822  	}
3823  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "approveReview", params, &r.Options, &resp)
3824  	return
3825  }
3826  
3827  // Allows verified reviewer to deny a request
3828  func (r Account_ProofOfConcept) DenyReview(requestId *int, accessToken *string, reason *string) (err error) {
3829  	var resp datatypes.Void
3830  	params := []interface{}{
3831  		requestId,
3832  		accessToken,
3833  		reason,
3834  	}
3835  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "denyReview", params, &r.Options, &resp)
3836  	return
3837  }
3838  
3839  // Returns URL used to authenticate reviewers
3840  func (r Account_ProofOfConcept) GetAuthenticationUrl(targetPage *string) (resp string, err error) {
3841  	params := []interface{}{
3842  		targetPage,
3843  	}
3844  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getAuthenticationUrl", params, &r.Options, &resp)
3845  	return
3846  }
3847  
3848  // Retrieves a list of requests that are pending review in the specified regions
3849  func (r Account_ProofOfConcept) GetRequestsPendingIntegratedOfferingTeamReview(accessToken *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) {
3850  	params := []interface{}{
3851  		accessToken,
3852  	}
3853  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getRequestsPendingIntegratedOfferingTeamReview", params, &r.Options, &resp)
3854  	return
3855  }
3856  
3857  // Retrieves a list of requests that are pending over threshold review
3858  func (r Account_ProofOfConcept) GetRequestsPendingOverThresholdReview(accessToken *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) {
3859  	params := []interface{}{
3860  		accessToken,
3861  	}
3862  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getRequestsPendingOverThresholdReview", params, &r.Options, &resp)
3863  	return
3864  }
3865  
3866  // Exchanges a code for a token during reviewer validation.
3867  func (r Account_ProofOfConcept) GetReviewerAccessToken(unverifiedAuthenticationCode *string) (resp string, err error) {
3868  	params := []interface{}{
3869  		unverifiedAuthenticationCode,
3870  	}
3871  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getReviewerAccessToken", params, &r.Options, &resp)
3872  	return
3873  }
3874  
3875  // Finds a reviewer's email using the access token
3876  func (r Account_ProofOfConcept) GetReviewerEmailFromAccessToken(accessToken *string) (resp string, err error) {
3877  	params := []interface{}{
3878  		accessToken,
3879  	}
3880  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getReviewerEmailFromAccessToken", params, &r.Options, &resp)
3881  	return
3882  }
3883  
3884  // Allows authorized IBMer to pull all the details of a single proof of concept account request.
3885  func (r Account_ProofOfConcept) GetSubmittedRequest(requestId *int, email *string) (resp datatypes.Container_Account_ProofOfConcept_Review, err error) {
3886  	params := []interface{}{
3887  		requestId,
3888  		email,
3889  	}
3890  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSubmittedRequest", params, &r.Options, &resp)
3891  	return
3892  }
3893  
3894  // Allows authorized IBMer to retrieve a list summarizing all previously submitted proof of concept requests.
3895  //
3896  // Note that the proof of concept system is for internal IBM employees only and is not applicable to users outside the IBM organization.
3897  func (r Account_ProofOfConcept) GetSubmittedRequests(email *string, sortOrder *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) {
3898  	params := []interface{}{
3899  		email,
3900  		sortOrder,
3901  	}
3902  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSubmittedRequests", params, &r.Options, &resp)
3903  	return
3904  }
3905  
3906  // Gets email address users can use to ask for help/support
3907  func (r Account_ProofOfConcept) GetSupportEmailAddress() (resp string, err error) {
3908  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSupportEmailAddress", nil, &r.Options, &resp)
3909  	return
3910  }
3911  
3912  // no documentation yet
3913  func (r Account_ProofOfConcept) GetTotalRequestsPendingIntegratedOfferingTeamReview(accessToken *string) (resp int, err error) {
3914  	params := []interface{}{
3915  		accessToken,
3916  	}
3917  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getTotalRequestsPendingIntegratedOfferingTeamReview", params, &r.Options, &resp)
3918  	return
3919  }
3920  
3921  // no documentation yet
3922  func (r Account_ProofOfConcept) GetTotalRequestsPendingOverThresholdReviewCount() (resp int, err error) {
3923  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getTotalRequestsPendingOverThresholdReviewCount", nil, &r.Options, &resp)
3924  	return
3925  }
3926  
3927  // Determines if the user is one of the reviewers currently able to act
3928  func (r Account_ProofOfConcept) IsCurrentReviewer(requestId *int, accessToken *string) (resp bool, err error) {
3929  	params := []interface{}{
3930  		requestId,
3931  		accessToken,
3932  	}
3933  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isCurrentReviewer", params, &r.Options, &resp)
3934  	return
3935  }
3936  
3937  // Indicates whether or not a reviewer belongs to the integrated offering team
3938  func (r Account_ProofOfConcept) IsIntegratedOfferingTeamReviewer(emailAddress *string) (resp bool, err error) {
3939  	params := []interface{}{
3940  		emailAddress,
3941  	}
3942  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isIntegratedOfferingTeamReviewer", params, &r.Options, &resp)
3943  	return
3944  }
3945  
3946  // Indicates whether or not a reviewer belongs to the threshold team.
3947  func (r Account_ProofOfConcept) IsOverThresholdReviewer(emailAddress *string) (resp bool, err error) {
3948  	params := []interface{}{
3949  		emailAddress,
3950  	}
3951  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isOverThresholdReviewer", params, &r.Options, &resp)
3952  	return
3953  }
3954  
3955  // Allows authorized IBMer's to apply for a proof of concept account using account team funding. Requests will be reviewed by multiple internal teams before an account is created.
3956  //
3957  // Note that the proof of concept system is for internal IBM employees only and is not applicable to users outside the IBM organization.
3958  func (r Account_ProofOfConcept) RequestAccountTeamFundedAccount(request *datatypes.Container_Account_ProofOfConcept_Request_AccountFunded) (resp datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) {
3959  	params := []interface{}{
3960  		request,
3961  	}
3962  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "requestAccountTeamFundedAccount", params, &r.Options, &resp)
3963  	return
3964  }
3965  
3966  // Allows authorized IBMer's to apply for a proof of concept account using global funding. Requests will be reviewed by multiple internal teams before an account is created.
3967  //
3968  // Note that the proof of concept system is for internal IBM employees only and is not applicable to users outside the IBM organization.
3969  func (r Account_ProofOfConcept) RequestGlobalFundedAccount(request *datatypes.Container_Account_ProofOfConcept_Request_GlobalFunded) (resp datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) {
3970  	params := []interface{}{
3971  		request,
3972  	}
3973  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "requestGlobalFundedAccount", params, &r.Options, &resp)
3974  	return
3975  }
3976  
3977  // Verifies that a potential reviewer is an approved internal IBM employee
3978  func (r Account_ProofOfConcept) VerifyReviewer(requestId *int, reviewerEmailAddress *string) (err error) {
3979  	var resp datatypes.Void
3980  	params := []interface{}{
3981  		requestId,
3982  		reviewerEmailAddress,
3983  	}
3984  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "verifyReviewer", params, &r.Options, &resp)
3985  	return
3986  }
3987  
3988  // This class represents a Proof of Concept account approver.
3989  type Account_ProofOfConcept_Approver struct {
3990  	Session session.SLSession
3991  	Options sl.Options
3992  }
3993  
3994  // GetAccountProofOfConceptApproverService returns an instance of the Account_ProofOfConcept_Approver SoftLayer service
3995  func GetAccountProofOfConceptApproverService(sess session.SLSession) Account_ProofOfConcept_Approver {
3996  	return Account_ProofOfConcept_Approver{Session: sess}
3997  }
3998  
3999  func (r Account_ProofOfConcept_Approver) Id(id int) Account_ProofOfConcept_Approver {
4000  	r.Options.Id = &id
4001  	return r
4002  }
4003  
4004  func (r Account_ProofOfConcept_Approver) Mask(mask string) Account_ProofOfConcept_Approver {
4005  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4006  		mask = fmt.Sprintf("mask[%s]", mask)
4007  	}
4008  
4009  	r.Options.Mask = mask
4010  	return r
4011  }
4012  
4013  func (r Account_ProofOfConcept_Approver) Filter(filter string) Account_ProofOfConcept_Approver {
4014  	r.Options.Filter = filter
4015  	return r
4016  }
4017  
4018  func (r Account_ProofOfConcept_Approver) Limit(limit int) Account_ProofOfConcept_Approver {
4019  	r.Options.Limit = &limit
4020  	return r
4021  }
4022  
4023  func (r Account_ProofOfConcept_Approver) Offset(offset int) Account_ProofOfConcept_Approver {
4024  	r.Options.Offset = &offset
4025  	return r
4026  }
4027  
4028  // Retrieves a list of reviewers
4029  func (r Account_ProofOfConcept_Approver) GetAllObjects() (resp []datatypes.Account_ProofOfConcept_Approver, err error) {
4030  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver", "getAllObjects", nil, &r.Options, &resp)
4031  	return
4032  }
4033  
4034  // no documentation yet
4035  func (r Account_ProofOfConcept_Approver) GetObject() (resp datatypes.Account_ProofOfConcept_Approver, err error) {
4036  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver", "getObject", nil, &r.Options, &resp)
4037  	return
4038  }
4039  
4040  // Retrieve
4041  func (r Account_ProofOfConcept_Approver) GetRole() (resp datatypes.Account_ProofOfConcept_Approver_Role, err error) {
4042  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver", "getRole", nil, &r.Options, &resp)
4043  	return
4044  }
4045  
4046  // Retrieve
4047  func (r Account_ProofOfConcept_Approver) GetType() (resp datatypes.Account_ProofOfConcept_Approver_Type, err error) {
4048  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver", "getType", nil, &r.Options, &resp)
4049  	return
4050  }
4051  
4052  // This class represents a Proof of Concept account approver type. The current roles are Primary and Backup approvers.
4053  type Account_ProofOfConcept_Approver_Role struct {
4054  	Session session.SLSession
4055  	Options sl.Options
4056  }
4057  
4058  // GetAccountProofOfConceptApproverRoleService returns an instance of the Account_ProofOfConcept_Approver_Role SoftLayer service
4059  func GetAccountProofOfConceptApproverRoleService(sess session.SLSession) Account_ProofOfConcept_Approver_Role {
4060  	return Account_ProofOfConcept_Approver_Role{Session: sess}
4061  }
4062  
4063  func (r Account_ProofOfConcept_Approver_Role) Id(id int) Account_ProofOfConcept_Approver_Role {
4064  	r.Options.Id = &id
4065  	return r
4066  }
4067  
4068  func (r Account_ProofOfConcept_Approver_Role) Mask(mask string) Account_ProofOfConcept_Approver_Role {
4069  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4070  		mask = fmt.Sprintf("mask[%s]", mask)
4071  	}
4072  
4073  	r.Options.Mask = mask
4074  	return r
4075  }
4076  
4077  func (r Account_ProofOfConcept_Approver_Role) Filter(filter string) Account_ProofOfConcept_Approver_Role {
4078  	r.Options.Filter = filter
4079  	return r
4080  }
4081  
4082  func (r Account_ProofOfConcept_Approver_Role) Limit(limit int) Account_ProofOfConcept_Approver_Role {
4083  	r.Options.Limit = &limit
4084  	return r
4085  }
4086  
4087  func (r Account_ProofOfConcept_Approver_Role) Offset(offset int) Account_ProofOfConcept_Approver_Role {
4088  	r.Options.Offset = &offset
4089  	return r
4090  }
4091  
4092  // no documentation yet
4093  func (r Account_ProofOfConcept_Approver_Role) GetObject() (resp datatypes.Account_ProofOfConcept_Approver_Role, err error) {
4094  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver_Role", "getObject", nil, &r.Options, &resp)
4095  	return
4096  }
4097  
4098  // This class represents a Proof of Concept account approver type.
4099  type Account_ProofOfConcept_Approver_Type struct {
4100  	Session session.SLSession
4101  	Options sl.Options
4102  }
4103  
4104  // GetAccountProofOfConceptApproverTypeService returns an instance of the Account_ProofOfConcept_Approver_Type SoftLayer service
4105  func GetAccountProofOfConceptApproverTypeService(sess session.SLSession) Account_ProofOfConcept_Approver_Type {
4106  	return Account_ProofOfConcept_Approver_Type{Session: sess}
4107  }
4108  
4109  func (r Account_ProofOfConcept_Approver_Type) Id(id int) Account_ProofOfConcept_Approver_Type {
4110  	r.Options.Id = &id
4111  	return r
4112  }
4113  
4114  func (r Account_ProofOfConcept_Approver_Type) Mask(mask string) Account_ProofOfConcept_Approver_Type {
4115  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4116  		mask = fmt.Sprintf("mask[%s]", mask)
4117  	}
4118  
4119  	r.Options.Mask = mask
4120  	return r
4121  }
4122  
4123  func (r Account_ProofOfConcept_Approver_Type) Filter(filter string) Account_ProofOfConcept_Approver_Type {
4124  	r.Options.Filter = filter
4125  	return r
4126  }
4127  
4128  func (r Account_ProofOfConcept_Approver_Type) Limit(limit int) Account_ProofOfConcept_Approver_Type {
4129  	r.Options.Limit = &limit
4130  	return r
4131  }
4132  
4133  func (r Account_ProofOfConcept_Approver_Type) Offset(offset int) Account_ProofOfConcept_Approver_Type {
4134  	r.Options.Offset = &offset
4135  	return r
4136  }
4137  
4138  // Retrieve
4139  func (r Account_ProofOfConcept_Approver_Type) GetApprovers() (resp []datatypes.Account_ProofOfConcept_Approver, err error) {
4140  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver_Type", "getApprovers", nil, &r.Options, &resp)
4141  	return
4142  }
4143  
4144  // no documentation yet
4145  func (r Account_ProofOfConcept_Approver_Type) GetObject() (resp datatypes.Account_ProofOfConcept_Approver_Type, err error) {
4146  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Approver_Type", "getObject", nil, &r.Options, &resp)
4147  	return
4148  }
4149  
4150  // A [SoftLayer_Account_ProofOfConcept_Campaign_Code] provides a `code` and an optional `description`.
4151  type Account_ProofOfConcept_Campaign_Code struct {
4152  	Session session.SLSession
4153  	Options sl.Options
4154  }
4155  
4156  // GetAccountProofOfConceptCampaignCodeService returns an instance of the Account_ProofOfConcept_Campaign_Code SoftLayer service
4157  func GetAccountProofOfConceptCampaignCodeService(sess session.SLSession) Account_ProofOfConcept_Campaign_Code {
4158  	return Account_ProofOfConcept_Campaign_Code{Session: sess}
4159  }
4160  
4161  func (r Account_ProofOfConcept_Campaign_Code) Id(id int) Account_ProofOfConcept_Campaign_Code {
4162  	r.Options.Id = &id
4163  	return r
4164  }
4165  
4166  func (r Account_ProofOfConcept_Campaign_Code) Mask(mask string) Account_ProofOfConcept_Campaign_Code {
4167  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4168  		mask = fmt.Sprintf("mask[%s]", mask)
4169  	}
4170  
4171  	r.Options.Mask = mask
4172  	return r
4173  }
4174  
4175  func (r Account_ProofOfConcept_Campaign_Code) Filter(filter string) Account_ProofOfConcept_Campaign_Code {
4176  	r.Options.Filter = filter
4177  	return r
4178  }
4179  
4180  func (r Account_ProofOfConcept_Campaign_Code) Limit(limit int) Account_ProofOfConcept_Campaign_Code {
4181  	r.Options.Limit = &limit
4182  	return r
4183  }
4184  
4185  func (r Account_ProofOfConcept_Campaign_Code) Offset(offset int) Account_ProofOfConcept_Campaign_Code {
4186  	r.Options.Offset = &offset
4187  	return r
4188  }
4189  
4190  // This method will retrieve all SoftLayer_Account_ProofOfConcept_Campaign_Code objects. Use the `code` field when submitting a request on the [[SoftLayer_Container_Account_ProofOfConcept_Request_Opportunity]] container.
4191  func (r Account_ProofOfConcept_Campaign_Code) GetAllObjects() (resp []datatypes.Account_ProofOfConcept_Campaign_Code, err error) {
4192  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Campaign_Code", "getAllObjects", nil, &r.Options, &resp)
4193  	return
4194  }
4195  
4196  // no documentation yet
4197  func (r Account_ProofOfConcept_Campaign_Code) GetObject() (resp datatypes.Account_ProofOfConcept_Campaign_Code, err error) {
4198  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Campaign_Code", "getObject", nil, &r.Options, &resp)
4199  	return
4200  }
4201  
4202  // no documentation yet
4203  type Account_ProofOfConcept_Funding_Type struct {
4204  	Session session.SLSession
4205  	Options sl.Options
4206  }
4207  
4208  // GetAccountProofOfConceptFundingTypeService returns an instance of the Account_ProofOfConcept_Funding_Type SoftLayer service
4209  func GetAccountProofOfConceptFundingTypeService(sess session.SLSession) Account_ProofOfConcept_Funding_Type {
4210  	return Account_ProofOfConcept_Funding_Type{Session: sess}
4211  }
4212  
4213  func (r Account_ProofOfConcept_Funding_Type) Id(id int) Account_ProofOfConcept_Funding_Type {
4214  	r.Options.Id = &id
4215  	return r
4216  }
4217  
4218  func (r Account_ProofOfConcept_Funding_Type) Mask(mask string) Account_ProofOfConcept_Funding_Type {
4219  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4220  		mask = fmt.Sprintf("mask[%s]", mask)
4221  	}
4222  
4223  	r.Options.Mask = mask
4224  	return r
4225  }
4226  
4227  func (r Account_ProofOfConcept_Funding_Type) Filter(filter string) Account_ProofOfConcept_Funding_Type {
4228  	r.Options.Filter = filter
4229  	return r
4230  }
4231  
4232  func (r Account_ProofOfConcept_Funding_Type) Limit(limit int) Account_ProofOfConcept_Funding_Type {
4233  	r.Options.Limit = &limit
4234  	return r
4235  }
4236  
4237  func (r Account_ProofOfConcept_Funding_Type) Offset(offset int) Account_ProofOfConcept_Funding_Type {
4238  	r.Options.Offset = &offset
4239  	return r
4240  }
4241  
4242  // no documentation yet
4243  func (r Account_ProofOfConcept_Funding_Type) GetAllObjects() (resp []datatypes.Account_ProofOfConcept_Funding_Type, err error) {
4244  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Funding_Type", "getAllObjects", nil, &r.Options, &resp)
4245  	return
4246  }
4247  
4248  // Retrieve
4249  func (r Account_ProofOfConcept_Funding_Type) GetApproverTypes() (resp []datatypes.Account_ProofOfConcept_Approver_Type, err error) {
4250  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Funding_Type", "getApproverTypes", nil, &r.Options, &resp)
4251  	return
4252  }
4253  
4254  // Retrieve
4255  func (r Account_ProofOfConcept_Funding_Type) GetApprovers() (resp []datatypes.Account_ProofOfConcept_Approver, err error) {
4256  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Funding_Type", "getApprovers", nil, &r.Options, &resp)
4257  	return
4258  }
4259  
4260  // no documentation yet
4261  func (r Account_ProofOfConcept_Funding_Type) GetObject() (resp datatypes.Account_ProofOfConcept_Funding_Type, err error) {
4262  	err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept_Funding_Type", "getObject", nil, &r.Options, &resp)
4263  	return
4264  }
4265  
4266  // no documentation yet
4267  type Account_Reports_Request struct {
4268  	Session session.SLSession
4269  	Options sl.Options
4270  }
4271  
4272  // GetAccountReportsRequestService returns an instance of the Account_Reports_Request SoftLayer service
4273  func GetAccountReportsRequestService(sess session.SLSession) Account_Reports_Request {
4274  	return Account_Reports_Request{Session: sess}
4275  }
4276  
4277  func (r Account_Reports_Request) Id(id int) Account_Reports_Request {
4278  	r.Options.Id = &id
4279  	return r
4280  }
4281  
4282  func (r Account_Reports_Request) Mask(mask string) Account_Reports_Request {
4283  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4284  		mask = fmt.Sprintf("mask[%s]", mask)
4285  	}
4286  
4287  	r.Options.Mask = mask
4288  	return r
4289  }
4290  
4291  func (r Account_Reports_Request) Filter(filter string) Account_Reports_Request {
4292  	r.Options.Filter = filter
4293  	return r
4294  }
4295  
4296  func (r Account_Reports_Request) Limit(limit int) Account_Reports_Request {
4297  	r.Options.Limit = &limit
4298  	return r
4299  }
4300  
4301  func (r Account_Reports_Request) Offset(offset int) Account_Reports_Request {
4302  	r.Options.Offset = &offset
4303  	return r
4304  }
4305  
4306  // no documentation yet
4307  func (r Account_Reports_Request) CreateRequest(recipientContact *datatypes.Account_Contact, reason *string, reportType *string, requestorContact *datatypes.Account_Contact) (resp datatypes.Account_Reports_Request, err error) {
4308  	params := []interface{}{
4309  		recipientContact,
4310  		reason,
4311  		reportType,
4312  		requestorContact,
4313  	}
4314  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "createRequest", params, &r.Options, &resp)
4315  	return
4316  }
4317  
4318  // Retrieve
4319  func (r Account_Reports_Request) GetAccount() (resp datatypes.Account, err error) {
4320  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getAccount", nil, &r.Options, &resp)
4321  	return
4322  }
4323  
4324  // Retrieve A request's corresponding external contact, if one exists.
4325  func (r Account_Reports_Request) GetAccountContact() (resp datatypes.Account_Contact, err error) {
4326  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getAccountContact", nil, &r.Options, &resp)
4327  	return
4328  }
4329  
4330  // no documentation yet
4331  func (r Account_Reports_Request) GetAllObjects() (resp datatypes.Account_Reports_Request, err error) {
4332  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getAllObjects", nil, &r.Options, &resp)
4333  	return
4334  }
4335  
4336  // no documentation yet
4337  func (r Account_Reports_Request) GetObject() (resp datatypes.Account_Reports_Request, err error) {
4338  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getObject", nil, &r.Options, &resp)
4339  	return
4340  }
4341  
4342  // Retrieve Type of the report customer is requesting for.
4343  func (r Account_Reports_Request) GetReportType() (resp datatypes.Compliance_Report_Type, err error) {
4344  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getReportType", nil, &r.Options, &resp)
4345  	return
4346  }
4347  
4348  // no documentation yet
4349  func (r Account_Reports_Request) GetRequestByRequestKey(requestKey *string) (resp datatypes.Account_Reports_Request, err error) {
4350  	params := []interface{}{
4351  		requestKey,
4352  	}
4353  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getRequestByRequestKey", params, &r.Options, &resp)
4354  	return
4355  }
4356  
4357  // Retrieve A request's corresponding requestor contact, if one exists.
4358  func (r Account_Reports_Request) GetRequestorContact() (resp datatypes.Account_Contact, err error) {
4359  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getRequestorContact", nil, &r.Options, &resp)
4360  	return
4361  }
4362  
4363  // Retrieve
4364  func (r Account_Reports_Request) GetTicket() (resp datatypes.Ticket, err error) {
4365  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getTicket", nil, &r.Options, &resp)
4366  	return
4367  }
4368  
4369  // Retrieve The customer user that initiated a report request.
4370  func (r Account_Reports_Request) GetUser() (resp datatypes.User_Customer, err error) {
4371  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "getUser", nil, &r.Options, &resp)
4372  	return
4373  }
4374  
4375  // no documentation yet
4376  func (r Account_Reports_Request) SendReportEmail(request *datatypes.Account_Reports_Request) (resp bool, err error) {
4377  	params := []interface{}{
4378  		request,
4379  	}
4380  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "sendReportEmail", params, &r.Options, &resp)
4381  	return
4382  }
4383  
4384  // no documentation yet
4385  func (r Account_Reports_Request) UpdateTicketOnDecline(request *datatypes.Account_Reports_Request) (resp bool, err error) {
4386  	params := []interface{}{
4387  		request,
4388  	}
4389  	err = r.Session.DoRequest("SoftLayer_Account_Reports_Request", "updateTicketOnDecline", params, &r.Options, &resp)
4390  	return
4391  }
4392  
4393  // The SoftLayer_Account_Shipment data type contains information relating to a shipment. Basic information such as addresses, the shipment courier, and any tracking information for as shipment is accessible with this data type.
4394  type Account_Shipment struct {
4395  	Session session.SLSession
4396  	Options sl.Options
4397  }
4398  
4399  // GetAccountShipmentService returns an instance of the Account_Shipment SoftLayer service
4400  func GetAccountShipmentService(sess session.SLSession) Account_Shipment {
4401  	return Account_Shipment{Session: sess}
4402  }
4403  
4404  func (r Account_Shipment) Id(id int) Account_Shipment {
4405  	r.Options.Id = &id
4406  	return r
4407  }
4408  
4409  func (r Account_Shipment) Mask(mask string) Account_Shipment {
4410  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4411  		mask = fmt.Sprintf("mask[%s]", mask)
4412  	}
4413  
4414  	r.Options.Mask = mask
4415  	return r
4416  }
4417  
4418  func (r Account_Shipment) Filter(filter string) Account_Shipment {
4419  	r.Options.Filter = filter
4420  	return r
4421  }
4422  
4423  func (r Account_Shipment) Limit(limit int) Account_Shipment {
4424  	r.Options.Limit = &limit
4425  	return r
4426  }
4427  
4428  func (r Account_Shipment) Offset(offset int) Account_Shipment {
4429  	r.Options.Offset = &offset
4430  	return r
4431  }
4432  
4433  // Edit the properties of a shipment record by passing in a modified instance of a SoftLayer_Account_Shipment object.
4434  func (r Account_Shipment) EditObject(templateObject *datatypes.Account_Shipment) (resp bool, err error) {
4435  	params := []interface{}{
4436  		templateObject,
4437  	}
4438  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "editObject", params, &r.Options, &resp)
4439  	return
4440  }
4441  
4442  // Retrieve The account to which the shipment belongs.
4443  func (r Account_Shipment) GetAccount() (resp datatypes.Account, err error) {
4444  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getAccount", nil, &r.Options, &resp)
4445  	return
4446  }
4447  
4448  // Retrieve a list of available shipping couriers.
4449  func (r Account_Shipment) GetAllCouriers() (resp []datatypes.Auxiliary_Shipping_Courier, err error) {
4450  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getAllCouriers", nil, &r.Options, &resp)
4451  	return
4452  }
4453  
4454  // Retrieve a list of available shipping couriers.
4455  func (r Account_Shipment) GetAllCouriersByType(courierTypeKeyName *string) (resp []datatypes.Auxiliary_Shipping_Courier, err error) {
4456  	params := []interface{}{
4457  		courierTypeKeyName,
4458  	}
4459  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getAllCouriersByType", params, &r.Options, &resp)
4460  	return
4461  }
4462  
4463  // Retrieve a a list of shipment statuses.
4464  func (r Account_Shipment) GetAllShipmentStatuses() (resp []datatypes.Account_Shipment_Status, err error) {
4465  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getAllShipmentStatuses", nil, &r.Options, &resp)
4466  	return
4467  }
4468  
4469  // Retrieve a a list of shipment types.
4470  func (r Account_Shipment) GetAllShipmentTypes() (resp []datatypes.Account_Shipment_Type, err error) {
4471  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getAllShipmentTypes", nil, &r.Options, &resp)
4472  	return
4473  }
4474  
4475  // Retrieve The courier handling the shipment.
4476  func (r Account_Shipment) GetCourier() (resp datatypes.Auxiliary_Shipping_Courier, err error) {
4477  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getCourier", nil, &r.Options, &resp)
4478  	return
4479  }
4480  
4481  // Retrieve The employee who created the shipment.
4482  func (r Account_Shipment) GetCreateEmployee() (resp datatypes.User_Employee, err error) {
4483  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getCreateEmployee", nil, &r.Options, &resp)
4484  	return
4485  }
4486  
4487  // Retrieve The customer user who created the shipment.
4488  func (r Account_Shipment) GetCreateUser() (resp datatypes.User_Customer, err error) {
4489  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getCreateUser", nil, &r.Options, &resp)
4490  	return
4491  }
4492  
4493  // Retrieve
4494  func (r Account_Shipment) GetCurrency() (resp datatypes.Billing_Currency, err error) {
4495  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getCurrency", nil, &r.Options, &resp)
4496  	return
4497  }
4498  
4499  // Retrieve The address at which the shipment is received.
4500  func (r Account_Shipment) GetDestinationAddress() (resp datatypes.Account_Address, err error) {
4501  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getDestinationAddress", nil, &r.Options, &resp)
4502  	return
4503  }
4504  
4505  // Retrieve The one master tracking data for the shipment.
4506  func (r Account_Shipment) GetMasterTrackingData() (resp datatypes.Account_Shipment_Tracking_Data, err error) {
4507  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getMasterTrackingData", nil, &r.Options, &resp)
4508  	return
4509  }
4510  
4511  // Retrieve The employee who last modified the shipment.
4512  func (r Account_Shipment) GetModifyEmployee() (resp datatypes.User_Employee, err error) {
4513  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getModifyEmployee", nil, &r.Options, &resp)
4514  	return
4515  }
4516  
4517  // Retrieve The customer user who last modified the shipment.
4518  func (r Account_Shipment) GetModifyUser() (resp datatypes.User_Customer, err error) {
4519  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getModifyUser", nil, &r.Options, &resp)
4520  	return
4521  }
4522  
4523  // no documentation yet
4524  func (r Account_Shipment) GetObject() (resp datatypes.Account_Shipment, err error) {
4525  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getObject", nil, &r.Options, &resp)
4526  	return
4527  }
4528  
4529  // Retrieve The address from which the shipment is sent.
4530  func (r Account_Shipment) GetOriginationAddress() (resp datatypes.Account_Address, err error) {
4531  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getOriginationAddress", nil, &r.Options, &resp)
4532  	return
4533  }
4534  
4535  // Retrieve The items in the shipment.
4536  func (r Account_Shipment) GetShipmentItems() (resp []datatypes.Account_Shipment_Item, err error) {
4537  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getShipmentItems", nil, &r.Options, &resp)
4538  	return
4539  }
4540  
4541  // Retrieve The status of the shipment.
4542  func (r Account_Shipment) GetStatus() (resp datatypes.Account_Shipment_Status, err error) {
4543  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getStatus", nil, &r.Options, &resp)
4544  	return
4545  }
4546  
4547  // Retrieve All tracking data for the shipment and packages.
4548  func (r Account_Shipment) GetTrackingData() (resp []datatypes.Account_Shipment_Tracking_Data, err error) {
4549  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getTrackingData", nil, &r.Options, &resp)
4550  	return
4551  }
4552  
4553  // Retrieve The type of shipment (e.g. for Data Transfer Service or Colocation Service).
4554  func (r Account_Shipment) GetType() (resp datatypes.Account_Shipment_Type, err error) {
4555  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getType", nil, &r.Options, &resp)
4556  	return
4557  }
4558  
4559  // Retrieve The address at which the shipment is received.
4560  func (r Account_Shipment) GetViaAddress() (resp datatypes.Account_Address, err error) {
4561  	err = r.Session.DoRequest("SoftLayer_Account_Shipment", "getViaAddress", nil, &r.Options, &resp)
4562  	return
4563  }
4564  
4565  // The SoftLayer_Account_Shipment_Item data type contains information relating to a shipment's item. Basic information such as addresses, the shipment courier, and any tracking information for as shipment is accessible with this data type.
4566  type Account_Shipment_Item struct {
4567  	Session session.SLSession
4568  	Options sl.Options
4569  }
4570  
4571  // GetAccountShipmentItemService returns an instance of the Account_Shipment_Item SoftLayer service
4572  func GetAccountShipmentItemService(sess session.SLSession) Account_Shipment_Item {
4573  	return Account_Shipment_Item{Session: sess}
4574  }
4575  
4576  func (r Account_Shipment_Item) Id(id int) Account_Shipment_Item {
4577  	r.Options.Id = &id
4578  	return r
4579  }
4580  
4581  func (r Account_Shipment_Item) Mask(mask string) Account_Shipment_Item {
4582  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4583  		mask = fmt.Sprintf("mask[%s]", mask)
4584  	}
4585  
4586  	r.Options.Mask = mask
4587  	return r
4588  }
4589  
4590  func (r Account_Shipment_Item) Filter(filter string) Account_Shipment_Item {
4591  	r.Options.Filter = filter
4592  	return r
4593  }
4594  
4595  func (r Account_Shipment_Item) Limit(limit int) Account_Shipment_Item {
4596  	r.Options.Limit = &limit
4597  	return r
4598  }
4599  
4600  func (r Account_Shipment_Item) Offset(offset int) Account_Shipment_Item {
4601  	r.Options.Offset = &offset
4602  	return r
4603  }
4604  
4605  // Edit the properties of a shipment record by passing in a modified instance of a SoftLayer_Account_Shipment_Item object.
4606  func (r Account_Shipment_Item) EditObject(templateObject *datatypes.Account_Shipment_Item) (resp bool, err error) {
4607  	params := []interface{}{
4608  		templateObject,
4609  	}
4610  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Item", "editObject", params, &r.Options, &resp)
4611  	return
4612  }
4613  
4614  // no documentation yet
4615  func (r Account_Shipment_Item) GetObject() (resp datatypes.Account_Shipment_Item, err error) {
4616  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Item", "getObject", nil, &r.Options, &resp)
4617  	return
4618  }
4619  
4620  // Retrieve The shipment to which this item belongs.
4621  func (r Account_Shipment_Item) GetShipment() (resp datatypes.Account_Shipment, err error) {
4622  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Item", "getShipment", nil, &r.Options, &resp)
4623  	return
4624  }
4625  
4626  // Retrieve The type of this shipment item.
4627  func (r Account_Shipment_Item) GetShipmentItemType() (resp datatypes.Account_Shipment_Item_Type, err error) {
4628  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Item", "getShipmentItemType", nil, &r.Options, &resp)
4629  	return
4630  }
4631  
4632  // no documentation yet
4633  type Account_Shipment_Item_Type struct {
4634  	Session session.SLSession
4635  	Options sl.Options
4636  }
4637  
4638  // GetAccountShipmentItemTypeService returns an instance of the Account_Shipment_Item_Type SoftLayer service
4639  func GetAccountShipmentItemTypeService(sess session.SLSession) Account_Shipment_Item_Type {
4640  	return Account_Shipment_Item_Type{Session: sess}
4641  }
4642  
4643  func (r Account_Shipment_Item_Type) Id(id int) Account_Shipment_Item_Type {
4644  	r.Options.Id = &id
4645  	return r
4646  }
4647  
4648  func (r Account_Shipment_Item_Type) Mask(mask string) Account_Shipment_Item_Type {
4649  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4650  		mask = fmt.Sprintf("mask[%s]", mask)
4651  	}
4652  
4653  	r.Options.Mask = mask
4654  	return r
4655  }
4656  
4657  func (r Account_Shipment_Item_Type) Filter(filter string) Account_Shipment_Item_Type {
4658  	r.Options.Filter = filter
4659  	return r
4660  }
4661  
4662  func (r Account_Shipment_Item_Type) Limit(limit int) Account_Shipment_Item_Type {
4663  	r.Options.Limit = &limit
4664  	return r
4665  }
4666  
4667  func (r Account_Shipment_Item_Type) Offset(offset int) Account_Shipment_Item_Type {
4668  	r.Options.Offset = &offset
4669  	return r
4670  }
4671  
4672  // no documentation yet
4673  func (r Account_Shipment_Item_Type) GetObject() (resp datatypes.Account_Shipment_Item_Type, err error) {
4674  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Item_Type", "getObject", nil, &r.Options, &resp)
4675  	return
4676  }
4677  
4678  // no documentation yet
4679  type Account_Shipment_Resource_Type struct {
4680  	Session session.SLSession
4681  	Options sl.Options
4682  }
4683  
4684  // GetAccountShipmentResourceTypeService returns an instance of the Account_Shipment_Resource_Type SoftLayer service
4685  func GetAccountShipmentResourceTypeService(sess session.SLSession) Account_Shipment_Resource_Type {
4686  	return Account_Shipment_Resource_Type{Session: sess}
4687  }
4688  
4689  func (r Account_Shipment_Resource_Type) Id(id int) Account_Shipment_Resource_Type {
4690  	r.Options.Id = &id
4691  	return r
4692  }
4693  
4694  func (r Account_Shipment_Resource_Type) Mask(mask string) Account_Shipment_Resource_Type {
4695  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4696  		mask = fmt.Sprintf("mask[%s]", mask)
4697  	}
4698  
4699  	r.Options.Mask = mask
4700  	return r
4701  }
4702  
4703  func (r Account_Shipment_Resource_Type) Filter(filter string) Account_Shipment_Resource_Type {
4704  	r.Options.Filter = filter
4705  	return r
4706  }
4707  
4708  func (r Account_Shipment_Resource_Type) Limit(limit int) Account_Shipment_Resource_Type {
4709  	r.Options.Limit = &limit
4710  	return r
4711  }
4712  
4713  func (r Account_Shipment_Resource_Type) Offset(offset int) Account_Shipment_Resource_Type {
4714  	r.Options.Offset = &offset
4715  	return r
4716  }
4717  
4718  // no documentation yet
4719  func (r Account_Shipment_Resource_Type) GetObject() (resp datatypes.Account_Shipment_Resource_Type, err error) {
4720  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Resource_Type", "getObject", nil, &r.Options, &resp)
4721  	return
4722  }
4723  
4724  // no documentation yet
4725  type Account_Shipment_Status struct {
4726  	Session session.SLSession
4727  	Options sl.Options
4728  }
4729  
4730  // GetAccountShipmentStatusService returns an instance of the Account_Shipment_Status SoftLayer service
4731  func GetAccountShipmentStatusService(sess session.SLSession) Account_Shipment_Status {
4732  	return Account_Shipment_Status{Session: sess}
4733  }
4734  
4735  func (r Account_Shipment_Status) Id(id int) Account_Shipment_Status {
4736  	r.Options.Id = &id
4737  	return r
4738  }
4739  
4740  func (r Account_Shipment_Status) Mask(mask string) Account_Shipment_Status {
4741  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4742  		mask = fmt.Sprintf("mask[%s]", mask)
4743  	}
4744  
4745  	r.Options.Mask = mask
4746  	return r
4747  }
4748  
4749  func (r Account_Shipment_Status) Filter(filter string) Account_Shipment_Status {
4750  	r.Options.Filter = filter
4751  	return r
4752  }
4753  
4754  func (r Account_Shipment_Status) Limit(limit int) Account_Shipment_Status {
4755  	r.Options.Limit = &limit
4756  	return r
4757  }
4758  
4759  func (r Account_Shipment_Status) Offset(offset int) Account_Shipment_Status {
4760  	r.Options.Offset = &offset
4761  	return r
4762  }
4763  
4764  // no documentation yet
4765  func (r Account_Shipment_Status) GetObject() (resp datatypes.Account_Shipment_Status, err error) {
4766  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Status", "getObject", nil, &r.Options, &resp)
4767  	return
4768  }
4769  
4770  // The SoftLayer_Account_Shipment_Tracking_Data data type contains information on a single piece of tracking information pertaining to a shipment. This tracking information tracking numbers by which the shipment may be tracked through the shipping courier.
4771  type Account_Shipment_Tracking_Data struct {
4772  	Session session.SLSession
4773  	Options sl.Options
4774  }
4775  
4776  // GetAccountShipmentTrackingDataService returns an instance of the Account_Shipment_Tracking_Data SoftLayer service
4777  func GetAccountShipmentTrackingDataService(sess session.SLSession) Account_Shipment_Tracking_Data {
4778  	return Account_Shipment_Tracking_Data{Session: sess}
4779  }
4780  
4781  func (r Account_Shipment_Tracking_Data) Id(id int) Account_Shipment_Tracking_Data {
4782  	r.Options.Id = &id
4783  	return r
4784  }
4785  
4786  func (r Account_Shipment_Tracking_Data) Mask(mask string) Account_Shipment_Tracking_Data {
4787  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4788  		mask = fmt.Sprintf("mask[%s]", mask)
4789  	}
4790  
4791  	r.Options.Mask = mask
4792  	return r
4793  }
4794  
4795  func (r Account_Shipment_Tracking_Data) Filter(filter string) Account_Shipment_Tracking_Data {
4796  	r.Options.Filter = filter
4797  	return r
4798  }
4799  
4800  func (r Account_Shipment_Tracking_Data) Limit(limit int) Account_Shipment_Tracking_Data {
4801  	r.Options.Limit = &limit
4802  	return r
4803  }
4804  
4805  func (r Account_Shipment_Tracking_Data) Offset(offset int) Account_Shipment_Tracking_Data {
4806  	r.Options.Offset = &offset
4807  	return r
4808  }
4809  
4810  // Create a new shipment tracking data. The ”shipmentId”, ”sequence”, and ”trackingData” properties in the templateObject parameter are required parameters to create a tracking data record.
4811  func (r Account_Shipment_Tracking_Data) CreateObject(templateObject *datatypes.Account_Shipment_Tracking_Data) (resp datatypes.Account_Shipment_Tracking_Data, err error) {
4812  	params := []interface{}{
4813  		templateObject,
4814  	}
4815  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "createObject", params, &r.Options, &resp)
4816  	return
4817  }
4818  
4819  // Create a new shipment tracking data. The ”shipmentId”, ”sequence”, and ”trackingData” properties of each templateObject in the templateObjects array are required parameters to create a tracking data record.
4820  func (r Account_Shipment_Tracking_Data) CreateObjects(templateObjects []datatypes.Account_Shipment_Tracking_Data) (resp []datatypes.Account_Shipment_Tracking_Data, err error) {
4821  	params := []interface{}{
4822  		templateObjects,
4823  	}
4824  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "createObjects", params, &r.Options, &resp)
4825  	return
4826  }
4827  
4828  // deleteObject permanently removes a shipment tracking datum (number)
4829  func (r Account_Shipment_Tracking_Data) DeleteObject() (resp bool, err error) {
4830  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "deleteObject", nil, &r.Options, &resp)
4831  	return
4832  }
4833  
4834  // Edit the properties of a tracking data record by passing in a modified instance of a SoftLayer_Account_Shipment_Tracking_Data object.
4835  func (r Account_Shipment_Tracking_Data) EditObject(templateObject *datatypes.Account_Shipment_Tracking_Data) (resp bool, err error) {
4836  	params := []interface{}{
4837  		templateObject,
4838  	}
4839  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "editObject", params, &r.Options, &resp)
4840  	return
4841  }
4842  
4843  // Retrieve The employee who created the tracking datum.
4844  func (r Account_Shipment_Tracking_Data) GetCreateEmployee() (resp datatypes.User_Employee, err error) {
4845  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "getCreateEmployee", nil, &r.Options, &resp)
4846  	return
4847  }
4848  
4849  // Retrieve The customer user who created the tracking datum.
4850  func (r Account_Shipment_Tracking_Data) GetCreateUser() (resp datatypes.User_Customer, err error) {
4851  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "getCreateUser", nil, &r.Options, &resp)
4852  	return
4853  }
4854  
4855  // Retrieve The employee who last modified the tracking datum.
4856  func (r Account_Shipment_Tracking_Data) GetModifyEmployee() (resp datatypes.User_Employee, err error) {
4857  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "getModifyEmployee", nil, &r.Options, &resp)
4858  	return
4859  }
4860  
4861  // Retrieve The customer user who last modified the tracking datum.
4862  func (r Account_Shipment_Tracking_Data) GetModifyUser() (resp datatypes.User_Customer, err error) {
4863  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "getModifyUser", nil, &r.Options, &resp)
4864  	return
4865  }
4866  
4867  // no documentation yet
4868  func (r Account_Shipment_Tracking_Data) GetObject() (resp datatypes.Account_Shipment_Tracking_Data, err error) {
4869  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "getObject", nil, &r.Options, &resp)
4870  	return
4871  }
4872  
4873  // Retrieve The shipment of the tracking datum.
4874  func (r Account_Shipment_Tracking_Data) GetShipment() (resp datatypes.Account_Shipment, err error) {
4875  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Tracking_Data", "getShipment", nil, &r.Options, &resp)
4876  	return
4877  }
4878  
4879  // no documentation yet
4880  type Account_Shipment_Type struct {
4881  	Session session.SLSession
4882  	Options sl.Options
4883  }
4884  
4885  // GetAccountShipmentTypeService returns an instance of the Account_Shipment_Type SoftLayer service
4886  func GetAccountShipmentTypeService(sess session.SLSession) Account_Shipment_Type {
4887  	return Account_Shipment_Type{Session: sess}
4888  }
4889  
4890  func (r Account_Shipment_Type) Id(id int) Account_Shipment_Type {
4891  	r.Options.Id = &id
4892  	return r
4893  }
4894  
4895  func (r Account_Shipment_Type) Mask(mask string) Account_Shipment_Type {
4896  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4897  		mask = fmt.Sprintf("mask[%s]", mask)
4898  	}
4899  
4900  	r.Options.Mask = mask
4901  	return r
4902  }
4903  
4904  func (r Account_Shipment_Type) Filter(filter string) Account_Shipment_Type {
4905  	r.Options.Filter = filter
4906  	return r
4907  }
4908  
4909  func (r Account_Shipment_Type) Limit(limit int) Account_Shipment_Type {
4910  	r.Options.Limit = &limit
4911  	return r
4912  }
4913  
4914  func (r Account_Shipment_Type) Offset(offset int) Account_Shipment_Type {
4915  	r.Options.Offset = &offset
4916  	return r
4917  }
4918  
4919  // no documentation yet
4920  func (r Account_Shipment_Type) GetObject() (resp datatypes.Account_Shipment_Type, err error) {
4921  	err = r.Session.DoRequest("SoftLayer_Account_Shipment_Type", "getObject", nil, &r.Options, &resp)
4922  	return
4923  }
4924  
4925  // no documentation yet
4926  type Account_Status_Change_Reason struct {
4927  	Session session.SLSession
4928  	Options sl.Options
4929  }
4930  
4931  // GetAccountStatusChangeReasonService returns an instance of the Account_Status_Change_Reason SoftLayer service
4932  func GetAccountStatusChangeReasonService(sess session.SLSession) Account_Status_Change_Reason {
4933  	return Account_Status_Change_Reason{Session: sess}
4934  }
4935  
4936  func (r Account_Status_Change_Reason) Id(id int) Account_Status_Change_Reason {
4937  	r.Options.Id = &id
4938  	return r
4939  }
4940  
4941  func (r Account_Status_Change_Reason) Mask(mask string) Account_Status_Change_Reason {
4942  	if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
4943  		mask = fmt.Sprintf("mask[%s]", mask)
4944  	}
4945  
4946  	r.Options.Mask = mask
4947  	return r
4948  }
4949  
4950  func (r Account_Status_Change_Reason) Filter(filter string) Account_Status_Change_Reason {
4951  	r.Options.Filter = filter
4952  	return r
4953  }
4954  
4955  func (r Account_Status_Change_Reason) Limit(limit int) Account_Status_Change_Reason {
4956  	r.Options.Limit = &limit
4957  	return r
4958  }
4959  
4960  func (r Account_Status_Change_Reason) Offset(offset int) Account_Status_Change_Reason {
4961  	r.Options.Offset = &offset
4962  	return r
4963  }
4964  
4965  // no documentation yet
4966  func (r Account_Status_Change_Reason) GetAllObjects() (resp []datatypes.Account_Status_Change_Reason, err error) {
4967  	err = r.Session.DoRequest("SoftLayer_Account_Status_Change_Reason", "getAllObjects", nil, &r.Options, &resp)
4968  	return
4969  }
4970  
4971  // no documentation yet
4972  func (r Account_Status_Change_Reason) GetObject() (resp datatypes.Account_Status_Change_Reason, err error) {
4973  	err = r.Session.DoRequest("SoftLayer_Account_Status_Change_Reason", "getObject", nil, &r.Options, &resp)
4974  	return
4975  }
4976