Documentation ¶
Index ¶
- type Client
- func (a *Client) GetTypeByIDUsingGET2(params *GetTypeByIDUsingGET2Params, opts ...ClientOption) (*GetTypeByIDUsingGET2OK, error)
- func (a *Client) GetTypesUsingGET4(params *GetTypesUsingGET4Params, opts ...ClientOption) (*GetTypesUsingGET4OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTypeByIDUsingGET2NotFound
- func (o *GetTypeByIDUsingGET2NotFound) Error() string
- func (o *GetTypeByIDUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetTypeByIDUsingGET2NotFound) IsClientError() bool
- func (o *GetTypeByIDUsingGET2NotFound) IsCode(code int) bool
- func (o *GetTypeByIDUsingGET2NotFound) IsRedirect() bool
- func (o *GetTypeByIDUsingGET2NotFound) IsServerError() bool
- func (o *GetTypeByIDUsingGET2NotFound) IsSuccess() bool
- func (o *GetTypeByIDUsingGET2NotFound) String() string
- type GetTypeByIDUsingGET2OK
- func (o *GetTypeByIDUsingGET2OK) Error() string
- func (o *GetTypeByIDUsingGET2OK) GetPayload() *models.CatalogItemType
- func (o *GetTypeByIDUsingGET2OK) IsClientError() bool
- func (o *GetTypeByIDUsingGET2OK) IsCode(code int) bool
- func (o *GetTypeByIDUsingGET2OK) IsRedirect() bool
- func (o *GetTypeByIDUsingGET2OK) IsServerError() bool
- func (o *GetTypeByIDUsingGET2OK) IsSuccess() bool
- func (o *GetTypeByIDUsingGET2OK) String() string
- type GetTypeByIDUsingGET2Params
- func NewGetTypeByIDUsingGET2Params() *GetTypeByIDUsingGET2Params
- func NewGetTypeByIDUsingGET2ParamsWithContext(ctx context.Context) *GetTypeByIDUsingGET2Params
- func NewGetTypeByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetTypeByIDUsingGET2Params
- func NewGetTypeByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetTypeByIDUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetTypeByIDUsingGET2Params) SetDefaults()
- func (o *GetTypeByIDUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetTypeByIDUsingGET2Params) SetID(id string)
- func (o *GetTypeByIDUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetTypeByIDUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) WithContext(ctx context.Context) *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) WithDefaults() *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) WithHTTPClient(client *http.Client) *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) WithID(id string) *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) WithTimeout(timeout time.Duration) *GetTypeByIDUsingGET2Params
- func (o *GetTypeByIDUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTypeByIDUsingGET2Reader
- type GetTypeByIDUsingGET2Unauthorized
- func (o *GetTypeByIDUsingGET2Unauthorized) Error() string
- func (o *GetTypeByIDUsingGET2Unauthorized) IsClientError() bool
- func (o *GetTypeByIDUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetTypeByIDUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetTypeByIDUsingGET2Unauthorized) IsServerError() bool
- func (o *GetTypeByIDUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetTypeByIDUsingGET2Unauthorized) String() string
- type GetTypesUsingGET4OK
- func (o *GetTypesUsingGET4OK) Error() string
- func (o *GetTypesUsingGET4OK) GetPayload() *models.PageOfCatalogItemType
- func (o *GetTypesUsingGET4OK) IsClientError() bool
- func (o *GetTypesUsingGET4OK) IsCode(code int) bool
- func (o *GetTypesUsingGET4OK) IsRedirect() bool
- func (o *GetTypesUsingGET4OK) IsServerError() bool
- func (o *GetTypesUsingGET4OK) IsSuccess() bool
- func (o *GetTypesUsingGET4OK) String() string
- type GetTypesUsingGET4Params
- func NewGetTypesUsingGET4Params() *GetTypesUsingGET4Params
- func NewGetTypesUsingGET4ParamsWithContext(ctx context.Context) *GetTypesUsingGET4Params
- func NewGetTypesUsingGET4ParamsWithHTTPClient(client *http.Client) *GetTypesUsingGET4Params
- func NewGetTypesUsingGET4ParamsWithTimeout(timeout time.Duration) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) SetAPIVersion(aPIVersion *string)
- func (o *GetTypesUsingGET4Params) SetContext(ctx context.Context)
- func (o *GetTypesUsingGET4Params) SetDefaults()
- func (o *GetTypesUsingGET4Params) SetDollarOrderby(dollarOrderby []string)
- func (o *GetTypesUsingGET4Params) SetDollarSkip(dollarSkip *int32)
- func (o *GetTypesUsingGET4Params) SetDollarTop(dollarTop *int32)
- func (o *GetTypesUsingGET4Params) SetHTTPClient(client *http.Client)
- func (o *GetTypesUsingGET4Params) SetTimeout(timeout time.Duration)
- func (o *GetTypesUsingGET4Params) WithAPIVersion(aPIVersion *string) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithContext(ctx context.Context) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithDefaults() *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithDollarOrderby(dollarOrderby []string) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithDollarSkip(dollarSkip *int32) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithDollarTop(dollarTop *int32) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithHTTPClient(client *http.Client) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WithTimeout(timeout time.Duration) *GetTypesUsingGET4Params
- func (o *GetTypesUsingGET4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTypesUsingGET4Reader
- type GetTypesUsingGET4Unauthorized
- func (o *GetTypesUsingGET4Unauthorized) Error() string
- func (o *GetTypesUsingGET4Unauthorized) IsClientError() bool
- func (o *GetTypesUsingGET4Unauthorized) IsCode(code int) bool
- func (o *GetTypesUsingGET4Unauthorized) IsRedirect() bool
- func (o *GetTypesUsingGET4Unauthorized) IsServerError() bool
- func (o *GetTypesUsingGET4Unauthorized) IsSuccess() bool
- func (o *GetTypesUsingGET4Unauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for catalog item types API
func (*Client) GetTypeByIDUsingGET2 ¶ added in v0.4.0
func (a *Client) GetTypeByIDUsingGET2(params *GetTypeByIDUsingGET2Params, opts ...ClientOption) (*GetTypeByIDUsingGET2OK, error)
GetTypeByIDUsingGET2 fetches catalog item type associated with the specified ID
Returns the Catalog Item Type with the specified ID.
func (*Client) GetTypesUsingGET4 ¶ added in v0.4.0
func (a *Client) GetTypesUsingGET4(params *GetTypesUsingGET4Params, opts ...ClientOption) (*GetTypesUsingGET4OK, error)
GetTypesUsingGET4 finds all catalog item types
Returns a paginated list of all available Catalog Item Types.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { GetTypeByIDUsingGET2(params *GetTypeByIDUsingGET2Params, opts ...ClientOption) (*GetTypeByIDUsingGET2OK, error) GetTypesUsingGET4(params *GetTypesUsingGET4Params, opts ...ClientOption) (*GetTypesUsingGET4OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new catalog item types API client.
type GetTypeByIDUsingGET2NotFound ¶ added in v0.4.0
GetTypeByIDUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetTypeByIDUsingGET2NotFound ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2NotFound() *GetTypeByIDUsingGET2NotFound
NewGetTypeByIDUsingGET2NotFound creates a GetTypeByIDUsingGET2NotFound with default headers values
func (*GetTypeByIDUsingGET2NotFound) Error ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2NotFound) Error() string
func (*GetTypeByIDUsingGET2NotFound) GetPayload ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2NotFound) GetPayload() *models.Error
func (*GetTypeByIDUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get type by Id using g e t2 not found response has a 4xx status code
func (*GetTypeByIDUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get type by Id using g e t2 not found response a status code equal to that given
func (*GetTypeByIDUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get type by Id using g e t2 not found response has a 3xx status code
func (*GetTypeByIDUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get type by Id using g e t2 not found response has a 5xx status code
func (*GetTypeByIDUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get type by Id using g e t2 not found response has a 2xx status code
func (*GetTypeByIDUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2NotFound) String() string
type GetTypeByIDUsingGET2OK ¶ added in v0.4.0
type GetTypeByIDUsingGET2OK struct {
Payload *models.CatalogItemType
}
GetTypeByIDUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetTypeByIDUsingGET2OK ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2OK() *GetTypeByIDUsingGET2OK
NewGetTypeByIDUsingGET2OK creates a GetTypeByIDUsingGET2OK with default headers values
func (*GetTypeByIDUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2OK) Error() string
func (*GetTypeByIDUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2OK) GetPayload() *models.CatalogItemType
func (*GetTypeByIDUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2OK) IsClientError() bool
IsClientError returns true when this get type by Id using g e t2 o k response has a 4xx status code
func (*GetTypeByIDUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get type by Id using g e t2 o k response a status code equal to that given
func (*GetTypeByIDUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get type by Id using g e t2 o k response has a 3xx status code
func (*GetTypeByIDUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2OK) IsServerError() bool
IsServerError returns true when this get type by Id using g e t2 o k response has a 5xx status code
func (*GetTypeByIDUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get type by Id using g e t2 o k response has a 2xx status code
func (*GetTypeByIDUsingGET2OK) String ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2OK) String() string
type GetTypeByIDUsingGET2Params ¶ added in v0.4.0
type GetTypeByIDUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. Catalog Type ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTypeByIDUsingGET2Params contains all the parameters to send to the API endpoint
for the get type by Id using g e t 2 operation. Typically these are written to a http.Request.
func NewGetTypeByIDUsingGET2Params ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2Params() *GetTypeByIDUsingGET2Params
NewGetTypeByIDUsingGET2Params creates a new GetTypeByIDUsingGET2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTypeByIDUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2ParamsWithContext(ctx context.Context) *GetTypeByIDUsingGET2Params
NewGetTypeByIDUsingGET2ParamsWithContext creates a new GetTypeByIDUsingGET2Params object with the ability to set a context for a request.
func NewGetTypeByIDUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetTypeByIDUsingGET2Params
NewGetTypeByIDUsingGET2ParamsWithHTTPClient creates a new GetTypeByIDUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetTypeByIDUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetTypeByIDUsingGET2Params
NewGetTypeByIDUsingGET2ParamsWithTimeout creates a new GetTypeByIDUsingGET2Params object with the ability to set a timeout on a request.
func (*GetTypeByIDUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get type by Id using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetTypeByIDUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) SetID ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) SetID(id string)
SetID adds the id to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetTypeByIDUsingGET2Params
WithAPIVersion adds the aPIVersion to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WithContext(ctx context.Context) *GetTypeByIDUsingGET2Params
WithContext adds the context to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WithDefaults() *GetTypeByIDUsingGET2Params
WithDefaults hydrates default values in the get type by Id using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetTypeByIDUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WithHTTPClient(client *http.Client) *GetTypeByIDUsingGET2Params
WithHTTPClient adds the HTTPClient to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) WithID ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WithID(id string) *GetTypeByIDUsingGET2Params
WithID adds the id to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WithTimeout(timeout time.Duration) *GetTypeByIDUsingGET2Params
WithTimeout adds the timeout to the get type by Id using g e t 2 params
func (*GetTypeByIDUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTypeByIDUsingGET2Reader ¶ added in v0.4.0
type GetTypeByIDUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetTypeByIDUsingGET2Reader is a Reader for the GetTypeByIDUsingGET2 structure.
func (*GetTypeByIDUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTypeByIDUsingGET2Unauthorized ¶ added in v0.4.0
type GetTypeByIDUsingGET2Unauthorized struct { }
GetTypeByIDUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTypeByIDUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetTypeByIDUsingGET2Unauthorized() *GetTypeByIDUsingGET2Unauthorized
NewGetTypeByIDUsingGET2Unauthorized creates a GetTypeByIDUsingGET2Unauthorized with default headers values
func (*GetTypeByIDUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetTypeByIDUsingGET2Unauthorized) Error() string
func (*GetTypeByIDUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get type by Id using g e t2 unauthorized response has a 4xx status code
func (*GetTypeByIDUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get type by Id using g e t2 unauthorized response a status code equal to that given
func (*GetTypeByIDUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get type by Id using g e t2 unauthorized response has a 3xx status code
func (*GetTypeByIDUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get type by Id using g e t2 unauthorized response has a 5xx status code
func (*GetTypeByIDUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get type by Id using g e t2 unauthorized response has a 2xx status code
func (*GetTypeByIDUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetTypeByIDUsingGET2Unauthorized) String() string
type GetTypesUsingGET4OK ¶ added in v0.4.0
type GetTypesUsingGET4OK struct {
Payload *models.PageOfCatalogItemType
}
GetTypesUsingGET4OK describes a response with status code 200, with default header values.
OK
func NewGetTypesUsingGET4OK ¶ added in v0.4.0
func NewGetTypesUsingGET4OK() *GetTypesUsingGET4OK
NewGetTypesUsingGET4OK creates a GetTypesUsingGET4OK with default headers values
func (*GetTypesUsingGET4OK) Error ¶ added in v0.4.0
func (o *GetTypesUsingGET4OK) Error() string
func (*GetTypesUsingGET4OK) GetPayload ¶ added in v0.4.0
func (o *GetTypesUsingGET4OK) GetPayload() *models.PageOfCatalogItemType
func (*GetTypesUsingGET4OK) IsClientError ¶ added in v0.5.0
func (o *GetTypesUsingGET4OK) IsClientError() bool
IsClientError returns true when this get types using g e t4 o k response has a 4xx status code
func (*GetTypesUsingGET4OK) IsCode ¶ added in v0.5.0
func (o *GetTypesUsingGET4OK) IsCode(code int) bool
IsCode returns true when this get types using g e t4 o k response a status code equal to that given
func (*GetTypesUsingGET4OK) IsRedirect ¶ added in v0.5.0
func (o *GetTypesUsingGET4OK) IsRedirect() bool
IsRedirect returns true when this get types using g e t4 o k response has a 3xx status code
func (*GetTypesUsingGET4OK) IsServerError ¶ added in v0.5.0
func (o *GetTypesUsingGET4OK) IsServerError() bool
IsServerError returns true when this get types using g e t4 o k response has a 5xx status code
func (*GetTypesUsingGET4OK) IsSuccess ¶ added in v0.5.0
func (o *GetTypesUsingGET4OK) IsSuccess() bool
IsSuccess returns true when this get types using g e t4 o k response has a 2xx status code
func (*GetTypesUsingGET4OK) String ¶ added in v0.5.0
func (o *GetTypesUsingGET4OK) String() string
type GetTypesUsingGET4Params ¶ added in v0.4.0
type GetTypesUsingGET4Params struct { /* DollarOrderby. Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /* DollarSkip. Number of records you want to skip Format: int32 */ DollarSkip *int32 /* DollarTop. Number of records you want Format: int32 */ DollarTop *int32 /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTypesUsingGET4Params contains all the parameters to send to the API endpoint
for the get types using g e t 4 operation. Typically these are written to a http.Request.
func NewGetTypesUsingGET4Params ¶ added in v0.4.0
func NewGetTypesUsingGET4Params() *GetTypesUsingGET4Params
NewGetTypesUsingGET4Params creates a new GetTypesUsingGET4Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTypesUsingGET4ParamsWithContext ¶ added in v0.4.0
func NewGetTypesUsingGET4ParamsWithContext(ctx context.Context) *GetTypesUsingGET4Params
NewGetTypesUsingGET4ParamsWithContext creates a new GetTypesUsingGET4Params object with the ability to set a context for a request.
func NewGetTypesUsingGET4ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetTypesUsingGET4ParamsWithHTTPClient(client *http.Client) *GetTypesUsingGET4Params
NewGetTypesUsingGET4ParamsWithHTTPClient creates a new GetTypesUsingGET4Params object with the ability to set a custom HTTPClient for a request.
func NewGetTypesUsingGET4ParamsWithTimeout ¶ added in v0.4.0
func NewGetTypesUsingGET4ParamsWithTimeout(timeout time.Duration) *GetTypesUsingGET4Params
NewGetTypesUsingGET4ParamsWithTimeout creates a new GetTypesUsingGET4Params object with the ability to set a timeout on a request.
func (*GetTypesUsingGET4Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) SetContext ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetContext(ctx context.Context)
SetContext adds the context to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) SetDefaults ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetDefaults()
SetDefaults hydrates default values in the get types using g e t 4 params (not the query body).
All values with no default are reset to their zero value.
func (*GetTypesUsingGET4Params) SetDollarOrderby ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) SetDollarSkip ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) SetDollarTop ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) SetTimeout ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithAPIVersion(aPIVersion *string) *GetTypesUsingGET4Params
WithAPIVersion adds the aPIVersion to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithContext ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithContext(ctx context.Context) *GetTypesUsingGET4Params
WithContext adds the context to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithDefaults ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithDefaults() *GetTypesUsingGET4Params
WithDefaults hydrates default values in the get types using g e t 4 params (not the query body).
All values with no default are reset to their zero value.
func (*GetTypesUsingGET4Params) WithDollarOrderby ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithDollarOrderby(dollarOrderby []string) *GetTypesUsingGET4Params
WithDollarOrderby adds the dollarOrderby to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithDollarSkip ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithDollarSkip(dollarSkip *int32) *GetTypesUsingGET4Params
WithDollarSkip adds the dollarSkip to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithDollarTop ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithDollarTop(dollarTop *int32) *GetTypesUsingGET4Params
WithDollarTop adds the dollarTop to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithHTTPClient(client *http.Client) *GetTypesUsingGET4Params
WithHTTPClient adds the HTTPClient to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WithTimeout ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WithTimeout(timeout time.Duration) *GetTypesUsingGET4Params
WithTimeout adds the timeout to the get types using g e t 4 params
func (*GetTypesUsingGET4Params) WriteToRequest ¶ added in v0.4.0
func (o *GetTypesUsingGET4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTypesUsingGET4Reader ¶ added in v0.4.0
type GetTypesUsingGET4Reader struct {
// contains filtered or unexported fields
}
GetTypesUsingGET4Reader is a Reader for the GetTypesUsingGET4 structure.
func (*GetTypesUsingGET4Reader) ReadResponse ¶ added in v0.4.0
func (o *GetTypesUsingGET4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTypesUsingGET4Unauthorized ¶ added in v0.4.0
type GetTypesUsingGET4Unauthorized struct { }
GetTypesUsingGET4Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTypesUsingGET4Unauthorized ¶ added in v0.4.0
func NewGetTypesUsingGET4Unauthorized() *GetTypesUsingGET4Unauthorized
NewGetTypesUsingGET4Unauthorized creates a GetTypesUsingGET4Unauthorized with default headers values
func (*GetTypesUsingGET4Unauthorized) Error ¶ added in v0.4.0
func (o *GetTypesUsingGET4Unauthorized) Error() string
func (*GetTypesUsingGET4Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetTypesUsingGET4Unauthorized) IsClientError() bool
IsClientError returns true when this get types using g e t4 unauthorized response has a 4xx status code
func (*GetTypesUsingGET4Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetTypesUsingGET4Unauthorized) IsCode(code int) bool
IsCode returns true when this get types using g e t4 unauthorized response a status code equal to that given
func (*GetTypesUsingGET4Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetTypesUsingGET4Unauthorized) IsRedirect() bool
IsRedirect returns true when this get types using g e t4 unauthorized response has a 3xx status code
func (*GetTypesUsingGET4Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetTypesUsingGET4Unauthorized) IsServerError() bool
IsServerError returns true when this get types using g e t4 unauthorized response has a 5xx status code
func (*GetTypesUsingGET4Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetTypesUsingGET4Unauthorized) IsSuccess() bool
IsSuccess returns true when this get types using g e t4 unauthorized response has a 2xx status code
func (*GetTypesUsingGET4Unauthorized) String ¶ added in v0.5.0
func (o *GetTypesUsingGET4Unauthorized) String() string