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,700
softlayer/softlayer-go
config/config.go
Section
func (f File) Section(name string) Section { section := f[name] if section == nil { section = make(Section) f[name] = section } return section }
go
func (f File) Section(name string) Section { section := f[name] if section == nil { section = make(Section) f[name] = section } return section }
[ "func", "(", "f", "File", ")", "Section", "(", "name", "string", ")", "Section", "{", "section", ":=", "f", "[", "name", "]", "\n", "if", "section", "==", "nil", "{", "section", "=", "make", "(", "Section", ")", "\n", "f", "[", "name", "]", "=", "section", "\n", "}", "\n", "return", "section", "\n", "}" ]
// Returns a named Section. A Section will be created if one does not already exist for the given name.
[ "Returns", "a", "named", "Section", ".", "A", "Section", "will", "be", "created", "if", "one", "does", "not", "already", "exist", "for", "the", "given", "name", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/config/config.go#L57-L64
6,701
softlayer/softlayer-go
config/config.go
Get
func (f File) Get(section, key string) (value string, ok bool) { if s := f[section]; s != nil { value, ok = s[key] } return }
go
func (f File) Get(section, key string) (value string, ok bool) { if s := f[section]; s != nil { value, ok = s[key] } return }
[ "func", "(", "f", "File", ")", "Get", "(", "section", ",", "key", "string", ")", "(", "value", "string", ",", "ok", "bool", ")", "{", "if", "s", ":=", "f", "[", "section", "]", ";", "s", "!=", "nil", "{", "value", ",", "ok", "=", "s", "[", "key", "]", "\n", "}", "\n", "return", "\n", "}" ]
// Looks up a value for a key in a section and returns that value, along with a boolean result similar to a map lookup.
[ "Looks", "up", "a", "value", "for", "a", "key", "in", "a", "section", "and", "returns", "that", "value", "along", "with", "a", "boolean", "result", "similar", "to", "a", "map", "lookup", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/config/config.go#L67-L72
6,702
softlayer/softlayer-go
config/config.go
LoadFile
func (f File) LoadFile(file string) (err error) { in, err := os.Open(file) if err != nil { return } defer in.Close() return f.Load(in) }
go
func (f File) LoadFile(file string) (err error) { in, err := os.Open(file) if err != nil { return } defer in.Close() return f.Load(in) }
[ "func", "(", "f", "File", ")", "LoadFile", "(", "file", "string", ")", "(", "err", "error", ")", "{", "in", ",", "err", ":=", "os", ".", "Open", "(", "file", ")", "\n", "if", "err", "!=", "nil", "{", "return", "\n", "}", "\n", "defer", "in", ".", "Close", "(", ")", "\n", "return", "f", ".", "Load", "(", "in", ")", "\n", "}" ]
// Loads INI data from a named file and stores the data in the File.
[ "Loads", "INI", "data", "from", "a", "named", "file", "and", "stores", "the", "data", "in", "the", "File", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/config/config.go#L84-L91
6,703
softlayer/softlayer-go
config/config.go
Load
func Load(in io.Reader) (File, error) { file := make(File) err := file.Load(in) return file, err }
go
func Load(in io.Reader) (File, error) { file := make(File) err := file.Load(in) return file, err }
[ "func", "Load", "(", "in", "io", ".", "Reader", ")", "(", "File", ",", "error", ")", "{", "file", ":=", "make", "(", "File", ")", "\n", "err", ":=", "file", ".", "Load", "(", "in", ")", "\n", "return", "file", ",", "err", "\n", "}" ]
// Loads and returns a File from a reader.
[ "Loads", "and", "returns", "a", "File", "from", "a", "reader", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/config/config.go#L134-L138
6,704
softlayer/softlayer-go
config/config.go
LoadFile
func LoadFile(filename string) (File, error) { file := make(File) err := file.LoadFile(filename) return file, err }
go
func LoadFile(filename string) (File, error) { file := make(File) err := file.LoadFile(filename) return file, err }
[ "func", "LoadFile", "(", "filename", "string", ")", "(", "File", ",", "error", ")", "{", "file", ":=", "make", "(", "File", ")", "\n", "err", ":=", "file", ".", "LoadFile", "(", "filename", ")", "\n", "return", "file", ",", "err", "\n", "}" ]
// Loads and returns an INI File from a file on disk.
[ "Loads", "and", "returns", "an", "INI", "File", "from", "a", "file", "on", "disk", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/config/config.go#L141-L145
6,705
softlayer/softlayer-go
services/event.go
GetAllEventNames
func (r Event_Log) GetAllEventNames(objectName *string) (resp []string, err error) { params := []interface{}{ objectName, } err = r.Session.DoRequest("SoftLayer_Event_Log", "getAllEventNames", params, &r.Options, &resp) return }
go
func (r Event_Log) GetAllEventNames(objectName *string) (resp []string, err error) { params := []interface{}{ objectName, } err = r.Session.DoRequest("SoftLayer_Event_Log", "getAllEventNames", params, &r.Options, &resp) return }
[ "func", "(", "r", "Event_Log", ")", "GetAllEventNames", "(", "objectName", "*", "string", ")", "(", "resp", "[", "]", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "objectName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This all indexed event names.
[ "This", "all", "indexed", "event", "names", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/event.go#L73-L79
6,706
softlayer/softlayer-go
services/event.go
GetAllEventObjectNames
func (r Event_Log) GetAllEventObjectNames() (resp []string, err error) { err = r.Session.DoRequest("SoftLayer_Event_Log", "getAllEventObjectNames", nil, &r.Options, &resp) return }
go
func (r Event_Log) GetAllEventObjectNames() (resp []string, err error) { err = r.Session.DoRequest("SoftLayer_Event_Log", "getAllEventObjectNames", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Event_Log", ")", "GetAllEventObjectNames", "(", ")", "(", "resp", "[", "]", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This all indexed event object names.
[ "This", "all", "indexed", "event", "object", "names", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/event.go#L82-L85
6,707
softlayer/softlayer-go
services/email.go
GetSubscriptions
func (r Email_Subscription_Group) GetSubscriptions() (resp []datatypes.Email_Subscription, err error) { err = r.Session.DoRequest("SoftLayer_Email_Subscription_Group", "getSubscriptions", nil, &r.Options, &resp) return }
go
func (r Email_Subscription_Group) GetSubscriptions() (resp []datatypes.Email_Subscription, err error) { err = r.Session.DoRequest("SoftLayer_Email_Subscription_Group", "getSubscriptions", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Email_Subscription_Group", ")", "GetSubscriptions", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Email_Subscription", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve All email subscriptions associated with this group.
[ "Retrieve", "All", "email", "subscriptions", "associated", "with", "this", "group", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/email.go#L155-L158
6,708
softlayer/softlayer-go
tools/loadmeta.go
RemovePrefix
func RemovePrefix(args ...interface{}) string { s := args[0].(string) if strings.HasPrefix(s, "SoftLayer_") { return s[10:] } return s }
go
func RemovePrefix(args ...interface{}) string { s := args[0].(string) if strings.HasPrefix(s, "SoftLayer_") { return s[10:] } return s }
[ "func", "RemovePrefix", "(", "args", "...", "interface", "{", "}", ")", "string", "{", "s", ":=", "args", "[", "0", "]", ".", "(", "string", ")", "\n\n", "if", "strings", ".", "HasPrefix", "(", "s", ",", "\"", "\"", ")", "{", "return", "s", "[", "10", ":", "]", "\n", "}", "\n\n", "return", "s", "\n", "}" ]
// Exported template functions
[ "Exported", "template", "functions" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L244-L252
6,709
softlayer/softlayer-go
tools/loadmeta.go
ConvertType
func ConvertType(args ...interface{}) string { t := args[0].(string) p := args[1].(string) // Convert softlayer types to golang types switch t { case "unsignedLong", "unsignedInt": return "uint" case "boolean": return "bool" case "dateTime": if p != "datatypes" { return "datatypes.Time" } else { return "Time" } case "decimal", "float": if p != "datatypes" { return "datatypes.Float64" } else { return "Float64" } case "base64Binary": return "[]byte" case "json", "enum": return "string" } if strings.HasPrefix(t, "SoftLayer_") { t = RemovePrefix(t) if p != "datatypes" { return "datatypes." + t } return t } if strings.HasPrefix(t, "McAfee_") { if p != "datatypes" { return "datatypes." + t } return t } return t }
go
func ConvertType(args ...interface{}) string { t := args[0].(string) p := args[1].(string) // Convert softlayer types to golang types switch t { case "unsignedLong", "unsignedInt": return "uint" case "boolean": return "bool" case "dateTime": if p != "datatypes" { return "datatypes.Time" } else { return "Time" } case "decimal", "float": if p != "datatypes" { return "datatypes.Float64" } else { return "Float64" } case "base64Binary": return "[]byte" case "json", "enum": return "string" } if strings.HasPrefix(t, "SoftLayer_") { t = RemovePrefix(t) if p != "datatypes" { return "datatypes." + t } return t } if strings.HasPrefix(t, "McAfee_") { if p != "datatypes" { return "datatypes." + t } return t } return t }
[ "func", "ConvertType", "(", "args", "...", "interface", "{", "}", ")", "string", "{", "t", ":=", "args", "[", "0", "]", ".", "(", "string", ")", "\n", "p", ":=", "args", "[", "1", "]", ".", "(", "string", ")", "\n\n", "// Convert softlayer types to golang types", "switch", "t", "{", "case", "\"", "\"", ",", "\"", "\"", ":", "return", "\"", "\"", "\n", "case", "\"", "\"", ":", "return", "\"", "\"", "\n", "case", "\"", "\"", ":", "if", "p", "!=", "\"", "\"", "{", "return", "\"", "\"", "\n", "}", "else", "{", "return", "\"", "\"", "\n", "}", "\n", "case", "\"", "\"", ",", "\"", "\"", ":", "if", "p", "!=", "\"", "\"", "{", "return", "\"", "\"", "\n", "}", "else", "{", "return", "\"", "\"", "\n", "}", "\n", "case", "\"", "\"", ":", "return", "\"", "\"", "\n", "case", "\"", "\"", ",", "\"", "\"", ":", "return", "\"", "\"", "\n", "}", "\n\n", "if", "strings", ".", "HasPrefix", "(", "t", ",", "\"", "\"", ")", "{", "t", "=", "RemovePrefix", "(", "t", ")", "\n", "if", "p", "!=", "\"", "\"", "{", "return", "\"", "\"", "+", "t", "\n", "}", "\n", "return", "t", "\n", "}", "\n\n", "if", "strings", ".", "HasPrefix", "(", "t", ",", "\"", "\"", ")", "{", "if", "p", "!=", "\"", "\"", "{", "return", "\"", "\"", "+", "t", "\n", "}", "\n", "return", "t", "\n", "}", "\n\n", "return", "t", "\n", "}" ]
// ConvertType takes the name of the type to convert, and the package context.
[ "ConvertType", "takes", "the", "name", "of", "the", "type", "to", "convert", "and", "the", "package", "context", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L255-L299
6,710
softlayer/softlayer-go
tools/loadmeta.go
addComplexType
func addComplexType(dataType *Type) { // Only adding this to the base product order type. All others embed this one. if dataType.Name == "SoftLayer_Container_Product_Order" { dataType.Properties["complexType"] = Property{ Name: "complexType", Type: "string", Form: "local", Doc: "Added by softlayer-go. This hints to the API what kind of product order this is.", } } else if dataType.Name == "SoftLayer_Container_User_Customer_External_Binding" { dataType.Properties["complexType"] = Property{ Name: "complexType", Type: "string", Form: "local", Doc: "Added by softlayer-go. This hints to the API what kind of binding this is.", } } }
go
func addComplexType(dataType *Type) { // Only adding this to the base product order type. All others embed this one. if dataType.Name == "SoftLayer_Container_Product_Order" { dataType.Properties["complexType"] = Property{ Name: "complexType", Type: "string", Form: "local", Doc: "Added by softlayer-go. This hints to the API what kind of product order this is.", } } else if dataType.Name == "SoftLayer_Container_User_Customer_External_Binding" { dataType.Properties["complexType"] = Property{ Name: "complexType", Type: "string", Form: "local", Doc: "Added by softlayer-go. This hints to the API what kind of binding this is.", } } }
[ "func", "addComplexType", "(", "dataType", "*", "Type", ")", "{", "// Only adding this to the base product order type. All others embed this one.", "if", "dataType", ".", "Name", "==", "\"", "\"", "{", "dataType", ".", "Properties", "[", "\"", "\"", "]", "=", "Property", "{", "Name", ":", "\"", "\"", ",", "Type", ":", "\"", "\"", ",", "Form", ":", "\"", "\"", ",", "Doc", ":", "\"", "\"", ",", "}", "\n", "}", "else", "if", "dataType", ".", "Name", "==", "\"", "\"", "{", "dataType", ".", "Properties", "[", "\"", "\"", "]", "=", "Property", "{", "Name", ":", "\"", "\"", ",", "Type", ":", "\"", "\"", ",", "Form", ":", "\"", "\"", ",", "Doc", ":", "\"", "\"", ",", "}", "\n", "}", "\n", "}" ]
// Special case for ensuring we can set a complexType on product orders.
[ "Special", "case", "for", "ensuring", "we", "can", "set", "a", "complexType", "on", "product", "orders", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L360-L377
6,711
softlayer/softlayer-go
tools/loadmeta.go
fixDatatype
func fixDatatype(t *Type, meta map[string]Type) { if strings.HasPrefix(t.Name, "SoftLayer_Dns_Domain_ResourceRecord_") { baseRecordType, _ := meta["SoftLayer_Dns_Domain_ResourceRecord"] for propName, prop := range t.Properties { baseRecordType.Properties[propName] = prop } meta["SoftLayer_Dns_Domain_ResourceRecord"] = baseRecordType } else if t.Name == "SoftLayer_Container_User_Customer_External_Binding_Verisign" || t.Name == "SoftLayer_Container_User_Customer_External_Binding_Verisign_Totp" { baseType, _ := meta["SoftLayer_Container_User_Customer_External_Binding"] for propName, prop := range t.Properties { baseType.Properties[propName] = prop } meta["SoftLayer_Container_User_Customer_External_Binding"] = baseType } }
go
func fixDatatype(t *Type, meta map[string]Type) { if strings.HasPrefix(t.Name, "SoftLayer_Dns_Domain_ResourceRecord_") { baseRecordType, _ := meta["SoftLayer_Dns_Domain_ResourceRecord"] for propName, prop := range t.Properties { baseRecordType.Properties[propName] = prop } meta["SoftLayer_Dns_Domain_ResourceRecord"] = baseRecordType } else if t.Name == "SoftLayer_Container_User_Customer_External_Binding_Verisign" || t.Name == "SoftLayer_Container_User_Customer_External_Binding_Verisign_Totp" { baseType, _ := meta["SoftLayer_Container_User_Customer_External_Binding"] for propName, prop := range t.Properties { baseType.Properties[propName] = prop } meta["SoftLayer_Container_User_Customer_External_Binding"] = baseType } }
[ "func", "fixDatatype", "(", "t", "*", "Type", ",", "meta", "map", "[", "string", "]", "Type", ")", "{", "if", "strings", ".", "HasPrefix", "(", "t", ".", "Name", ",", "\"", "\"", ")", "{", "baseRecordType", ",", "_", ":=", "meta", "[", "\"", "\"", "]", "\n", "for", "propName", ",", "prop", ":=", "range", "t", ".", "Properties", "{", "baseRecordType", ".", "Properties", "[", "propName", "]", "=", "prop", "\n", "}", "\n", "meta", "[", "\"", "\"", "]", "=", "baseRecordType", "\n", "}", "else", "if", "t", ".", "Name", "==", "\"", "\"", "||", "t", ".", "Name", "==", "\"", "\"", "{", "baseType", ",", "_", ":=", "meta", "[", "\"", "\"", "]", "\n", "for", "propName", ",", "prop", ":=", "range", "t", ".", "Properties", "{", "baseType", ".", "Properties", "[", "propName", "]", "=", "prop", "\n", "}", "\n", "meta", "[", "\"", "\"", "]", "=", "baseType", "\n", "}", "\n", "}" ]
// Special case for fixing some datatype properties in the metadata
[ "Special", "case", "for", "fixing", "some", "datatype", "properties", "in", "the", "metadata" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L380-L394
6,712
softlayer/softlayer-go
tools/loadmeta.go
fixReturnType
func fixReturnType(service *Type) { brokenServices := map[string]string{ "SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service": "deleteObject", "SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServer": "deleteObject", "SoftLayer_Network_Application_Delivery_Controller": "deleteLiveLoadBalancerService", } if methodName, ok := brokenServices[service.Name]; ok { method := service.Methods[methodName] method.Type = "void" service.Methods[methodName] = method } }
go
func fixReturnType(service *Type) { brokenServices := map[string]string{ "SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service": "deleteObject", "SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServer": "deleteObject", "SoftLayer_Network_Application_Delivery_Controller": "deleteLiveLoadBalancerService", } if methodName, ok := brokenServices[service.Name]; ok { method := service.Methods[methodName] method.Type = "void" service.Methods[methodName] = method } }
[ "func", "fixReturnType", "(", "service", "*", "Type", ")", "{", "brokenServices", ":=", "map", "[", "string", "]", "string", "{", "\"", "\"", ":", "\"", "\"", ",", "\"", "\"", ":", "\"", "\"", ",", "\"", "\"", ":", "\"", "\"", ",", "}", "\n\n", "if", "methodName", ",", "ok", ":=", "brokenServices", "[", "service", ".", "Name", "]", ";", "ok", "{", "method", ":=", "service", ".", "Methods", "[", "methodName", "]", "\n", "method", ".", "Type", "=", "\"", "\"", "\n", "service", ".", "Methods", "[", "methodName", "]", "=", "method", "\n", "}", "\n", "}" ]
// Special case for fixing some broken return types in the metadata
[ "Special", "case", "for", "fixing", "some", "broken", "return", "types", "in", "the", "metadata" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L397-L409
6,713
softlayer/softlayer-go
tools/loadmeta.go
phraseMethodArg
func phraseMethodArg(methodName string, argName string, isArray bool, argType string) string { argName = RemoveReservedWords(argName) // Handle special case - placeOrder/verifyOrder should take any kind of order type. if (methodName == "placeOrder" || methodName == "verifyOrder") && strings.HasPrefix(argType, "SoftLayer_Container_Product_Order") { return fmt.Sprintf("%s interface{}, ", argName) } refPrefix := "*" if isArray { refPrefix = "[]" } argType = ConvertType(argType, "services") return fmt.Sprintf("%s %s%s, ", argName, refPrefix, argType) }
go
func phraseMethodArg(methodName string, argName string, isArray bool, argType string) string { argName = RemoveReservedWords(argName) // Handle special case - placeOrder/verifyOrder should take any kind of order type. if (methodName == "placeOrder" || methodName == "verifyOrder") && strings.HasPrefix(argType, "SoftLayer_Container_Product_Order") { return fmt.Sprintf("%s interface{}, ", argName) } refPrefix := "*" if isArray { refPrefix = "[]" } argType = ConvertType(argType, "services") return fmt.Sprintf("%s %s%s, ", argName, refPrefix, argType) }
[ "func", "phraseMethodArg", "(", "methodName", "string", ",", "argName", "string", ",", "isArray", "bool", ",", "argType", "string", ")", "string", "{", "argName", "=", "RemoveReservedWords", "(", "argName", ")", "\n\n", "// Handle special case - placeOrder/verifyOrder should take any kind of order type.", "if", "(", "methodName", "==", "\"", "\"", "||", "methodName", "==", "\"", "\"", ")", "&&", "strings", ".", "HasPrefix", "(", "argType", ",", "\"", "\"", ")", "{", "return", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "argName", ")", "\n", "}", "\n\n", "refPrefix", ":=", "\"", "\"", "\n", "if", "isArray", "{", "refPrefix", "=", "\"", "\"", "\n", "}", "\n\n", "argType", "=", "ConvertType", "(", "argType", ",", "\"", "\"", ")", "\n\n", "return", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "argName", ",", "refPrefix", ",", "argType", ")", "\n", "}" ]
// Return formatted method argument phrase used by the method generation.
[ "Return", "formatted", "method", "argument", "phrase", "used", "by", "the", "method", "generation", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L412-L429
6,714
softlayer/softlayer-go
tools/loadmeta.go
writeGoFile
func writeGoFile(base string, pkg string, name string, meta []Type, ts string) error { filename := base + "/" + pkg + "/" + strings.ToLower(name) + ".go" // Generate the source var buf bytes.Buffer t := template.New(pkg).Funcs(fMap) template.Must(t.Parse(ts)).Execute(&buf, meta) /*if pkg == "services" && name == "Account"{ fmt.Println(string(buf.String())) os.Exit(0) }*/ // Add the imports src, err := imports.Process(filename, buf.Bytes(), &imports.Options{Comments: true}) if err != nil { fmt.Printf("Error processing imports: %s", err) } // Format pretty, err := format.Source(src) if err != nil { return fmt.Errorf("Error while formatting source: %s", err) } f, err := os.Create(filename) if err != nil { return fmt.Errorf("Error creating file: %s", err) } defer f.Close() fmt.Fprintf(f, "%s", pretty) return nil }
go
func writeGoFile(base string, pkg string, name string, meta []Type, ts string) error { filename := base + "/" + pkg + "/" + strings.ToLower(name) + ".go" // Generate the source var buf bytes.Buffer t := template.New(pkg).Funcs(fMap) template.Must(t.Parse(ts)).Execute(&buf, meta) /*if pkg == "services" && name == "Account"{ fmt.Println(string(buf.String())) os.Exit(0) }*/ // Add the imports src, err := imports.Process(filename, buf.Bytes(), &imports.Options{Comments: true}) if err != nil { fmt.Printf("Error processing imports: %s", err) } // Format pretty, err := format.Source(src) if err != nil { return fmt.Errorf("Error while formatting source: %s", err) } f, err := os.Create(filename) if err != nil { return fmt.Errorf("Error creating file: %s", err) } defer f.Close() fmt.Fprintf(f, "%s", pretty) return nil }
[ "func", "writeGoFile", "(", "base", "string", ",", "pkg", "string", ",", "name", "string", ",", "meta", "[", "]", "Type", ",", "ts", "string", ")", "error", "{", "filename", ":=", "base", "+", "\"", "\"", "+", "pkg", "+", "\"", "\"", "+", "strings", ".", "ToLower", "(", "name", ")", "+", "\"", "\"", "\n\n", "// Generate the source", "var", "buf", "bytes", ".", "Buffer", "\n", "t", ":=", "template", ".", "New", "(", "pkg", ")", ".", "Funcs", "(", "fMap", ")", "\n", "template", ".", "Must", "(", "t", ".", "Parse", "(", "ts", ")", ")", ".", "Execute", "(", "&", "buf", ",", "meta", ")", "\n\n", "/*if pkg == \"services\" && name == \"Account\"{\n\t\tfmt.Println(string(buf.String()))\n\t\tos.Exit(0)\n\t}*/", "// Add the imports", "src", ",", "err", ":=", "imports", ".", "Process", "(", "filename", ",", "buf", ".", "Bytes", "(", ")", ",", "&", "imports", ".", "Options", "{", "Comments", ":", "true", "}", ")", "\n", "if", "err", "!=", "nil", "{", "fmt", ".", "Printf", "(", "\"", "\"", ",", "err", ")", "\n", "}", "\n\n", "// Format", "pretty", ",", "err", ":=", "format", ".", "Source", "(", "src", ")", "\n", "if", "err", "!=", "nil", "{", "return", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "err", ")", "\n", "}", "\n\n", "f", ",", "err", ":=", "os", ".", "Create", "(", "filename", ")", "\n", "if", "err", "!=", "nil", "{", "return", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "err", ")", "\n", "}", "\n", "defer", "f", ".", "Close", "(", ")", "\n", "fmt", ".", "Fprintf", "(", "f", ",", "\"", "\"", ",", "pretty", ")", "\n\n", "return", "nil", "\n", "}" ]
// Executes a template against the metadata structure, and generates a go source file with the result
[ "Executes", "a", "template", "against", "the", "metadata", "structure", "and", "generates", "a", "go", "source", "file", "with", "the", "result" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/tools/loadmeta.go#L505-L538
6,715
softlayer/softlayer-go
services/account.go
CancelPayPalTransaction
func (r Account) CancelPayPalTransaction(token *string, payerId *string) (resp bool, err error) { params := []interface{}{ token, payerId, } err = r.Session.DoRequest("SoftLayer_Account", "cancelPayPalTransaction", params, &r.Options, &resp) return }
go
func (r Account) CancelPayPalTransaction(token *string, payerId *string) (resp bool, err error) { params := []interface{}{ token, payerId, } err = r.Session.DoRequest("SoftLayer_Account", "cancelPayPalTransaction", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "CancelPayPalTransaction", "(", "token", "*", "string", ",", "payerId", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "token", ",", "payerId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Cancel the PayPal Payment Request process. During the process of submitting a PayPal payment request, the customer is redirected to PayPal to confirm the request. If the customer elects to cancel the payment from PayPal, they are returned to SoftLayer where the manual payment record is updated to a status of canceled.
[ "Cancel", "the", "PayPal", "Payment", "Request", "process", ".", "During", "the", "process", "of", "submitting", "a", "PayPal", "payment", "request", "the", "customer", "is", "redirected", "to", "PayPal", "to", "confirm", "the", "request", ".", "If", "the", "customer", "elects", "to", "cancel", "the", "payment", "from", "PayPal", "they", "are", "returned", "to", "SoftLayer", "where", "the", "manual", "payment", "record", "is", "updated", "to", "a", "status", "of", "canceled", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L109-L116
6,716
softlayer/softlayer-go
services/account.go
GetAbuseEmails
func (r Account) GetAbuseEmails() (resp []datatypes.Account_AbuseEmail, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getAbuseEmails", nil, &r.Options, &resp) return }
go
func (r Account) GetAbuseEmails() (resp []datatypes.Account_AbuseEmail, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getAbuseEmails", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAbuseEmails", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_AbuseEmail", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Email addresses that are responsible for abuse and legal inquiries on behalf of an account. For instance, new legal and abuse tickets are sent to these addresses.
[ "Retrieve", "Email", "addresses", "that", "are", "responsible", "for", "abuse", "and", "legal", "inquiries", "on", "behalf", "of", "an", "account", ".", "For", "instance", "new", "legal", "and", "abuse", "tickets", "are", "sent", "to", "these", "addresses", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L171-L174
6,717
softlayer/softlayer-go
services/account.go
GetAccountBackupHistory
func (r Account) GetAccountBackupHistory(startDate *datatypes.Time, endDate *datatypes.Time, backupStatus *string) (resp []datatypes.Container_Network_Storage_Evault_WebCc_JobDetails, err error) { params := []interface{}{ startDate, endDate, backupStatus, } err = r.Session.DoRequest("SoftLayer_Account", "getAccountBackupHistory", params, &r.Options, &resp) return }
go
func (r Account) GetAccountBackupHistory(startDate *datatypes.Time, endDate *datatypes.Time, backupStatus *string) (resp []datatypes.Container_Network_Storage_Evault_WebCc_JobDetails, err error) { params := []interface{}{ startDate, endDate, backupStatus, } err = r.Session.DoRequest("SoftLayer_Account", "getAccountBackupHistory", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAccountBackupHistory", "(", "startDate", "*", "datatypes", ".", "Time", ",", "endDate", "*", "datatypes", ".", "Time", ",", "backupStatus", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Network_Storage_Evault_WebCc_JobDetails", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "startDate", ",", "endDate", ",", "backupStatus", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method returns an array of SoftLayer_Container_Network_Storage_Evault_WebCc_JobDetails objects for the given start and end dates. Start and end dates should be be valid ISO 8601 dates. The backupStatus can be one of null, 'success', 'failed', or 'conflict'. The 'success' backupStatus returns jobs with a status of 'COMPLETED', the 'failed' backupStatus returns jobs with a status of 'FAILED', while the 'conflict' backupStatus will return jobs that are not 'COMPLETED' or 'FAILED'.
[ "This", "method", "returns", "an", "array", "of", "SoftLayer_Container_Network_Storage_Evault_WebCc_JobDetails", "objects", "for", "the", "given", "start", "and", "end", "dates", ".", "Start", "and", "end", "dates", "should", "be", "be", "valid", "ISO", "8601", "dates", ".", "The", "backupStatus", "can", "be", "one", "of", "null", "success", "failed", "or", "conflict", ".", "The", "success", "backupStatus", "returns", "jobs", "with", "a", "status", "of", "COMPLETED", "the", "failed", "backupStatus", "returns", "jobs", "with", "a", "status", "of", "FAILED", "while", "the", "conflict", "backupStatus", "will", "return", "jobs", "that", "are", "not", "COMPLETED", "or", "FAILED", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L177-L185
6,718
softlayer/softlayer-go
services/account.go
GetAccountStatus
func (r Account) GetAccountStatus() (resp datatypes.Account_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getAccountStatus", nil, &r.Options, &resp) return }
go
func (r Account) GetAccountStatus() (resp datatypes.Account_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getAccountStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAccountStatus", "(", ")", "(", "resp", "datatypes", ".", "Account_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve An account's status presented in a more detailed data type.
[ "Retrieve", "An", "account", "s", "status", "presented", "in", "a", "more", "detailed", "data", "type", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L206-L209
6,719
softlayer/softlayer-go
services/account.go
GetAccountTraitValue
func (r Account) GetAccountTraitValue(keyName *string) (resp string, err error) { params := []interface{}{ keyName, } err = r.Session.DoRequest("SoftLayer_Account", "getAccountTraitValue", params, &r.Options, &resp) return }
go
func (r Account) GetAccountTraitValue(keyName *string) (resp string, err error) { params := []interface{}{ keyName, } err = r.Session.DoRequest("SoftLayer_Account", "getAccountTraitValue", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAccountTraitValue", "(", "keyName", "*", "string", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "keyName", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method pulls an account trait by its key.
[ "This", "method", "pulls", "an", "account", "trait", "by", "its", "key", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L212-L218
6,720
softlayer/softlayer-go
services/account.go
GetActiveAlarms
func (r Account) GetActiveAlarms() (resp []datatypes.Container_Monitoring_Alarm_History, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getActiveAlarms", nil, &r.Options, &resp) return }
go
func (r Account) GetActiveAlarms() (resp []datatypes.Container_Monitoring_Alarm_History, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getActiveAlarms", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetActiveAlarms", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Monitoring_Alarm_History", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Return all currently active alarms on this account. Only alarms on hardware and virtual servers accessible to the current user will be returned.
[ "Return", "all", "currently", "active", "alarms", "on", "this", "account", ".", "Only", "alarms", "on", "hardware", "and", "virtual", "servers", "accessible", "to", "the", "current", "user", "will", "be", "returned", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L245-L248
6,721
softlayer/softlayer-go
services/account.go
GetAggregatedUptimeGraph
func (r Account) GetAggregatedUptimeGraph(startDate *datatypes.Time, endDate *datatypes.Time) (resp datatypes.Container_Graph, err error) { params := []interface{}{ startDate, endDate, } err = r.Session.DoRequest("SoftLayer_Account", "getAggregatedUptimeGraph", params, &r.Options, &resp) return }
go
func (r Account) GetAggregatedUptimeGraph(startDate *datatypes.Time, endDate *datatypes.Time) (resp datatypes.Container_Graph, err error) { params := []interface{}{ startDate, endDate, } err = r.Session.DoRequest("SoftLayer_Account", "getAggregatedUptimeGraph", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAggregatedUptimeGraph", "(", "startDate", "*", "datatypes", ".", "Time", ",", "endDate", "*", "datatypes", ".", "Time", ")", "(", "resp", "datatypes", ".", "Container_Graph", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "startDate", ",", "endDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns URL uptime data for your account
[ "Returns", "URL", "uptime", "data", "for", "your", "account" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L348-L355
6,722
softlayer/softlayer-go
services/account.go
GetAttributes
func (r Account) GetAttributes() (resp []datatypes.Account_Attribute, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getAttributes", nil, &r.Options, &resp) return }
go
func (r Account) GetAttributes() (resp []datatypes.Account_Attribute, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getAttributes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAttributes", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_Attribute", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The account attribute values for a SoftLayer customer account.
[ "Retrieve", "The", "account", "attribute", "values", "for", "a", "SoftLayer", "customer", "account", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L433-L436
6,723
softlayer/softlayer-go
services/account.go
GetAverageArchiveUsageMetricDataByDate
func (r Account) GetAverageArchiveUsageMetricDataByDate(startDateTime *datatypes.Time, endDateTime *datatypes.Time) (resp datatypes.Float64, err error) { params := []interface{}{ startDateTime, endDateTime, } err = r.Session.DoRequest("SoftLayer_Account", "getAverageArchiveUsageMetricDataByDate", params, &r.Options, &resp) return }
go
func (r Account) GetAverageArchiveUsageMetricDataByDate(startDateTime *datatypes.Time, endDateTime *datatypes.Time) (resp datatypes.Float64, err error) { params := []interface{}{ startDateTime, endDateTime, } err = r.Session.DoRequest("SoftLayer_Account", "getAverageArchiveUsageMetricDataByDate", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetAverageArchiveUsageMetricDataByDate", "(", "startDateTime", "*", "datatypes", ".", "Time", ",", "endDateTime", "*", "datatypes", ".", "Time", ")", "(", "resp", "datatypes", ".", "Float64", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "startDateTime", ",", "endDateTime", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns the average disk space usage for all archive repositories.
[ "Returns", "the", "average", "disk", "space", "usage", "for", "all", "archive", "repositories", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L451-L458
6,724
softlayer/softlayer-go
services/account.go
GetBluemixAccountLink
func (r Account) GetBluemixAccountLink() (resp datatypes.Account_Link_Bluemix, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getBluemixAccountLink", nil, &r.Options, &resp) return }
go
func (r Account) GetBluemixAccountLink() (resp datatypes.Account_Link_Bluemix, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getBluemixAccountLink", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetBluemixAccountLink", "(", ")", "(", "resp", "datatypes", ".", "Account_Link_Bluemix", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The Bluemix account link associated with this SoftLayer account, if one exists.
[ "Retrieve", "The", "Bluemix", "account", "link", "associated", "with", "this", "SoftLayer", "account", "if", "one", "exists", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L519-L522
6,725
softlayer/softlayer-go
services/account.go
GetCurrentBackupStatisticsGraph
func (r Account) GetCurrentBackupStatisticsGraph(detailedGraph *bool) (resp datatypes.Container_Account_Graph_Outputs, err error) { params := []interface{}{ detailedGraph, } err = r.Session.DoRequest("SoftLayer_Account", "getCurrentBackupStatisticsGraph", params, &r.Options, &resp) return }
go
func (r Account) GetCurrentBackupStatisticsGraph(detailedGraph *bool) (resp datatypes.Container_Account_Graph_Outputs, err error) { params := []interface{}{ detailedGraph, } err = r.Session.DoRequest("SoftLayer_Account", "getCurrentBackupStatisticsGraph", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetCurrentBackupStatisticsGraph", "(", "detailedGraph", "*", "bool", ")", "(", "resp", "datatypes", ".", "Container_Account_Graph_Outputs", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "detailedGraph", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method returns a SoftLayer_Container_Account_Graph_Outputs containing a base64 string PNG image. The optional parameter, detailedGraph, can be passed to get a more detailed graph.
[ "This", "method", "returns", "a", "SoftLayer_Container_Account_Graph_Outputs", "containing", "a", "base64", "string", "PNG", "image", ".", "The", "optional", "parameter", "detailedGraph", "can", "be", "passed", "to", "get", "a", "more", "detailed", "graph", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L585-L591
6,726
softlayer/softlayer-go
services/account.go
GetDatacentersWithSubnetAllocations
func (r Account) GetDatacentersWithSubnetAllocations() (resp []datatypes.Location, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getDatacentersWithSubnetAllocations", nil, &r.Options, &resp) return }
go
func (r Account) GetDatacentersWithSubnetAllocations() (resp []datatypes.Location, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getDatacentersWithSubnetAllocations", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetDatacentersWithSubnetAllocations", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Location", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Datacenters which contain subnets that the account has access to route.
[ "Retrieve", "Datacenters", "which", "contain", "subnets", "that", "the", "account", "has", "access", "to", "route", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L609-L612
6,727
softlayer/softlayer-go
services/account.go
GetDedicatedHostsForImageTemplate
func (r Account) GetDedicatedHostsForImageTemplate(imageTemplateId *int) (resp []datatypes.Virtual_DedicatedHost, err error) { params := []interface{}{ imageTemplateId, } err = r.Session.DoRequest("SoftLayer_Account", "getDedicatedHostsForImageTemplate", params, &r.Options, &resp) return }
go
func (r Account) GetDedicatedHostsForImageTemplate(imageTemplateId *int) (resp []datatypes.Virtual_DedicatedHost, err error) { params := []interface{}{ imageTemplateId, } err = r.Session.DoRequest("SoftLayer_Account", "getDedicatedHostsForImageTemplate", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetDedicatedHostsForImageTemplate", "(", "imageTemplateId", "*", "int", ")", "(", "resp", "[", "]", "datatypes", ".", "Virtual_DedicatedHost", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "imageTemplateId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This returns a collection of dedicated hosts that are valid for a given image template.
[ "This", "returns", "a", "collection", "of", "dedicated", "hosts", "that", "are", "valid", "for", "a", "given", "image", "template", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L621-L627
6,728
softlayer/softlayer-go
services/account.go
GetEuSupportedFlag
func (r Account) GetEuSupportedFlag() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getEuSupportedFlag", nil, &r.Options, &resp) return }
go
func (r Account) GetEuSupportedFlag() (resp bool, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getEuSupportedFlag", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetEuSupportedFlag", "(", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Boolean flag dictating whether or not this account has the EU Supported flag. This flag indicates that this account uses IBM Cloud services to process EU citizen's personal data.
[ "Retrieve", "Boolean", "flag", "dictating", "whether", "or", "not", "this", "account", "has", "the", "EU", "Supported", "flag", ".", "This", "flag", "indicates", "that", "this", "account", "uses", "IBM", "Cloud", "services", "to", "process", "EU", "citizen", "s", "personal", "data", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L700-L703
6,729
softlayer/softlayer-go
services/account.go
GetEvaultCapacityGB
func (r Account) GetEvaultCapacityGB() (resp uint, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getEvaultCapacityGB", nil, &r.Options, &resp) return }
go
func (r Account) GetEvaultCapacityGB() (resp uint, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getEvaultCapacityGB", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetEvaultCapacityGB", "(", ")", "(", "resp", "uint", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The total capacity of Legacy EVault Volumes on an account, in GB.
[ "Retrieve", "The", "total", "capacity", "of", "Legacy", "EVault", "Volumes", "on", "an", "account", "in", "GB", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L706-L709
6,730
softlayer/softlayer-go
services/account.go
GetExecutiveSummaryPdf
func (r Account) GetExecutiveSummaryPdf(pdfType *string, historicalType *string, startDate *string, endDate *string) (resp []byte, err error) { params := []interface{}{ pdfType, historicalType, startDate, endDate, } err = r.Session.DoRequest("SoftLayer_Account", "getExecutiveSummaryPdf", params, &r.Options, &resp) return }
go
func (r Account) GetExecutiveSummaryPdf(pdfType *string, historicalType *string, startDate *string, endDate *string) (resp []byte, err error) { params := []interface{}{ pdfType, historicalType, startDate, endDate, } err = r.Session.DoRequest("SoftLayer_Account", "getExecutiveSummaryPdf", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetExecutiveSummaryPdf", "(", "pdfType", "*", "string", ",", "historicalType", "*", "string", ",", "startDate", "*", "string", ",", "endDate", "*", "string", ")", "(", "resp", "[", "]", "byte", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "pdfType", ",", "historicalType", ",", "startDate", ",", "endDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method will return a PDF of the specified report, with the specified period within the start and end dates. The pdfType must be one of 'snapshot', or 'historical'. Possible historicalType parameters are 'monthly', 'yearly', and 'quarterly'. Start and end dates should be in ISO 8601 date format.
[ "This", "method", "will", "return", "a", "PDF", "of", "the", "specified", "report", "with", "the", "specified", "period", "within", "the", "start", "and", "end", "dates", ".", "The", "pdfType", "must", "be", "one", "of", "snapshot", "or", "historical", ".", "Possible", "historicalType", "parameters", "are", "monthly", "yearly", "and", "quarterly", ".", "Start", "and", "end", "dates", "should", "be", "in", "ISO", "8601", "date", "format", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L724-L733
6,731
softlayer/softlayer-go
services/account.go
GetFacilityLogs
func (r Account) GetFacilityLogs() (resp []datatypes.User_Access_Facility_Log, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getFacilityLogs", nil, &r.Options, &resp) return }
go
func (r Account) GetFacilityLogs() (resp []datatypes.User_Access_Facility_Log, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getFacilityLogs", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetFacilityLogs", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "User_Access_Facility_Log", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Logs of who entered a colocation area which is assigned to this account, or when a user under this account enters a datacenter.
[ "Retrieve", "Logs", "of", "who", "entered", "a", "colocation", "area", "which", "is", "assigned", "to", "this", "account", "or", "when", "a", "user", "under", "this", "account", "enters", "a", "datacenter", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L742-L745
6,732
softlayer/softlayer-go
services/account.go
GetFlexibleCreditEnrollments
func (r Account) GetFlexibleCreditEnrollments() (resp []datatypes.FlexibleCredit_Enrollment, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getFlexibleCreditEnrollments", nil, &r.Options, &resp) return }
go
func (r Account) GetFlexibleCreditEnrollments() (resp []datatypes.FlexibleCredit_Enrollment, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getFlexibleCreditEnrollments", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetFlexibleCreditEnrollments", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "FlexibleCredit_Enrollment", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve All of the account's current and former Flexible Credit enrollments.
[ "Retrieve", "All", "of", "the", "account", "s", "current", "and", "former", "Flexible", "Credit", "enrollments", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L748-L751
6,733
softlayer/softlayer-go
services/account.go
GetHardwarePools
func (r Account) GetHardwarePools() (resp []datatypes.Container_Hardware_Pool_Details, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getHardwarePools", nil, &r.Options, &resp) return }
go
func (r Account) GetHardwarePools() (resp []datatypes.Container_Hardware_Pool_Details, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getHardwarePools", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetHardwarePools", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Hardware_Pool_Details", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Return a collection of managed hardware pools.
[ "Return", "a", "collection", "of", "managed", "hardware", "pools", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L805-L808
6,734
softlayer/softlayer-go
services/account.go
GetHistoricalBandwidthGraph
func (r Account) GetHistoricalBandwidthGraph(startDate *datatypes.Time, endDate *datatypes.Time) (resp datatypes.Container_Account_Graph_Outputs, err error) { params := []interface{}{ startDate, endDate, } err = r.Session.DoRequest("SoftLayer_Account", "getHistoricalBandwidthGraph", params, &r.Options, &resp) return }
go
func (r Account) GetHistoricalBandwidthGraph(startDate *datatypes.Time, endDate *datatypes.Time) (resp datatypes.Container_Account_Graph_Outputs, err error) { params := []interface{}{ startDate, endDate, } err = r.Session.DoRequest("SoftLayer_Account", "getHistoricalBandwidthGraph", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetHistoricalBandwidthGraph", "(", "startDate", "*", "datatypes", ".", "Time", ",", "endDate", "*", "datatypes", ".", "Time", ")", "(", "resp", "datatypes", ".", "Container_Account_Graph_Outputs", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "startDate", ",", "endDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method will return a SoftLayer_Container_Account_Graph_Outputs object containing a base64 string PNG image of a line graph of bandwidth statistics given the start and end dates. The start and end dates should be valid ISO 8601 date formatted strings.
[ "This", "method", "will", "return", "a", "SoftLayer_Container_Account_Graph_Outputs", "object", "containing", "a", "base64", "string", "PNG", "image", "of", "a", "line", "graph", "of", "bandwidth", "statistics", "given", "the", "start", "and", "end", "dates", ".", "The", "start", "and", "end", "dates", "should", "be", "valid", "ISO", "8601", "date", "formatted", "strings", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L911-L918
6,735
softlayer/softlayer-go
services/account.go
GetInProgressExternalAccountSetup
func (r Account) GetInProgressExternalAccountSetup() (resp datatypes.Account_External_Setup, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getInProgressExternalAccountSetup", nil, &r.Options, &resp) return }
go
func (r Account) GetInProgressExternalAccountSetup() (resp datatypes.Account_External_Setup, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getInProgressExternalAccountSetup", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetInProgressExternalAccountSetup", "(", ")", "(", "resp", "datatypes", ".", "Account_External_Setup", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve An in progress request to switch billing systems.
[ "Retrieve", "An", "in", "progress", "request", "to", "switch", "billing", "systems", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L983-L986
6,736
softlayer/softlayer-go
services/account.go
GetLargestAllowedSubnetCidr
func (r Account) GetLargestAllowedSubnetCidr(numberOfHosts *int, locationId *int) (resp int, err error) { params := []interface{}{ numberOfHosts, locationId, } err = r.Session.DoRequest("SoftLayer_Account", "getLargestAllowedSubnetCidr", params, &r.Options, &resp) return }
go
func (r Account) GetLargestAllowedSubnetCidr(numberOfHosts *int, locationId *int) (resp int, err error) { params := []interface{}{ numberOfHosts, locationId, } err = r.Session.DoRequest("SoftLayer_Account", "getLargestAllowedSubnetCidr", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetLargestAllowedSubnetCidr", "(", "numberOfHosts", "*", "int", ",", "locationId", "*", "int", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "numberOfHosts", ",", "locationId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Computes the number of available public secondary IP addresses, aligned to a subnet size.
[ "Computes", "the", "number", "of", "available", "public", "secondary", "IP", "addresses", "aligned", "to", "a", "subnet", "size", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1013-L1020
6,737
softlayer/softlayer-go
services/account.go
GetNetworkVlanSpan
func (r Account) GetNetworkVlanSpan() (resp datatypes.Account_Network_Vlan_Span, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getNetworkVlanSpan", nil, &r.Options, &resp) return }
go
func (r Account) GetNetworkVlanSpan() (resp datatypes.Account_Network_Vlan_Span, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getNetworkVlanSpan", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetNetworkVlanSpan", "(", ")", "(", "resp", "datatypes", ".", "Account_Network_Vlan_Span", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Whether or not an account has automatic private VLAN spanning enabled.
[ "Retrieve", "Whether", "or", "not", "an", "account", "has", "automatic", "private", "VLAN", "spanning", "enabled", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1239-L1242
6,738
softlayer/softlayer-go
services/account.go
GetNextInvoicePdf
func (r Account) GetNextInvoicePdf(documentCreateDate *datatypes.Time) (resp []byte, err error) { params := []interface{}{ documentCreateDate, } err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoicePdf", params, &r.Options, &resp) return }
go
func (r Account) GetNextInvoicePdf(documentCreateDate *datatypes.Time) (resp []byte, err error) { params := []interface{}{ documentCreateDate, } err = r.Session.DoRequest("SoftLayer_Account", "getNextInvoicePdf", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetNextInvoicePdf", "(", "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 PDF format. The "next invoice" is what a customer will be billed on their next invoice, assuming no changes are made. Currently this does not include Bandwidth Pooling charges.
[ "Return", "an", "account", "s", "next", "invoice", "in", "PDF", "format", ".", "The", "next", "invoice", "is", "what", "a", "customer", "will", "be", "billed", "on", "their", "next", "invoice", "assuming", "no", "changes", "are", "made", ".", "Currently", "this", "does", "not", "include", "Bandwidth", "Pooling", "charges", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1272-L1278
6,739
softlayer/softlayer-go
services/account.go
GetPendingCreditCardChangeRequestData
func (r Account) GetPendingCreditCardChangeRequestData() (resp []datatypes.Container_Account_Payment_Method_CreditCard, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPendingCreditCardChangeRequestData", nil, &r.Options, &resp) return }
go
func (r Account) GetPendingCreditCardChangeRequestData() (resp []datatypes.Container_Account_Payment_Method_CreditCard, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPendingCreditCardChangeRequestData", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetPendingCreditCardChangeRequestData", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Account_Payment_Method_CreditCard", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Before being approved for general use, a credit card must be approved by a SoftLayer agent. Once a credit card change request has been either approved or denied, the change request will no longer appear in the list of pending change requests. This method will return a list of all pending change requests as well as a portion of the data from the original request.
[ "Before", "being", "approved", "for", "general", "use", "a", "credit", "card", "must", "be", "approved", "by", "a", "SoftLayer", "agent", ".", "Once", "a", "credit", "card", "change", "request", "has", "been", "either", "approved", "or", "denied", "the", "change", "request", "will", "no", "longer", "appear", "in", "the", "list", "of", "pending", "change", "requests", ".", "This", "method", "will", "return", "a", "list", "of", "all", "pending", "change", "requests", "as", "well", "as", "a", "portion", "of", "the", "data", "from", "the", "original", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1464-L1467
6,740
softlayer/softlayer-go
services/account.go
GetPendingInvoiceTopLevelItems
func (r Account) GetPendingInvoiceTopLevelItems() (resp []datatypes.Billing_Invoice_Item, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTopLevelItems", nil, &r.Options, &resp) return }
go
func (r Account) GetPendingInvoiceTopLevelItems() (resp []datatypes.Billing_Invoice_Item, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTopLevelItems", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetPendingInvoiceTopLevelItems", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Billing_Invoice_Item", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve A list of top-level invoice items that are on an account's currently pending invoice.
[ "Retrieve", "A", "list", "of", "top", "-", "level", "invoice", "items", "that", "are", "on", "an", "account", "s", "currently", "pending", "invoice", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1482-L1485
6,741
softlayer/softlayer-go
services/account.go
GetPendingInvoiceTotalAmount
func (r Account) GetPendingInvoiceTotalAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalAmount", nil, &r.Options, &resp) return }
go
func (r Account) GetPendingInvoiceTotalAmount() (resp datatypes.Float64, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPendingInvoiceTotalAmount", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetPendingInvoiceTotalAmount", "(", ")", "(", "resp", "datatypes", ".", "Float64", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The total amount of an account's pending invoice, if one exists.
[ "Retrieve", "The", "total", "amount", "of", "an", "account", "s", "pending", "invoice", "if", "one", "exists", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1488-L1491
6,742
softlayer/softlayer-go
services/account.go
GetPriceRestrictions
func (r Account) GetPriceRestrictions() (resp []datatypes.Product_Item_Price_Account_Restriction, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPriceRestrictions", nil, &r.Options, &resp) return }
go
func (r Account) GetPriceRestrictions() (resp []datatypes.Product_Item_Price_Account_Restriction, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getPriceRestrictions", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetPriceRestrictions", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Product_Item_Price_Account_Restriction", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The item price that an account is restricted to.
[ "Retrieve", "The", "item", "price", "that", "an", "account", "is", "restricted", "to", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1566-L1569
6,743
softlayer/softlayer-go
services/account.go
GetRemoteManagementCommandRequests
func (r Account) GetRemoteManagementCommandRequests() (resp []datatypes.Hardware_Component_RemoteManagement_Command_Request, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getRemoteManagementCommandRequests", nil, &r.Options, &resp) return }
go
func (r Account) GetRemoteManagementCommandRequests() (resp []datatypes.Hardware_Component_RemoteManagement_Command_Request, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getRemoteManagementCommandRequests", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetRemoteManagementCommandRequests", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Hardware_Component_RemoteManagement_Command_Request", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Remote management command requests for an account
[ "Retrieve", "Remote", "management", "command", "requests", "for", "an", "account" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1686-L1689
6,744
softlayer/softlayer-go
services/account.go
GetTechIncubatorProgramInfo
func (r Account) GetTechIncubatorProgramInfo(forNextBillCycle *bool) (resp datatypes.Container_Account_Discount_Program, err error) { params := []interface{}{ forNextBillCycle, } err = r.Session.DoRequest("SoftLayer_Account", "getTechIncubatorProgramInfo", params, &r.Options, &resp) return }
go
func (r Account) GetTechIncubatorProgramInfo(forNextBillCycle *bool) (resp datatypes.Container_Account_Discount_Program, err error) { params := []interface{}{ forNextBillCycle, } err = r.Session.DoRequest("SoftLayer_Account", "getTechIncubatorProgramInfo", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetTechIncubatorProgramInfo", "(", "forNextBillCycle", "*", "bool", ")", "(", "resp", "datatypes", ".", "Container_Account_Discount_Program", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "forNextBillCycle", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method will return a SoftLayer_Container_Account_Discount_Program object containing the Technology Incubator Program information for this account. To be considered an active participant, the account must have an enrollment record with a monthly credit amount set and the current date must be within the range defined by the enrollment and graduation date. The forNextBillCycle parameter can be set to true to return a SoftLayer_Container_Account_Discount_Program object with information with relation to the next bill cycle. The forNextBillCycle parameter defaults to false.
[ "This", "method", "will", "return", "a", "SoftLayer_Container_Account_Discount_Program", "object", "containing", "the", "Technology", "Incubator", "Program", "information", "for", "this", "account", ".", "To", "be", "considered", "an", "active", "participant", "the", "account", "must", "have", "an", "enrollment", "record", "with", "a", "monthly", "credit", "amount", "set", "and", "the", "current", "date", "must", "be", "within", "the", "range", "defined", "by", "the", "enrollment", "and", "graduation", "date", ".", "The", "forNextBillCycle", "parameter", "can", "be", "set", "to", "true", "to", "return", "a", "SoftLayer_Container_Account_Discount_Program", "object", "with", "information", "with", "relation", "to", "the", "next", "bill", "cycle", ".", "The", "forNextBillCycle", "parameter", "defaults", "to", "false", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L1866-L1872
6,745
softlayer/softlayer-go
services/account.go
GetWindowsUpdateStatus
func (r Account) GetWindowsUpdateStatus() (resp []datatypes.Container_Utility_Microsoft_Windows_UpdateServices_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getWindowsUpdateStatus", nil, &r.Options, &resp) return }
go
func (r Account) GetWindowsUpdateStatus() (resp []datatypes.Container_Utility_Microsoft_Windows_UpdateServices_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account", "getWindowsUpdateStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "GetWindowsUpdateStatus", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Utility_Microsoft_Windows_UpdateServices_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve a list of an account's hardware's Windows Update status. This list includes which servers have available updates, which servers require rebooting due to updates, which servers have failed retrieving updates, and which servers have failed to communicate with the SoftLayer private Windows Software Update Services server.
[ "Retrieve", "a", "list", "of", "an", "account", "s", "hardware", "s", "Windows", "Update", "status", ".", "This", "list", "includes", "which", "servers", "have", "available", "updates", "which", "servers", "require", "rebooting", "due", "to", "updates", "which", "servers", "have", "failed", "retrieving", "updates", "and", "which", "servers", "have", "failed", "to", "communicate", "with", "the", "SoftLayer", "private", "Windows", "Software", "Update", "Services", "server", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2043-L2046
6,746
softlayer/softlayer-go
services/account.go
LinkExternalAccount
func (r Account) LinkExternalAccount(externalAccountId *string, authorizationToken *string, externalServiceProviderKey *string) (err error) { var resp datatypes.Void params := []interface{}{ externalAccountId, authorizationToken, externalServiceProviderKey, } err = r.Session.DoRequest("SoftLayer_Account", "linkExternalAccount", params, &r.Options, &resp) return }
go
func (r Account) LinkExternalAccount(externalAccountId *string, authorizationToken *string, externalServiceProviderKey *string) (err error) { var resp datatypes.Void params := []interface{}{ externalAccountId, authorizationToken, externalServiceProviderKey, } err = r.Session.DoRequest("SoftLayer_Account", "linkExternalAccount", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "LinkExternalAccount", "(", "externalAccountId", "*", "string", ",", "authorizationToken", "*", "string", ",", "externalServiceProviderKey", "*", "string", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "params", ":=", "[", "]", "interface", "{", "}", "{", "externalAccountId", ",", "authorizationToken", ",", "externalServiceProviderKey", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method will link this SoftLayer account with the provided external account.
[ "This", "method", "will", "link", "this", "SoftLayer", "account", "with", "the", "provided", "external", "account", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2088-L2097
6,747
softlayer/softlayer-go
services/account.go
SetAbuseEmails
func (r Account) SetAbuseEmails(emails []string) (resp bool, err error) { params := []interface{}{ emails, } err = r.Session.DoRequest("SoftLayer_Account", "setAbuseEmails", params, &r.Options, &resp) return }
go
func (r Account) SetAbuseEmails(emails []string) (resp bool, err error) { params := []interface{}{ emails, } err = r.Session.DoRequest("SoftLayer_Account", "setAbuseEmails", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "SetAbuseEmails", "(", "emails", "[", "]", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "emails", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Set this account's abuse emails. Takes an array of email addresses as strings.
[ "Set", "this", "account", "s", "abuse", "emails", ".", "Takes", "an", "array", "of", "email", "addresses", "as", "strings", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2140-L2146
6,748
softlayer/softlayer-go
services/account.go
SetManagedPoolQuantity
func (r Account) SetManagedPoolQuantity(poolKeyName *string, backendRouter *string, quantity *int) (resp []byte, err error) { params := []interface{}{ poolKeyName, backendRouter, quantity, } err = r.Session.DoRequest("SoftLayer_Account", "setManagedPoolQuantity", params, &r.Options, &resp) return }
go
func (r Account) SetManagedPoolQuantity(poolKeyName *string, backendRouter *string, quantity *int) (resp []byte, err error) { params := []interface{}{ poolKeyName, backendRouter, quantity, } err = r.Session.DoRequest("SoftLayer_Account", "setManagedPoolQuantity", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "SetManagedPoolQuantity", "(", "poolKeyName", "*", "string", ",", "backendRouter", "*", "string", ",", "quantity", "*", "int", ")", "(", "resp", "[", "]", "byte", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "poolKeyName", ",", "backendRouter", ",", "quantity", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Set the total number of servers that are to be maintained in the given pool. When a server is ordered a new server will be put in the pool to replace the server that was removed to fill an order to maintain the desired pool availability quantity.
[ "Set", "the", "total", "number", "of", "servers", "that", "are", "to", "be", "maintained", "in", "the", "given", "pool", ".", "When", "a", "server", "is", "ordered", "a", "new", "server", "will", "be", "put", "in", "the", "pool", "to", "replace", "the", "server", "that", "was", "removed", "to", "fill", "an", "order", "to", "maintain", "the", "desired", "pool", "availability", "quantity", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2149-L2157
6,749
softlayer/softlayer-go
services/account.go
SetVlanSpan
func (r Account) SetVlanSpan(enabled *bool) (resp bool, err error) { params := []interface{}{ enabled, } err = r.Session.DoRequest("SoftLayer_Account", "setVlanSpan", params, &r.Options, &resp) return }
go
func (r Account) SetVlanSpan(enabled *bool) (resp bool, err error) { params := []interface{}{ enabled, } err = r.Session.DoRequest("SoftLayer_Account", "setVlanSpan", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "SetVlanSpan", "(", "enabled", "*", "bool", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "enabled", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Set the flag that enables or disables automatic private network VLAN spanning for a SoftLayer customer account. Enabling VLAN spanning allows an account's servers to talk on the same broadcast domain even if they reside within different private vlans.
[ "Set", "the", "flag", "that", "enables", "or", "disables", "automatic", "private", "network", "VLAN", "spanning", "for", "a", "SoftLayer", "customer", "account", ".", "Enabling", "VLAN", "spanning", "allows", "an", "account", "s", "servers", "to", "talk", "on", "the", "same", "broadcast", "domain", "even", "if", "they", "reside", "within", "different", "private", "vlans", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2160-L2166
6,750
softlayer/softlayer-go
services/account.go
UpdateVpnUsersForResource
func (r Account) UpdateVpnUsersForResource(objectId *int, objectType *string) (resp bool, err error) { params := []interface{}{ objectId, objectType, } err = r.Session.DoRequest("SoftLayer_Account", "updateVpnUsersForResource", params, &r.Options, &resp) return }
go
func (r Account) UpdateVpnUsersForResource(objectId *int, objectType *string) (resp bool, err error) { params := []interface{}{ objectId, objectType, } err = r.Session.DoRequest("SoftLayer_Account", "updateVpnUsersForResource", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "UpdateVpnUsersForResource", "(", "objectId", "*", "int", ",", "objectType", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "objectId", ",", "objectType", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Some larger SoftLayer customer accounts may have servers and virtual servers on more subnets than SoftLayer's private network VPN devices can assign routes for. In those cases routes for individual servers and virtual servers may be assigned individually to an account's servers via this method. // // Always call this method to enable changes when manually configuring VPN subnet access.
[ "Some", "larger", "SoftLayer", "customer", "accounts", "may", "have", "servers", "and", "virtual", "servers", "on", "more", "subnets", "than", "SoftLayer", "s", "private", "network", "VPN", "devices", "can", "assign", "routes", "for", ".", "In", "those", "cases", "routes", "for", "individual", "servers", "and", "virtual", "servers", "may", "be", "assigned", "individually", "to", "an", "account", "s", "servers", "via", "this", "method", ".", "Always", "call", "this", "method", "to", "enable", "changes", "when", "manually", "configuring", "VPN", "subnet", "access", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2184-L2191
6,751
softlayer/softlayer-go
services/account.go
ValidateManualPaymentAmount
func (r Account) ValidateManualPaymentAmount(amount *string) (resp bool, err error) { params := []interface{}{ amount, } err = r.Session.DoRequest("SoftLayer_Account", "validateManualPaymentAmount", params, &r.Options, &resp) return }
go
func (r Account) ValidateManualPaymentAmount(amount *string) (resp bool, err error) { params := []interface{}{ amount, } err = r.Session.DoRequest("SoftLayer_Account", "validateManualPaymentAmount", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account", ")", "ValidateManualPaymentAmount", "(", "amount", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "amount", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method checks global and account specific requirements and returns true if the dollar amount entered is acceptable for this account and false otherwise. Please note the dollar amount is in USD.
[ "This", "method", "checks", "global", "and", "account", "specific", "requirements", "and", "returns", "true", "if", "the", "dollar", "amount", "entered", "is", "acceptable", "for", "this", "account", "and", "false", "otherwise", ".", "Please", "note", "the", "dollar", "amount", "is", "in", "USD", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2203-L2209
6,752
softlayer/softlayer-go
services/account.go
GetModifyEmployee
func (r Account_Address) GetModifyEmployee() (resp datatypes.User_Employee, err error) { err = r.Session.DoRequest("SoftLayer_Account_Address", "getModifyEmployee", nil, &r.Options, &resp) return }
go
func (r Account_Address) GetModifyEmployee() (resp datatypes.User_Employee, err error) { err = r.Session.DoRequest("SoftLayer_Account_Address", "getModifyEmployee", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Address", ")", "GetModifyEmployee", "(", ")", "(", "resp", "datatypes", ".", "User_Employee", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The employee who last modified this address.
[ "Retrieve", "The", "employee", "who", "last", "modified", "this", "address", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2294-L2297
6,753
softlayer/softlayer-go
services/account.go
GetNetworkAddress
func (r Account_Address) GetNetworkAddress(name *string) (resp []datatypes.Account_Address, err error) { params := []interface{}{ name, } err = r.Session.DoRequest("SoftLayer_Account_Address", "getNetworkAddress", params, &r.Options, &resp) return }
go
func (r Account_Address) GetNetworkAddress(name *string) (resp []datatypes.Account_Address, err error) { params := []interface{}{ name, } err = r.Session.DoRequest("SoftLayer_Account_Address", "getNetworkAddress", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Address", ")", "GetNetworkAddress", "(", "name", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_Address", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "name", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve a list of SoftLayer datacenter addresses.
[ "Retrieve", "a", "list", "of", "SoftLayer", "datacenter", "addresses", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2306-L2312
6,754
softlayer/softlayer-go
services/account.go
GetType
func (r Account_Address) GetType() (resp datatypes.Account_Address_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Address", "getType", nil, &r.Options, &resp) return }
go
func (r Account_Address) GetType() (resp datatypes.Account_Address_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Address", "getType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Address", ")", "GetType", "(", ")", "(", "resp", "datatypes", ".", "Account_Address_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve An account address' type.
[ "Retrieve", "An", "account", "address", "type", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2321-L2324
6,755
softlayer/softlayer-go
services/account.go
GetAccountAffiliationsByAffiliateId
func (r Account_Affiliation) GetAccountAffiliationsByAffiliateId(affiliateId *string) (resp []datatypes.Account_Affiliation, err error) { params := []interface{}{ affiliateId, } err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "getAccountAffiliationsByAffiliateId", params, &r.Options, &resp) return }
go
func (r Account_Affiliation) GetAccountAffiliationsByAffiliateId(affiliateId *string) (resp []datatypes.Account_Affiliation, err error) { params := []interface{}{ affiliateId, } err = r.Session.DoRequest("SoftLayer_Account_Affiliation", "getAccountAffiliationsByAffiliateId", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Affiliation", ")", "GetAccountAffiliationsByAffiliateId", "(", "affiliateId", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_Affiliation", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "affiliateId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Get account affiliation information associated with affiliate id.
[ "Get", "account", "affiliation", "information", "associated", "with", "affiliate", "id", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2443-L2449
6,756
softlayer/softlayer-go
services/account.go
GetAgreementType
func (r Account_Agreement) GetAgreementType() (resp datatypes.Account_Agreement_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAgreementType", nil, &r.Options, &resp) return }
go
func (r Account_Agreement) GetAgreementType() (resp datatypes.Account_Agreement_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAgreementType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Agreement", ")", "GetAgreementType", "(", ")", "(", "resp", "datatypes", ".", "Account_Agreement_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The type of agreement.
[ "Retrieve", "The", "type", "of", "agreement", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2504-L2507
6,757
softlayer/softlayer-go
services/account.go
GetAttachedBillingAgreementFiles
func (r Account_Agreement) GetAttachedBillingAgreementFiles() (resp []datatypes.Account_MasterServiceAgreement, err error) { err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAttachedBillingAgreementFiles", nil, &r.Options, &resp) return }
go
func (r Account_Agreement) GetAttachedBillingAgreementFiles() (resp []datatypes.Account_MasterServiceAgreement, err error) { err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getAttachedBillingAgreementFiles", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Agreement", ")", "GetAttachedBillingAgreementFiles", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_MasterServiceAgreement", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The files attached to an agreement.
[ "Retrieve", "The", "files", "attached", "to", "an", "agreement", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2510-L2513
6,758
softlayer/softlayer-go
services/account.go
GetStatus
func (r Account_Agreement) GetStatus() (resp datatypes.Account_Agreement_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getStatus", nil, &r.Options, &resp) return }
go
func (r Account_Agreement) GetStatus() (resp datatypes.Account_Agreement_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account_Agreement", "getStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Agreement", ")", "GetStatus", "(", ")", "(", "resp", "datatypes", ".", "Account_Agreement_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The status of the agreement.
[ "Retrieve", "The", "status", "of", "the", "agreement", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2528-L2531
6,759
softlayer/softlayer-go
services/account.go
GetType
func (r Account_Authentication_Attribute) GetType() (resp datatypes.Account_Authentication_Attribute_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute", "getType", nil, &r.Options, &resp) return }
go
func (r Account_Authentication_Attribute) GetType() (resp datatypes.Account_Authentication_Attribute_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Authentication_Attribute", "getType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Authentication_Attribute", ")", "GetType", "(", ")", "(", "resp", "datatypes", ".", "Account_Authentication_Attribute_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The type of attribute assigned to a SoftLayer account authentication.
[ "Retrieve", "The", "type", "of", "attribute", "assigned", "to", "a", "SoftLayer", "account", "authentication", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2598-L2601
6,760
softlayer/softlayer-go
services/account.go
GetAttributes
func (r Account_Authentication_Saml) GetAttributes() (resp []datatypes.Account_Authentication_Attribute, err error) { err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getAttributes", nil, &r.Options, &resp) return }
go
func (r Account_Authentication_Saml) GetAttributes() (resp []datatypes.Account_Authentication_Attribute, err error) { err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getAttributes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Authentication_Saml", ")", "GetAttributes", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_Authentication_Attribute", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The saml attribute values for a SoftLayer customer account.
[ "Retrieve", "The", "saml", "attribute", "values", "for", "a", "SoftLayer", "customer", "account", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2726-L2729
6,761
softlayer/softlayer-go
services/account.go
GetMetadata
func (r Account_Authentication_Saml) GetMetadata() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getMetadata", nil, &r.Options, &resp) return }
go
func (r Account_Authentication_Saml) GetMetadata() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Account_Authentication_Saml", "getMetadata", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Authentication_Saml", ")", "GetMetadata", "(", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method will return the service provider metadata in XML format.
[ "This", "method", "will", "return", "the", "service", "provider", "metadata", "in", "XML", "format", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2732-L2735
6,762
softlayer/softlayer-go
services/account.go
GetChannel
func (r Account_Business_Partner) GetChannel() (resp datatypes.Business_Partner_Channel, err error) { err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getChannel", nil, &r.Options, &resp) return }
go
func (r Account_Business_Partner) GetChannel() (resp datatypes.Business_Partner_Channel, err error) { err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getChannel", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Business_Partner", ")", "GetChannel", "(", ")", "(", "resp", "datatypes", ".", "Business_Partner_Channel", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Channel indicator used to categorize business partner revenue.
[ "Retrieve", "Channel", "indicator", "used", "to", "categorize", "business", "partner", "revenue", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2790-L2793
6,763
softlayer/softlayer-go
services/account.go
GetSegment
func (r Account_Business_Partner) GetSegment() (resp datatypes.Business_Partner_Segment, err error) { err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getSegment", nil, &r.Options, &resp) return }
go
func (r Account_Business_Partner) GetSegment() (resp datatypes.Business_Partner_Segment, err error) { err = r.Session.DoRequest("SoftLayer_Account_Business_Partner", "getSegment", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Business_Partner", ")", "GetSegment", "(", ")", "(", "resp", "datatypes", ".", "Business_Partner_Segment", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve Segment indicator used to categorize business partner revenue.
[ "Retrieve", "Segment", "indicator", "used", "to", "categorize", "business", "partner", "revenue", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2802-L2805
6,764
softlayer/softlayer-go
services/account.go
GetAllContactTypes
func (r Account_Contact) GetAllContactTypes() (resp []datatypes.Account_Contact_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Contact", "getAllContactTypes", nil, &r.Options, &resp) return }
go
func (r Account_Contact) GetAllContactTypes() (resp []datatypes.Account_Contact_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Contact", "getAllContactTypes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Contact", ")", "GetAllContactTypes", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_Contact_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// This method will return an array of SoftLayer_Account_Contact_Type objects which can be used when creating or editing an account contact.
[ "This", "method", "will", "return", "an", "array", "of", "SoftLayer_Account_Contact_Type", "objects", "which", "can", "be", "used", "when", "creating", "or", "editing", "an", "account", "contact", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2887-L2890
6,765
softlayer/softlayer-go
services/account.go
FinalizeExternalBillingForAccount
func (r Account_External_Setup) FinalizeExternalBillingForAccount(accountId *int) (resp datatypes.Container_Account_External_Setup_ProvisioningHoldLifted, err error) { params := []interface{}{ accountId, } err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "finalizeExternalBillingForAccount", params, &r.Options, &resp) return }
go
func (r Account_External_Setup) FinalizeExternalBillingForAccount(accountId *int) (resp datatypes.Container_Account_External_Setup_ProvisioningHoldLifted, err error) { params := []interface{}{ accountId, } err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "finalizeExternalBillingForAccount", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_External_Setup", ")", "FinalizeExternalBillingForAccount", "(", "accountId", "*", "int", ")", "(", "resp", "datatypes", ".", "Container_Account_External_Setup_ProvisioningHoldLifted", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accountId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Calling this method signals that the account with the provided account id is ready to be billed by the external billing system.
[ "Calling", "this", "method", "signals", "that", "the", "account", "with", "the", "provided", "account", "id", "is", "ready", "to", "be", "billed", "by", "the", "external", "billing", "system", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2945-L2951
6,766
softlayer/softlayer-go
services/account.go
GetVerifyCardTransaction
func (r Account_External_Setup) GetVerifyCardTransaction() (resp datatypes.Billing_Payment_Card_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "getVerifyCardTransaction", nil, &r.Options, &resp) return }
go
func (r Account_External_Setup) GetVerifyCardTransaction() (resp datatypes.Billing_Payment_Card_Transaction, err error) { err = r.Session.DoRequest("SoftLayer_Account_External_Setup", "getVerifyCardTransaction", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_External_Setup", ")", "GetVerifyCardTransaction", "(", ")", "(", "resp", "datatypes", ".", "Billing_Payment_Card_Transaction", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The transaction information related to verifying the customer credit card.
[ "Retrieve", "The", "transaction", "information", "related", "to", "verifying", "the", "customer", "credit", "card", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L2960-L2963
6,767
softlayer/softlayer-go
services/account.go
GetAccountTypes
func (r Account_Internal_Ibm) GetAccountTypes() (resp []string, err error) { err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getAccountTypes", nil, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) GetAccountTypes() (resp []string, err error) { err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getAccountTypes", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "GetAccountTypes", "(", ")", "(", "resp", "[", "]", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Validates request and, if the request is approved, returns a list of allowed uses for an automatically created IBMer IaaS account.
[ "Validates", "request", "and", "if", "the", "request", "is", "approved", "returns", "a", "list", "of", "allowed", "uses", "for", "an", "automatically", "created", "IBMer", "IaaS", "account", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3130-L3133
6,768
softlayer/softlayer-go
services/account.go
GetAuthorizationUrl
func (r Account_Internal_Ibm) GetAuthorizationUrl(requestId *int) (resp string, err error) { params := []interface{}{ requestId, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getAuthorizationUrl", params, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) GetAuthorizationUrl(requestId *int) (resp string, err error) { params := []interface{}{ requestId, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getAuthorizationUrl", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "GetAuthorizationUrl", "(", "requestId", "*", "int", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Gets the URL used to perform manager validation.
[ "Gets", "the", "URL", "used", "to", "perform", "manager", "validation", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3136-L3142
6,769
softlayer/softlayer-go
services/account.go
GetEmployeeAccessToken
func (r Account_Internal_Ibm) GetEmployeeAccessToken(unverifiedAuthenticationCode *string) (resp string, err error) { params := []interface{}{ unverifiedAuthenticationCode, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getEmployeeAccessToken", params, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) GetEmployeeAccessToken(unverifiedAuthenticationCode *string) (resp string, err error) { params := []interface{}{ unverifiedAuthenticationCode, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getEmployeeAccessToken", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "GetEmployeeAccessToken", "(", "unverifiedAuthenticationCode", "*", "string", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "unverifiedAuthenticationCode", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Exchanges a code for a token during manager validation.
[ "Exchanges", "a", "code", "for", "a", "token", "during", "manager", "validation", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3151-L3157
6,770
softlayer/softlayer-go
services/account.go
GetManagerPreview
func (r Account_Internal_Ibm) GetManagerPreview(requestId *int, accessToken *string) (resp datatypes.Container_Account_Internal_Ibm_Request, err error) { params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getManagerPreview", params, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) GetManagerPreview(requestId *int, accessToken *string) (resp datatypes.Container_Account_Internal_Ibm_Request, err error) { params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "getManagerPreview", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "GetManagerPreview", "(", "requestId", "*", "int", ",", "accessToken", "*", "string", ")", "(", "resp", "datatypes", ".", "Container_Account_Internal_Ibm_Request", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// After validating the requesting user through the access token, generates a container with the relevant request information and returns it.
[ "After", "validating", "the", "requesting", "user", "through", "the", "access", "token", "generates", "a", "container", "with", "the", "relevant", "request", "information", "and", "returns", "it", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3160-L3167
6,771
softlayer/softlayer-go
services/account.go
HasExistingRequest
func (r Account_Internal_Ibm) HasExistingRequest(employeeUid *string, managerUid *string) (resp bool, err error) { params := []interface{}{ employeeUid, managerUid, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "hasExistingRequest", params, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) HasExistingRequest(employeeUid *string, managerUid *string) (resp bool, err error) { params := []interface{}{ employeeUid, managerUid, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "hasExistingRequest", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "HasExistingRequest", "(", "employeeUid", "*", "string", ",", "managerUid", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "employeeUid", ",", "managerUid", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Checks for an existing request which would block an IBMer from submitting a new request. Such a request could be denied, approved, or awaiting manager action.
[ "Checks", "for", "an", "existing", "request", "which", "would", "block", "an", "IBMer", "from", "submitting", "a", "new", "request", ".", "Such", "a", "request", "could", "be", "denied", "approved", "or", "awaiting", "manager", "action", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3170-L3177
6,772
softlayer/softlayer-go
services/account.go
ManagerDeny
func (r Account_Internal_Ibm) ManagerDeny(requestId *int, accessToken *string) (err error) { var resp datatypes.Void params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "managerDeny", params, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) ManagerDeny(requestId *int, accessToken *string) (err error) { var resp datatypes.Void params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "managerDeny", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "ManagerDeny", "(", "requestId", "*", "int", ",", "accessToken", "*", "string", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Denies a pending request and prevents additional requests from the same applicant for as long as the manager remains the same.
[ "Denies", "a", "pending", "request", "and", "prevents", "additional", "requests", "from", "the", "same", "applicant", "for", "as", "long", "as", "the", "manager", "remains", "the", "same", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3191-L3199
6,773
softlayer/softlayer-go
services/account.go
RequestAccount
func (r Account_Internal_Ibm) RequestAccount(requestContainer *datatypes.Container_Account_Internal_Ibm_Request) (err error) { var resp datatypes.Void params := []interface{}{ requestContainer, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "requestAccount", params, &r.Options, &resp) return }
go
func (r Account_Internal_Ibm) RequestAccount(requestContainer *datatypes.Container_Account_Internal_Ibm_Request) (err error) { var resp datatypes.Void params := []interface{}{ requestContainer, } err = r.Session.DoRequest("SoftLayer_Account_Internal_Ibm", "requestAccount", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Internal_Ibm", ")", "RequestAccount", "(", "requestContainer", "*", "datatypes", ".", "Container_Account_Internal_Ibm_Request", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestContainer", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Validates request and kicks off the approval process.
[ "Validates", "request", "and", "kicks", "off", "the", "approval", "process", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3202-L3209
6,774
softlayer/softlayer-go
services/account.go
CancelRequest
func (r Account_Lockdown_Request) CancelRequest() (err error) { var resp datatypes.Void err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "cancelRequest", nil, &r.Options, &resp) return }
go
func (r Account_Lockdown_Request) CancelRequest() (err error) { var resp datatypes.Void err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "cancelRequest", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Lockdown_Request", ")", "CancelRequest", "(", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Will cancel a lockdown request scheduled in the future. Once canceled, the lockdown request cannot be reconciled and new requests must be made for subsequent actions on the account.
[ "Will", "cancel", "a", "lockdown", "request", "scheduled", "in", "the", "future", ".", "Once", "canceled", "the", "lockdown", "request", "cannot", "be", "reconciled", "and", "new", "requests", "must", "be", "made", "for", "subsequent", "actions", "on", "the", "account", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3407-L3411
6,775
softlayer/softlayer-go
services/account.go
DisableLockedAccount
func (r Account_Lockdown_Request) DisableLockedAccount(disableDate *string) (resp int, err error) { params := []interface{}{ disableDate, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "disableLockedAccount", params, &r.Options, &resp) return }
go
func (r Account_Lockdown_Request) DisableLockedAccount(disableDate *string) (resp int, err error) { params := []interface{}{ disableDate, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "disableLockedAccount", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Lockdown_Request", ")", "DisableLockedAccount", "(", "disableDate", "*", "string", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "disableDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Takes the original lockdown request ID, and an optional disable date. If no date is passed with the API call, the account will be disabled immediately. Otherwise, the account will be disabled on the date given. All hardware will be reclaimed and all accounts permanently disabled.
[ "Takes", "the", "original", "lockdown", "request", "ID", "and", "an", "optional", "disable", "date", ".", "If", "no", "date", "is", "passed", "with", "the", "API", "call", "the", "account", "will", "be", "disabled", "immediately", ".", "Otherwise", "the", "account", "will", "be", "disabled", "on", "the", "date", "given", ".", "All", "hardware", "will", "be", "reclaimed", "and", "all", "accounts", "permanently", "disabled", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3414-L3420
6,776
softlayer/softlayer-go
services/account.go
DisconnectCompute
func (r Account_Lockdown_Request) DisconnectCompute(accountId *int, disconnectDate *string) (resp int, err error) { params := []interface{}{ accountId, disconnectDate, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "disconnectCompute", params, &r.Options, &resp) return }
go
func (r Account_Lockdown_Request) DisconnectCompute(accountId *int, disconnectDate *string) (resp int, err error) { params := []interface{}{ accountId, disconnectDate, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "disconnectCompute", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Lockdown_Request", ")", "DisconnectCompute", "(", "accountId", "*", "int", ",", "disconnectDate", "*", "string", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accountId", ",", "disconnectDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Takes an account ID and an optional disconnect date. If no disconnect date is passed into the API call, the account disconnection will happen immediately. Otherwise, the account disconnection will happen on the date given. A brand account request ID will be returned and will then be updated when the disconnection occurs.
[ "Takes", "an", "account", "ID", "and", "an", "optional", "disconnect", "date", ".", "If", "no", "disconnect", "date", "is", "passed", "into", "the", "API", "call", "the", "account", "disconnection", "will", "happen", "immediately", ".", "Otherwise", "the", "account", "disconnection", "will", "happen", "on", "the", "date", "given", ".", "A", "brand", "account", "request", "ID", "will", "be", "returned", "and", "will", "then", "be", "updated", "when", "the", "disconnection", "occurs", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3423-L3430
6,777
softlayer/softlayer-go
services/account.go
GetAccountHistory
func (r Account_Lockdown_Request) GetAccountHistory(accountId *int) (resp []datatypes.Account_Lockdown_Request, err error) { params := []interface{}{ accountId, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "getAccountHistory", params, &r.Options, &resp) return }
go
func (r Account_Lockdown_Request) GetAccountHistory(accountId *int) (resp []datatypes.Account_Lockdown_Request, err error) { params := []interface{}{ accountId, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "getAccountHistory", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Lockdown_Request", ")", "GetAccountHistory", "(", "accountId", "*", "int", ")", "(", "resp", "[", "]", "datatypes", ".", "Account_Lockdown_Request", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accountId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Provides a history of an account's lockdown requests and their status.
[ "Provides", "a", "history", "of", "an", "account", "s", "lockdown", "requests", "and", "their", "status", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3433-L3439
6,778
softlayer/softlayer-go
services/account.go
ReconnectCompute
func (r Account_Lockdown_Request) ReconnectCompute(reconnectDate *string) (resp int, err error) { params := []interface{}{ reconnectDate, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "reconnectCompute", params, &r.Options, &resp) return }
go
func (r Account_Lockdown_Request) ReconnectCompute(reconnectDate *string) (resp int, err error) { params := []interface{}{ reconnectDate, } err = r.Session.DoRequest("SoftLayer_Account_Lockdown_Request", "reconnectCompute", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Lockdown_Request", ")", "ReconnectCompute", "(", "reconnectDate", "*", "string", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "reconnectDate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Takes the original disconnected lockdown event ID, and an optional reconnect date. If no reconnect date is passed with the API call, the account reconnection will happen immediately. Otherwise, the account reconnection will happen on the date given. The associated lockdown event will be unlocked and closed at that time.
[ "Takes", "the", "original", "disconnected", "lockdown", "event", "ID", "and", "an", "optional", "reconnect", "date", ".", "If", "no", "reconnect", "date", "is", "passed", "with", "the", "API", "call", "the", "account", "reconnection", "will", "happen", "immediately", ".", "Otherwise", "the", "account", "reconnection", "will", "happen", "on", "the", "date", "given", ".", "The", "associated", "lockdown", "event", "will", "be", "unlocked", "and", "closed", "at", "that", "time", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3448-L3454
6,779
softlayer/softlayer-go
services/account.go
GetFile
func (r Account_MasterServiceAgreement) GetFile() (resp datatypes.Container_Utility_File_Entity, err error) { err = r.Session.DoRequest("SoftLayer_Account_MasterServiceAgreement", "getFile", nil, &r.Options, &resp) return }
go
func (r Account_MasterServiceAgreement) GetFile() (resp datatypes.Container_Utility_File_Entity, err error) { err = r.Session.DoRequest("SoftLayer_Account_MasterServiceAgreement", "getFile", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_MasterServiceAgreement", ")", "GetFile", "(", ")", "(", "resp", "datatypes", ".", "Container_Utility_File_Entity", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Gets a File Entity container with the user's account's current MSA PDF. Gets a translation if one is available. Otherwise, gets the master document.
[ "Gets", "a", "File", "Entity", "container", "with", "the", "user", "s", "account", "s", "current", "MSA", "PDF", ".", "Gets", "a", "translation", "if", "one", "is", "available", ".", "Otherwise", "gets", "the", "master", "document", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3503-L3506
6,780
softlayer/softlayer-go
services/account.go
GetType
func (r Account_Media) GetType() (resp datatypes.Account_Media_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Media", "getType", nil, &r.Options, &resp) return }
go
func (r Account_Media) GetType() (resp datatypes.Account_Media_Type, err error) { err = r.Session.DoRequest("SoftLayer_Account_Media", "getType", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Media", ")", "GetType", "(", ")", "(", "resp", "datatypes", ".", "Account_Media_Type", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The media's type.
[ "Retrieve", "The", "media", "s", "type", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3612-L3615
6,781
softlayer/softlayer-go
services/account.go
RemoveMediaFromList
func (r Account_Media) RemoveMediaFromList(mediaTemplate *datatypes.Account_Media) (resp int, err error) { params := []interface{}{ mediaTemplate, } err = r.Session.DoRequest("SoftLayer_Account_Media", "removeMediaFromList", params, &r.Options, &resp) return }
go
func (r Account_Media) RemoveMediaFromList(mediaTemplate *datatypes.Account_Media) (resp int, err error) { params := []interface{}{ mediaTemplate, } err = r.Session.DoRequest("SoftLayer_Account_Media", "removeMediaFromList", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Media", ")", "RemoveMediaFromList", "(", "mediaTemplate", "*", "datatypes", ".", "Account_Media", ")", "(", "resp", "int", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "mediaTemplate", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Remove a media from a SoftLayer account's list of media. The media record is not deleted.
[ "Remove", "a", "media", "from", "a", "SoftLayer", "account", "s", "list", "of", "media", ".", "The", "media", "record", "is", "not", "deleted", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3624-L3630
6,782
softlayer/softlayer-go
services/account.go
GetMedia
func (r Account_Media_Data_Transfer_Request) GetMedia() (resp datatypes.Account_Media, err error) { err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getMedia", nil, &r.Options, &resp) return }
go
func (r Account_Media_Data_Transfer_Request) GetMedia() (resp datatypes.Account_Media, err error) { err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getMedia", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Media_Data_Transfer_Request", ")", "GetMedia", "(", ")", "(", "resp", "datatypes", ".", "Account_Media", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The media of the request.
[ "Retrieve", "The", "media", "of", "the", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3712-L3715
6,783
softlayer/softlayer-go
services/account.go
GetStatus
func (r Account_Media_Data_Transfer_Request) GetStatus() (resp datatypes.Account_Media_Data_Transfer_Request_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getStatus", nil, &r.Options, &resp) return }
go
func (r Account_Media_Data_Transfer_Request) GetStatus() (resp datatypes.Account_Media_Data_Transfer_Request_Status, err error) { err = r.Session.DoRequest("SoftLayer_Account_Media_Data_Transfer_Request", "getStatus", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Media_Data_Transfer_Request", ")", "GetStatus", "(", ")", "(", "resp", "datatypes", ".", "Account_Media_Data_Transfer_Request_Status", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieve The status of the request.
[ "Retrieve", "The", "status", "of", "the", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3742-L3745
6,784
softlayer/softlayer-go
services/account.go
CreateProspect
func (r Account_Partner_Referral_Prospect) CreateProspect(templateObject *datatypes.Container_Referral_Partner_Prospect, commit *bool) (resp datatypes.Account_Partner_Referral_Prospect, err error) { params := []interface{}{ templateObject, commit, } err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "createProspect", params, &r.Options, &resp) return }
go
func (r Account_Partner_Referral_Prospect) CreateProspect(templateObject *datatypes.Container_Referral_Partner_Prospect, commit *bool) (resp datatypes.Account_Partner_Referral_Prospect, err error) { params := []interface{}{ templateObject, commit, } err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "createProspect", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Partner_Referral_Prospect", ")", "CreateProspect", "(", "templateObject", "*", "datatypes", ".", "Container_Referral_Partner_Prospect", ",", "commit", "*", "bool", ")", "(", "resp", "datatypes", ".", "Account_Partner_Referral_Prospect", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "templateObject", ",", "commit", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Create a new Referral Partner Prospect
[ "Create", "a", "new", "Referral", "Partner", "Prospect" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3882-L3889
6,785
softlayer/softlayer-go
services/account.go
GetSurveyQuestions
func (r Account_Partner_Referral_Prospect) GetSurveyQuestions() (resp []datatypes.Survey_Question, err error) { err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "getSurveyQuestions", nil, &r.Options, &resp) return }
go
func (r Account_Partner_Referral_Prospect) GetSurveyQuestions() (resp []datatypes.Survey_Question, err error) { err = r.Session.DoRequest("SoftLayer_Account_Partner_Referral_Prospect", "getSurveyQuestions", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_Partner_Referral_Prospect", ")", "GetSurveyQuestions", "(", ")", "(", "resp", "[", "]", "datatypes", ".", "Survey_Question", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieves Questions for a Referral Partner Survey
[ "Retrieves", "Questions", "for", "a", "Referral", "Partner", "Survey" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L3898-L3901
6,786
softlayer/softlayer-go
services/account.go
ApproveRequest
func (r Account_PersonalData_RemoveRequestReview) ApproveRequest(requestId *int, accessToken *string) (err error) { var resp datatypes.Void params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "approveRequest", params, &r.Options, &resp) return }
go
func (r Account_PersonalData_RemoveRequestReview) ApproveRequest(requestId *int, accessToken *string) (err error) { var resp datatypes.Void params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "approveRequest", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_PersonalData_RemoveRequestReview", ")", "ApproveRequest", "(", "requestId", "*", "int", ",", "accessToken", "*", "string", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Approve a personal information removal request.
[ "Approve", "a", "personal", "information", "removal", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4011-L4019
6,787
softlayer/softlayer-go
services/account.go
GetAuthorizationUrl
func (r Account_PersonalData_RemoveRequestReview) GetAuthorizationUrl() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "getAuthorizationUrl", nil, &r.Options, &resp) return }
go
func (r Account_PersonalData_RemoveRequestReview) GetAuthorizationUrl() (resp string, err error) { err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "getAuthorizationUrl", nil, &r.Options, &resp) return }
[ "func", "(", "r", "Account_PersonalData_RemoveRequestReview", ")", "GetAuthorizationUrl", "(", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Gets the redirect URL for GDPR removal review.
[ "Gets", "the", "redirect", "URL", "for", "GDPR", "removal", "review", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4034-L4037
6,788
softlayer/softlayer-go
services/account.go
GetPendingRequests
func (r Account_PersonalData_RemoveRequestReview) GetPendingRequests(accessToken *string) (resp []datatypes.Container_Account_PersonalInformation, err error) { params := []interface{}{ accessToken, } err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "getPendingRequests", params, &r.Options, &resp) return }
go
func (r Account_PersonalData_RemoveRequestReview) GetPendingRequests(accessToken *string) (resp []datatypes.Container_Account_PersonalInformation, err error) { params := []interface{}{ accessToken, } err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "getPendingRequests", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_PersonalData_RemoveRequestReview", ")", "GetPendingRequests", "(", "accessToken", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Account_PersonalInformation", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Gets information removal requests to review.
[ "Gets", "information", "removal", "requests", "to", "review", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4046-L4052
6,789
softlayer/softlayer-go
services/account.go
GetReviewerAccessToken
func (r Account_PersonalData_RemoveRequestReview) GetReviewerAccessToken(code *string) (resp string, err error) { params := []interface{}{ code, } err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "getReviewerAccessToken", params, &r.Options, &resp) return }
go
func (r Account_PersonalData_RemoveRequestReview) GetReviewerAccessToken(code *string) (resp string, err error) { params := []interface{}{ code, } err = r.Session.DoRequest("SoftLayer_Account_PersonalData_RemoveRequestReview", "getReviewerAccessToken", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_PersonalData_RemoveRequestReview", ")", "GetReviewerAccessToken", "(", "code", "*", "string", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "code", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieves an access token.
[ "Retrieves", "an", "access", "token", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4055-L4061
6,790
softlayer/softlayer-go
services/account.go
DenyReview
func (r Account_ProofOfConcept) DenyReview(requestId *int, accessToken *string, reason *string) (err error) { var resp datatypes.Void params := []interface{}{ requestId, accessToken, reason, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "denyReview", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) DenyReview(requestId *int, accessToken *string, reason *string) (err error) { var resp datatypes.Void params := []interface{}{ requestId, accessToken, reason, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "denyReview", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "DenyReview", "(", "requestId", "*", "int", ",", "accessToken", "*", "string", ",", "reason", "*", "string", ")", "(", "err", "error", ")", "{", "var", "resp", "datatypes", ".", "Void", "\n", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "accessToken", ",", "reason", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Allows verified reviewer to deny a request
[ "Allows", "verified", "reviewer", "to", "deny", "a", "request" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4130-L4139
6,791
softlayer/softlayer-go
services/account.go
GetAuthenticationUrl
func (r Account_ProofOfConcept) GetAuthenticationUrl(targetPage *string) (resp string, err error) { params := []interface{}{ targetPage, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getAuthenticationUrl", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) GetAuthenticationUrl(targetPage *string) (resp string, err error) { params := []interface{}{ targetPage, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getAuthenticationUrl", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "GetAuthenticationUrl", "(", "targetPage", "*", "string", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "targetPage", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Returns URL used to authenticate reviewers
[ "Returns", "URL", "used", "to", "authenticate", "reviewers" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4142-L4148
6,792
softlayer/softlayer-go
services/account.go
GetRequestsPendingIntegratedOfferingTeamReview
func (r Account_ProofOfConcept) GetRequestsPendingIntegratedOfferingTeamReview(accessToken *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) { params := []interface{}{ accessToken, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getRequestsPendingIntegratedOfferingTeamReview", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) GetRequestsPendingIntegratedOfferingTeamReview(accessToken *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) { params := []interface{}{ accessToken, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getRequestsPendingIntegratedOfferingTeamReview", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "GetRequestsPendingIntegratedOfferingTeamReview", "(", "accessToken", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Account_ProofOfConcept_Review_Summary", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Retrieves a list of requests that are pending review in the specified regions
[ "Retrieves", "a", "list", "of", "requests", "that", "are", "pending", "review", "in", "the", "specified", "regions" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4151-L4157
6,793
softlayer/softlayer-go
services/account.go
GetReviewerAccessToken
func (r Account_ProofOfConcept) GetReviewerAccessToken(unverifiedAuthenticationCode *string) (resp string, err error) { params := []interface{}{ unverifiedAuthenticationCode, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getReviewerAccessToken", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) GetReviewerAccessToken(unverifiedAuthenticationCode *string) (resp string, err error) { params := []interface{}{ unverifiedAuthenticationCode, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getReviewerAccessToken", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "GetReviewerAccessToken", "(", "unverifiedAuthenticationCode", "*", "string", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "unverifiedAuthenticationCode", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Exchanges a code for a token during reviewer validation.
[ "Exchanges", "a", "code", "for", "a", "token", "during", "reviewer", "validation", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4169-L4175
6,794
softlayer/softlayer-go
services/account.go
GetReviewerEmailFromAccessToken
func (r Account_ProofOfConcept) GetReviewerEmailFromAccessToken(accessToken *string) (resp string, err error) { params := []interface{}{ accessToken, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getReviewerEmailFromAccessToken", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) GetReviewerEmailFromAccessToken(accessToken *string) (resp string, err error) { params := []interface{}{ accessToken, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getReviewerEmailFromAccessToken", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "GetReviewerEmailFromAccessToken", "(", "accessToken", "*", "string", ")", "(", "resp", "string", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Finds a reviewer's email using the access token
[ "Finds", "a", "reviewer", "s", "email", "using", "the", "access", "token" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4178-L4184
6,795
softlayer/softlayer-go
services/account.go
GetSubmittedRequest
func (r Account_ProofOfConcept) GetSubmittedRequest(requestId *int) (resp datatypes.Container_Account_ProofOfConcept_Review, err error) { params := []interface{}{ requestId, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSubmittedRequest", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) GetSubmittedRequest(requestId *int) (resp datatypes.Container_Account_ProofOfConcept_Review, err error) { params := []interface{}{ requestId, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSubmittedRequest", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "GetSubmittedRequest", "(", "requestId", "*", "int", ")", "(", "resp", "datatypes", ".", "Container_Account_ProofOfConcept_Review", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Allows authorized IBMer to pull all the details of a single proof of concept account request.
[ "Allows", "authorized", "IBMer", "to", "pull", "all", "the", "details", "of", "a", "single", "proof", "of", "concept", "account", "request", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4187-L4193
6,796
softlayer/softlayer-go
services/account.go
GetSubmittedRequests
func (r Account_ProofOfConcept) GetSubmittedRequests(email *string, sortOrder *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) { params := []interface{}{ email, sortOrder, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSubmittedRequests", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) GetSubmittedRequests(email *string, sortOrder *string) (resp []datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) { params := []interface{}{ email, sortOrder, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "getSubmittedRequests", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "GetSubmittedRequests", "(", "email", "*", "string", ",", "sortOrder", "*", "string", ")", "(", "resp", "[", "]", "datatypes", ".", "Container_Account_ProofOfConcept_Review_Summary", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "email", ",", "sortOrder", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Allows authorized IBMer to retrieve a list summarizing all previously submitted proof of concept requests. // // Note that the proof of concept system is for internal IBM employees only and is not applicable to users outside the IBM organization.
[ "Allows", "authorized", "IBMer", "to", "retrieve", "a", "list", "summarizing", "all", "previously", "submitted", "proof", "of", "concept", "requests", ".", "Note", "that", "the", "proof", "of", "concept", "system", "is", "for", "internal", "IBM", "employees", "only", "and", "is", "not", "applicable", "to", "users", "outside", "the", "IBM", "organization", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4198-L4205
6,797
softlayer/softlayer-go
services/account.go
IsCurrentReviewer
func (r Account_ProofOfConcept) IsCurrentReviewer(requestId *int, accessToken *string) (resp bool, err error) { params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isCurrentReviewer", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) IsCurrentReviewer(requestId *int, accessToken *string) (resp bool, err error) { params := []interface{}{ requestId, accessToken, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isCurrentReviewer", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "IsCurrentReviewer", "(", "requestId", "*", "int", ",", "accessToken", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "requestId", ",", "accessToken", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Determines if the user is one of the reviewers currently able to act
[ "Determines", "if", "the", "user", "is", "one", "of", "the", "reviewers", "currently", "able", "to", "act" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4229-L4236
6,798
softlayer/softlayer-go
services/account.go
IsIntegratedOfferingTeamReviewer
func (r Account_ProofOfConcept) IsIntegratedOfferingTeamReviewer(emailAddress *string) (resp bool, err error) { params := []interface{}{ emailAddress, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isIntegratedOfferingTeamReviewer", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) IsIntegratedOfferingTeamReviewer(emailAddress *string) (resp bool, err error) { params := []interface{}{ emailAddress, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "isIntegratedOfferingTeamReviewer", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "IsIntegratedOfferingTeamReviewer", "(", "emailAddress", "*", "string", ")", "(", "resp", "bool", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "emailAddress", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Indicates whether or not a reviewer belongs to the integrated offering team
[ "Indicates", "whether", "or", "not", "a", "reviewer", "belongs", "to", "the", "integrated", "offering", "team" ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4239-L4245
6,799
softlayer/softlayer-go
services/account.go
RequestAccountTeamFundedAccount
func (r Account_ProofOfConcept) RequestAccountTeamFundedAccount(request *datatypes.Container_Account_ProofOfConcept_Request_AccountFunded) (resp datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) { params := []interface{}{ request, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "requestAccountTeamFundedAccount", params, &r.Options, &resp) return }
go
func (r Account_ProofOfConcept) RequestAccountTeamFundedAccount(request *datatypes.Container_Account_ProofOfConcept_Request_AccountFunded) (resp datatypes.Container_Account_ProofOfConcept_Review_Summary, err error) { params := []interface{}{ request, } err = r.Session.DoRequest("SoftLayer_Account_ProofOfConcept", "requestAccountTeamFundedAccount", params, &r.Options, &resp) return }
[ "func", "(", "r", "Account_ProofOfConcept", ")", "RequestAccountTeamFundedAccount", "(", "request", "*", "datatypes", ".", "Container_Account_ProofOfConcept_Request_AccountFunded", ")", "(", "resp", "datatypes", ".", "Container_Account_ProofOfConcept_Review_Summary", ",", "err", "error", ")", "{", "params", ":=", "[", "]", "interface", "{", "}", "{", "request", ",", "}", "\n", "err", "=", "r", ".", "Session", ".", "DoRequest", "(", "\"", "\"", ",", "\"", "\"", ",", "params", ",", "&", "r", ".", "Options", ",", "&", "resp", ")", "\n", "return", "\n", "}" ]
// Allows authorized IBMer's to apply for a proof of concept account using account team funding. Requests will be reviewed by multiple internal teams before an account is created. // // Note that the proof of concept system is for internal IBM employees only and is not applicable to users outside the IBM organization.
[ "Allows", "authorized", "IBMer", "s", "to", "apply", "for", "a", "proof", "of", "concept", "account", "using", "account", "team", "funding", ".", "Requests", "will", "be", "reviewed", "by", "multiple", "internal", "teams", "before", "an", "account", "is", "created", ".", "Note", "that", "the", "proof", "of", "concept", "system", "is", "for", "internal", "IBM", "employees", "only", "and", "is", "not", "applicable", "to", "users", "outside", "the", "IBM", "organization", "." ]
aa510384a41b6450fa6a50e943ed32f5e838fada
https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/account.go#L4259-L4265