Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteChildAccount ¶
func DeleteChildAccount(c messagebird.Client, id string) error
Types ¶
type Account ¶
type Account struct { ID int Name string AccessKeys []*AccessKey SigningKey string InvoiceAggregation bool }
func CreateChildAccount ¶
func CreateChildAccount(c messagebird.Client, name string) (*Account, error)
func ReadChildAccount ¶
func ReadChildAccount(c messagebird.Client, id string) (*Account, error)
func UpdateChildAccount ¶
func UpdateChildAccount(c messagebird.Client, id, name string) (*Account, error)
type Accounts ¶
type Accounts []Account
func ListChildAccount ¶
func ListChildAccount(c messagebird.Client) (*Accounts, error)
ListChildAccount fetch all the Child Accounts
type ErrorResponse ¶
type ErrorResponse struct {
Type, Title, Detail string
}
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
Click to show internal directories.
Click to hide internal directories.