Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Update ¶
func Update(c *gophercloud.ServiceClient, bandwidthID string, opts UpdateOpts) (interface{}, error)
func UpdateURL ¶
func UpdateURL(c *gophercloud.ServiceClient, ID string) string
Types ¶
type ExtendParam ¶
type ExtendParam struct {
IsAutoPay string `json:"is_auto_pay,omitempty"`
}
type PublicipInfo ¶
type UpdateOpts ¶
type UpdateOpts struct { Bandwidth Bandwidth `json:"bandwidth" required:"true"` ExtendParam *ExtendParam `json:"extendParam,omitempty"` }
func (UpdateOpts) ToBandWidthUpdateMap ¶
func (opts UpdateOpts) ToBandWidthUpdateMap() (map[string]interface{}, error)
type UpdateResult ¶
type UpdateResult struct {
gophercloud.Result
}
func (UpdateResult) Extract ¶
func (r UpdateResult) Extract() (PostPaid, error)
func (UpdateResult) ExtractOrderID ¶
func (r UpdateResult) ExtractOrderID() (PrePaid, error)
Click to show internal directories.
Click to hide internal directories.