Documentation ¶
Overview ¶
Code generated by "gen"; DO NOT EDIT. This file is meant to be re-generated in place and/or deleted at any time.
Package phonenumber provides the Phone Numbers API.
Index ¶
- func Create(ctx context.Context, params *CreateParams) (*clerk.PhoneNumber, error)
- func Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func Get(ctx context.Context, id string) (*clerk.PhoneNumber, error)
- func Update(ctx context.Context, id string, params *UpdateParams) (*clerk.PhoneNumber, error)
- type Client
- func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.PhoneNumber, error)
- func (c *Client) Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func (c *Client) Get(ctx context.Context, id string) (*clerk.PhoneNumber, error)
- func (c *Client) Update(ctx context.Context, id string, params *UpdateParams) (*clerk.PhoneNumber, error)
- type CreateParams
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, params *CreateParams) (*clerk.PhoneNumber, error)
Create creates a new phone number.
Types ¶
type Client ¶
type Client struct {
Backend clerk.Backend
}
Client is used to invoke the Phone Numbers API.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.PhoneNumber, error)
Create creates a new phone number.
type CreateParams ¶
type UpdateParams ¶
Click to show internal directories.
Click to hide internal directories.