Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "vcp",
Short: "Manage Voice Configuration Packages (Universal Platform)",
}
Cmd is the `band vcp` parent command.
Functions ¶
func BuildAssignBody ¶
BuildAssignBody builds the bulk assign request body.
func BuildVCPCreateBody ¶
func BuildVCPCreateBody(opts VCPCreateOpts) map[string]interface{}
BuildVCPCreateBody builds the JSON request body for creating a VCP.
func BuildVCPUpdateBody ¶
func BuildVCPUpdateBody(opts VCPUpdateOpts) (map[string]interface{}, error)
BuildVCPUpdateBody builds the PATCH body from update options. Returns an error if no fields are set.
Types ¶
type VCPCreateOpts ¶
VCPCreateOpts holds the parameters for creating a VCP.
type VCPUpdateOpts ¶
VCPUpdateOpts holds optional update fields. A nil pointer means "don't change".
Click to show internal directories.
Click to hide internal directories.