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,200 | softlayer/softlayer-go | services/resource.go | GetTemplate | func (r Resource_Group) GetTemplate() (resp datatypes.Resource_Group_Template, err error) {
err = r.Session.DoRequest("SoftLayer_Resource_Group", "getTemplate", nil, &r.Options, &resp)
return
} | go | func (r Resource_Group) GetTemplate() (resp datatypes.Resource_Group_Template, err error) {
err = r.Session.DoRequest("SoftLayer_Resource_Group", "getTemplate", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Resource_Group",
")",
"GetTemplate",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Resource_Group_Template",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A resource group's associated template. | [
"Retrieve",
"A",
"resource",
"group",
"s",
"associated",
"template",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L173-L176 |
6,201 | softlayer/softlayer-go | services/resource.go | GetId | func (r Resource_Metadata) GetId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getId", nil, &r.Options, &resp)
return
} | go | func (r Resource_Metadata) GetId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getId", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Resource_Metadata",
")",
"GetId",
"(",
")",
"(",
"resp",
"int",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // The getId method retrieves the ID for the resource | [
"The",
"getId",
"method",
"retrieves",
"the",
"ID",
"for",
"the",
"resource"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L343-L346 |
6,202 | softlayer/softlayer-go | services/resource.go | GetRouter | func (r Resource_Metadata) GetRouter(macAddress *string) (resp string, err error) {
params := []interface{}{
macAddress,
}
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getRouter", params, &r.Options, &resp)
return
} | go | func (r Resource_Metadata) GetRouter(macAddress *string) (resp string, err error) {
params := []interface{}{
macAddress,
}
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getRouter", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Resource_Metadata",
")",
"GetRouter",
"(",
"macAddress",
"*",
"string",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"macAddress",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // The getRouter method will return the router associated with a network component. When the router is redundant, the hostname of the redundant group will be returned, rather than the router hostname. | [
"The",
"getRouter",
"method",
"will",
"return",
"the",
"router",
"associated",
"with",
"a",
"network",
"component",
".",
"When",
"the",
"router",
"is",
"redundant",
"the",
"hostname",
"of",
"the",
"redundant",
"group",
"will",
"be",
"returned",
"rather",
"than",
"the",
"router",
"hostname",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L367-L373 |
6,203 | softlayer/softlayer-go | services/resource.go | GetServiceResource | func (r Resource_Metadata) GetServiceResource(serviceName *string, index *int) (resp string, err error) {
params := []interface{}{
serviceName,
index,
}
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getServiceResource", params, &r.Options, &resp)
return
} | go | func (r Resource_Metadata) GetServiceResource(serviceName *string, index *int) (resp string, err error) {
params := []interface{}{
serviceName,
index,
}
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getServiceResource", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Resource_Metadata",
")",
"GetServiceResource",
"(",
"serviceName",
"*",
"string",
",",
"index",
"*",
"int",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"serviceName",
",",
"index",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // The getServiceResource method retrieves a specific service resource associated with the resource. Service resources are additional resources that may be used by this resource. | [
"The",
"getServiceResource",
"method",
"retrieves",
"a",
"specific",
"service",
"resource",
"associated",
"with",
"the",
"resource",
".",
"Service",
"resources",
"are",
"additional",
"resources",
"that",
"may",
"be",
"used",
"by",
"this",
"resource",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L376-L383 |
6,204 | softlayer/softlayer-go | services/resource.go | GetVlanIds | func (r Resource_Metadata) GetVlanIds(macAddress *string) (resp []int, err error) {
params := []interface{}{
macAddress,
}
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getVlanIds", params, &r.Options, &resp)
return
} | go | func (r Resource_Metadata) GetVlanIds(macAddress *string) (resp []int, err error) {
params := []interface{}{
macAddress,
}
err = r.Session.DoRequest("SoftLayer_Resource_Metadata", "getVlanIds", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Resource_Metadata",
")",
"GetVlanIds",
"(",
"macAddress",
"*",
"string",
")",
"(",
"resp",
"[",
"]",
"int",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"macAddress",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // The getVlanIds method returns a list of VLAN IDs for the network component matching the provided MAC address associated with the resource. For each return, the native VLAN will appear first, followed by any trunked VLANs associated with the network component. | [
"The",
"getVlanIds",
"method",
"returns",
"a",
"list",
"of",
"VLAN",
"IDs",
"for",
"the",
"network",
"component",
"matching",
"the",
"provided",
"MAC",
"address",
"associated",
"with",
"the",
"resource",
".",
"For",
"each",
"return",
"the",
"native",
"VLAN",
"will",
"appear",
"first",
"followed",
"by",
"any",
"trunked",
"VLANs",
"associated",
"with",
"the",
"network",
"component",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/resource.go#L404-L410 |
6,205 | softlayer/softlayer-go | services/ticket.go | AddAttachedDedicatedHost | func (r Ticket) AddAttachedDedicatedHost(dedicatedHostId *int) (resp datatypes.Ticket_Attachment_Dedicated_Host, err error) {
params := []interface{}{
dedicatedHostId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedDedicatedHost", params, &r.Options, &resp)
return
} | go | func (r Ticket) AddAttachedDedicatedHost(dedicatedHostId *int) (resp datatypes.Ticket_Attachment_Dedicated_Host, err error) {
params := []interface{}{
dedicatedHostId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedDedicatedHost", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"AddAttachedDedicatedHost",
"(",
"dedicatedHostId",
"*",
"int",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Attachment_Dedicated_Host",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"dedicatedHostId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Attach the given Dedicated Host to a SoftLayer ticket. An attachment provides an easy way for SoftLayer's employees to quickly look up your records in the case of specific issues. | [
"Attach",
"the",
"given",
"Dedicated",
"Host",
"to",
"a",
"SoftLayer",
"ticket",
".",
"An",
"attachment",
"provides",
"an",
"easy",
"way",
"for",
"SoftLayer",
"s",
"employees",
"to",
"quickly",
"look",
"up",
"your",
"records",
"in",
"the",
"case",
"of",
"specific",
"issues",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L96-L102 |
6,206 | softlayer/softlayer-go | services/ticket.go | AddAttachedFile | func (r Ticket) AddAttachedFile(fileAttachment *datatypes.Container_Utility_File_Attachment) (resp datatypes.Ticket_Attachment_File, err error) {
params := []interface{}{
fileAttachment,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedFile", params, &r.Options, &resp)
return
} | go | func (r Ticket) AddAttachedFile(fileAttachment *datatypes.Container_Utility_File_Attachment) (resp datatypes.Ticket_Attachment_File, err error) {
params := []interface{}{
fileAttachment,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedFile", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"AddAttachedFile",
"(",
"fileAttachment",
"*",
"datatypes",
".",
"Container_Utility_File_Attachment",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Attachment_File",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"fileAttachment",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Attach the given file to a SoftLayer ticket. A file attachment is a convenient way to submit non-textual error reports to SoftLayer employees in a ticket. File attachments to tickets must have a unique name. | [
"Attach",
"the",
"given",
"file",
"to",
"a",
"SoftLayer",
"ticket",
".",
"A",
"file",
"attachment",
"is",
"a",
"convenient",
"way",
"to",
"submit",
"non",
"-",
"textual",
"error",
"reports",
"to",
"SoftLayer",
"employees",
"in",
"a",
"ticket",
".",
"File",
"attachments",
"to",
"tickets",
"must",
"have",
"a",
"unique",
"name",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L105-L111 |
6,207 | softlayer/softlayer-go | services/ticket.go | AddAttachedHardware | func (r Ticket) AddAttachedHardware(hardwareId *int) (resp datatypes.Ticket_Attachment_Hardware, err error) {
params := []interface{}{
hardwareId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedHardware", params, &r.Options, &resp)
return
} | go | func (r Ticket) AddAttachedHardware(hardwareId *int) (resp datatypes.Ticket_Attachment_Hardware, err error) {
params := []interface{}{
hardwareId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedHardware", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"AddAttachedHardware",
"(",
"hardwareId",
"*",
"int",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Attachment_Hardware",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"hardwareId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Attach the given hardware to a SoftLayer ticket. A hardware attachment provides an easy way for SoftLayer's employees to quickly look up your hardware records in the case of hardware-specific issues. | [
"Attach",
"the",
"given",
"hardware",
"to",
"a",
"SoftLayer",
"ticket",
".",
"A",
"hardware",
"attachment",
"provides",
"an",
"easy",
"way",
"for",
"SoftLayer",
"s",
"employees",
"to",
"quickly",
"look",
"up",
"your",
"hardware",
"records",
"in",
"the",
"case",
"of",
"hardware",
"-",
"specific",
"issues",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L114-L120 |
6,208 | softlayer/softlayer-go | services/ticket.go | AddAttachedVirtualGuest | func (r Ticket) AddAttachedVirtualGuest(guestId *int, callCommit *bool) (resp datatypes.Ticket_Attachment_Virtual_Guest, err error) {
params := []interface{}{
guestId,
callCommit,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedVirtualGuest", params, &r.Options, &resp)
return
} | go | func (r Ticket) AddAttachedVirtualGuest(guestId *int, callCommit *bool) (resp datatypes.Ticket_Attachment_Virtual_Guest, err error) {
params := []interface{}{
guestId,
callCommit,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "addAttachedVirtualGuest", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"AddAttachedVirtualGuest",
"(",
"guestId",
"*",
"int",
",",
"callCommit",
"*",
"bool",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Attachment_Virtual_Guest",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"guestId",
",",
"callCommit",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Attach the given CloudLayer Computing Instance to a SoftLayer ticket. An attachment provides an easy way for SoftLayer's employees to quickly look up your records in the case of specific issues. | [
"Attach",
"the",
"given",
"CloudLayer",
"Computing",
"Instance",
"to",
"a",
"SoftLayer",
"ticket",
".",
"An",
"attachment",
"provides",
"an",
"easy",
"way",
"for",
"SoftLayer",
"s",
"employees",
"to",
"quickly",
"look",
"up",
"your",
"records",
"in",
"the",
"case",
"of",
"specific",
"issues",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L123-L130 |
6,209 | softlayer/softlayer-go | services/ticket.go | CreateUpgradeTicket | func (r Ticket) CreateUpgradeTicket(attachmentId *int, genericUpgrade *string, upgradeMaintenanceWindow *string, details *string, attachmentType *string, title *string) (resp datatypes.Ticket, err error) {
params := []interface{}{
attachmentId,
genericUpgrade,
upgradeMaintenanceWindow,
details,
attachmentType,
title,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "createUpgradeTicket", params, &r.Options, &resp)
return
} | go | func (r Ticket) CreateUpgradeTicket(attachmentId *int, genericUpgrade *string, upgradeMaintenanceWindow *string, details *string, attachmentType *string, title *string) (resp datatypes.Ticket, err error) {
params := []interface{}{
attachmentId,
genericUpgrade,
upgradeMaintenanceWindow,
details,
attachmentType,
title,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "createUpgradeTicket", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"CreateUpgradeTicket",
"(",
"attachmentId",
"*",
"int",
",",
"genericUpgrade",
"*",
"string",
",",
"upgradeMaintenanceWindow",
"*",
"string",
",",
"details",
"*",
"string",
",",
"attachmentType",
"*",
"string",
",",
"title",
"*",
"string",
")",
"(",
"resp",
"datatypes",
".",
"Ticket",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"attachmentId",
",",
"genericUpgrade",
",",
"upgradeMaintenanceWindow",
",",
"details",
",",
"attachmentType",
",",
"title",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Create a ticket for the SoftLayer sales team to perform a hardware or service upgrade. Our sales team will work with you on upgrade feasibility and pricing and then send the upgrade ticket to the proper department to perform the actual upgrade. Service affecting upgrades, such as server hardware or CloudLayer Computing Instance upgrades that require the server powered down must have a two hour maintenance specified for our datacenter engineers to perform your upgrade. Account level upgrades, such as adding PPTP VPN users, CDNLayer accounts, and monitoring services are processed much faster and do not require a maintenance window. | [
"Create",
"a",
"ticket",
"for",
"the",
"SoftLayer",
"sales",
"team",
"to",
"perform",
"a",
"hardware",
"or",
"service",
"upgrade",
".",
"Our",
"sales",
"team",
"will",
"work",
"with",
"you",
"on",
"upgrade",
"feasibility",
"and",
"pricing",
"and",
"then",
"send",
"the",
"upgrade",
"ticket",
"to",
"the",
"proper",
"department",
"to",
"perform",
"the",
"actual",
"upgrade",
".",
"Service",
"affecting",
"upgrades",
"such",
"as",
"server",
"hardware",
"or",
"CloudLayer",
"Computing",
"Instance",
"upgrades",
"that",
"require",
"the",
"server",
"powered",
"down",
"must",
"have",
"a",
"two",
"hour",
"maintenance",
"specified",
"for",
"our",
"datacenter",
"engineers",
"to",
"perform",
"your",
"upgrade",
".",
"Account",
"level",
"upgrades",
"such",
"as",
"adding",
"PPTP",
"VPN",
"users",
"CDNLayer",
"accounts",
"and",
"monitoring",
"services",
"are",
"processed",
"much",
"faster",
"and",
"do",
"not",
"require",
"a",
"maintenance",
"window",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L269-L280 |
6,210 | softlayer/softlayer-go | services/ticket.go | GetAttachedAdditionalEmails | func (r Ticket) GetAttachedAdditionalEmails() (resp []datatypes.User_Customer_AdditionalEmail, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getAttachedAdditionalEmails", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetAttachedAdditionalEmails() (resp []datatypes.User_Customer_AdditionalEmail, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getAttachedAdditionalEmails", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetAttachedAdditionalEmails",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"User_Customer_AdditionalEmail",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The list of additional emails to notify when a ticket update is made. | [
"Retrieve",
"The",
"list",
"of",
"additional",
"emails",
"to",
"notify",
"when",
"a",
"ticket",
"update",
"is",
"made",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L330-L333 |
6,211 | softlayer/softlayer-go | services/ticket.go | GetAttachedDedicatedHosts | func (r Ticket) GetAttachedDedicatedHosts() (resp []datatypes.Virtual_DedicatedHost, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getAttachedDedicatedHosts", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetAttachedDedicatedHosts() (resp []datatypes.Virtual_DedicatedHost, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getAttachedDedicatedHosts", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetAttachedDedicatedHosts",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Virtual_DedicatedHost",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The Dedicated Hosts associated with a ticket. This is used in cases where a ticket is directly associated with one or more Dedicated Hosts. | [
"Retrieve",
"The",
"Dedicated",
"Hosts",
"associated",
"with",
"a",
"ticket",
".",
"This",
"is",
"used",
"in",
"cases",
"where",
"a",
"ticket",
"is",
"directly",
"associated",
"with",
"one",
"or",
"more",
"Dedicated",
"Hosts",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L336-L339 |
6,212 | softlayer/softlayer-go | services/ticket.go | GetAttachedHardware | func (r Ticket) GetAttachedHardware() (resp []datatypes.Hardware, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getAttachedHardware", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetAttachedHardware() (resp []datatypes.Hardware, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getAttachedHardware", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetAttachedHardware",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Hardware",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The hardware associated with a ticket. This is used in cases where a ticket is directly associated with one or more pieces of hardware. | [
"Retrieve",
"The",
"hardware",
"associated",
"with",
"a",
"ticket",
".",
"This",
"is",
"used",
"in",
"cases",
"where",
"a",
"ticket",
"is",
"directly",
"associated",
"with",
"one",
"or",
"more",
"pieces",
"of",
"hardware",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L357-L360 |
6,213 | softlayer/softlayer-go | services/ticket.go | GetFirstUpdate | func (r Ticket) GetFirstUpdate() (resp datatypes.Ticket_Update, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getFirstUpdate", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetFirstUpdate() (resp datatypes.Ticket_Update, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getFirstUpdate", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetFirstUpdate",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Update",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The first update made to a ticket. This is typically the contents of a ticket when it's created. | [
"Retrieve",
"The",
"first",
"update",
"made",
"to",
"a",
"ticket",
".",
"This",
"is",
"typically",
"the",
"contents",
"of",
"a",
"ticket",
"when",
"it",
"s",
"created",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L411-L414 |
6,214 | softlayer/softlayer-go | services/ticket.go | GetLastViewedDate | func (r Ticket) GetLastViewedDate() (resp datatypes.Time, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getLastViewedDate", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetLastViewedDate() (resp datatypes.Time, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getLastViewedDate", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetLastViewedDate",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Time",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A timestamp of the last time the Ticket was viewed by the active user. | [
"Retrieve",
"A",
"timestamp",
"of",
"the",
"last",
"time",
"the",
"Ticket",
"was",
"viewed",
"by",
"the",
"active",
"user",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L447-L450 |
6,215 | softlayer/softlayer-go | services/ticket.go | GetServerAdministrationBillingInvoice | func (r Ticket) GetServerAdministrationBillingInvoice() (resp datatypes.Billing_Invoice, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getServerAdministrationBillingInvoice", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetServerAdministrationBillingInvoice() (resp datatypes.Billing_Invoice, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getServerAdministrationBillingInvoice", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetServerAdministrationBillingInvoice",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Billing_Invoice",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The invoice associated with a ticket. Only tickets with an associated administrative charge have an invoice. | [
"Retrieve",
"The",
"invoice",
"associated",
"with",
"a",
"ticket",
".",
"Only",
"tickets",
"with",
"an",
"associated",
"administrative",
"charge",
"have",
"an",
"invoice",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L477-L480 |
6,216 | softlayer/softlayer-go | services/ticket.go | GetSubject | func (r Ticket) GetSubject() (resp datatypes.Ticket_Subject, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getSubject", nil, &r.Options, &resp)
return
} | go | func (r Ticket) GetSubject() (resp datatypes.Ticket_Subject, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getSubject", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetSubject",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Subject",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A ticket's subject. Only standard support tickets have an associated subject. A standard support ticket's title corresponds with it's subject's name. | [
"Retrieve",
"A",
"ticket",
"s",
"subject",
".",
"Only",
"standard",
"support",
"tickets",
"have",
"an",
"associated",
"subject",
".",
"A",
"standard",
"support",
"ticket",
"s",
"title",
"corresponds",
"with",
"it",
"s",
"subject",
"s",
"name",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L507-L510 |
6,217 | softlayer/softlayer-go | services/ticket.go | GetTicketsClosedSinceDate | func (r Ticket) GetTicketsClosedSinceDate(closeDate *datatypes.Time) (resp []datatypes.Ticket, err error) {
params := []interface{}{
closeDate,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "getTicketsClosedSinceDate", params, &r.Options, &resp)
return
} | go | func (r Ticket) GetTicketsClosedSinceDate(closeDate *datatypes.Time) (resp []datatypes.Ticket, err error) {
params := []interface{}{
closeDate,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "getTicketsClosedSinceDate", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"GetTicketsClosedSinceDate",
"(",
"closeDate",
"*",
"datatypes",
".",
"Time",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Ticket",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"closeDate",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve all tickets closed since a given date. | [
"Retrieve",
"all",
"tickets",
"closed",
"since",
"a",
"given",
"date",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L519-L525 |
6,218 | softlayer/softlayer-go | services/ticket.go | RemoveAttachedHardware | func (r Ticket) RemoveAttachedHardware(hardwareId *int) (resp bool, err error) {
params := []interface{}{
hardwareId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "removeAttachedHardware", params, &r.Options, &resp)
return
} | go | func (r Ticket) RemoveAttachedHardware(hardwareId *int) (resp bool, err error) {
params := []interface{}{
hardwareId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "removeAttachedHardware", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"RemoveAttachedHardware",
"(",
"hardwareId",
"*",
"int",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"hardwareId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // detach the given hardware from a SoftLayer ticket. Removing a hardware attachment may delay ticket processing time if the hardware removed is relevant to the ticket's issue. Return a boolean true upon successful hardware detachment. | [
"detach",
"the",
"given",
"hardware",
"from",
"a",
"SoftLayer",
"ticket",
".",
"Removing",
"a",
"hardware",
"attachment",
"may",
"delay",
"ticket",
"processing",
"time",
"if",
"the",
"hardware",
"removed",
"is",
"relevant",
"to",
"the",
"ticket",
"s",
"issue",
".",
"Return",
"a",
"boolean",
"true",
"upon",
"successful",
"hardware",
"detachment",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L568-L574 |
6,219 | softlayer/softlayer-go | services/ticket.go | RemoveAttachedVirtualGuest | func (r Ticket) RemoveAttachedVirtualGuest(guestId *int) (resp bool, err error) {
params := []interface{}{
guestId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "removeAttachedVirtualGuest", params, &r.Options, &resp)
return
} | go | func (r Ticket) RemoveAttachedVirtualGuest(guestId *int) (resp bool, err error) {
params := []interface{}{
guestId,
}
err = r.Session.DoRequest("SoftLayer_Ticket", "removeAttachedVirtualGuest", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket",
")",
"RemoveAttachedVirtualGuest",
"(",
"guestId",
"*",
"int",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"guestId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Detach the given CloudLayer Computing Instance from a SoftLayer ticket. Removing an attachment may delay ticket processing time if the instance removed is relevant to the ticket's issue. Return a boolean true upon successful detachment. | [
"Detach",
"the",
"given",
"CloudLayer",
"Computing",
"Instance",
"from",
"a",
"SoftLayer",
"ticket",
".",
"Removing",
"an",
"attachment",
"may",
"delay",
"ticket",
"processing",
"time",
"if",
"the",
"instance",
"removed",
"is",
"relevant",
"to",
"the",
"ticket",
"s",
"issue",
".",
"Return",
"a",
"boolean",
"true",
"upon",
"successful",
"detachment",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L577-L583 |
6,220 | softlayer/softlayer-go | services/ticket.go | GetUpdate | func (r Ticket_Attachment_File) GetUpdate() (resp datatypes.Ticket_Update, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket_Attachment_File", "getUpdate", nil, &r.Options, &resp)
return
} | go | func (r Ticket_Attachment_File) GetUpdate() (resp datatypes.Ticket_Update, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket_Attachment_File", "getUpdate", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Ticket_Attachment_File",
")",
"GetUpdate",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Ticket_Update",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The ticket that a file is attached to. | [
"Retrieve",
"The",
"ticket",
"that",
"a",
"file",
"is",
"attached",
"to",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/ticket.go#L682-L685 |
6,221 | softlayer/softlayer-go | services/product.go | GetAdditionalProductsForCategory | func (r Product_Item_Category) GetAdditionalProductsForCategory() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getAdditionalProductsForCategory", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetAdditionalProductsForCategory() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getAdditionalProductsForCategory", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetAdditionalProductsForCategory",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Returns a list of of active Items in the "Additional Services" package with their active prices for a given product item category and sorts them by price. | [
"Returns",
"a",
"list",
"of",
"of",
"active",
"Items",
"in",
"the",
"Additional",
"Services",
"package",
"with",
"their",
"active",
"prices",
"for",
"a",
"given",
"product",
"item",
"category",
"and",
"sorts",
"them",
"by",
"price",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L73-L76 |
6,222 | softlayer/softlayer-go | services/product.go | GetGroup | func (r Product_Item_Category) GetGroup() (resp datatypes.Product_Item_Category_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getGroup", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetGroup() (resp datatypes.Product_Item_Category_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getGroup", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetGroup",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Product_Item_Category_Group",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve This invoice item's "item category group". | [
"Retrieve",
"This",
"invoice",
"item",
"s",
"item",
"category",
"group",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L115-L118 |
6,223 | softlayer/softlayer-go | services/product.go | GetGroups | func (r Product_Item_Category) GetGroups() (resp []datatypes.Product_Package_Item_Category_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getGroups", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetGroups() (resp []datatypes.Product_Package_Item_Category_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getGroups", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetGroups",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Item_Category_Group",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A collection of service offering category groups. Each group contains a collection of items associated with this category. | [
"Retrieve",
"A",
"collection",
"of",
"service",
"offering",
"category",
"groups",
".",
"Each",
"group",
"contains",
"a",
"collection",
"of",
"items",
"associated",
"with",
"this",
"category",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L121-L124 |
6,224 | softlayer/softlayer-go | services/product.go | GetOrderOptions | func (r Product_Item_Category) GetOrderOptions() (resp []datatypes.Product_Item_Category_Order_Option_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getOrderOptions", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetOrderOptions() (resp []datatypes.Product_Item_Category_Order_Option_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getOrderOptions", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetOrderOptions",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Category_Order_Option_Type",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve Any unique options associated with an item category. | [
"Retrieve",
"Any",
"unique",
"options",
"associated",
"with",
"an",
"item",
"category",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L142-L145 |
6,225 | softlayer/softlayer-go | services/product.go | GetPackageConfigurations | func (r Product_Item_Category) GetPackageConfigurations() (resp []datatypes.Product_Package_Order_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getPackageConfigurations", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetPackageConfigurations() (resp []datatypes.Product_Package_Order_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getPackageConfigurations", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetPackageConfigurations",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Order_Configuration",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A list of configuration available in this category.' | [
"Retrieve",
"A",
"list",
"of",
"configuration",
"available",
"in",
"this",
"category",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L148-L151 |
6,226 | softlayer/softlayer-go | services/product.go | GetPresetConfigurations | func (r Product_Item_Category) GetPresetConfigurations() (resp []datatypes.Product_Package_Preset_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getPresetConfigurations", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetPresetConfigurations() (resp []datatypes.Product_Package_Preset_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getPresetConfigurations", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetPresetConfigurations",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Preset_Configuration",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A list of preset configurations this category is used in.' | [
"Retrieve",
"A",
"list",
"of",
"preset",
"configurations",
"this",
"category",
"is",
"used",
"in",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L154-L157 |
6,227 | softlayer/softlayer-go | services/product.go | GetQuestionReferences | func (r Product_Item_Category) GetQuestionReferences() (resp []datatypes.Product_Item_Category_Question_Xref, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getQuestionReferences", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetQuestionReferences() (resp []datatypes.Product_Item_Category_Question_Xref, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getQuestionReferences", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetQuestionReferences",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Category_Question_Xref",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The question references that are associated with an item category. | [
"Retrieve",
"The",
"question",
"references",
"that",
"are",
"associated",
"with",
"an",
"item",
"category",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L160-L163 |
6,228 | softlayer/softlayer-go | services/product.go | GetQuestions | func (r Product_Item_Category) GetQuestions() (resp []datatypes.Product_Item_Category_Question, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getQuestions", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Category) GetQuestions() (resp []datatypes.Product_Item_Category_Question, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Category", "getQuestions", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Category",
")",
"GetQuestions",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Category_Question",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The questions that are associated with an item category. | [
"Retrieve",
"The",
"questions",
"that",
"are",
"associated",
"with",
"an",
"item",
"category",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L166-L169 |
6,229 | softlayer/softlayer-go | services/product.go | AcceptFromTicket | func (r Product_Item_Policy_Assignment) AcceptFromTicket(ticketId *int) (resp bool, err error) {
params := []interface{}{
ticketId,
}
err = r.Session.DoRequest("SoftLayer_Product_Item_Policy_Assignment", "acceptFromTicket", params, &r.Options, &resp)
return
} | go | func (r Product_Item_Policy_Assignment) AcceptFromTicket(ticketId *int) (resp bool, err error) {
params := []interface{}{
ticketId,
}
err = r.Session.DoRequest("SoftLayer_Product_Item_Policy_Assignment", "acceptFromTicket", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Policy_Assignment",
")",
"AcceptFromTicket",
"(",
"ticketId",
"*",
"int",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"ticketId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Register the acceptance of the associated policy to product assignment, and link the created record to a Ticket. | [
"Register",
"the",
"acceptance",
"of",
"the",
"associated",
"policy",
"to",
"product",
"assignment",
"and",
"link",
"the",
"created",
"record",
"to",
"a",
"Ticket",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L291-L297 |
6,230 | softlayer/softlayer-go | services/product.go | GetPolicyDocumentContents | func (r Product_Item_Policy_Assignment) GetPolicyDocumentContents() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Policy_Assignment", "getPolicyDocumentContents", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Policy_Assignment) GetPolicyDocumentContents() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Policy_Assignment", "getPolicyDocumentContents", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Policy_Assignment",
")",
"GetPolicyDocumentContents",
"(",
")",
"(",
"resp",
"[",
"]",
"byte",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve the binary contents of the associated PDF policy document. | [
"Retrieve",
"the",
"binary",
"contents",
"of",
"the",
"associated",
"PDF",
"policy",
"document",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L306-L309 |
6,231 | softlayer/softlayer-go | services/product.go | GetPolicyName | func (r Product_Item_Policy_Assignment) GetPolicyName() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Policy_Assignment", "getPolicyName", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Policy_Assignment) GetPolicyName() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Policy_Assignment", "getPolicyName", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Policy_Assignment",
")",
"GetPolicyName",
"(",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The name of the assigned policy. | [
"Retrieve",
"The",
"name",
"of",
"the",
"assigned",
"policy",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L312-L315 |
6,232 | softlayer/softlayer-go | services/product.go | GetAccountRestrictions | func (r Product_Item_Price) GetAccountRestrictions() (resp []datatypes.Product_Item_Price_Account_Restriction, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getAccountRestrictions", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Price) GetAccountRestrictions() (resp []datatypes.Product_Item_Price_Account_Restriction, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getAccountRestrictions", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Price",
")",
"GetAccountRestrictions",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Price_Account_Restriction",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The account that the item price is restricted to. | [
"Retrieve",
"The",
"account",
"that",
"the",
"item",
"price",
"is",
"restricted",
"to",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L364-L367 |
6,233 | softlayer/softlayer-go | services/product.go | GetBareMetalReservedCapacityFlag | func (r Product_Item_Price) GetBareMetalReservedCapacityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getBareMetalReservedCapacityFlag", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Price) GetBareMetalReservedCapacityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getBareMetalReservedCapacityFlag", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Price",
")",
"GetBareMetalReservedCapacityFlag",
"(",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve Signifies pricing that is only available on a bare metal reserved capacity order. | [
"Retrieve",
"Signifies",
"pricing",
"that",
"is",
"only",
"available",
"on",
"a",
"bare",
"metal",
"reserved",
"capacity",
"order",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L376-L379 |
6,234 | softlayer/softlayer-go | services/product.go | GetBundleReferences | func (r Product_Item_Price) GetBundleReferences() (resp []datatypes.Product_Item_Bundles, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getBundleReferences", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Price) GetBundleReferences() (resp []datatypes.Product_Item_Bundles, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getBundleReferences", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Price",
")",
"GetBundleReferences",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Bundles",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve cross reference for bundles | [
"Retrieve",
"cross",
"reference",
"for",
"bundles"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L388-L391 |
6,235 | softlayer/softlayer-go | services/product.go | GetCapacityRestrictionMaximum | func (r Product_Item_Price) GetCapacityRestrictionMaximum() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getCapacityRestrictionMaximum", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Price) GetCapacityRestrictionMaximum() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getCapacityRestrictionMaximum", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Price",
")",
"GetCapacityRestrictionMaximum",
"(",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The maximum capacity value for which this price is suitable. | [
"Retrieve",
"The",
"maximum",
"capacity",
"value",
"for",
"which",
"this",
"price",
"is",
"suitable",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L394-L397 |
6,236 | softlayer/softlayer-go | services/product.go | GetPackageReferences | func (r Product_Item_Price) GetPackageReferences() (resp []datatypes.Product_Package_Item_Prices, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getPackageReferences", nil, &r.Options, &resp)
return
} | go | func (r Product_Item_Price) GetPackageReferences() (resp []datatypes.Product_Package_Item_Prices, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item_Price", "getPackageReferences", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Item_Price",
")",
"GetPackageReferences",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Item_Prices",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve cross reference for packages | [
"Retrieve",
"cross",
"reference",
"for",
"packages"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L454-L457 |
6,237 | softlayer/softlayer-go | services/product.go | CheckItemConflicts | func (r Product_Order) CheckItemConflicts(itemPrices []datatypes.Product_Item_Price) (resp bool, err error) {
params := []interface{}{
itemPrices,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "checkItemConflicts", params, &r.Options, &resp)
return
} | go | func (r Product_Order) CheckItemConflicts(itemPrices []datatypes.Product_Item_Price) (resp bool, err error) {
params := []interface{}{
itemPrices,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "checkItemConflicts", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Order",
")",
"CheckItemConflicts",
"(",
"itemPrices",
"[",
"]",
"datatypes",
".",
"Product_Item_Price",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"itemPrices",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Check order items for conflicts | [
"Check",
"order",
"items",
"for",
"conflicts"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L633-L639 |
6,238 | softlayer/softlayer-go | services/product.go | GetExternalPaymentAuthorizationReceipt | func (r Product_Order) GetExternalPaymentAuthorizationReceipt(token *string, payerId *string) (resp datatypes.Container_Product_Order_Receipt, err error) {
params := []interface{}{
token,
payerId,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "getExternalPaymentAuthorizationReceipt", params, &r.Options, &resp)
return
} | go | func (r Product_Order) GetExternalPaymentAuthorizationReceipt(token *string, payerId *string) (resp datatypes.Container_Product_Order_Receipt, err error) {
params := []interface{}{
token,
payerId,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "getExternalPaymentAuthorizationReceipt", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Order",
")",
"GetExternalPaymentAuthorizationReceipt",
"(",
"token",
"*",
"string",
",",
"payerId",
"*",
"string",
")",
"(",
"resp",
"datatypes",
".",
"Container_Product_Order_Receipt",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"token",
",",
"payerId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // This method simply returns a receipt for a previously finalized payment authorization from PayPal. The response matches the response returned from placeOrder when the order was originally placed with PayPal as the payment type. | [
"This",
"method",
"simply",
"returns",
"a",
"receipt",
"for",
"a",
"previously",
"finalized",
"payment",
"authorization",
"from",
"PayPal",
".",
"The",
"response",
"matches",
"the",
"response",
"returned",
"from",
"placeOrder",
"when",
"the",
"order",
"was",
"originally",
"placed",
"with",
"PayPal",
"as",
"the",
"payment",
"type",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L642-L649 |
6,239 | softlayer/softlayer-go | services/product.go | GetResellerOrder | func (r Product_Order) GetResellerOrder(orderContainer *datatypes.Container_Product_Order) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
orderContainer,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "getResellerOrder", params, &r.Options, &resp)
return
} | go | func (r Product_Order) GetResellerOrder(orderContainer *datatypes.Container_Product_Order) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
orderContainer,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "getResellerOrder", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Order",
")",
"GetResellerOrder",
"(",
"orderContainer",
"*",
"datatypes",
".",
"Container_Product_Order",
")",
"(",
"resp",
"datatypes",
".",
"Container_Product_Order",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"orderContainer",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // When the account is on an external reseller brand, this service will provide a SoftLayer_Product_Order with the the pricing adjusted by the external reseller. | [
"When",
"the",
"account",
"is",
"on",
"an",
"external",
"reseller",
"brand",
"this",
"service",
"will",
"provide",
"a",
"SoftLayer_Product_Order",
"with",
"the",
"the",
"pricing",
"adjusted",
"by",
"the",
"external",
"reseller",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L669-L675 |
6,240 | softlayer/softlayer-go | services/product.go | GetTaxCalculationResult | func (r Product_Order) GetTaxCalculationResult(orderHash *string) (resp datatypes.Container_Tax_Cache, err error) {
params := []interface{}{
orderHash,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "getTaxCalculationResult", params, &r.Options, &resp)
return
} | go | func (r Product_Order) GetTaxCalculationResult(orderHash *string) (resp datatypes.Container_Tax_Cache, err error) {
params := []interface{}{
orderHash,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "getTaxCalculationResult", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Order",
")",
"GetTaxCalculationResult",
"(",
"orderHash",
"*",
"string",
")",
"(",
"resp",
"datatypes",
".",
"Container_Tax_Cache",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"orderHash",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Sometimes taxes cannot be calculated immediately, so we start the calculations and let them run in the background. This method will return the current progress and information related to a specific tax calculation, which allows real-time progress updates on tax calculations. | [
"Sometimes",
"taxes",
"cannot",
"be",
"calculated",
"immediately",
"so",
"we",
"start",
"the",
"calculations",
"and",
"let",
"them",
"run",
"in",
"the",
"background",
".",
"This",
"method",
"will",
"return",
"the",
"current",
"progress",
"and",
"information",
"related",
"to",
"a",
"specific",
"tax",
"calculation",
"which",
"allows",
"real",
"-",
"time",
"progress",
"updates",
"on",
"tax",
"calculations",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L678-L684 |
6,241 | softlayer/softlayer-go | services/product.go | RequiredItems | func (r Product_Order) RequiredItems(itemPrices []datatypes.Product_Item_Price) (resp []datatypes.Product_Item, err error) {
params := []interface{}{
itemPrices,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "requiredItems", params, &r.Options, &resp)
return
} | go | func (r Product_Order) RequiredItems(itemPrices []datatypes.Product_Item_Price) (resp []datatypes.Product_Item, err error) {
params := []interface{}{
itemPrices,
}
err = r.Session.DoRequest("SoftLayer_Product_Order", "requiredItems", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Order",
")",
"RequiredItems",
"(",
"itemPrices",
"[",
"]",
"datatypes",
".",
"Product_Item_Price",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"itemPrices",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Get list of items that are required with the item prices provided | [
"Get",
"list",
"of",
"items",
"that",
"are",
"required",
"with",
"the",
"item",
"prices",
"provided"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1150-L1156 |
6,242 | softlayer/softlayer-go | services/product.go | GetActiveItems | func (r Product_Package) GetActiveItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getActiveItems", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetActiveItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getActiveItems", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetActiveItems",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Return a list of Items in the package with their active prices. | [
"Return",
"a",
"list",
"of",
"Items",
"in",
"the",
"package",
"with",
"their",
"active",
"prices",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1236-L1239 |
6,243 | softlayer/softlayer-go | services/product.go | GetConfiguration | func (r Product_Package) GetConfiguration() (resp []datatypes.Product_Package_Order_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getConfiguration", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetConfiguration() (resp []datatypes.Product_Package_Order_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getConfiguration", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetConfiguration",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Order_Configuration",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The item categories associated with a package, including information detailing which item categories are required as part of a SoftLayer product order. | [
"Retrieve",
"The",
"item",
"categories",
"associated",
"with",
"a",
"package",
"including",
"information",
"detailing",
"which",
"item",
"categories",
"are",
"required",
"as",
"part",
"of",
"a",
"SoftLayer",
"product",
"order",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1359-L1362 |
6,244 | softlayer/softlayer-go | services/product.go | GetDeploymentType | func (r Product_Package) GetDeploymentType() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getDeploymentType", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetDeploymentType() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getDeploymentType", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetDeploymentType",
"(",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The solution deployment type. | [
"Retrieve",
"The",
"solution",
"deployment",
"type",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1383-L1386 |
6,245 | softlayer/softlayer-go | services/product.go | GetFirstOrderStep | func (r Product_Package) GetFirstOrderStep() (resp datatypes.Product_Package_Order_Step, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getFirstOrderStep", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetFirstOrderStep() (resp datatypes.Product_Package_Order_Step, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getFirstOrderStep", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetFirstOrderStep",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Product_Package_Order_Step",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The Softlayer order step is optionally step-based. This returns the first SoftLayer_Product_Package_Order_Step in the step-based order process. | [
"Retrieve",
"The",
"Softlayer",
"order",
"step",
"is",
"optionally",
"step",
"-",
"based",
".",
"This",
"returns",
"the",
"first",
"SoftLayer_Product_Package_Order_Step",
"in",
"the",
"step",
"-",
"based",
"order",
"process",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1401-L1404 |
6,246 | softlayer/softlayer-go | services/product.go | GetItemLocationConflicts | func (r Product_Package) GetItemLocationConflicts() (resp []datatypes.Product_Item_Resource_Conflict, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getItemLocationConflicts", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetItemLocationConflicts() (resp []datatypes.Product_Item_Resource_Conflict, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getItemLocationConflicts", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetItemLocationConflicts",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Resource_Conflict",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The item-location conflicts associated with a package. | [
"Retrieve",
"The",
"item",
"-",
"location",
"conflicts",
"associated",
"with",
"a",
"package",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1443-L1446 |
6,247 | softlayer/softlayer-go | services/product.go | GetItemPriceReferences | func (r Product_Package) GetItemPriceReferences() (resp []datatypes.Product_Package_Item_Prices, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getItemPriceReferences", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetItemPriceReferences() (resp []datatypes.Product_Package_Item_Prices, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getItemPriceReferences", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetItemPriceReferences",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Item_Prices",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve cross reference for item prices | [
"Retrieve",
"cross",
"reference",
"for",
"item",
"prices"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1449-L1452 |
6,248 | softlayer/softlayer-go | services/product.go | GetItemPrices | func (r Product_Package) GetItemPrices() (resp []datatypes.Product_Item_Price, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getItemPrices", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetItemPrices() (resp []datatypes.Product_Item_Price, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getItemPrices", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetItemPrices",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Price",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve A collection of SoftLayer_Product_Item_Prices that are valid for this package. | [
"Retrieve",
"A",
"collection",
"of",
"SoftLayer_Product_Item_Prices",
"that",
"are",
"valid",
"for",
"this",
"package",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1455-L1458 |
6,249 | softlayer/softlayer-go | services/product.go | GetMaximumPortSpeed | func (r Product_Package) GetMaximumPortSpeed() (resp uint, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getMaximumPortSpeed", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetMaximumPortSpeed() (resp uint, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getMaximumPortSpeed", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetMaximumPortSpeed",
"(",
")",
"(",
"resp",
"uint",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The maximum available network speed associated with the package. | [
"Retrieve",
"The",
"maximum",
"available",
"network",
"speed",
"associated",
"with",
"the",
"package",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1499-L1502 |
6,250 | softlayer/softlayer-go | services/product.go | GetRegions | func (r Product_Package) GetRegions() (resp []datatypes.Location_Region, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getRegions", nil, &r.Options, &resp)
return
} | go | func (r Product_Package) GetRegions() (resp []datatypes.Location_Region, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package", "getRegions", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package",
")",
"GetRegions",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Location_Region",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The regional locations that a package is available in. | [
"Retrieve",
"The",
"regional",
"locations",
"that",
"a",
"package",
"is",
"available",
"in",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1613-L1616 |
6,251 | softlayer/softlayer-go | services/product.go | GetBareMetalReservedFlag | func (r Product_Package_Preset) GetBareMetalReservedFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getBareMetalReservedFlag", nil, &r.Options, &resp)
return
} | go | func (r Product_Package_Preset) GetBareMetalReservedFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getBareMetalReservedFlag", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Preset",
")",
"GetBareMetalReservedFlag",
"(",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve When true this preset is for ordering a Bare Metal Reserved server. | [
"Retrieve",
"When",
"true",
"this",
"preset",
"is",
"for",
"ordering",
"a",
"Bare",
"Metal",
"Reserved",
"server",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1697-L1700 |
6,252 | softlayer/softlayer-go | services/product.go | GetCategories | func (r Product_Package_Preset) GetCategories() (resp []datatypes.Product_Item_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getCategories", nil, &r.Options, &resp)
return
} | go | func (r Product_Package_Preset) GetCategories() (resp []datatypes.Product_Item_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getCategories", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Preset",
")",
"GetCategories",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item_Category",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The item categories that are included in this package preset configuration. | [
"Retrieve",
"The",
"item",
"categories",
"that",
"are",
"included",
"in",
"this",
"package",
"preset",
"configuration",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1703-L1706 |
6,253 | softlayer/softlayer-go | services/product.go | GetComputeGroup | func (r Product_Package_Preset) GetComputeGroup() (resp datatypes.Product_Item_Server_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getComputeGroup", nil, &r.Options, &resp)
return
} | go | func (r Product_Package_Preset) GetComputeGroup() (resp datatypes.Product_Item_Server_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getComputeGroup", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Preset",
")",
"GetComputeGroup",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Product_Item_Server_Group",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The compute family this configuration belongs to. | [
"Retrieve",
"The",
"compute",
"family",
"this",
"configuration",
"belongs",
"to",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1709-L1712 |
6,254 | softlayer/softlayer-go | services/product.go | GetPackageConfiguration | func (r Product_Package_Preset) GetPackageConfiguration() (resp []datatypes.Product_Package_Order_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getPackageConfiguration", nil, &r.Options, &resp)
return
} | go | func (r Product_Package_Preset) GetPackageConfiguration() (resp []datatypes.Product_Package_Order_Configuration, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getPackageConfiguration", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Preset",
")",
"GetPackageConfiguration",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Order_Configuration",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The item categories associated with a package preset, including information detailing which item categories are required as part of a SoftLayer product order. | [
"Retrieve",
"The",
"item",
"categories",
"associated",
"with",
"a",
"package",
"preset",
"including",
"information",
"detailing",
"which",
"item",
"categories",
"are",
"required",
"as",
"part",
"of",
"a",
"SoftLayer",
"product",
"order",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1757-L1760 |
6,255 | softlayer/softlayer-go | services/product.go | GetStorageGroupTemplateArrays | func (r Product_Package_Preset) GetStorageGroupTemplateArrays() (resp []datatypes.Configuration_Storage_Group_Template_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getStorageGroupTemplateArrays", nil, &r.Options, &resp)
return
} | go | func (r Product_Package_Preset) GetStorageGroupTemplateArrays() (resp []datatypes.Configuration_Storage_Group_Template_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getStorageGroupTemplateArrays", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Preset",
")",
"GetStorageGroupTemplateArrays",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Configuration_Storage_Group_Template_Group",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve Describes how all disks in this preset will be configured. | [
"Retrieve",
"Describes",
"how",
"all",
"disks",
"in",
"this",
"preset",
"will",
"be",
"configured",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1769-L1772 |
6,256 | softlayer/softlayer-go | services/product.go | GetTotalMinimumHourlyFee | func (r Product_Package_Preset) GetTotalMinimumHourlyFee() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getTotalMinimumHourlyFee", nil, &r.Options, &resp)
return
} | go | func (r Product_Package_Preset) GetTotalMinimumHourlyFee() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Package_Preset", "getTotalMinimumHourlyFee", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Preset",
")",
"GetTotalMinimumHourlyFee",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Float64",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The starting hourly price for this configuration. Additional options not defined in the preset may increase the cost. | [
"Retrieve",
"The",
"starting",
"hourly",
"price",
"for",
"this",
"configuration",
".",
"Additional",
"options",
"not",
"defined",
"in",
"the",
"preset",
"may",
"increase",
"the",
"cost",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1775-L1778 |
6,257 | softlayer/softlayer-go | services/product.go | GetOptions | func (r Product_Package_Server_Option) GetOptions(typ *string) (resp []datatypes.Product_Package_Server_Option, err error) {
params := []interface{}{
typ,
}
err = r.Session.DoRequest("SoftLayer_Product_Package_Server_Option", "getOptions", params, &r.Options, &resp)
return
} | go | func (r Product_Package_Server_Option) GetOptions(typ *string) (resp []datatypes.Product_Package_Server_Option, err error) {
params := []interface{}{
typ,
}
err = r.Session.DoRequest("SoftLayer_Product_Package_Server_Option", "getOptions", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Package_Server_Option",
")",
"GetOptions",
"(",
"typ",
"*",
"string",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Package_Server_Option",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"typ",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // This method will grab all the package server options for the specified type. | [
"This",
"method",
"will",
"grab",
"all",
"the",
"package",
"server",
"options",
"for",
"the",
"specified",
"type",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L1921-L1927 |
6,258 | softlayer/softlayer-go | services/product.go | FindByPromoCode | func (r Product_Promotion) FindByPromoCode(code *string) (resp datatypes.Container_Product_Promotion, err error) {
params := []interface{}{
code,
}
err = r.Session.DoRequest("SoftLayer_Product_Promotion", "findByPromoCode", params, &r.Options, &resp)
return
} | go | func (r Product_Promotion) FindByPromoCode(code *string) (resp datatypes.Container_Product_Promotion, err error) {
params := []interface{}{
code,
}
err = r.Session.DoRequest("SoftLayer_Product_Promotion", "findByPromoCode", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Promotion",
")",
"FindByPromoCode",
"(",
"code",
"*",
"string",
")",
"(",
"resp",
"datatypes",
".",
"Container_Product_Promotion",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"code",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieves a promotion using its code. | [
"Retrieves",
"a",
"promotion",
"using",
"its",
"code",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L2028-L2034 |
6,259 | softlayer/softlayer-go | services/product.go | ApproveChanges | func (r Product_Upgrade_Request) ApproveChanges() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Upgrade_Request", "approveChanges", nil, &r.Options, &resp)
return
} | go | func (r Product_Upgrade_Request) ApproveChanges() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Upgrade_Request", "approveChanges", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Upgrade_Request",
")",
"ApproveChanges",
"(",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // When a change is made to an upgrade by Sales, this method will approve the changes that were made. A customer must acknowledge the change and approve it so that the upgrade request can proceed. | [
"When",
"a",
"change",
"is",
"made",
"to",
"an",
"upgrade",
"by",
"Sales",
"this",
"method",
"will",
"approve",
"the",
"changes",
"that",
"were",
"made",
".",
"A",
"customer",
"must",
"acknowledge",
"the",
"change",
"and",
"approve",
"it",
"so",
"that",
"the",
"upgrade",
"request",
"can",
"proceed",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L2083-L2086 |
6,260 | softlayer/softlayer-go | services/product.go | GetStatus | func (r Product_Upgrade_Request) GetStatus() (resp datatypes.Product_Upgrade_Request_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Upgrade_Request", "getStatus", nil, &r.Options, &resp)
return
} | go | func (r Product_Upgrade_Request) GetStatus() (resp datatypes.Product_Upgrade_Request_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Upgrade_Request", "getStatus", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Upgrade_Request",
")",
"GetStatus",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Product_Upgrade_Request_Status",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The current status of the upgrade request. | [
"Retrieve",
"The",
"current",
"status",
"of",
"the",
"upgrade",
"request",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L2125-L2128 |
6,261 | softlayer/softlayer-go | services/product.go | UpdateMaintenanceWindow | func (r Product_Upgrade_Request) UpdateMaintenanceWindow(maintenanceStartTime *datatypes.Time, maintenanceWindowId *int) (resp bool, err error) {
params := []interface{}{
maintenanceStartTime,
maintenanceWindowId,
}
err = r.Session.DoRequest("SoftLayer_Product_Upgrade_Request", "updateMaintenanceWindow", params, &r.Options, &resp)
return
} | go | func (r Product_Upgrade_Request) UpdateMaintenanceWindow(maintenanceStartTime *datatypes.Time, maintenanceWindowId *int) (resp bool, err error) {
params := []interface{}{
maintenanceStartTime,
maintenanceWindowId,
}
err = r.Session.DoRequest("SoftLayer_Product_Upgrade_Request", "updateMaintenanceWindow", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Product_Upgrade_Request",
")",
"UpdateMaintenanceWindow",
"(",
"maintenanceStartTime",
"*",
"datatypes",
".",
"Time",
",",
"maintenanceWindowId",
"*",
"int",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"maintenanceStartTime",
",",
"maintenanceWindowId",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // In case an upgrade cannot be performed, the maintenance window needs to be updated to a future date. | [
"In",
"case",
"an",
"upgrade",
"cannot",
"be",
"performed",
"the",
"maintenance",
"window",
"needs",
"to",
"be",
"updated",
"to",
"a",
"future",
"date",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/product.go#L2149-L2156 |
6,262 | softlayer/softlayer-go | services/software.go | GetAverageInstallationDuration | func (r Software_Component) GetAverageInstallationDuration() (resp uint, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component", "getAverageInstallationDuration", nil, &r.Options, &resp)
return
} | go | func (r Software_Component) GetAverageInstallationDuration() (resp uint, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component", "getAverageInstallationDuration", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Component",
")",
"GetAverageInstallationDuration",
"(",
")",
"(",
"resp",
"uint",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The average amount of time that a software component takes to install. | [
"Retrieve",
"The",
"average",
"amount",
"of",
"time",
"that",
"a",
"software",
"component",
"takes",
"to",
"install",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L147-L150 |
6,263 | softlayer/softlayer-go | services/software.go | GetLicenseFile | func (r Software_Component) GetLicenseFile() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component", "getLicenseFile", nil, &r.Options, &resp)
return
} | go | func (r Software_Component) GetLicenseFile() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component", "getLicenseFile", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Component",
")",
"GetLicenseFile",
"(",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Attempt to retrieve the file associated with a software component. If the software component does not support downloading license files an exception will be thrown. | [
"Attempt",
"to",
"retrieve",
"the",
"file",
"associated",
"with",
"a",
"software",
"component",
".",
"If",
"the",
"software",
"component",
"does",
"not",
"support",
"downloading",
"license",
"files",
"an",
"exception",
"will",
"be",
"thrown",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L165-L168 |
6,264 | softlayer/softlayer-go | services/software.go | GetSoftwareLicense | func (r Software_Component) GetSoftwareLicense() (resp datatypes.Software_License, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component", "getSoftwareLicense", nil, &r.Options, &resp)
return
} | go | func (r Software_Component) GetSoftwareLicense() (resp datatypes.Software_License, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component", "getSoftwareLicense", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Component",
")",
"GetSoftwareLicense",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Software_License",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The License this Software Component uses. | [
"Retrieve",
"The",
"License",
"this",
"Software",
"Component",
"uses",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L197-L200 |
6,265 | softlayer/softlayer-go | services/software.go | GetCurrentHostIpsPolicies | func (r Software_Component_HostIps) GetCurrentHostIpsPolicies() (resp []datatypes.Container_Software_Component_HostIps_Policy, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component_HostIps", "getCurrentHostIpsPolicies", nil, &r.Options, &resp)
return
} | go | func (r Software_Component_HostIps) GetCurrentHostIpsPolicies() (resp []datatypes.Container_Software_Component_HostIps_Policy, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component_HostIps", "getCurrentHostIpsPolicies", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Component_HostIps",
")",
"GetCurrentHostIpsPolicies",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Container_Software_Component_HostIps_Policy",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Get the current Host IPS policies. | [
"Get",
"the",
"current",
"Host",
"IPS",
"policies",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L388-L391 |
6,266 | softlayer/softlayer-go | services/software.go | GetPasswordHistory | func (r Software_Component_HostIps) GetPasswordHistory() (resp []datatypes.Software_Component_Password_History, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component_HostIps", "getPasswordHistory", nil, &r.Options, &resp)
return
} | go | func (r Software_Component_HostIps) GetPasswordHistory() (resp []datatypes.Software_Component_Password_History, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Component_HostIps", "getPasswordHistory", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Component_HostIps",
")",
"GetPasswordHistory",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Software_Component_Password_History",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve History Records for Software Passwords. | [
"Retrieve",
"History",
"Records",
"for",
"Software",
"Passwords",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L412-L415 |
6,267 | softlayer/softlayer-go | services/software.go | UpdateHipsPolicies | func (r Software_Component_HostIps) UpdateHipsPolicies(newIpsMode *string, newIpsProtection *string, newFirewallMode *string, newFirewallRuleset *string, newApplicationMode *string, newApplicationRuleset *string, newEnforcementPolicy *string) (resp bool, err error) {
params := []interface{}{
newIpsMode,
newIpsProtection,
newFirewallMode,
newFirewallRuleset,
newApplicationMode,
newApplicationRuleset,
newEnforcementPolicy,
}
err = r.Session.DoRequest("SoftLayer_Software_Component_HostIps", "updateHipsPolicies", params, &r.Options, &resp)
return
} | go | func (r Software_Component_HostIps) UpdateHipsPolicies(newIpsMode *string, newIpsProtection *string, newFirewallMode *string, newFirewallRuleset *string, newApplicationMode *string, newApplicationRuleset *string, newEnforcementPolicy *string) (resp bool, err error) {
params := []interface{}{
newIpsMode,
newIpsProtection,
newFirewallMode,
newFirewallRuleset,
newApplicationMode,
newApplicationRuleset,
newEnforcementPolicy,
}
err = r.Session.DoRequest("SoftLayer_Software_Component_HostIps", "updateHipsPolicies", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Component_HostIps",
")",
"UpdateHipsPolicies",
"(",
"newIpsMode",
"*",
"string",
",",
"newIpsProtection",
"*",
"string",
",",
"newFirewallMode",
"*",
"string",
",",
"newFirewallRuleset",
"*",
"string",
",",
"newApplicationMode",
"*",
"string",
",",
"newApplicationRuleset",
"*",
"string",
",",
"newEnforcementPolicy",
"*",
"string",
")",
"(",
"resp",
"bool",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"newIpsMode",
",",
"newIpsProtection",
",",
"newFirewallMode",
",",
"newFirewallRuleset",
",",
"newApplicationMode",
",",
"newApplicationRuleset",
",",
"newEnforcementPolicy",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Update the Host IPS policies. To retrieve valid policy options you must use the provided relationships. | [
"Update",
"the",
"Host",
"IPS",
"policies",
".",
"To",
"retrieve",
"valid",
"policy",
"options",
"you",
"must",
"use",
"the",
"provided",
"relationships",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L448-L460 |
6,268 | softlayer/softlayer-go | services/software.go | GetAverageInstallationDuration | func (r Software_Description) GetAverageInstallationDuration() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getAverageInstallationDuration", nil, &r.Options, &resp)
return
} | go | func (r Software_Description) GetAverageInstallationDuration() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getAverageInstallationDuration", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Description",
")",
"GetAverageInstallationDuration",
"(",
")",
"(",
"resp",
"int",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The average amount of time that a software description takes to install. | [
"Retrieve",
"The",
"average",
"amount",
"of",
"time",
"that",
"a",
"software",
"description",
"takes",
"to",
"install",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L628-L631 |
6,269 | softlayer/softlayer-go | services/software.go | GetFeatures | func (r Software_Description) GetFeatures() (resp []datatypes.Software_Description_Feature, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getFeatures", nil, &r.Options, &resp)
return
} | go | func (r Software_Description) GetFeatures() (resp []datatypes.Software_Description_Feature, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getFeatures", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Description",
")",
"GetFeatures",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Software_Description_Feature",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The feature attributes of a software description. | [
"Retrieve",
"The",
"feature",
"attributes",
"of",
"a",
"software",
"description",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L646-L649 |
6,270 | softlayer/softlayer-go | services/software.go | GetProductItems | func (r Software_Description) GetProductItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getProductItems", nil, &r.Options, &resp)
return
} | go | func (r Software_Description) GetProductItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getProductItems", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Description",
")",
"GetProductItems",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Product_Item",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The various product items to which this software description is linked. | [
"Retrieve",
"The",
"various",
"product",
"items",
"to",
"which",
"this",
"software",
"description",
"is",
"linked",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L664-L667 |
6,271 | softlayer/softlayer-go | services/software.go | GetReloadTransactionGroup | func (r Software_Description) GetReloadTransactionGroup() (resp datatypes.Provisioning_Version1_Transaction_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getReloadTransactionGroup", nil, &r.Options, &resp)
return
} | go | func (r Software_Description) GetReloadTransactionGroup() (resp datatypes.Provisioning_Version1_Transaction_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getReloadTransactionGroup", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Description",
")",
"GetReloadTransactionGroup",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Provisioning_Version1_Transaction_Group",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The transaction group that a software description belongs to. A transaction group is a sequence of transactions that must be performed in a specific order for the installation of software. | [
"Retrieve",
"The",
"transaction",
"group",
"that",
"a",
"software",
"description",
"belongs",
"to",
".",
"A",
"transaction",
"group",
"is",
"a",
"sequence",
"of",
"transactions",
"that",
"must",
"be",
"performed",
"in",
"a",
"specific",
"order",
"for",
"the",
"installation",
"of",
"software",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L676-L679 |
6,272 | softlayer/softlayer-go | services/software.go | GetRequiredUser | func (r Software_Description) GetRequiredUser() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getRequiredUser", nil, &r.Options, &resp)
return
} | go | func (r Software_Description) GetRequiredUser() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getRequiredUser", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Description",
")",
"GetRequiredUser",
"(",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The default user created for a given a software description. | [
"Retrieve",
"The",
"default",
"user",
"created",
"for",
"a",
"given",
"a",
"software",
"description",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L682-L685 |
6,273 | softlayer/softlayer-go | services/software.go | GetSoftwareLicenses | func (r Software_Description) GetSoftwareLicenses() (resp []datatypes.Software_License, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getSoftwareLicenses", nil, &r.Options, &resp)
return
} | go | func (r Software_Description) GetSoftwareLicenses() (resp []datatypes.Software_License, err error) {
err = r.Session.DoRequest("SoftLayer_Software_Description", "getSoftwareLicenses", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_Description",
")",
"GetSoftwareLicenses",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Software_License",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve Software Licenses that govern this Software Description. | [
"Retrieve",
"Software",
"Licenses",
"that",
"govern",
"this",
"Software",
"Description",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L688-L691 |
6,274 | softlayer/softlayer-go | services/software.go | GetLicenseFile | func (r Software_VirtualLicense) GetLicenseFile() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Software_VirtualLicense", "getLicenseFile", nil, &r.Options, &resp)
return
} | go | func (r Software_VirtualLicense) GetLicenseFile() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Software_VirtualLicense", "getLicenseFile", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_VirtualLicense",
")",
"GetLicenseFile",
"(",
")",
"(",
"resp",
"[",
"]",
"byte",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Attempt to retrieve the file associated with a virtual license, if such a file exists. If there is no file for this virtual license, calling this method will either throw an exception or return false. | [
"Attempt",
"to",
"retrieve",
"the",
"file",
"associated",
"with",
"a",
"virtual",
"license",
"if",
"such",
"a",
"file",
"exists",
".",
"If",
"there",
"is",
"no",
"file",
"for",
"this",
"virtual",
"license",
"calling",
"this",
"method",
"will",
"either",
"throw",
"an",
"exception",
"or",
"return",
"false",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L776-L779 |
6,275 | softlayer/softlayer-go | services/software.go | GetSoftwareDescription | func (r Software_VirtualLicense) GetSoftwareDescription() (resp datatypes.Software_Description, err error) {
err = r.Session.DoRequest("SoftLayer_Software_VirtualLicense", "getSoftwareDescription", nil, &r.Options, &resp)
return
} | go | func (r Software_VirtualLicense) GetSoftwareDescription() (resp datatypes.Software_Description, err error) {
err = r.Session.DoRequest("SoftLayer_Software_VirtualLicense", "getSoftwareDescription", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Software_VirtualLicense",
")",
"GetSoftwareDescription",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Software_Description",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The SoftLayer_Software_Description that this virtual license is for. | [
"Retrieve",
"The",
"SoftLayer_Software_Description",
"that",
"this",
"virtual",
"license",
"is",
"for",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/software.go#L788-L791 |
6,276 | softlayer/softlayer-go | services/locale.go | GetAllVatCountryCodesAndVatIdRegexes | func (r Locale_Country) GetAllVatCountryCodesAndVatIdRegexes() (resp []datatypes.Container_Collection_Locale_VatCountryCodeAndFormat, err error) {
err = r.Session.DoRequest("SoftLayer_Locale_Country", "getAllVatCountryCodesAndVatIdRegexes", nil, &r.Options, &resp)
return
} | go | func (r Locale_Country) GetAllVatCountryCodesAndVatIdRegexes() (resp []datatypes.Container_Collection_Locale_VatCountryCodeAndFormat, err error) {
err = r.Session.DoRequest("SoftLayer_Locale_Country", "getAllVatCountryCodesAndVatIdRegexes", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Locale_Country",
")",
"GetAllVatCountryCodesAndVatIdRegexes",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Container_Collection_Locale_VatCountryCodeAndFormat",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // This method is to get the collection of VAT country codes and VAT ID Regexes. | [
"This",
"method",
"is",
"to",
"get",
"the",
"collection",
"of",
"VAT",
"country",
"codes",
"and",
"VAT",
"ID",
"Regexes",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/locale.go#L128-L131 |
6,277 | softlayer/softlayer-go | services/locale.go | GetStates | func (r Locale_Country) GetStates() (resp []datatypes.Locale_StateProvince, err error) {
err = r.Session.DoRequest("SoftLayer_Locale_Country", "getStates", nil, &r.Options, &resp)
return
} | go | func (r Locale_Country) GetStates() (resp []datatypes.Locale_StateProvince, err error) {
err = r.Session.DoRequest("SoftLayer_Locale_Country", "getStates", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Locale_Country",
")",
"GetStates",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Locale_StateProvince",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve States that belong to this country. | [
"Retrieve",
"States",
"that",
"belong",
"to",
"this",
"country",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/locale.go#L161-L164 |
6,278 | softlayer/softlayer-go | services/scale.go | GetHardwareId | func (r Scale_Asset_Hardware) GetHardwareId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Asset_Hardware", "getHardwareId", nil, &r.Options, &resp)
return
} | go | func (r Scale_Asset_Hardware) GetHardwareId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Asset_Hardware", "getHardwareId", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Asset_Hardware",
")",
"GetHardwareId",
"(",
")",
"(",
"resp",
"int",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The identifier of the hardware for this asset. | [
"Retrieve",
"The",
"identifier",
"of",
"the",
"hardware",
"for",
"this",
"asset",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L152-L155 |
6,279 | softlayer/softlayer-go | services/scale.go | GetVirtualGuestId | func (r Scale_Asset_Virtual_Guest) GetVirtualGuestId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Asset_Virtual_Guest", "getVirtualGuestId", nil, &r.Options, &resp)
return
} | go | func (r Scale_Asset_Virtual_Guest) GetVirtualGuestId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Asset_Virtual_Guest", "getVirtualGuestId", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Asset_Virtual_Guest",
")",
"GetVirtualGuestId",
"(",
")",
"(",
"resp",
"int",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The identifier of the guest for this asset. | [
"Retrieve",
"The",
"identifier",
"of",
"the",
"guest",
"for",
"this",
"asset",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L243-L246 |
6,280 | softlayer/softlayer-go | services/scale.go | GetLogs | func (r Scale_Group) GetLogs() (resp []datatypes.Scale_Group_Log, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getLogs", nil, &r.Options, &resp)
return
} | go | func (r Scale_Group) GetLogs() (resp []datatypes.Scale_Group_Log, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getLogs", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Group",
")",
"GetLogs",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Scale_Group_Log",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve Collection of log entries for this group. | [
"Retrieve",
"Collection",
"of",
"log",
"entries",
"for",
"this",
"group",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L345-L348 |
6,281 | softlayer/softlayer-go | services/scale.go | GetStatus | func (r Scale_Group) GetStatus() (resp datatypes.Scale_Group_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getStatus", nil, &r.Options, &resp)
return
} | go | func (r Scale_Group) GetStatus() (resp datatypes.Scale_Group_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getStatus", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Group",
")",
"GetStatus",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Scale_Group_Status",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The status for this scale group. | [
"Retrieve",
"The",
"status",
"for",
"this",
"scale",
"group",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L375-L378 |
6,282 | softlayer/softlayer-go | services/scale.go | GetTerminationPolicy | func (r Scale_Group) GetTerminationPolicy() (resp datatypes.Scale_Termination_Policy, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getTerminationPolicy", nil, &r.Options, &resp)
return
} | go | func (r Scale_Group) GetTerminationPolicy() (resp datatypes.Scale_Termination_Policy, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getTerminationPolicy", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Group",
")",
"GetTerminationPolicy",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Scale_Termination_Policy",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The termination policy for this scaling group. | [
"Retrieve",
"The",
"termination",
"policy",
"for",
"this",
"scaling",
"group",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L381-L384 |
6,283 | softlayer/softlayer-go | services/scale.go | GetVirtualGuestAssets | func (r Scale_Group) GetVirtualGuestAssets() (resp []datatypes.Scale_Asset_Virtual_Guest, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getVirtualGuestAssets", nil, &r.Options, &resp)
return
} | go | func (r Scale_Group) GetVirtualGuestAssets() (resp []datatypes.Scale_Asset_Virtual_Guest, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Group", "getVirtualGuestAssets", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Group",
")",
"GetVirtualGuestAssets",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Scale_Asset_Virtual_Guest",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve Collection of guests that have been pinned to this group. Guest assets are only used for certain trigger checks such as resource watches. They do not count towards the auto scaling guest counts of this group in anyway and are never automatically added or removed. | [
"Retrieve",
"Collection",
"of",
"guests",
"that",
"have",
"been",
"pinned",
"to",
"this",
"group",
".",
"Guest",
"assets",
"are",
"only",
"used",
"for",
"certain",
"trigger",
"checks",
"such",
"as",
"resource",
"watches",
".",
"They",
"do",
"not",
"count",
"towards",
"the",
"auto",
"scaling",
"guest",
"counts",
"of",
"this",
"group",
"in",
"anyway",
"and",
"are",
"never",
"automatically",
"added",
"or",
"removed",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L387-L390 |
6,284 | softlayer/softlayer-go | services/scale.go | Resume | func (r Scale_Group) Resume() (err error) {
var resp datatypes.Void
err = r.Session.DoRequest("SoftLayer_Scale_Group", "resume", nil, &r.Options, &resp)
return
} | go | func (r Scale_Group) Resume() (err error) {
var resp datatypes.Void
err = r.Session.DoRequest("SoftLayer_Scale_Group", "resume", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Group",
")",
"Resume",
"(",
")",
"(",
"err",
"error",
")",
"{",
"var",
"resp",
"datatypes",
".",
"Void",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Resume this group. The group must be in a suspended status to do this. By doing this, the group's status will become active. | [
"Resume",
"this",
"group",
".",
"The",
"group",
"must",
"be",
"in",
"a",
"suspended",
"status",
"to",
"do",
"this",
".",
"By",
"doing",
"this",
"the",
"group",
"s",
"status",
"will",
"become",
"active",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L399-L403 |
6,285 | softlayer/softlayer-go | services/scale.go | GetRoutingMethod | func (r Scale_LoadBalancer) GetRoutingMethod() (resp datatypes.Network_Application_Delivery_Controller_LoadBalancer_Routing_Method, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_LoadBalancer", "getRoutingMethod", nil, &r.Options, &resp)
return
} | go | func (r Scale_LoadBalancer) GetRoutingMethod() (resp datatypes.Network_Application_Delivery_Controller_LoadBalancer_Routing_Method, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_LoadBalancer", "getRoutingMethod", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_LoadBalancer",
")",
"GetRoutingMethod",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Network_Application_Delivery_Controller_LoadBalancer_Routing_Method",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The routing method. | [
"Retrieve",
"The",
"routing",
"method",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L567-L570 |
6,286 | softlayer/softlayer-go | services/scale.go | GetRoutingType | func (r Scale_LoadBalancer) GetRoutingType() (resp datatypes.Network_Application_Delivery_Controller_LoadBalancer_Routing_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_LoadBalancer", "getRoutingType", nil, &r.Options, &resp)
return
} | go | func (r Scale_LoadBalancer) GetRoutingType() (resp datatypes.Network_Application_Delivery_Controller_LoadBalancer_Routing_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_LoadBalancer", "getRoutingType", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_LoadBalancer",
")",
"GetRoutingType",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Network_Application_Delivery_Controller_LoadBalancer_Routing_Type",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The routing type. | [
"Retrieve",
"The",
"routing",
"type",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L573-L576 |
6,287 | softlayer/softlayer-go | services/scale.go | GetVirtualIpAddressId | func (r Scale_LoadBalancer) GetVirtualIpAddressId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_LoadBalancer", "getVirtualIpAddressId", nil, &r.Options, &resp)
return
} | go | func (r Scale_LoadBalancer) GetVirtualIpAddressId() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_LoadBalancer", "getVirtualIpAddressId", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_LoadBalancer",
")",
"GetVirtualIpAddressId",
"(",
")",
"(",
"resp",
"int",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The ID of the virtual IP address. | [
"Retrieve",
"The",
"ID",
"of",
"the",
"virtual",
"IP",
"address",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L585-L588 |
6,288 | softlayer/softlayer-go | services/scale.go | Trigger | func (r Scale_Policy) Trigger() (resp []datatypes.Scale_Member, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy", "trigger", nil, &r.Options, &resp)
return
} | go | func (r Scale_Policy) Trigger() (resp []datatypes.Scale_Member, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy", "trigger", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Policy",
")",
"Trigger",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Scale_Member",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Manually trigger the actions on this policy. Returns members if the trigger has an effect, or an empty set of members if there is no effect. Sometimes this may not have an effect if the group is not active, in cooldown, or the result would violate the group range. If this call fails, the group is suspended, the failure logged, and a ticket is created. | [
"Manually",
"trigger",
"the",
"actions",
"on",
"this",
"policy",
".",
"Returns",
"members",
"if",
"the",
"trigger",
"has",
"an",
"effect",
"or",
"an",
"empty",
"set",
"of",
"members",
"if",
"there",
"is",
"no",
"effect",
".",
"Sometimes",
"this",
"may",
"not",
"have",
"an",
"effect",
"if",
"the",
"group",
"is",
"not",
"active",
"in",
"cooldown",
"or",
"the",
"result",
"would",
"violate",
"the",
"group",
"range",
".",
"If",
"this",
"call",
"fails",
"the",
"group",
"is",
"suspended",
"the",
"failure",
"logged",
"and",
"a",
"ticket",
"is",
"created",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L916-L919 |
6,289 | softlayer/softlayer-go | services/scale.go | GetType | func (r Scale_Policy_Action) GetType() (resp datatypes.Scale_Policy_Action_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Action", "getType", nil, &r.Options, &resp)
return
} | go | func (r Scale_Policy_Action) GetType() (resp datatypes.Scale_Policy_Action_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Action", "getType", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Policy_Action",
")",
"GetType",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Scale_Policy_Action_Type",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The type of action. | [
"Retrieve",
"The",
"type",
"of",
"action",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L989-L992 |
6,290 | softlayer/softlayer-go | services/scale.go | GetScalePolicy | func (r Scale_Policy_Action_Scale) GetScalePolicy() (resp datatypes.Scale_Policy, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Action_Scale", "getScalePolicy", nil, &r.Options, &resp)
return
} | go | func (r Scale_Policy_Action_Scale) GetScalePolicy() (resp datatypes.Scale_Policy, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Action_Scale", "getScalePolicy", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Policy_Action_Scale",
")",
"GetScalePolicy",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Scale_Policy",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The policy this action is on. | [
"Retrieve",
"The",
"policy",
"this",
"action",
"is",
"on",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L1065-L1068 |
6,291 | softlayer/softlayer-go | services/scale.go | GetType | func (r Scale_Policy_Trigger_ResourceUse) GetType() (resp datatypes.Scale_Policy_Trigger_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Trigger_ResourceUse", "getType", nil, &r.Options, &resp)
return
} | go | func (r Scale_Policy_Trigger_ResourceUse) GetType() (resp datatypes.Scale_Policy_Trigger_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Trigger_ResourceUse", "getType", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Policy_Trigger_ResourceUse",
")",
"GetType",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Scale_Policy_Trigger_Type",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The type of trigger. | [
"Retrieve",
"The",
"type",
"of",
"trigger",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L1461-L1464 |
6,292 | softlayer/softlayer-go | services/scale.go | GetWatches | func (r Scale_Policy_Trigger_ResourceUse) GetWatches() (resp []datatypes.Scale_Policy_Trigger_ResourceUse_Watch, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Trigger_ResourceUse", "getWatches", nil, &r.Options, &resp)
return
} | go | func (r Scale_Policy_Trigger_ResourceUse) GetWatches() (resp []datatypes.Scale_Policy_Trigger_ResourceUse_Watch, err error) {
err = r.Session.DoRequest("SoftLayer_Scale_Policy_Trigger_ResourceUse", "getWatches", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Scale_Policy_Trigger_ResourceUse",
")",
"GetWatches",
"(",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Scale_Policy_Trigger_ResourceUse_Watch",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The resource watches for this trigger. | [
"Retrieve",
"The",
"resource",
"watches",
"for",
"this",
"trigger",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/scale.go#L1467-L1470 |
6,293 | softlayer/softlayer-go | services/utility.go | NsLookup | func (r Utility_Network) NsLookup(address *string, typ *string) (resp string, err error) {
params := []interface{}{
address,
typ,
}
err = r.Session.DoRequest("SoftLayer_Utility_Network", "nsLookup", params, &r.Options, &resp)
return
} | go | func (r Utility_Network) NsLookup(address *string, typ *string) (resp string, err error) {
params := []interface{}{
address,
typ,
}
err = r.Session.DoRequest("SoftLayer_Utility_Network", "nsLookup", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Utility_Network",
")",
"NsLookup",
"(",
"address",
"*",
"string",
",",
"typ",
"*",
"string",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"address",
",",
"typ",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // A method used to return the nameserver information for a given address | [
"A",
"method",
"used",
"to",
"return",
"the",
"nameserver",
"information",
"for",
"a",
"given",
"address"
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/utility.go#L72-L79 |
6,294 | softlayer/softlayer-go | services/utility.go | Whois | func (r Utility_Network) Whois(address *string) (resp string, err error) {
params := []interface{}{
address,
}
err = r.Session.DoRequest("SoftLayer_Utility_Network", "whois", params, &r.Options, &resp)
return
} | go | func (r Utility_Network) Whois(address *string) (resp string, err error) {
params := []interface{}{
address,
}
err = r.Session.DoRequest("SoftLayer_Utility_Network", "whois", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Utility_Network",
")",
"Whois",
"(",
"address",
"*",
"string",
")",
"(",
"resp",
"string",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"address",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Perform a WHOIS lookup from SoftLayer's application servers on the given IP address or hostname and return the raw results of that command. The returned result is similar to the result received from running the command `whois` from a UNIX command shell. A WHOIS lookup queries a host's registrar to retrieve domain registrant information including registration date, expiry date, and the administrative, technical, billing, and abuse contacts responsible for a domain. WHOIS lookups are useful for determining a physical contact responsible for a particular domain. WHOIS lookups are also useful for determining domain availability. Running a WHOIS lookup on an IP address queries ARIN for that IP block's ownership, and is helpful for determining a physical entity responsible for a certain IP address. | [
"Perform",
"a",
"WHOIS",
"lookup",
"from",
"SoftLayer",
"s",
"application",
"servers",
"on",
"the",
"given",
"IP",
"address",
"or",
"hostname",
"and",
"return",
"the",
"raw",
"results",
"of",
"that",
"command",
".",
"The",
"returned",
"result",
"is",
"similar",
"to",
"the",
"result",
"received",
"from",
"running",
"the",
"command",
"whois",
"from",
"a",
"UNIX",
"command",
"shell",
".",
"A",
"WHOIS",
"lookup",
"queries",
"a",
"host",
"s",
"registrar",
"to",
"retrieve",
"domain",
"registrant",
"information",
"including",
"registration",
"date",
"expiry",
"date",
"and",
"the",
"administrative",
"technical",
"billing",
"and",
"abuse",
"contacts",
"responsible",
"for",
"a",
"domain",
".",
"WHOIS",
"lookups",
"are",
"useful",
"for",
"determining",
"a",
"physical",
"contact",
"responsible",
"for",
"a",
"particular",
"domain",
".",
"WHOIS",
"lookups",
"are",
"also",
"useful",
"for",
"determining",
"domain",
"availability",
".",
"Running",
"a",
"WHOIS",
"lookup",
"on",
"an",
"IP",
"address",
"queries",
"ARIN",
"for",
"that",
"IP",
"block",
"s",
"ownership",
"and",
"is",
"helpful",
"for",
"determining",
"a",
"physical",
"entity",
"responsible",
"for",
"a",
"certain",
"IP",
"address",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/utility.go#L82-L88 |
6,295 | softlayer/softlayer-go | helpers/order/order.go | CheckBillingOrderStatus | func CheckBillingOrderStatus(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt, statuses []string) (bool, *datatypes.Billing_Order_Item, error) {
service := services.GetBillingOrderItemService(sess)
item, err := service.
Id(*receipt.PlacedOrder.Items[0].Id).
Mask("mask[id,billingItem[id,provisionTransaction[id,transactionStatus[name]]]]").
GetObject()
if err != nil {
return false, nil, err
}
currentStatus, ok := sl.GrabOk(item, "BillingItem.ProvisionTransaction.TransactionStatus.Name")
if ok {
for _, status := range statuses {
if currentStatus == status {
return true, &item, nil
}
}
}
return false, &item, nil
} | go | func CheckBillingOrderStatus(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt, statuses []string) (bool, *datatypes.Billing_Order_Item, error) {
service := services.GetBillingOrderItemService(sess)
item, err := service.
Id(*receipt.PlacedOrder.Items[0].Id).
Mask("mask[id,billingItem[id,provisionTransaction[id,transactionStatus[name]]]]").
GetObject()
if err != nil {
return false, nil, err
}
currentStatus, ok := sl.GrabOk(item, "BillingItem.ProvisionTransaction.TransactionStatus.Name")
if ok {
for _, status := range statuses {
if currentStatus == status {
return true, &item, nil
}
}
}
return false, &item, nil
} | [
"func",
"CheckBillingOrderStatus",
"(",
"sess",
"*",
"session",
".",
"Session",
",",
"receipt",
"*",
"datatypes",
".",
"Container_Product_Order_Receipt",
",",
"statuses",
"[",
"]",
"string",
")",
"(",
"bool",
",",
"*",
"datatypes",
".",
"Billing_Order_Item",
",",
"error",
")",
"{",
"service",
":=",
"services",
".",
"GetBillingOrderItemService",
"(",
"sess",
")",
"\n\n",
"item",
",",
"err",
":=",
"service",
".",
"Id",
"(",
"*",
"receipt",
".",
"PlacedOrder",
".",
"Items",
"[",
"0",
"]",
".",
"Id",
")",
".",
"Mask",
"(",
"\"",
"\"",
")",
".",
"GetObject",
"(",
")",
"\n\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"false",
",",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"currentStatus",
",",
"ok",
":=",
"sl",
".",
"GrabOk",
"(",
"item",
",",
"\"",
"\"",
")",
"\n\n",
"if",
"ok",
"{",
"for",
"_",
",",
"status",
":=",
"range",
"statuses",
"{",
"if",
"currentStatus",
"==",
"status",
"{",
"return",
"true",
",",
"&",
"item",
",",
"nil",
"\n",
"}",
"\n",
"}",
"\n",
"}",
"\n\n",
"return",
"false",
",",
"&",
"item",
",",
"nil",
"\n",
"}"
] | // CheckBillingOrderStatus returns true if the status of the billing order for
// the provided product order receipt is in the list of provided statuses.
// Returns false otherwise, along with the billing order item used to check the statuses,
// and any error encountered. | [
"CheckBillingOrderStatus",
"returns",
"true",
"if",
"the",
"status",
"of",
"the",
"billing",
"order",
"for",
"the",
"provided",
"product",
"order",
"receipt",
"is",
"in",
"the",
"list",
"of",
"provided",
"statuses",
".",
"Returns",
"false",
"otherwise",
"along",
"with",
"the",
"billing",
"order",
"item",
"used",
"to",
"check",
"the",
"statuses",
"and",
"any",
"error",
"encountered",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/helpers/order/order.go#L30-L53 |
6,296 | softlayer/softlayer-go | helpers/order/order.go | CheckBillingOrderComplete | func CheckBillingOrderComplete(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt) (bool, *datatypes.Billing_Order_Item, error) {
return CheckBillingOrderStatus(sess, receipt, []string{"COMPLETE"})
} | go | func CheckBillingOrderComplete(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt) (bool, *datatypes.Billing_Order_Item, error) {
return CheckBillingOrderStatus(sess, receipt, []string{"COMPLETE"})
} | [
"func",
"CheckBillingOrderComplete",
"(",
"sess",
"*",
"session",
".",
"Session",
",",
"receipt",
"*",
"datatypes",
".",
"Container_Product_Order_Receipt",
")",
"(",
"bool",
",",
"*",
"datatypes",
".",
"Billing_Order_Item",
",",
"error",
")",
"{",
"return",
"CheckBillingOrderStatus",
"(",
"sess",
",",
"receipt",
",",
"[",
"]",
"string",
"{",
"\"",
"\"",
"}",
")",
"\n",
"}"
] | // CheckBillingOrderComplete returns true if the status of the billing order for
// the provided product order receipt is "COMPLETE". Returns false otherwise,
// along with the billing order item used to check the statuses, and any error encountered. | [
"CheckBillingOrderComplete",
"returns",
"true",
"if",
"the",
"status",
"of",
"the",
"billing",
"order",
"for",
"the",
"provided",
"product",
"order",
"receipt",
"is",
"COMPLETE",
".",
"Returns",
"false",
"otherwise",
"along",
"with",
"the",
"billing",
"order",
"item",
"used",
"to",
"check",
"the",
"statuses",
"and",
"any",
"error",
"encountered",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/helpers/order/order.go#L58-L60 |
6,297 | softlayer/softlayer-go | services/auxiliary.go | GetSignature | func (r Auxiliary_Notification_Emergency) GetSignature() (resp datatypes.Auxiliary_Notification_Emergency_Signature, err error) {
err = r.Session.DoRequest("SoftLayer_Auxiliary_Notification_Emergency", "getSignature", nil, &r.Options, &resp)
return
} | go | func (r Auxiliary_Notification_Emergency) GetSignature() (resp datatypes.Auxiliary_Notification_Emergency_Signature, err error) {
err = r.Session.DoRequest("SoftLayer_Auxiliary_Notification_Emergency", "getSignature", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Auxiliary_Notification_Emergency",
")",
"GetSignature",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Auxiliary_Notification_Emergency_Signature",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The signature of the SoftLayer employee department associated with this notification. | [
"Retrieve",
"The",
"signature",
"of",
"the",
"SoftLayer",
"employee",
"department",
"associated",
"with",
"this",
"notification",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/auxiliary.go#L203-L206 |
6,298 | softlayer/softlayer-go | services/auxiliary.go | GetStatus | func (r Auxiliary_Notification_Emergency) GetStatus() (resp datatypes.Auxiliary_Notification_Emergency_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Auxiliary_Notification_Emergency", "getStatus", nil, &r.Options, &resp)
return
} | go | func (r Auxiliary_Notification_Emergency) GetStatus() (resp datatypes.Auxiliary_Notification_Emergency_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Auxiliary_Notification_Emergency", "getStatus", nil, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Auxiliary_Notification_Emergency",
")",
"GetStatus",
"(",
")",
"(",
"resp",
"datatypes",
".",
"Auxiliary_Notification_Emergency_Status",
",",
"err",
"error",
")",
"{",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve The status of this notification. | [
"Retrieve",
"The",
"status",
"of",
"this",
"notification",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/auxiliary.go#L209-L212 |
6,299 | softlayer/softlayer-go | services/auxiliary.go | GetRenderedPressReleases | func (r Auxiliary_Press_Release) GetRenderedPressReleases(resultLimit *string, year *string) (resp []datatypes.Auxiliary_Press_Release, err error) {
params := []interface{}{
resultLimit,
year,
}
err = r.Session.DoRequest("SoftLayer_Auxiliary_Press_Release", "getRenderedPressReleases", params, &r.Options, &resp)
return
} | go | func (r Auxiliary_Press_Release) GetRenderedPressReleases(resultLimit *string, year *string) (resp []datatypes.Auxiliary_Press_Release, err error) {
params := []interface{}{
resultLimit,
year,
}
err = r.Session.DoRequest("SoftLayer_Auxiliary_Press_Release", "getRenderedPressReleases", params, &r.Options, &resp)
return
} | [
"func",
"(",
"r",
"Auxiliary_Press_Release",
")",
"GetRenderedPressReleases",
"(",
"resultLimit",
"*",
"string",
",",
"year",
"*",
"string",
")",
"(",
"resp",
"[",
"]",
"datatypes",
".",
"Auxiliary_Press_Release",
",",
"err",
"error",
")",
"{",
"params",
":=",
"[",
"]",
"interface",
"{",
"}",
"{",
"resultLimit",
",",
"year",
",",
"}",
"\n",
"err",
"=",
"r",
".",
"Session",
".",
"DoRequest",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"params",
",",
"&",
"r",
".",
"Options",
",",
"&",
"resp",
")",
"\n",
"return",
"\n",
"}"
] | // Retrieve an array of SoftLayer_Auxiliary_Press_Release data types, which contain all press releases for a given year and or result limit. | [
"Retrieve",
"an",
"array",
"of",
"SoftLayer_Auxiliary_Press_Release",
"data",
"types",
"which",
"contain",
"all",
"press",
"releases",
"for",
"a",
"given",
"year",
"and",
"or",
"result",
"limit",
"."
] | aa510384a41b6450fa6a50e943ed32f5e838fada | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/auxiliary.go#L297-L304 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.