account

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountPlan

type AccountPlan struct {
	MaxUserCount uint32 `json:"maxUserCount"`
	Name         string `json:"name"`
	IsYearly     bool   `json:"isYearly"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config *client.Config) (*Client, error)

func (*Client) Get

func (c *Client) Get(ctx context.Context, req *GetRequest) (*GetResult, error)

type GetRequest

type GetRequest struct {
	client.BaseRequest
}

func (*GetRequest) Method

func (r *GetRequest) Method() string

func (*GetRequest) ResourcePath

func (r *GetRequest) ResourcePath() string

func (*GetRequest) Validate

func (r *GetRequest) Validate() error

type GetResult

type GetResult struct {
	client.ResultMetadata
	Name      string      `json:"name"`
	UserCount uint32      `json:"userCount"`
	Plan      AccountPlan `json:"plan"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL