id
int32
0
167k
repo
stringlengths
5
54
path
stringlengths
4
155
func_name
stringlengths
1
118
original_string
stringlengths
52
85.5k
language
stringclasses
1 value
code
stringlengths
52
85.5k
code_tokens
sequence
docstring
stringlengths
6
2.61k
docstring_tokens
sequence
sha
stringlengths
40
40
url
stringlengths
85
252
6,100
softlayer/softlayer-go
services/dns.go
CreateMxRecord
func (r Dns_Domain) CreateMxRecord(host *string, data *string, ttl *int, mxPriority *int) (resp datatypes.Dns_Domain_ResourceRecord_MxType, err error) { params := []interface{}{ host, data, ttl, mxPriority, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createMxRecord", params, &r.Options, &resp) return }
go
func (r Dns_Domain) CreateMxRecord(host *string, data *string, ttl *int, mxPriority *int) (resp datatypes.Dns_Domain_ResourceRecord_MxType, err error) { params := []interface{}{ host, data, ttl, mxPriority, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createMxRecord", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain", ")", "CreateMxRecord", "(", "host", "*", "string", ",", "data", "*", "string", ",", "ttl", "*", "int", ",", "mxPriority", "*", "int", ")", "(", "resp", "datatypes", ".", "Dns_Domain_ResourceRecord_MxType", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "host", ",", "data", ",", "ttl", ",", "mxPriority", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Create an MX record on a SoftLayer domain. This is a shortcut method, meant to take the work out of creating a SoftLayer_Dns_Domain_ResourceRecord if you already have a domain record available. MX records are created with a default priority of 10. createMxRecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_MxType.
[ "Create", "an", "MX", "record", "on", "a", "SoftLayer", "domain", ".", "This", "is", "a", "shortcut", "method", "meant", "to", "take", "the", "work", "out", "of", "creating", "a", "SoftLayer_Dns_Domain_ResourceRecord", "if", "you", "already", "have", "a", "domain", "record", "available", ".", "MX", "records", "are", "created", "with", "a", "default", "priority", "of", "10", ".", "createMxRecord", "returns", "the", "newly", "created", "SoftLayer_Dns_Domain_ResourceRecord_MxType", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L106-L115
6,101
softlayer/softlayer-go
services/dns.go
CreateNsRecord
func (r Dns_Domain) CreateNsRecord(host *string, data *string, ttl *int) (resp datatypes.Dns_Domain_ResourceRecord_NsType, err error) { params := []interface{}{ host, data, ttl, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createNsRecord", params, &r.Options, &resp) return }
go
func (r Dns_Domain) CreateNsRecord(host *string, data *string, ttl *int) (resp datatypes.Dns_Domain_ResourceRecord_NsType, err error) { params := []interface{}{ host, data, ttl, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createNsRecord", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain", ")", "CreateNsRecord", "(", "host", "*", "string", ",", "data", "*", "string", ",", "ttl", "*", "int", ")", "(", "resp", "datatypes", ".", "Dns_Domain_ResourceRecord_NsType", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "host", ",", "data", ",", "ttl", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Create an NS record on a SoftLayer domain. This is a shortcut method, meant to take the work out of creating a SoftLayer_Dns_Domain_ResourceRecord if you already have a domain record available. createNsRecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_NsType.
[ "Create", "an", "NS", "record", "on", "a", "SoftLayer", "domain", ".", "This", "is", "a", "shortcut", "method", "meant", "to", "take", "the", "work", "out", "of", "creating", "a", "SoftLayer_Dns_Domain_ResourceRecord", "if", "you", "already", "have", "a", "domain", "record", "available", ".", "createNsRecord", "returns", "the", "newly", "created", "SoftLayer_Dns_Domain_ResourceRecord_NsType", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L118-L126
6,102
softlayer/softlayer-go
services/dns.go
CreateSpfRecord
func (r Dns_Domain) CreateSpfRecord(host *string, data *string, ttl *int) (resp datatypes.Dns_Domain_ResourceRecord_SpfType, err error) { params := []interface{}{ host, data, ttl, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createSpfRecord", params, &r.Options, &resp) return }
go
func (r Dns_Domain) CreateSpfRecord(host *string, data *string, ttl *int) (resp datatypes.Dns_Domain_ResourceRecord_SpfType, err error) { params := []interface{}{ host, data, ttl, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createSpfRecord", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain", ")", "CreateSpfRecord", "(", "host", "*", "string", ",", "data", "*", "string", ",", "ttl", "*", "int", ")", "(", "resp", "datatypes", ".", "Dns_Domain_ResourceRecord_SpfType", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "host", ",", "data", ",", "ttl", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Create an SPF record on a SoftLayer domain. This is a shortcut method, meant to take the work out of creating a SoftLayer_Dns_Domain_ResourceRecord if you already have a domain record available. createARecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_SpfType.
[ "Create", "an", "SPF", "record", "on", "a", "SoftLayer", "domain", ".", "This", "is", "a", "shortcut", "method", "meant", "to", "take", "the", "work", "out", "of", "creating", "a", "SoftLayer_Dns_Domain_ResourceRecord", "if", "you", "already", "have", "a", "domain", "record", "available", ".", "createARecord", "returns", "the", "newly", "created", "SoftLayer_Dns_Domain_ResourceRecord_SpfType", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L174-L182
6,103
softlayer/softlayer-go
services/dns.go
CreateTxtRecord
func (r Dns_Domain) CreateTxtRecord(host *string, data *string, ttl *int) (resp datatypes.Dns_Domain_ResourceRecord_TxtType, err error) { params := []interface{}{ host, data, ttl, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createTxtRecord", params, &r.Options, &resp) return }
go
func (r Dns_Domain) CreateTxtRecord(host *string, data *string, ttl *int) (resp datatypes.Dns_Domain_ResourceRecord_TxtType, err error) { params := []interface{}{ host, data, ttl, } err = r.Session.DoRequest("SoftLayer_Dns_Domain", "createTxtRecord", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain", ")", "CreateTxtRecord", "(", "host", "*", "string", ",", "data", "*", "string", ",", "ttl", "*", "int", ")", "(", "resp", "datatypes", ".", "Dns_Domain_ResourceRecord_TxtType", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "host", ",", "data", ",", "ttl", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Create a TXT record on a SoftLayer domain. This is a shortcut method, meant to take the work out of creating a SoftLayer_Dns_Domain_ResourceRecord if you already have a domain record available. createARecord returns the newly created SoftLayer_Dns_Domain_ResourceRecord_TxtType.
[ "Create", "a", "TXT", "record", "on", "a", "SoftLayer", "domain", ".", "This", "is", "a", "shortcut", "method", "meant", "to", "take", "the", "work", "out", "of", "creating", "a", "SoftLayer_Dns_Domain_ResourceRecord", "if", "you", "already", "have", "a", "domain", "record", "available", ".", "createARecord", "returns", "the", "newly", "created", "SoftLayer_Dns_Domain_ResourceRecord_TxtType", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L185-L193
6,104
softlayer/softlayer-go
services/dns.go
GetZoneFileContents
func (r Dns_Domain) GetZoneFileContents() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain", "getZoneFileContents", nil, &r.Options, &resp) return }
go
func (r Dns_Domain) GetZoneFileContents() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain", "getZoneFileContents", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain", ")", "GetZoneFileContents", "(", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Return a SoftLayer hosted domain and resource records' data formatted as zone file.
[ "Return", "a", "SoftLayer", "hosted", "domain", "and", "resource", "records", "data", "formatted", "as", "zone", "file", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L247-L250
6,105
softlayer/softlayer-go
services/dns.go
AddNameserversToDomain
func (r Dns_Domain_Registration) AddNameserversToDomain(nameservers []string) (resp bool, err error) { params := []interface{}{ nameservers, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "addNameserversToDomain", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) AddNameserversToDomain(nameservers []string) (resp bool, err error) { params := []interface{}{ nameservers, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "addNameserversToDomain", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "AddNameserversToDomain", "(", "nameservers", "[", "]", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "nameservers", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The addNameserversToDomain method adds nameservers to a domain for a domain that already has nameservers assigned to it. This method does not create a nameserver; the nameserver must already exist.
[ "The", "addNameserversToDomain", "method", "adds", "nameservers", "to", "a", "domain", "for", "a", "domain", "that", "already", "has", "nameservers", "assigned", "to", "it", ".", "This", "method", "does", "not", "create", "a", "nameserver", ";", "the", "nameserver", "must", "already", "exist", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L293-L299
6,106
softlayer/softlayer-go
services/dns.go
DeleteRegisteredNameserver
func (r Dns_Domain_Registration) DeleteRegisteredNameserver(nameserver *string) (resp bool, err error) { params := []interface{}{ nameserver, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "deleteRegisteredNameserver", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) DeleteRegisteredNameserver(nameserver *string) (resp bool, err error) { params := []interface{}{ nameserver, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "deleteRegisteredNameserver", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "DeleteRegisteredNameserver", "(", "nameserver", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "nameserver", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The deleteRegisteredNameserver method deletes a nameserver that was registered, provided it is not currently serving a domain
[ "The", "deleteRegisteredNameserver", "method", "deletes", "a", "nameserver", "that", "was", "registered", "provided", "it", "is", "not", "currently", "serving", "a", "domain" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L302-L308
6,107
softlayer/softlayer-go
services/dns.go
GetAuthenticationCode
func (r Dns_Domain_Registration) GetAuthenticationCode() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getAuthenticationCode", nil, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetAuthenticationCode() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getAuthenticationCode", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetAuthenticationCode", "(", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The getAuthenticationCode method retrieves the authentication code for the domain.
[ "The", "getAuthenticationCode", "method", "retrieves", "the", "authentication", "code", "for", "the", "domain", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L317-L320
6,108
softlayer/softlayer-go
services/dns.go
GetDomainInformation
func (r Dns_Domain_Registration) GetDomainInformation() (resp datatypes.Container_Dns_Domain_Registration_Information, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getDomainInformation", nil, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetDomainInformation() (resp datatypes.Container_Dns_Domain_Registration_Information, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getDomainInformation", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetDomainInformation", "(", ")", "(", "resp", "datatypes", ".", "Container_Dns_Domain_Registration_Information", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The getDomainInformation method retrieves all the information for a domain.
[ "The", "getDomainInformation", "method", "retrieves", "all", "the", "information", "for", "a", "domain", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L323-L326
6,109
softlayer/softlayer-go
services/dns.go
GetDomainRegistrationStatus
func (r Dns_Domain_Registration) GetDomainRegistrationStatus() (resp datatypes.Dns_Domain_Registration_Status, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getDomainRegistrationStatus", nil, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetDomainRegistrationStatus() (resp datatypes.Dns_Domain_Registration_Status, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getDomainRegistrationStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetDomainRegistrationStatus", "(", ")", "(", "resp", "datatypes", ".", "Dns_Domain_Registration_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The domain registration status.
[ "Retrieve", "The", "domain", "registration", "status", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L335-L338
6,110
softlayer/softlayer-go
services/dns.go
GetExtendedAttributes
func (r Dns_Domain_Registration) GetExtendedAttributes(domainName *string) (resp []datatypes.Container_Dns_Domain_Registration_ExtendedAttribute, err error) { params := []interface{}{ domainName, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getExtendedAttributes", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetExtendedAttributes(domainName *string) (resp []datatypes.Container_Dns_Domain_Registration_ExtendedAttribute, err error) { params := []interface{}{ domainName, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getExtendedAttributes", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetExtendedAttributes", "(", "domainName", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Dns_Domain_Registration_ExtendedAttribute", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "domainName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The getExtendedAttributes method determines if a country code top level domain requires extended attributes.
[ "The", "getExtendedAttributes", "method", "determines", "if", "a", "country", "code", "top", "level", "domain", "requires", "extended", "attributes", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L341-L347
6,111
softlayer/softlayer-go
services/dns.go
GetRegisteredNameserver
func (r Dns_Domain_Registration) GetRegisteredNameserver() (resp datatypes.Container_Dns_Domain_Registration_Nameserver, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getRegisteredNameserver", nil, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetRegisteredNameserver() (resp datatypes.Container_Dns_Domain_Registration_Nameserver, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getRegisteredNameserver", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetRegisteredNameserver", "(", ")", "(", "resp", "datatypes", ".", "Container_Dns_Domain_Registration_Nameserver", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The getRegisteredNameserver method retrieves registered nameservers.
[ "The", "getRegisteredNameserver", "method", "retrieves", "registered", "nameservers", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L356-L359
6,112
softlayer/softlayer-go
services/dns.go
GetRegistrantVerificationStatus
func (r Dns_Domain_Registration) GetRegistrantVerificationStatus() (resp datatypes.Dns_Domain_Registration_Registrant_Verification_Status, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getRegistrantVerificationStatus", nil, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetRegistrantVerificationStatus() (resp datatypes.Dns_Domain_Registration_Registrant_Verification_Status, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getRegistrantVerificationStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetRegistrantVerificationStatus", "(", ")", "(", "resp", "datatypes", ".", "Dns_Domain_Registration_Registrant_Verification_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The registrant verification status.
[ "Retrieve", "The", "registrant", "verification", "status", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L362-L365
6,113
softlayer/softlayer-go
services/dns.go
GetRegistrantVerificationStatusDetail
func (r Dns_Domain_Registration) GetRegistrantVerificationStatusDetail() (resp datatypes.Container_Dns_Domain_Registration_Registrant_Verification_StatusDetail, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getRegistrantVerificationStatusDetail", nil, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetRegistrantVerificationStatusDetail() (resp datatypes.Container_Dns_Domain_Registration_Registrant_Verification_StatusDetail, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getRegistrantVerificationStatusDetail", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetRegistrantVerificationStatusDetail", "(", ")", "(", "resp", "datatypes", ".", "Container_Dns_Domain_Registration_Registrant_Verification_StatusDetail", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// When a domain is registered or transferred, or when the registrant contact information is changed, the registrant must reply to an email requesting them to confirm that the submitted contact information is correct. This method returns the current state of the verification request.
[ "When", "a", "domain", "is", "registered", "or", "transferred", "or", "when", "the", "registrant", "contact", "information", "is", "changed", "the", "registrant", "must", "reply", "to", "an", "email", "requesting", "them", "to", "confirm", "that", "the", "submitted", "contact", "information", "is", "correct", ".", "This", "method", "returns", "the", "current", "state", "of", "the", "verification", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L368-L371
6,114
softlayer/softlayer-go
services/dns.go
GetTransferInformation
func (r Dns_Domain_Registration) GetTransferInformation(domainName *string) (resp datatypes.Container_Dns_Domain_Registration_Transfer_Information, err error) { params := []interface{}{ domainName, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getTransferInformation", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) GetTransferInformation(domainName *string) (resp datatypes.Container_Dns_Domain_Registration_Transfer_Information, err error) { params := []interface{}{ domainName, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "getTransferInformation", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "GetTransferInformation", "(", "domainName", "*", "string", ")", "(", "resp", "datatypes", ".", "Container_Dns_Domain_Registration_Transfer_Information", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "domainName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The getTransferInformation method checks to see if the domain can be transferred and also can be used to check the status of the last transfer request.
[ "The", "getTransferInformation", "method", "checks", "to", "see", "if", "the", "domain", "can", "be", "transferred", "and", "also", "can", "be", "used", "to", "check", "the", "status", "of", "the", "last", "transfer", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L380-L386
6,115
softlayer/softlayer-go
services/dns.go
LookupDomain
func (r Dns_Domain_Registration) LookupDomain(domainName *string) (resp []datatypes.Container_Dns_Domain_Registration_Lookup, err error) { params := []interface{}{ domainName, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "lookupDomain", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) LookupDomain(domainName *string) (resp []datatypes.Container_Dns_Domain_Registration_Lookup, err error) { params := []interface{}{ domainName, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "lookupDomain", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "LookupDomain", "(", "domainName", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Dns_Domain_Registration_Lookup", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "domainName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The lookupDomain method checks whether a specified domain name is available for registration in TLD's, and suggests other similar domain names, and checks whether they are available as well.
[ "The", "lookupDomain", "method", "checks", "whether", "a", "specified", "domain", "name", "is", "available", "for", "registration", "in", "TLD", "s", "and", "suggests", "other", "similar", "domain", "names", "and", "checks", "whether", "they", "are", "available", "as", "well", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L397-L403
6,116
softlayer/softlayer-go
services/dns.go
ModifyRegisteredNameserver
func (r Dns_Domain_Registration) ModifyRegisteredNameserver(oldNameserver *string, newNameserver *string, ipAddress *string) (resp bool, err error) { params := []interface{}{ oldNameserver, newNameserver, ipAddress, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "modifyRegisteredNameserver", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) ModifyRegisteredNameserver(oldNameserver *string, newNameserver *string, ipAddress *string) (resp bool, err error) { params := []interface{}{ oldNameserver, newNameserver, ipAddress, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "modifyRegisteredNameserver", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "ModifyRegisteredNameserver", "(", "oldNameserver", "*", "string", ",", "newNameserver", "*", "string", ",", "ipAddress", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "oldNameserver", ",", "newNameserver", ",", "ipAddress", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The modifyRegisteredNameserver method modifies a nameserver that was registered.
[ "The", "modifyRegisteredNameserver", "method", "modifies", "a", "nameserver", "that", "was", "registered", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L415-L423
6,117
softlayer/softlayer-go
services/dns.go
SetAuthenticationCode
func (r Dns_Domain_Registration) SetAuthenticationCode(authenticationCode *string) (resp bool, err error) { params := []interface{}{ authenticationCode, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "setAuthenticationCode", params, &r.Options, &resp) return }
go
func (r Dns_Domain_Registration) SetAuthenticationCode(authenticationCode *string) (resp bool, err error) { params := []interface{}{ authenticationCode, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_Registration", "setAuthenticationCode", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_Registration", ")", "SetAuthenticationCode", "(", "authenticationCode", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "authenticationCode", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// The setAuthenticationCode method sets the authentication code for the domain. The authentication code is a transfer key and provides an extra level of security, safeguarding domain names from unauthorized transfers.
[ "The", "setAuthenticationCode", "method", "sets", "the", "authentication", "code", "for", "the", "domain", ".", "The", "authentication", "code", "is", "a", "transfer", "key", "and", "provides", "an", "extra", "level", "of", "security", "safeguarding", "domain", "names", "from", "unauthorized", "transfers", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L463-L469
6,118
softlayer/softlayer-go
services/dns.go
CreateObjects
func (r Dns_Domain_ResourceRecord_MxType) CreateObjects(templateObjects []datatypes.Dns_Domain_ResourceRecord) (resp []datatypes.Dns_Domain_ResourceRecord, err error) { params := []interface{}{ templateObjects, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_ResourceRecord_MxType", "createObjects", params, &r.Options, &resp) return }
go
func (r Dns_Domain_ResourceRecord_MxType) CreateObjects(templateObjects []datatypes.Dns_Domain_ResourceRecord) (resp []datatypes.Dns_Domain_ResourceRecord, err error) { params := []interface{}{ templateObjects, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_ResourceRecord_MxType", "createObjects", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_ResourceRecord_MxType", ")", "CreateObjects", "(", "templateObjects", "[", "]", "datatypes", ".", "Dns_Domain_ResourceRecord", ")", "(", "resp", "[", "]", "datatypes", ".", "Dns_Domain_ResourceRecord", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "templateObjects", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Create multiple MX records on a domain. This follows the same logic as ''createObject'. The serial number of the domain associated with this MX record is updated upon creation. // // ''createObjects'' returns Boolean ''true'' on successful creation or ''false'' if it was unable to create a resource record.
[ "Create", "multiple", "MX", "records", "on", "a", "domain", ".", "This", "follows", "the", "same", "logic", "as", "createObject", ".", "The", "serial", "number", "of", "the", "domain", "associated", "with", "this", "MX", "record", "is", "updated", "upon", "creation", ".", "createObjects", "returns", "Boolean", "true", "on", "successful", "creation", "or", "false", "if", "it", "was", "unable", "to", "create", "a", "resource", "record", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L784-L790
6,119
softlayer/softlayer-go
services/dns.go
DeleteObjects
func (r Dns_Domain_ResourceRecord_MxType) DeleteObjects(templateObjects []datatypes.Dns_Domain_ResourceRecord_MxType) (resp bool, err error) { params := []interface{}{ templateObjects, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_ResourceRecord_MxType", "deleteObjects", params, &r.Options, &resp) return }
go
func (r Dns_Domain_ResourceRecord_MxType) DeleteObjects(templateObjects []datatypes.Dns_Domain_ResourceRecord_MxType) (resp bool, err error) { params := []interface{}{ templateObjects, } err = r.Session.DoRequest("SoftLayer_Dns_Domain_ResourceRecord_MxType", "deleteObjects", params, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Domain_ResourceRecord_MxType", ")", "DeleteObjects", "(", "templateObjects", "[", "]", "datatypes", ".", "Dns_Domain_ResourceRecord_MxType", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "templateObjects", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Remove multiple MX records from a domain. This follows the same logic as ''deleteObject'' and '''cannot be undone'''. The serial number of the domain associated with this MX record is updated upon deletion. // // ''deleteObjects'' returns Boolean ''true'' on successful deletion or ''false'' if it was unable to remove a resource record.
[ "Remove", "multiple", "MX", "records", "from", "a", "domain", ".", "This", "follows", "the", "same", "logic", "as", "deleteObject", "and", "cannot", "be", "undone", ".", "The", "serial", "number", "of", "the", "domain", "associated", "with", "this", "MX", "record", "is", "updated", "upon", "deletion", ".", "deleteObjects", "returns", "Boolean", "true", "on", "successful", "deletion", "or", "false", "if", "it", "was", "unable", "to", "remove", "a", "resource", "record", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L803-L809
6,120
softlayer/softlayer-go
services/dns.go
GetDomain
func (r Dns_Secondary) GetDomain() (resp datatypes.Dns_Domain, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Secondary", "getDomain", nil, &r.Options, &resp) return }
go
func (r Dns_Secondary) GetDomain() (resp datatypes.Dns_Domain, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Secondary", "getDomain", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Secondary", ")", "GetDomain", "(", ")", "(", "resp", "datatypes", ".", "Dns_Domain", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The domain record created by zone transfer from a secondary DNS record.
[ "Retrieve", "The", "domain", "record", "created", "by", "zone", "transfer", "from", "a", "secondary", "DNS", "record", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L1067-L1070
6,121
softlayer/softlayer-go
services/dns.go
GetErrorMessages
func (r Dns_Secondary) GetErrorMessages() (resp []datatypes.Dns_Message, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Secondary", "getErrorMessages", nil, &r.Options, &resp) return }
go
func (r Dns_Secondary) GetErrorMessages() (resp []datatypes.Dns_Message, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Secondary", "getErrorMessages", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Secondary", ")", "GetErrorMessages", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Dns_Message", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The error messages created during secondary DNS record transfer.
[ "Retrieve", "The", "error", "messages", "created", "during", "secondary", "DNS", "record", "transfer", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L1073-L1076
6,122
softlayer/softlayer-go
services/dns.go
GetStatus
func (r Dns_Secondary) GetStatus() (resp datatypes.Dns_Status, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Secondary", "getStatus", nil, &r.Options, &resp) return }
go
func (r Dns_Secondary) GetStatus() (resp datatypes.Dns_Status, err error) { err = r.Session.DoRequest("SoftLayer_Dns_Secondary", "getStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Dns_Secondary", ")", "GetStatus", "(", ")", "(", "resp", "datatypes", ".", "Dns_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The current status of the secondary DNS zone.
[ "Retrieve", "The", "current", "status", "of", "the", "secondary", "DNS", "zone", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/dns.go#L1085-L1088
6,123
softlayer/softlayer-go
session/session.go
DoRequest
func (r *Session) DoRequest(service string, method string, args []interface{}, options *sl.Options, pResult interface{}) error { if r.TransportHandler == nil { r.TransportHandler = getDefaultTransport(r.Endpoint) } return r.TransportHandler.DoRequest(r, service, method, args, options, pResult) }
go
func (r *Session) DoRequest(service string, method string, args []interface{}, options *sl.Options, pResult interface{}) error { if r.TransportHandler == nil { r.TransportHandler = getDefaultTransport(r.Endpoint) } return r.TransportHandler.DoRequest(r, service, method, args, options, pResult) }
[ "func", "(", "r", "*", "Session", ")", "DoRequest", "(", "service", "string", ",", "method", "string", ",", "args", "[", "]", "interface", "{", "}", ",", "options", "*", "sl", ".", "Options", ",", "pResult", "interface", "{", "}", ")", "error", "{", "if", "r", ".", "TransportHandler", "==", "nil", "{", "r", ".", "TransportHandler", "=", "getDefaultTransport", "(", "r", ".", "Endpoint", ")", "\n", "}", "\n\n", "return", "r", ".", "TransportHandler", ".", "DoRequest", "(", "r", ",", "service", ",", "method", ",", "args", ",", "options", ",", "pResult", ")", "\n", "}" ]
// DoRequest hands off the processing to the assigned transport handler. It is // normally called internally by the service objects, but is exported so that it can // be invoked directly by client code in exceptional cases where direct control is // needed over one of the parameters. // // For a description of parameters, see TransportHandler.DoRequest in this package
[ "DoRequest", "hands", "off", "the", "processing", "to", "the", "assigned", "transport", "handler", ".", "It", "is", "normally", "called", "internally", "by", "the", "service", "objects", "but", "is", "exported", "so", "that", "it", "can", "be", "invoked", "directly", "by", "client", "code", "in", "exceptional", "cases", "where", "direct", "control", "is", "needed", "over", "one", "of", "the", "parameters", ".", "For", "a", "description", "of", "parameters", "see", "TransportHandler", ".", "DoRequest", "in", "this", "package" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/session/session.go#L249-L255
6,124
softlayer/softlayer-go
session/session.go
SetTimeout
func (r *Session) SetTimeout(timeout time.Duration) *Session { var s Session s = *r s.Timeout = timeout return &s }
go
func (r *Session) SetTimeout(timeout time.Duration) *Session { var s Session s = *r s.Timeout = timeout return &s }
[ "func", "(", "r", "*", "Session", ")", "SetTimeout", "(", "timeout", "time", ".", "Duration", ")", "*", "Session", "{", "var", "s", "Session", "\n", "s", "=", "*", "r", "\n", "s", ".", "Timeout", "=", "timeout", "\n\n", "return", "&", "s", "\n", "}" ]
// SetTimeout creates a copy of the session and sets the passed timeout into it // before returning it.
[ "SetTimeout", "creates", "a", "copy", "of", "the", "session", "and", "sets", "the", "passed", "timeout", "into", "it", "before", "returning", "it", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/session/session.go#L259-L265
6,125
softlayer/softlayer-go
session/session.go
SetRetries
func (r *Session) SetRetries(retries int) *Session { var s Session s = *r s.Retries = retries return &s }
go
func (r *Session) SetRetries(retries int) *Session { var s Session s = *r s.Retries = retries return &s }
[ "func", "(", "r", "*", "Session", ")", "SetRetries", "(", "retries", "int", ")", "*", "Session", "{", "var", "s", "Session", "\n", "s", "=", "*", "r", "\n", "s", ".", "Retries", "=", "retries", "\n\n", "return", "&", "s", "\n", "}" ]
// SetRetries creates a copy of the session and sets the passed retries into it // before returning it.
[ "SetRetries", "creates", "a", "copy", "of", "the", "session", "and", "sets", "the", "passed", "retries", "into", "it", "before", "returning", "it", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/session/session.go#L269-L275
6,126
softlayer/softlayer-go
session/session.go
SetRetryWait
func (r *Session) SetRetryWait(retryWait time.Duration) *Session { var s Session s = *r s.RetryWait = retryWait return &s }
go
func (r *Session) SetRetryWait(retryWait time.Duration) *Session { var s Session s = *r s.RetryWait = retryWait return &s }
[ "func", "(", "r", "*", "Session", ")", "SetRetryWait", "(", "retryWait", "time", ".", "Duration", ")", "*", "Session", "{", "var", "s", "Session", "\n", "s", "=", "*", "r", "\n", "s", ".", "RetryWait", "=", "retryWait", "\n\n", "return", "&", "s", "\n", "}" ]
// SetRetryWait creates a copy of the session and sets the passed retryWait into it // before returning it.
[ "SetRetryWait", "creates", "a", "copy", "of", "the", "session", "and", "sets", "the", "passed", "retryWait", "into", "it", "before", "returning", "it", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/session/session.go#L279-L285
6,127
softlayer/softlayer-go
session/session.go
AppendUserAgent
func (r *Session) AppendUserAgent(agent string) { if r.userAgent == "" { r.userAgent = getDefaultUserAgent() } if agent != "" { r.userAgent += " " + agent } }
go
func (r *Session) AppendUserAgent(agent string) { if r.userAgent == "" { r.userAgent = getDefaultUserAgent() } if agent != "" { r.userAgent += " " + agent } }
[ "func", "(", "r", "*", "Session", ")", "AppendUserAgent", "(", "agent", "string", ")", "{", "if", "r", ".", "userAgent", "==", "\"", "\"", "{", "r", ".", "userAgent", "=", "getDefaultUserAgent", "(", ")", "\n", "}", "\n\n", "if", "agent", "!=", "\"", "\"", "{", "r", ".", "userAgent", "+=", "\"", "\"", "+", "agent", "\n", "}", "\n", "}" ]
// AppendUserAgent allows higher level application to identify themselves by // appending to the useragent string
[ "AppendUserAgent", "allows", "higher", "level", "application", "to", "identify", "themselves", "by", "appending", "to", "the", "useragent", "string" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/session/session.go#L289-L297
6,128
softlayer/softlayer-go
services/tag.go
AutoComplete
func (r Tag) AutoComplete(tag *string) (resp []datatypes.Tag, err error) { params := []interface{}{ tag, } err = r.Session.DoRequest("SoftLayer_Tag", "autoComplete", params, &r.Options, &resp) return }
go
func (r Tag) AutoComplete(tag *string) (resp []datatypes.Tag, err error) { params := []interface{}{ tag, } err = r.Session.DoRequest("SoftLayer_Tag", "autoComplete", params, &r.Options, &resp) return }
[ "func", "(", "r", "Tag", ")", "AutoComplete", "(", "tag", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Tag", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "tag", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This function is responsible for setting the Tags values. The internal flag is set to 0 if the user is a customer, and 1 otherwise. AccountId is set to the account bound to the user, and the tags name is set to the clean version of the tag inputted by the user.
[ "This", "function", "is", "responsible", "for", "setting", "the", "Tags", "values", ".", "The", "internal", "flag", "is", "set", "to", "0", "if", "the", "user", "is", "a", "customer", "and", "1", "otherwise", ".", "AccountId", "is", "set", "to", "the", "account", "bound", "to", "the", "user", "and", "the", "tags", "name", "is", "set", "to", "the", "clean", "version", "of", "the", "tag", "inputted", "by", "the", "user", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/tag.go#L73-L79
6,129
softlayer/softlayer-go
services/tag.go
DeleteTag
func (r Tag) DeleteTag(tagName *string) (resp bool, err error) { params := []interface{}{ tagName, } err = r.Session.DoRequest("SoftLayer_Tag", "deleteTag", params, &r.Options, &resp) return }
go
func (r Tag) DeleteTag(tagName *string) (resp bool, err error) { params := []interface{}{ tagName, } err = r.Session.DoRequest("SoftLayer_Tag", "deleteTag", params, &r.Options, &resp) return }
[ "func", "(", "r", "Tag", ")", "DeleteTag", "(", "tagName", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "tagName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Delete a tag for an object.
[ "Delete", "a", "tag", "for", "an", "object", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/tag.go#L82-L88
6,130
softlayer/softlayer-go
services/tag.go
GetAllTagTypes
func (r Tag) GetAllTagTypes() (resp []datatypes.Tag_Type, err error) { err = r.Session.DoRequest("SoftLayer_Tag", "getAllTagTypes", nil, &r.Options, &resp) return }
go
func (r Tag) GetAllTagTypes() (resp []datatypes.Tag_Type, err error) { err = r.Session.DoRequest("SoftLayer_Tag", "getAllTagTypes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Tag", ")", "GetAllTagTypes", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Tag_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns all tags of a given object type.
[ "Returns", "all", "tags", "of", "a", "given", "object", "type", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/tag.go#L97-L100
6,131
softlayer/softlayer-go
services/tag.go
GetReferences
func (r Tag) GetReferences() (resp []datatypes.Tag_Reference, err error) { err = r.Session.DoRequest("SoftLayer_Tag", "getReferences", nil, &r.Options, &resp) return }
go
func (r Tag) GetReferences() (resp []datatypes.Tag_Reference, err error) { err = r.Session.DoRequest("SoftLayer_Tag", "getReferences", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Tag", ")", "GetReferences", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Tag_Reference", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve References that tie object to the tag.
[ "Retrieve", "References", "that", "tie", "object", "to", "the", "tag", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/tag.go#L109-L112
6,132
softlayer/softlayer-go
services/tag.go
GetTagByTagName
func (r Tag) GetTagByTagName(tagList *string) (resp []datatypes.Tag, err error) { params := []interface{}{ tagList, } err = r.Session.DoRequest("SoftLayer_Tag", "getTagByTagName", params, &r.Options, &resp) return }
go
func (r Tag) GetTagByTagName(tagList *string) (resp []datatypes.Tag, err error) { params := []interface{}{ tagList, } err = r.Session.DoRequest("SoftLayer_Tag", "getTagByTagName", params, &r.Options, &resp) return }
[ "func", "(", "r", "Tag", ")", "GetTagByTagName", "(", "tagList", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Tag", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "tagList", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns the Tag object with a given name. The user types in the tag name and this method returns the tag with that name.
[ "Returns", "the", "Tag", "object", "with", "a", "given", "name", ".", "The", "user", "types", "in", "the", "tag", "name", "and", "this", "method", "returns", "the", "tag", "with", "that", "name", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/tag.go#L115-L121
6,133
softlayer/softlayer-go
services/security.go
FindByCommonName
func (r Security_Certificate) FindByCommonName(commonName *string) (resp []datatypes.Security_Certificate, err error) { params := []interface{}{ commonName, } err = r.Session.DoRequest("SoftLayer_Security_Certificate", "findByCommonName", params, &r.Options, &resp) return }
go
func (r Security_Certificate) FindByCommonName(commonName *string) (resp []datatypes.Security_Certificate, err error) { params := []interface{}{ commonName, } err = r.Session.DoRequest("SoftLayer_Security_Certificate", "findByCommonName", params, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate", ")", "FindByCommonName", "(", "commonName", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Security_Certificate", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "commonName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Locate certificates by their common name, traditionally a domain name.
[ "Locate", "certificates", "by", "their", "common", "name", "traditionally", "a", "domain", "name", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L99-L105
6,134
softlayer/softlayer-go
services/security.go
GetAssociatedServiceCount
func (r Security_Certificate) GetAssociatedServiceCount() (resp int, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate", "getAssociatedServiceCount", nil, &r.Options, &resp) return }
go
func (r Security_Certificate) GetAssociatedServiceCount() (resp int, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate", "getAssociatedServiceCount", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate", ")", "GetAssociatedServiceCount", "(", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The number of services currently associated with the certificate.
[ "Retrieve", "The", "number", "of", "services", "currently", "associated", "with", "the", "certificate", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L108-L111
6,135
softlayer/softlayer-go
services/security.go
GetLoadBalancerVirtualIpAddresses
func (r Security_Certificate) GetLoadBalancerVirtualIpAddresses() (resp []datatypes.Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate", "getLoadBalancerVirtualIpAddresses", nil, &r.Options, &resp) return }
go
func (r Security_Certificate) GetLoadBalancerVirtualIpAddresses() (resp []datatypes.Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate", "getLoadBalancerVirtualIpAddresses", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate", ")", "GetLoadBalancerVirtualIpAddresses", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The load balancers virtual IP addresses currently associated with the certificate.
[ "Retrieve", "The", "load", "balancers", "virtual", "IP", "addresses", "currently", "associated", "with", "the", "certificate", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L114-L117
6,136
softlayer/softlayer-go
services/security.go
CancelSslOrder
func (r Security_Certificate_Request) CancelSslOrder() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "cancelSslOrder", nil, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) CancelSslOrder() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "cancelSslOrder", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "CancelSslOrder", "(", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Cancels a pending SSL certificate order at the Certificate Authority
[ "Cancels", "a", "pending", "SSL", "certificate", "order", "at", "the", "Certificate", "Authority" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L172-L175
6,137
softlayer/softlayer-go
services/security.go
GetAdministratorEmailDomains
func (r Security_Certificate_Request) GetAdministratorEmailDomains(commonName *string) (resp []string, err error) { params := []interface{}{ commonName, } err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getAdministratorEmailDomains", params, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) GetAdministratorEmailDomains(commonName *string) (resp []string, err error) { params := []interface{}{ commonName, } err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getAdministratorEmailDomains", params, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "GetAdministratorEmailDomains", "(", "commonName", "*", "string", ")", "(", "resp", "[", "]", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "commonName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Gets the email domains that can be used to validate a certificate to a domain.
[ "Gets", "the", "email", "domains", "that", "can", "be", "used", "to", "validate", "a", "certificate", "to", "a", "domain", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L184-L190
6,138
softlayer/softlayer-go
services/security.go
GetAdministratorEmailPrefixes
func (r Security_Certificate_Request) GetAdministratorEmailPrefixes() (resp []string, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getAdministratorEmailPrefixes", nil, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) GetAdministratorEmailPrefixes() (resp []string, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getAdministratorEmailPrefixes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "GetAdministratorEmailPrefixes", "(", ")", "(", "resp", "[", "]", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Gets the email accounts that can be used to validate a certificate to a domain.
[ "Gets", "the", "email", "accounts", "that", "can", "be", "used", "to", "validate", "a", "certificate", "to", "a", "domain", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L193-L196
6,139
softlayer/softlayer-go
services/security.go
GetPreviousOrderData
func (r Security_Certificate_Request) GetPreviousOrderData() (resp datatypes.Container_Product_Order_Security_Certificate, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getPreviousOrderData", nil, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) GetPreviousOrderData() (resp datatypes.Container_Product_Order_Security_Certificate, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getPreviousOrderData", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "GetPreviousOrderData", "(", ")", "(", "resp", "datatypes", ".", "Container_Product_Order_Security_Certificate", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns previous SSL certificate order data. You can use this data for to place a renewal order for a completed SSL certificate.
[ "Returns", "previous", "SSL", "certificate", "order", "data", ".", "You", "can", "use", "this", "data", "for", "to", "place", "a", "renewal", "order", "for", "a", "completed", "SSL", "certificate", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L223-L226
6,140
softlayer/softlayer-go
services/security.go
GetSslCertificateRequests
func (r Security_Certificate_Request) GetSslCertificateRequests(accountId *int) (resp []datatypes.Security_Certificate_Request, err error) { params := []interface{}{ accountId, } err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getSslCertificateRequests", params, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) GetSslCertificateRequests(accountId *int) (resp []datatypes.Security_Certificate_Request, err error) { params := []interface{}{ accountId, } err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getSslCertificateRequests", params, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "GetSslCertificateRequests", "(", "accountId", "*", "int", ")", "(", "resp", "[", "]", "datatypes", ".", "Security_Certificate_Request", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accountId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns all the SSL certificate requests.
[ "Returns", "all", "the", "SSL", "certificate", "requests", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L229-L235
6,141
softlayer/softlayer-go
services/security.go
GetStatus
func (r Security_Certificate_Request) GetStatus() (resp datatypes.Security_Certificate_Request_Status, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getStatus", nil, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) GetStatus() (resp datatypes.Security_Certificate_Request_Status, err error) { err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "getStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "GetStatus", "(", ")", "(", "resp", "datatypes", ".", "Security_Certificate_Request_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The status of a SSL certificate request.
[ "Retrieve", "The", "status", "of", "a", "SSL", "certificate", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L238-L241
6,142
softlayer/softlayer-go
services/security.go
ResendEmail
func (r Security_Certificate_Request) ResendEmail(emailType *string) (resp bool, err error) { params := []interface{}{ emailType, } err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "resendEmail", params, &r.Options, &resp) return }
go
func (r Security_Certificate_Request) ResendEmail(emailType *string) (resp bool, err error) { params := []interface{}{ emailType, } err = r.Session.DoRequest("SoftLayer_Security_Certificate_Request", "resendEmail", params, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Certificate_Request", ")", "ResendEmail", "(", "emailType", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "emailType", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// A Certificate Authority sends out various emails to your domain administrator or your technical contact. Use this service to have these emails re-sent.
[ "A", "Certificate", "Authority", "sends", "out", "various", "emails", "to", "your", "domain", "administrator", "or", "your", "technical", "contact", ".", "Use", "this", "service", "to", "have", "these", "emails", "re", "-", "sent", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L244-L250
6,143
softlayer/softlayer-go
services/security.go
CreateObject
func (r Security_Ssh_Key) CreateObject(templateObject *datatypes.Security_Ssh_Key) (resp datatypes.Security_Ssh_Key, err error) { params := []interface{}{ templateObject, } err = r.Session.DoRequest("SoftLayer_Security_Ssh_Key", "createObject", params, &r.Options, &resp) return }
go
func (r Security_Ssh_Key) CreateObject(templateObject *datatypes.Security_Ssh_Key) (resp datatypes.Security_Ssh_Key, err error) { params := []interface{}{ templateObject, } err = r.Session.DoRequest("SoftLayer_Security_Ssh_Key", "createObject", params, &r.Options, &resp) return }
[ "func", "(", "r", "Security_Ssh_Key", ")", "CreateObject", "(", "templateObject", "*", "datatypes", ".", "Security_Ssh_Key", ")", "(", "resp", "datatypes", ".", "Security_Ssh_Key", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "templateObject", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Add a ssh key to your account for use during server provisioning and os reloads.
[ "Add", "a", "ssh", "key", "to", "your", "account", "for", "use", "during", "server", "provisioning", "and", "os", "reloads", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/security.go#L411-L417
6,144
softlayer/softlayer-go
services/survey.go
GetActiveSurveyByType
func (r Survey) GetActiveSurveyByType(typ *string) (resp datatypes.Survey, err error) { params := []interface{}{ typ, } err = r.Session.DoRequest("SoftLayer_Survey", "getActiveSurveyByType", params, &r.Options, &resp) return }
go
func (r Survey) GetActiveSurveyByType(typ *string) (resp datatypes.Survey, err error) { params := []interface{}{ typ, } err = r.Session.DoRequest("SoftLayer_Survey", "getActiveSurveyByType", params, &r.Options, &resp) return }
[ "func", "(", "r", "Survey", ")", "GetActiveSurveyByType", "(", "typ", "*", "string", ")", "(", "resp", "datatypes", ".", "Survey", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "typ", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Provides survey details for the given type
[ "Provides", "survey", "details", "for", "the", "given", "type" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/survey.go#L73-L79
6,145
softlayer/softlayer-go
services/survey.go
GetQuestions
func (r Survey) GetQuestions() (resp []datatypes.Survey_Question, err error) { err = r.Session.DoRequest("SoftLayer_Survey", "getQuestions", nil, &r.Options, &resp) return }
go
func (r Survey) GetQuestions() (resp []datatypes.Survey_Question, err error) { err = r.Session.DoRequest("SoftLayer_Survey", "getQuestions", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Survey", ")", "GetQuestions", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Survey_Question", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The questions for a survey.
[ "Retrieve", "The", "questions", "for", "a", "survey", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/survey.go#L88-L91
6,146
softlayer/softlayer-go
services/survey.go
GetStatus
func (r Survey) GetStatus() (resp datatypes.Survey_Status, err error) { err = r.Session.DoRequest("SoftLayer_Survey", "getStatus", nil, &r.Options, &resp) return }
go
func (r Survey) GetStatus() (resp datatypes.Survey_Status, err error) { err = r.Session.DoRequest("SoftLayer_Survey", "getStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Survey", ")", "GetStatus", "(", ")", "(", "resp", "datatypes", ".", "Survey_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The status of the survey
[ "Retrieve", "The", "status", "of", "the", "survey" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/survey.go#L94-L97
6,147
softlayer/softlayer-go
services/survey.go
GetType
func (r Survey) GetType() (resp datatypes.Survey_Type, err error) { err = r.Session.DoRequest("SoftLayer_Survey", "getType", nil, &r.Options, &resp) return }
go
func (r Survey) GetType() (resp datatypes.Survey_Type, err error) { err = r.Session.DoRequest("SoftLayer_Survey", "getType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Survey", ")", "GetType", "(", ")", "(", "resp", "datatypes", ".", "Survey_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The type of survey
[ "Retrieve", "The", "type", "of", "survey" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/survey.go#L100-L103
6,148
softlayer/softlayer-go
services/survey.go
TakeSurvey
func (r Survey) TakeSurvey(responses []datatypes.Survey_Response) (resp bool, err error) { params := []interface{}{ responses, } err = r.Session.DoRequest("SoftLayer_Survey", "takeSurvey", params, &r.Options, &resp) return }
go
func (r Survey) TakeSurvey(responses []datatypes.Survey_Response) (resp bool, err error) { params := []interface{}{ responses, } err = r.Session.DoRequest("SoftLayer_Survey", "takeSurvey", params, &r.Options, &resp) return }
[ "func", "(", "r", "Survey", ")", "TakeSurvey", "(", "responses", "[", "]", "datatypes", ".", "Survey_Response", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "responses", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Response to a SoftLayer survey's questions.
[ "Response", "to", "a", "SoftLayer", "survey", "s", "questions", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/survey.go#L106-L112
6,149
softlayer/softlayer-go
services/billing.go
GetCurrentExchangeRate
func (r Billing_Currency) GetCurrentExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Currency", "getCurrentExchangeRate", nil, &r.Options, &resp) return }
go
func (r Billing_Currency) GetCurrentExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Currency", "getCurrentExchangeRate", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Currency", ")", "GetCurrentExchangeRate", "(", ")", "(", "resp", "datatypes", ".", "Billing_Currency_ExchangeRate", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The current exchange rate
[ "Retrieve", "The", "current", "exchange", "rate" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L79-L82
6,150
softlayer/softlayer-go
services/billing.go
GetCurrency
func (r Billing_Info) GetCurrency() (resp datatypes.Billing_Currency, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Info", "getCurrency", nil, &r.Options, &resp) return }
go
func (r Billing_Info) GetCurrency() (resp datatypes.Billing_Currency, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Info", "getCurrency", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Info", ")", "GetCurrency", "(", ")", "(", "resp", "datatypes", ".", "Billing_Currency", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Currency to be used by this customer account.
[ "Retrieve", "Currency", "to", "be", "used", "by", "this", "customer", "account", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L299-L302
6,151
softlayer/softlayer-go
services/billing.go
GetCurrentBillingCycle
func (r Billing_Info) GetCurrentBillingCycle() (resp datatypes.Billing_Info_Cycle, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Info", "getCurrentBillingCycle", nil, &r.Options, &resp) return }
go
func (r Billing_Info) GetCurrentBillingCycle() (resp datatypes.Billing_Info_Cycle, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Info", "getCurrentBillingCycle", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Info", ")", "GetCurrentBillingCycle", "(", ")", "(", "resp", "datatypes", ".", "Billing_Info_Cycle", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Information related to an account's current and previous billing cycles.
[ "Retrieve", "Information", "related", "to", "an", "account", "s", "current", "and", "previous", "billing", "cycles", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L305-L308
6,152
softlayer/softlayer-go
services/billing.go
GetLastBillDate
func (r Billing_Info) GetLastBillDate() (resp datatypes.Time, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Info", "getLastBillDate", nil, &r.Options, &resp) return }
go
func (r Billing_Info) GetLastBillDate() (resp datatypes.Time, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Info", "getLastBillDate", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Info", ")", "GetLastBillDate", "(", ")", "(", "resp", "datatypes", ".", "Time", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The date on which an account was last billed.
[ "Retrieve", "The", "date", "on", "which", "an", "account", "was", "last", "billed", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L311-L314
6,153
softlayer/softlayer-go
services/billing.go
GetAmount
func (r Billing_Invoice) GetAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getAmount", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getAmount", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetAmount", "(", ")", "(", "resp", "datatypes", ".", "Float64", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve This is the amount of this invoice.
[ "Retrieve", "This", "is", "the", "amount", "of", "this", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L385-L388
6,154
softlayer/softlayer-go
services/billing.go
GetDetailedPdfGeneratedFlag
func (r Billing_Invoice) GetDetailedPdfGeneratedFlag() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getDetailedPdfGeneratedFlag", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetDetailedPdfGeneratedFlag() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getDetailedPdfGeneratedFlag", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetDetailedPdfGeneratedFlag", "(", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A flag that will reflect whether the detailed version of the pdf has been generated.
[ "Retrieve", "A", "flag", "that", "will", "reflect", "whether", "the", "detailed", "version", "of", "the", "pdf", "has", "been", "generated", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L397-L400
6,155
softlayer/softlayer-go
services/billing.go
GetExcel
func (r Billing_Invoice) GetExcel() (resp []byte, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getExcel", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetExcel() (resp []byte, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getExcel", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetExcel", "(", ")", "(", "resp", "[", "]", "byte", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve a Microsoft Excel spreadsheet of a SoftLayer invoice. You must have a Microsoft Excel reader installed in order to view these invoice files.
[ "Retrieve", "a", "Microsoft", "Excel", "spreadsheet", "of", "a", "SoftLayer", "invoice", ".", "You", "must", "have", "a", "Microsoft", "Excel", "reader", "installed", "in", "order", "to", "view", "these", "invoice", "files", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L403-L406
6,156
softlayer/softlayer-go
services/billing.go
GetItems
func (r Billing_Invoice) GetItems() (resp []datatypes.Billing_Invoice_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getItems", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetItems() (resp []datatypes.Billing_Invoice_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getItems", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetItems", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Invoice_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The items that belong to this invoice.
[ "Retrieve", "The", "items", "that", "belong", "to", "this", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L451-L454
6,157
softlayer/softlayer-go
services/billing.go
GetLocalCurrencyExchangeRate
func (r Billing_Invoice) GetLocalCurrencyExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getLocalCurrencyExchangeRate", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetLocalCurrencyExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getLocalCurrencyExchangeRate", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetLocalCurrencyExchangeRate", "(", ")", "(", "resp", "datatypes", ".", "Billing_Currency_ExchangeRate", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Exchange rate used for billing this invoice.
[ "Retrieve", "Exchange", "rate", "used", "for", "billing", "this", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L457-L460
6,158
softlayer/softlayer-go
services/billing.go
GetPayments
func (r Billing_Invoice) GetPayments() (resp []datatypes.Billing_Invoice_Receivable_Payment, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPayments", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetPayments() (resp []datatypes.Billing_Invoice_Receivable_Payment, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPayments", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetPayments", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Invoice_Receivable_Payment", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The payments for the invoice.
[ "Retrieve", "The", "payments", "for", "the", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L475-L478
6,159
softlayer/softlayer-go
services/billing.go
GetPdfFileSize
func (r Billing_Invoice) GetPdfFileSize() (resp int, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdfFileSize", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetPdfFileSize() (resp int, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdfFileSize", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetPdfFileSize", "(", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve the size of a PDF record of a SoftLayer invoice. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API.
[ "Retrieve", "the", "size", "of", "a", "PDF", "record", "of", "a", "SoftLayer", "invoice", ".", "SoftLayer", "keeps", "PDF", "records", "of", "all", "closed", "invoices", "for", "customer", "retrieval", "from", "the", "portal", "and", "API", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L499-L502
6,160
softlayer/softlayer-go
services/billing.go
GetTaxInfo
func (r Billing_Invoice) GetTaxInfo() (resp datatypes.Billing_Invoice_Tax_Info, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxInfo", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetTaxInfo() (resp datatypes.Billing_Invoice_Tax_Info, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxInfo", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetTaxInfo", "(", ")", "(", "resp", "datatypes", ".", "Billing_Invoice_Tax_Info", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve This is the tax information that applies to tax auditing. This is the official tax record for this invoice.
[ "Retrieve", "This", "is", "the", "tax", "information", "that", "applies", "to", "tax", "auditing", ".", "This", "is", "the", "official", "tax", "record", "for", "this", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L535-L538
6,161
softlayer/softlayer-go
services/billing.go
GetTaxType
func (r Billing_Invoice) GetTaxType() (resp datatypes.Billing_Invoice_Tax_Type, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxType", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice) GetTaxType() (resp datatypes.Billing_Invoice_Tax_Type, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice", ")", "GetTaxType", "(", ")", "(", "resp", "datatypes", ".", "Billing_Invoice_Tax_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve This is the strategy used to calculate tax on this invoice.
[ "Retrieve", "This", "is", "the", "strategy", "used", "to", "calculate", "tax", "on", "this", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L553-L556
6,162
softlayer/softlayer-go
services/billing.go
GetProduct
func (r Billing_Invoice_Item) GetProduct() (resp datatypes.Product_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getProduct", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice_Item) GetProduct() (resp datatypes.Product_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getProduct", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice_Item", ")", "GetProduct", "(", ")", "(", "resp", "datatypes", ".", "Product_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The entry in the product catalog that a invoice item is based upon.
[ "Retrieve", "The", "entry", "in", "the", "product", "catalog", "that", "a", "invoice", "item", "is", "based", "upon", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L683-L686
6,163
softlayer/softlayer-go
services/billing.go
GetTopLevelProductGroupName
func (r Billing_Invoice_Item) GetTopLevelProductGroupName() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTopLevelProductGroupName", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice_Item) GetTopLevelProductGroupName() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTopLevelProductGroupName", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice_Item", ")", "GetTopLevelProductGroupName", "(", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A string representing the name of parent level product group of an invoice item.
[ "Retrieve", "A", "string", "representing", "the", "name", "of", "parent", "level", "product", "group", "of", "an", "invoice", "item", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L689-L692
6,164
softlayer/softlayer-go
services/billing.go
GetTotalOneTimeAmount
func (r Billing_Invoice_Item) GetTotalOneTimeAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTotalOneTimeAmount", nil, &r.Options, &resp) return }
go
func (r Billing_Invoice_Item) GetTotalOneTimeAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTotalOneTimeAmount", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice_Item", ")", "GetTotalOneTimeAmount", "(", ")", "(", "resp", "datatypes", ".", "Float64", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve An invoice Item's total, including any child invoice items if they exist.
[ "Retrieve", "An", "invoice", "Item", "s", "total", "including", "any", "child", "invoice", "items", "if", "they", "exist", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L695-L698
6,165
softlayer/softlayer-go
services/billing.go
GetExcel
func (r Billing_Invoice_Next) GetExcel(documentCreateDate *datatypes.Time) (resp []byte, err error) { params := []interface{}{ documentCreateDate, } err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Next", "getExcel", params, &r.Options, &resp) return }
go
func (r Billing_Invoice_Next) GetExcel(documentCreateDate *datatypes.Time) (resp []byte, err error) { params := []interface{}{ documentCreateDate, } err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Next", "getExcel", params, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Invoice_Next", ")", "GetExcel", "(", "documentCreateDate", "*", "datatypes", ".", "Time", ")", "(", "resp", "[", "]", "byte", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "documentCreateDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Return an account's next invoice in a Microsoft excel format.
[ "Return", "an", "account", "s", "next", "invoice", "in", "a", "Microsoft", "excel", "format", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L765-L771
6,166
softlayer/softlayer-go
services/billing.go
CancelServiceOnAnniversaryDate
func (r Billing_Item) CancelServiceOnAnniversaryDate() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "cancelServiceOnAnniversaryDate", nil, &r.Options, &resp) return }
go
func (r Billing_Item) CancelServiceOnAnniversaryDate() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "cancelServiceOnAnniversaryDate", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item", ")", "CancelServiceOnAnniversaryDate", "(", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Cancel the resource or service for a billing Item
[ "Cancel", "the", "resource", "or", "service", "for", "a", "billing", "Item" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L968-L971
6,167
softlayer/softlayer-go
services/billing.go
GetBandwidthAllocation
func (r Billing_Item) GetBandwidthAllocation() (resp datatypes.Network_Bandwidth_Version1_Allocation, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "getBandwidthAllocation", nil, &r.Options, &resp) return }
go
func (r Billing_Item) GetBandwidthAllocation() (resp datatypes.Network_Bandwidth_Version1_Allocation, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "getBandwidthAllocation", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item", ")", "GetBandwidthAllocation", "(", ")", "(", "resp", "datatypes", ".", "Network_Bandwidth_Version1_Allocation", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The bandwidth allocation for a billing item.
[ "Retrieve", "The", "bandwidth", "allocation", "for", "a", "billing", "item", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1070-L1073
6,168
softlayer/softlayer-go
services/billing.go
GetItem
func (r Billing_Item) GetItem() (resp datatypes.Product_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "getItem", nil, &r.Options, &resp) return }
go
func (r Billing_Item) GetItem() (resp datatypes.Product_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "getItem", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item", ")", "GetItem", "(", ")", "(", "resp", "datatypes", ".", "Product_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The entry in the SoftLayer product catalog that a billing item is based upon.
[ "Retrieve", "The", "entry", "in", "the", "SoftLayer", "product", "catalog", "that", "a", "billing", "item", "is", "based", "upon", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1160-L1163
6,169
softlayer/softlayer-go
services/billing.go
GetProvisionTransaction
func (r Billing_Item) GetProvisionTransaction() (resp datatypes.Provisioning_Version1_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "getProvisionTransaction", nil, &r.Options, &resp) return }
go
func (r Billing_Item) GetProvisionTransaction() (resp datatypes.Provisioning_Version1_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item", "getProvisionTransaction", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item", ")", "GetProvisionTransaction", "(", ")", "(", "resp", "datatypes", ".", "Provisioning_Version1_Transaction", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Provisioning transaction for this billing item
[ "Retrieve", "Provisioning", "transaction", "for", "this", "billing", "item" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1256-L1259
6,170
softlayer/softlayer-go
services/billing.go
GetBillingItems
func (r Billing_Item_Cancellation_Reason) GetBillingItems() (resp []datatypes.Billing_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getBillingItems", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Reason) GetBillingItems() (resp []datatypes.Billing_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getBillingItems", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Reason", ")", "GetBillingItems", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The corresponding billing items having the specific cancellation reason.
[ "Retrieve", "The", "corresponding", "billing", "items", "having", "the", "specific", "cancellation", "reason", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1365-L1368
6,171
softlayer/softlayer-go
services/billing.go
GetBillingCancellationReasons
func (r Billing_Item_Cancellation_Reason_Category) GetBillingCancellationReasons() (resp []datatypes.Billing_Item_Cancellation_Reason, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason_Category", "getBillingCancellationReasons", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Reason_Category) GetBillingCancellationReasons() (resp []datatypes.Billing_Item_Cancellation_Reason, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason_Category", "getBillingCancellationReasons", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Reason_Category", ")", "GetBillingCancellationReasons", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Item_Cancellation_Reason", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The corresponding billing cancellation reasons having the specific billing cancellation reason category.
[ "Retrieve", "The", "corresponding", "billing", "cancellation", "reasons", "having", "the", "specific", "billing", "cancellation", "reason", "category", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1429-L1432
6,172
softlayer/softlayer-go
services/billing.go
GetItems
func (r Billing_Item_Cancellation_Request) GetItems() (resp []datatypes.Billing_Item_Cancellation_Request_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getItems", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Request) GetItems() (resp []datatypes.Billing_Item_Cancellation_Request_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getItems", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Request", ")", "GetItems", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Item_Cancellation_Request_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A collection of service cancellation items.
[ "Retrieve", "A", "collection", "of", "service", "cancellation", "items", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1518-L1521
6,173
softlayer/softlayer-go
services/billing.go
GetStatus
func (r Billing_Item_Cancellation_Request) GetStatus() (resp datatypes.Billing_Item_Cancellation_Request_Status, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getStatus", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Request) GetStatus() (resp datatypes.Billing_Item_Cancellation_Request_Status, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Request", ")", "GetStatus", "(", ")", "(", "resp", "datatypes", ".", "Billing_Item_Cancellation_Request_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The status of a service cancellation request.
[ "Retrieve", "The", "status", "of", "a", "service", "cancellation", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1530-L1533
6,174
softlayer/softlayer-go
services/billing.go
RemoveCancellationItem
func (r Billing_Item_Cancellation_Request) RemoveCancellationItem(itemId *int) (resp bool, err error) { params := []interface{}{ itemId, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "removeCancellationItem", params, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Request) RemoveCancellationItem(itemId *int) (resp bool, err error) { params := []interface{}{ itemId, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "removeCancellationItem", params, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Request", ")", "RemoveCancellationItem", "(", "itemId", "*", "int", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "itemId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method removes a cancellation item from a cancellation request that is in "Pending" or "Approved" status.
[ "This", "method", "removes", "a", "cancellation", "item", "from", "a", "cancellation", "request", "that", "is", "in", "Pending", "or", "Approved", "status", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1548-L1554
6,175
softlayer/softlayer-go
services/billing.go
ValidateBillingItemForCancellation
func (r Billing_Item_Cancellation_Request) ValidateBillingItemForCancellation(billingItemId *int) (resp bool, err error) { params := []interface{}{ billingItemId, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "validateBillingItemForCancellation", params, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Request) ValidateBillingItemForCancellation(billingItemId *int) (resp bool, err error) { params := []interface{}{ billingItemId, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "validateBillingItemForCancellation", params, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Request", ")", "ValidateBillingItemForCancellation", "(", "billingItemId", "*", "int", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "billingItemId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method examined if a billing item is eligible for cancellation. It checks if the billing item you provided is already in your existing cancellation request.
[ "This", "method", "examined", "if", "a", "billing", "item", "is", "eligible", "for", "cancellation", ".", "It", "checks", "if", "the", "billing", "item", "you", "provided", "is", "already", "in", "your", "existing", "cancellation", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1557-L1563
6,176
softlayer/softlayer-go
services/billing.go
Void
func (r Billing_Item_Cancellation_Request) Void(closeRelatedTicketFlag *bool) (resp bool, err error) { params := []interface{}{ closeRelatedTicketFlag, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "void", params, &r.Options, &resp) return }
go
func (r Billing_Item_Cancellation_Request) Void(closeRelatedTicketFlag *bool) (resp bool, err error) { params := []interface{}{ closeRelatedTicketFlag, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "void", params, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Cancellation_Request", ")", "Void", "(", "closeRelatedTicketFlag", "*", "bool", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "closeRelatedTicketFlag", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method voids a service cancellation request in "Pending" or "Approved" status.
[ "This", "method", "voids", "a", "service", "cancellation", "request", "in", "Pending", "or", "Approved", "status", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1566-L1572
6,177
softlayer/softlayer-go
services/billing.go
GetActiveCancellationItem
func (r Billing_Item_Virtual_DedicatedHost) GetActiveCancellationItem() (resp datatypes.Billing_Item_Cancellation_Request_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveCancellationItem", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Virtual_DedicatedHost) GetActiveCancellationItem() (resp datatypes.Billing_Item_Cancellation_Request_Item, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveCancellationItem", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Virtual_DedicatedHost", ")", "GetActiveCancellationItem", "(", ")", "(", "resp", "datatypes", ".", "Billing_Item_Cancellation_Request_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A service cancellation request item that corresponds to the billing item.
[ "Retrieve", "A", "service", "cancellation", "request", "item", "that", "corresponds", "to", "the", "billing", "item", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1687-L1690
6,178
softlayer/softlayer-go
services/billing.go
GetAssociatedBillingItemHistory
func (r Billing_Item_Virtual_DedicatedHost) GetAssociatedBillingItemHistory() (resp []datatypes.Billing_Item_Association_History, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAssociatedBillingItemHistory", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Virtual_DedicatedHost) GetAssociatedBillingItemHistory() (resp []datatypes.Billing_Item_Association_History, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAssociatedBillingItemHistory", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Virtual_DedicatedHost", ")", "GetAssociatedBillingItemHistory", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Item_Association_History", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A history of billing items which a billing item has been associated with.
[ "Retrieve", "A", "history", "of", "billing", "items", "which", "a", "billing", "item", "has", "been", "associated", "with", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1723-L1726
6,179
softlayer/softlayer-go
services/billing.go
GetBundleItems
func (r Billing_Item_Virtual_DedicatedHost) GetBundleItems() (resp []datatypes.Product_Item_Bundles, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getBundleItems", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Virtual_DedicatedHost) GetBundleItems() (resp []datatypes.Product_Item_Bundles, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getBundleItems", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Virtual_DedicatedHost", ")", "GetBundleItems", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Product_Item_Bundles", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A Billing Item's bundled billing items
[ "Retrieve", "A", "Billing", "Item", "s", "bundled", "billing", "items" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1759-L1762
6,180
softlayer/softlayer-go
services/billing.go
GetCancellationRequests
func (r Billing_Item_Virtual_DedicatedHost) GetCancellationRequests() (resp []datatypes.Billing_Item_Cancellation_Request, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getCancellationRequests", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Virtual_DedicatedHost) GetCancellationRequests() (resp []datatypes.Billing_Item_Cancellation_Request, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getCancellationRequests", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Virtual_DedicatedHost", ")", "GetCancellationRequests", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Item_Cancellation_Request", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve This will return any cancellation requests that are associated with this billing item.
[ "Retrieve", "This", "will", "return", "any", "cancellation", "requests", "that", "are", "associated", "with", "this", "billing", "item", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1783-L1786
6,181
softlayer/softlayer-go
services/billing.go
GetParentVirtualGuestBillingItem
func (r Billing_Item_Virtual_DedicatedHost) GetParentVirtualGuestBillingItem() (resp datatypes.Billing_Item_Virtual_Guest, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getParentVirtualGuestBillingItem", nil, &r.Options, &resp) return }
go
func (r Billing_Item_Virtual_DedicatedHost) GetParentVirtualGuestBillingItem() (resp datatypes.Billing_Item_Virtual_Guest, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getParentVirtualGuestBillingItem", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Virtual_DedicatedHost", ")", "GetParentVirtualGuestBillingItem", "(", ")", "(", "resp", "datatypes", ".", "Billing_Item_Virtual_Guest", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A billing item's parent item. If a billing item has no parent item then this value is null.
[ "Retrieve", "A", "billing", "item", "s", "parent", "item", ".", "If", "a", "billing", "item", "has", "no", "parent", "item", "then", "this", "value", "is", "null", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1915-L1918
6,182
softlayer/softlayer-go
services/billing.go
SetAssociationId
func (r Billing_Item_Virtual_DedicatedHost) SetAssociationId(associatedId *int) (resp bool, err error) { params := []interface{}{ associatedId, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "setAssociationId", params, &r.Options, &resp) return }
go
func (r Billing_Item_Virtual_DedicatedHost) SetAssociationId(associatedId *int) (resp bool, err error) { params := []interface{}{ associatedId, } err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "setAssociationId", params, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Item_Virtual_DedicatedHost", ")", "SetAssociationId", "(", "associatedId", "*", "int", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "associatedId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Set an associated billing item to an orphan billing item. Associations allow you to tie an "orphaned" billing item, any non-server billing item that doesn't have a parent item such as secondary IP subnets or StorageLayer accounts, to a server billing item. You may only set an association for an orphan to a server. You cannot associate a server to an orphan if the either the server or orphan billing items have a cancellation date set.
[ "Set", "an", "associated", "billing", "item", "to", "an", "orphan", "billing", "item", ".", "Associations", "allow", "you", "to", "tie", "an", "orphaned", "billing", "item", "any", "non", "-", "server", "billing", "item", "that", "doesn", "t", "have", "a", "parent", "item", "such", "as", "secondary", "IP", "subnets", "or", "StorageLayer", "accounts", "to", "a", "server", "billing", "item", ".", "You", "may", "only", "set", "an", "association", "for", "an", "orphan", "to", "a", "server", ".", "You", "cannot", "associate", "a", "server", "to", "an", "orphan", "if", "the", "either", "the", "server", "or", "orphan", "billing", "items", "have", "a", "cancellation", "date", "set", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L1981-L1987
6,183
softlayer/softlayer-go
services/billing.go
GetCreditCardTransactions
func (r Billing_Order) GetCreditCardTransactions() (resp []datatypes.Billing_Payment_Card_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getCreditCardTransactions", nil, &r.Options, &resp) return }
go
func (r Billing_Order) GetCreditCardTransactions() (resp []datatypes.Billing_Payment_Card_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getCreditCardTransactions", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "GetCreditCardTransactions", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Payment_Card_Transaction", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve All credit card transactions associated with this order. If this order was not placed with a credit card, this will be empty.
[ "Retrieve", "All", "credit", "card", "transactions", "associated", "with", "this", "order", ".", "If", "this", "order", "was", "not", "placed", "with", "a", "credit", "card", "this", "will", "be", "empty", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2072-L2075
6,184
softlayer/softlayer-go
services/billing.go
GetOrderNonServerMonthlyAmount
func (r Billing_Order) GetOrderNonServerMonthlyAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderNonServerMonthlyAmount", nil, &r.Options, &resp) return }
go
func (r Billing_Order) GetOrderNonServerMonthlyAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderNonServerMonthlyAmount", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "GetOrderNonServerMonthlyAmount", "(", ")", "(", "resp", "datatypes", ".", "Float64", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve An order's non-server items total monthly fee.
[ "Retrieve", "An", "order", "s", "non", "-", "server", "items", "total", "monthly", "fee", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2108-L2111
6,185
softlayer/softlayer-go
services/billing.go
GetOrderType
func (r Billing_Order) GetOrderType() (resp datatypes.Billing_Order_Type, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderType", nil, &r.Options, &resp) return }
go
func (r Billing_Order) GetOrderType() (resp datatypes.Billing_Order_Type, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "GetOrderType", "(", ")", "(", "resp", "datatypes", ".", "Billing_Order_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The type of an order. This lets you know where this order was generated from.
[ "Retrieve", "The", "type", "of", "an", "order", ".", "This", "lets", "you", "know", "where", "this", "order", "was", "generated", "from", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2180-L2183
6,186
softlayer/softlayer-go
services/billing.go
GetPaypalTransactions
func (r Billing_Order) GetPaypalTransactions() (resp []datatypes.Billing_Payment_PayPal_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPaypalTransactions", nil, &r.Options, &resp) return }
go
func (r Billing_Order) GetPaypalTransactions() (resp []datatypes.Billing_Payment_PayPal_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPaypalTransactions", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "GetPaypalTransactions", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Payment_PayPal_Transaction", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve All PayPal transactions associated with this order. If this order was not placed with PayPal, this will be empty.
[ "Retrieve", "All", "PayPal", "transactions", "associated", "with", "this", "order", ".", "If", "this", "order", "was", "not", "placed", "with", "PayPal", "this", "will", "be", "empty", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2186-L2189
6,187
softlayer/softlayer-go
services/billing.go
GetPdfFilename
func (r Billing_Order) GetPdfFilename() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPdfFilename", nil, &r.Options, &resp) return }
go
func (r Billing_Order) GetPdfFilename() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPdfFilename", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "GetPdfFilename", "(", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve the default filename of an order PDF.
[ "Retrieve", "the", "default", "filename", "of", "an", "order", "PDF", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2198-L2201
6,188
softlayer/softlayer-go
services/billing.go
GetQuote
func (r Billing_Order) GetQuote() (resp datatypes.Billing_Order_Quote, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getQuote", nil, &r.Options, &resp) return }
go
func (r Billing_Order) GetQuote() (resp datatypes.Billing_Order_Quote, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "getQuote", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "GetQuote", "(", ")", "(", "resp", "datatypes", ".", "Billing_Order_Quote", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The quote of an order. This quote holds information about its expiration date, creation date, name and status. This information is tied to an order having the status 'QUOTE'
[ "Retrieve", "The", "quote", "of", "an", "order", ".", "This", "quote", "holds", "information", "about", "its", "expiration", "date", "creation", "date", "name", "and", "status", ".", "This", "information", "is", "tied", "to", "an", "order", "having", "the", "status", "QUOTE" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2210-L2213
6,189
softlayer/softlayer-go
services/billing.go
IsPendingEditApproval
func (r Billing_Order) IsPendingEditApproval() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "isPendingEditApproval", nil, &r.Options, &resp) return }
go
func (r Billing_Order) IsPendingEditApproval() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order", "isPendingEditApproval", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order", ")", "IsPendingEditApproval", "(", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// When an order has been modified, it will contain a status indicating so. This method checks that status and also verifies that the active user's account is the same as the account on the order.
[ "When", "an", "order", "has", "been", "modified", "it", "will", "contain", "a", "status", "indicating", "so", ".", "This", "method", "checks", "that", "status", "and", "also", "verifies", "that", "the", "active", "user", "s", "account", "is", "the", "same", "as", "the", "account", "on", "the", "order", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2250-L2253
6,190
softlayer/softlayer-go
services/billing.go
DeleteCart
func (r Billing_Order_Cart) DeleteCart() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "deleteCart", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Cart) DeleteCart() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "deleteCart", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Cart", ")", "DeleteCart", "(", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// If a cart is no longer needed, it can be deleted using this service. Once a cart has been deleted, it cannot be retrieved again.
[ "If", "a", "cart", "is", "no", "longer", "needed", "it", "can", "be", "deleted", "using", "this", "service", ".", "Once", "a", "cart", "has", "been", "deleted", "it", "cannot", "be", "retrieved", "again", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2319-L2322
6,191
softlayer/softlayer-go
services/billing.go
GetCartByCartKey
func (r Billing_Order_Cart) GetCartByCartKey(cartKey *string) (resp datatypes.Billing_Order_Cart, err error) { params := []interface{}{ cartKey, } err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getCartByCartKey", params, &r.Options, &resp) return }
go
func (r Billing_Order_Cart) GetCartByCartKey(cartKey *string) (resp datatypes.Billing_Order_Cart, err error) { params := []interface{}{ cartKey, } err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getCartByCartKey", params, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Cart", ")", "GetCartByCartKey", "(", "cartKey", "*", "string", ")", "(", "resp", "datatypes", ".", "Billing_Order_Cart", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "cartKey", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve a valid cart record of a SoftLayer order.
[ "Retrieve", "a", "valid", "cart", "record", "of", "a", "SoftLayer", "order", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2337-L2343
6,192
softlayer/softlayer-go
services/billing.go
WithdrawGdprAcceptance
func (r Billing_Order_Cart) WithdrawGdprAcceptance() (err error) { var resp datatypes.Void err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "withdrawGdprAcceptance", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Cart) WithdrawGdprAcceptance() (err error) { var resp datatypes.Void err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "withdrawGdprAcceptance", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Cart", ")", "WithdrawGdprAcceptance", "(", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Withdraws the users acceptance of the GDPR terms.
[ "Withdraws", "the", "users", "acceptance", "of", "the", "GDPR", "terms", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2447-L2451
6,193
softlayer/softlayer-go
services/billing.go
GetHardwareGenericComponent
func (r Billing_Order_Item) GetHardwareGenericComponent() (resp datatypes.Hardware_Component_Model_Generic, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getHardwareGenericComponent", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Item) GetHardwareGenericComponent() (resp datatypes.Hardware_Component_Model_Generic, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getHardwareGenericComponent", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Item", ")", "GetHardwareGenericComponent", "(", ")", "(", "resp", "datatypes", ".", "Hardware_Component_Model_Generic", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The component type tied to an order item. All hardware-specific items should have a generic hardware component.
[ "Retrieve", "The", "component", "type", "tied", "to", "an", "order", "item", ".", "All", "hardware", "-", "specific", "items", "should", "have", "a", "generic", "hardware", "component", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2526-L2529
6,194
softlayer/softlayer-go
services/billing.go
GetItemCategoryAnswers
func (r Billing_Order_Item) GetItemCategoryAnswers() (resp []datatypes.Billing_Order_Item_Category_Answer, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getItemCategoryAnswers", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Item) GetItemCategoryAnswers() (resp []datatypes.Billing_Order_Item_Category_Answer, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getItemCategoryAnswers", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Item", ")", "GetItemCategoryAnswers", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Order_Item_Category_Answer", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve This is an item's category answers.
[ "Retrieve", "This", "is", "an", "item", "s", "category", "answers", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2538-L2541
6,195
softlayer/softlayer-go
services/billing.go
GetPreset
func (r Billing_Order_Item) GetPreset() (resp datatypes.Product_Package_Preset, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getPreset", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Item) GetPreset() (resp datatypes.Product_Package_Preset, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getPreset", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Item", ")", "GetPreset", "(", ")", "(", "resp", "datatypes", ".", "Product_Package_Preset", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The SoftLayer_Product_Package_Preset related to this order item.
[ "Retrieve", "The", "SoftLayer_Product_Package_Preset", "related", "to", "this", "order", "item", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2598-L2601
6,196
softlayer/softlayer-go
services/billing.go
GetRedundantPowerSupplyCount
func (r Billing_Order_Item) GetRedundantPowerSupplyCount() (resp uint, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getRedundantPowerSupplyCount", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Item) GetRedundantPowerSupplyCount() (resp uint, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getRedundantPowerSupplyCount", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Item", ")", "GetRedundantPowerSupplyCount", "(", ")", "(", "resp", "uint", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A count of power supplies contained within this SoftLayer_Billing_Order
[ "Retrieve", "A", "count", "of", "power", "supplies", "contained", "within", "this", "SoftLayer_Billing_Order" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2610-L2613
6,197
softlayer/softlayer-go
services/billing.go
GetStorageGroups
func (r Billing_Order_Item) GetStorageGroups() (resp []datatypes.Configuration_Storage_Group_Order, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getStorageGroups", nil, &r.Options, &resp) return }
go
func (r Billing_Order_Item) GetStorageGroups() (resp []datatypes.Configuration_Storage_Group_Order, err error) { err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getStorageGroups", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Billing_Order_Item", ")", "GetStorageGroups", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Configuration_Storage_Group_Order", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The drive storage groups that are attached to this billing order item.
[ "Retrieve", "The", "drive", "storage", "groups", "that", "are", "attached", "to", "this", "billing", "order", "item", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/billing.go#L2622-L2625
6,198
softlayer/softlayer-go
services/resource.go
GetAttributes
func (r Resource_Group) GetAttributes() (resp []datatypes.Resource_Group_Attribute, err error) { err = r.Session.DoRequest("SoftLayer_Resource_Group", "getAttributes", nil, &r.Options, &resp) return }
go
func (r Resource_Group) GetAttributes() (resp []datatypes.Resource_Group_Attribute, err error) { err = r.Session.DoRequest("SoftLayer_Resource_Group", "getAttributes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Resource_Group", ")", "GetAttributes", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Resource_Group_Attribute", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A resource group's associated attributes.
[ "Retrieve", "A", "resource", "group", "s", "associated", "attributes", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L137-L140
6,199
softlayer/softlayer-go
services/resource.go
GetSubnetMembers
func (r Resource_Group) GetSubnetMembers() (resp []datatypes.Resource_Group_Member, err error) { err = r.Session.DoRequest("SoftLayer_Resource_Group", "getSubnetMembers", nil, &r.Options, &resp) return }
go
func (r Resource_Group) GetSubnetMembers() (resp []datatypes.Resource_Group_Member, err error) { err = r.Session.DoRequest("SoftLayer_Resource_Group", "getSubnetMembers", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Resource_Group", ")", "GetSubnetMembers", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Resource_Group_Member", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A resource group's associated subnet members.
[ "Retrieve", "A", "resource", "group", "s", "associated", "subnet", "members", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L167-L170