Documentation
¶
Index ¶
- type Client
- type RootRequest
- func (r *RootRequest) Do(ctx context.Context) (*RootResponse, error)
- func (r *RootRequest) GetParameters() (map[string]interface{}, error)
- func (r *RootRequest) GetParametersJSON() ([]byte, error)
- func (r *RootRequest) GetParametersQuery() (url.Values, error)
- func (r *RootRequest) GetQueryParameters() (url.Values, error)
- func (r *RootRequest) GetSlugParameters() (map[string]interface{}, error)
- func (r *RootRequest) GetSlugsMap() (map[string]string, error)
- type RootResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
requestgen.BaseAPIClient
}
func (*Client) NewAuthenticatedRequest ¶
func (*Client) NewRootRequest ¶
func (c *Client) NewRootRequest() *RootRequest
type RootRequest ¶
type RootRequest struct {
// contains filtered or unexported fields
}
func (*RootRequest) Do ¶
func (r *RootRequest) Do(ctx context.Context) (*RootResponse, error)
func (*RootRequest) GetParameters ¶
func (r *RootRequest) GetParameters() (map[string]interface{}, error)
GetParameters builds and checks the parameters and return the result in a map object
func (*RootRequest) GetParametersJSON ¶
func (r *RootRequest) GetParametersJSON() ([]byte, error)
GetParametersJSON converts the parameters from GetParameters into the JSON format
func (*RootRequest) GetParametersQuery ¶
func (r *RootRequest) GetParametersQuery() (url.Values, error)
GetParametersQuery converts the parameters from GetParameters into the url.Values format
func (*RootRequest) GetQueryParameters ¶
func (r *RootRequest) GetQueryParameters() (url.Values, error)
GetQueryParameters builds and checks the query parameters and returns url.Values
func (*RootRequest) GetSlugParameters ¶
func (r *RootRequest) GetSlugParameters() (map[string]interface{}, error)
GetSlugParameters builds and checks the slug parameters and return the result in a map object
func (*RootRequest) GetSlugsMap ¶
func (r *RootRequest) GetSlugsMap() (map[string]string, error)
type RootResponse ¶
type RootResponse string
func (*RootResponse) UnmarshalJSON ¶
func (r *RootResponse) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.