Documentation ¶
Index ¶
- type CatalogItemServiceGetCatalogItem2Default
- func (o *CatalogItemServiceGetCatalogItem2Default) Code() int
- func (o *CatalogItemServiceGetCatalogItem2Default) Error() string
- func (o *CatalogItemServiceGetCatalogItem2Default) GetPayload() *models.GooglerpcStatus
- func (o *CatalogItemServiceGetCatalogItem2Default) IsClientError() bool
- func (o *CatalogItemServiceGetCatalogItem2Default) IsCode(code int) bool
- func (o *CatalogItemServiceGetCatalogItem2Default) IsRedirect() bool
- func (o *CatalogItemServiceGetCatalogItem2Default) IsServerError() bool
- func (o *CatalogItemServiceGetCatalogItem2Default) IsSuccess() bool
- func (o *CatalogItemServiceGetCatalogItem2Default) String() string
- type CatalogItemServiceGetCatalogItem2OK
- func (o *CatalogItemServiceGetCatalogItem2OK) Code() int
- func (o *CatalogItemServiceGetCatalogItem2OK) Error() string
- func (o *CatalogItemServiceGetCatalogItem2OK) GetPayload() *models.V1GetCatalogItemResponse
- func (o *CatalogItemServiceGetCatalogItem2OK) IsClientError() bool
- func (o *CatalogItemServiceGetCatalogItem2OK) IsCode(code int) bool
- func (o *CatalogItemServiceGetCatalogItem2OK) IsRedirect() bool
- func (o *CatalogItemServiceGetCatalogItem2OK) IsServerError() bool
- func (o *CatalogItemServiceGetCatalogItem2OK) IsSuccess() bool
- func (o *CatalogItemServiceGetCatalogItem2OK) String() string
- type CatalogItemServiceGetCatalogItem2Params
- func NewCatalogItemServiceGetCatalogItem2Params() *CatalogItemServiceGetCatalogItem2Params
- func NewCatalogItemServiceGetCatalogItem2ParamsWithContext(ctx context.Context) *CatalogItemServiceGetCatalogItem2Params
- func NewCatalogItemServiceGetCatalogItem2ParamsWithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItem2Params
- func NewCatalogItemServiceGetCatalogItem2ParamsWithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItem2Params
- func (o *CatalogItemServiceGetCatalogItem2Params) SetContext(ctx context.Context)
- func (o *CatalogItemServiceGetCatalogItem2Params) SetDefaults()
- func (o *CatalogItemServiceGetCatalogItem2Params) SetHTTPClient(client *http.Client)
- func (o *CatalogItemServiceGetCatalogItem2Params) SetID(id string)
- func (o *CatalogItemServiceGetCatalogItem2Params) SetTimeout(timeout time.Duration)
- func (o *CatalogItemServiceGetCatalogItem2Params) WithContext(ctx context.Context) *CatalogItemServiceGetCatalogItem2Params
- func (o *CatalogItemServiceGetCatalogItem2Params) WithDefaults() *CatalogItemServiceGetCatalogItem2Params
- func (o *CatalogItemServiceGetCatalogItem2Params) WithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItem2Params
- func (o *CatalogItemServiceGetCatalogItem2Params) WithID(id string) *CatalogItemServiceGetCatalogItem2Params
- func (o *CatalogItemServiceGetCatalogItem2Params) WithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItem2Params
- func (o *CatalogItemServiceGetCatalogItem2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogItemServiceGetCatalogItem2Reader
- type CatalogItemServiceGetCatalogItemDefault
- func (o *CatalogItemServiceGetCatalogItemDefault) Code() int
- func (o *CatalogItemServiceGetCatalogItemDefault) Error() string
- func (o *CatalogItemServiceGetCatalogItemDefault) GetPayload() *models.GooglerpcStatus
- func (o *CatalogItemServiceGetCatalogItemDefault) IsClientError() bool
- func (o *CatalogItemServiceGetCatalogItemDefault) IsCode(code int) bool
- func (o *CatalogItemServiceGetCatalogItemDefault) IsRedirect() bool
- func (o *CatalogItemServiceGetCatalogItemDefault) IsServerError() bool
- func (o *CatalogItemServiceGetCatalogItemDefault) IsSuccess() bool
- func (o *CatalogItemServiceGetCatalogItemDefault) String() string
- type CatalogItemServiceGetCatalogItemOK
- func (o *CatalogItemServiceGetCatalogItemOK) Code() int
- func (o *CatalogItemServiceGetCatalogItemOK) Error() string
- func (o *CatalogItemServiceGetCatalogItemOK) GetPayload() *models.V1GetCatalogItemResponse
- func (o *CatalogItemServiceGetCatalogItemOK) IsClientError() bool
- func (o *CatalogItemServiceGetCatalogItemOK) IsCode(code int) bool
- func (o *CatalogItemServiceGetCatalogItemOK) IsRedirect() bool
- func (o *CatalogItemServiceGetCatalogItemOK) IsServerError() bool
- func (o *CatalogItemServiceGetCatalogItemOK) IsSuccess() bool
- func (o *CatalogItemServiceGetCatalogItemOK) String() string
- type CatalogItemServiceGetCatalogItemParams
- func NewCatalogItemServiceGetCatalogItemParams() *CatalogItemServiceGetCatalogItemParams
- func NewCatalogItemServiceGetCatalogItemParamsWithContext(ctx context.Context) *CatalogItemServiceGetCatalogItemParams
- func NewCatalogItemServiceGetCatalogItemParamsWithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItemParams
- func NewCatalogItemServiceGetCatalogItemParamsWithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItemParams
- func (o *CatalogItemServiceGetCatalogItemParams) SetBody(body *models.V1GetCatalogItemRequest)
- func (o *CatalogItemServiceGetCatalogItemParams) SetContext(ctx context.Context)
- func (o *CatalogItemServiceGetCatalogItemParams) SetDefaults()
- func (o *CatalogItemServiceGetCatalogItemParams) SetHTTPClient(client *http.Client)
- func (o *CatalogItemServiceGetCatalogItemParams) SetTimeout(timeout time.Duration)
- func (o *CatalogItemServiceGetCatalogItemParams) WithBody(body *models.V1GetCatalogItemRequest) *CatalogItemServiceGetCatalogItemParams
- func (o *CatalogItemServiceGetCatalogItemParams) WithContext(ctx context.Context) *CatalogItemServiceGetCatalogItemParams
- func (o *CatalogItemServiceGetCatalogItemParams) WithDefaults() *CatalogItemServiceGetCatalogItemParams
- func (o *CatalogItemServiceGetCatalogItemParams) WithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItemParams
- func (o *CatalogItemServiceGetCatalogItemParams) WithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItemParams
- func (o *CatalogItemServiceGetCatalogItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogItemServiceGetCatalogItemReader
- type CatalogItemServiceListCatalogItems2Default
- func (o *CatalogItemServiceListCatalogItems2Default) Code() int
- func (o *CatalogItemServiceListCatalogItems2Default) Error() string
- func (o *CatalogItemServiceListCatalogItems2Default) GetPayload() *models.GooglerpcStatus
- func (o *CatalogItemServiceListCatalogItems2Default) IsClientError() bool
- func (o *CatalogItemServiceListCatalogItems2Default) IsCode(code int) bool
- func (o *CatalogItemServiceListCatalogItems2Default) IsRedirect() bool
- func (o *CatalogItemServiceListCatalogItems2Default) IsServerError() bool
- func (o *CatalogItemServiceListCatalogItems2Default) IsSuccess() bool
- func (o *CatalogItemServiceListCatalogItems2Default) String() string
- type CatalogItemServiceListCatalogItems2OK
- func (o *CatalogItemServiceListCatalogItems2OK) Code() int
- func (o *CatalogItemServiceListCatalogItems2OK) Error() string
- func (o *CatalogItemServiceListCatalogItems2OK) GetPayload() *models.V1ListCatalogItemsResponse
- func (o *CatalogItemServiceListCatalogItems2OK) IsClientError() bool
- func (o *CatalogItemServiceListCatalogItems2OK) IsCode(code int) bool
- func (o *CatalogItemServiceListCatalogItems2OK) IsRedirect() bool
- func (o *CatalogItemServiceListCatalogItems2OK) IsServerError() bool
- func (o *CatalogItemServiceListCatalogItems2OK) IsSuccess() bool
- func (o *CatalogItemServiceListCatalogItems2OK) String() string
- type CatalogItemServiceListCatalogItems2Params
- func NewCatalogItemServiceListCatalogItems2Params() *CatalogItemServiceListCatalogItems2Params
- func NewCatalogItemServiceListCatalogItems2ParamsWithContext(ctx context.Context) *CatalogItemServiceListCatalogItems2Params
- func NewCatalogItemServiceListCatalogItems2ParamsWithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItems2Params
- func NewCatalogItemServiceListCatalogItems2ParamsWithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) SetContext(ctx context.Context)
- func (o *CatalogItemServiceListCatalogItems2Params) SetDefaults()
- func (o *CatalogItemServiceListCatalogItems2Params) SetHTTPClient(client *http.Client)
- func (o *CatalogItemServiceListCatalogItems2Params) SetPageSize(pageSize int32)
- func (o *CatalogItemServiceListCatalogItems2Params) SetPageToken(pageToken *string)
- func (o *CatalogItemServiceListCatalogItems2Params) SetTimeout(timeout time.Duration)
- func (o *CatalogItemServiceListCatalogItems2Params) WithContext(ctx context.Context) *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) WithDefaults() *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) WithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) WithPageSize(pageSize int32) *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) WithPageToken(pageToken *string) *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) WithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItems2Params
- func (o *CatalogItemServiceListCatalogItems2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogItemServiceListCatalogItems2Reader
- type CatalogItemServiceListCatalogItemsDefault
- func (o *CatalogItemServiceListCatalogItemsDefault) Code() int
- func (o *CatalogItemServiceListCatalogItemsDefault) Error() string
- func (o *CatalogItemServiceListCatalogItemsDefault) GetPayload() *models.GooglerpcStatus
- func (o *CatalogItemServiceListCatalogItemsDefault) IsClientError() bool
- func (o *CatalogItemServiceListCatalogItemsDefault) IsCode(code int) bool
- func (o *CatalogItemServiceListCatalogItemsDefault) IsRedirect() bool
- func (o *CatalogItemServiceListCatalogItemsDefault) IsServerError() bool
- func (o *CatalogItemServiceListCatalogItemsDefault) IsSuccess() bool
- func (o *CatalogItemServiceListCatalogItemsDefault) String() string
- type CatalogItemServiceListCatalogItemsOK
- func (o *CatalogItemServiceListCatalogItemsOK) Code() int
- func (o *CatalogItemServiceListCatalogItemsOK) Error() string
- func (o *CatalogItemServiceListCatalogItemsOK) GetPayload() *models.V1ListCatalogItemsResponse
- func (o *CatalogItemServiceListCatalogItemsOK) IsClientError() bool
- func (o *CatalogItemServiceListCatalogItemsOK) IsCode(code int) bool
- func (o *CatalogItemServiceListCatalogItemsOK) IsRedirect() bool
- func (o *CatalogItemServiceListCatalogItemsOK) IsServerError() bool
- func (o *CatalogItemServiceListCatalogItemsOK) IsSuccess() bool
- func (o *CatalogItemServiceListCatalogItemsOK) String() string
- type CatalogItemServiceListCatalogItemsParams
- func NewCatalogItemServiceListCatalogItemsParams() *CatalogItemServiceListCatalogItemsParams
- func NewCatalogItemServiceListCatalogItemsParamsWithContext(ctx context.Context) *CatalogItemServiceListCatalogItemsParams
- func NewCatalogItemServiceListCatalogItemsParamsWithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItemsParams
- func NewCatalogItemServiceListCatalogItemsParamsWithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItemsParams
- func (o *CatalogItemServiceListCatalogItemsParams) SetBody(body *models.V1ListCatalogItemsRequest)
- func (o *CatalogItemServiceListCatalogItemsParams) SetContext(ctx context.Context)
- func (o *CatalogItemServiceListCatalogItemsParams) SetDefaults()
- func (o *CatalogItemServiceListCatalogItemsParams) SetHTTPClient(client *http.Client)
- func (o *CatalogItemServiceListCatalogItemsParams) SetTimeout(timeout time.Duration)
- func (o *CatalogItemServiceListCatalogItemsParams) WithBody(body *models.V1ListCatalogItemsRequest) *CatalogItemServiceListCatalogItemsParams
- func (o *CatalogItemServiceListCatalogItemsParams) WithContext(ctx context.Context) *CatalogItemServiceListCatalogItemsParams
- func (o *CatalogItemServiceListCatalogItemsParams) WithDefaults() *CatalogItemServiceListCatalogItemsParams
- func (o *CatalogItemServiceListCatalogItemsParams) WithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItemsParams
- func (o *CatalogItemServiceListCatalogItemsParams) WithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItemsParams
- func (o *CatalogItemServiceListCatalogItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogItemServiceListCatalogItemsReader
- type Client
- func (a *Client) CatalogItemServiceGetCatalogItem(params *CatalogItemServiceGetCatalogItemParams, opts ...ClientOption) (*CatalogItemServiceGetCatalogItemOK, error)
- func (a *Client) CatalogItemServiceGetCatalogItem2(params *CatalogItemServiceGetCatalogItem2Params, opts ...ClientOption) (*CatalogItemServiceGetCatalogItem2OK, error)
- func (a *Client) CatalogItemServiceListCatalogItems(params *CatalogItemServiceListCatalogItemsParams, opts ...ClientOption) (*CatalogItemServiceListCatalogItemsOK, error)
- func (a *Client) CatalogItemServiceListCatalogItems2(params *CatalogItemServiceListCatalogItems2Params, opts ...ClientOption) (*CatalogItemServiceListCatalogItems2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogItemServiceGetCatalogItem2Default ¶
type CatalogItemServiceGetCatalogItem2Default struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CatalogItemServiceGetCatalogItem2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewCatalogItemServiceGetCatalogItem2Default ¶
func NewCatalogItemServiceGetCatalogItem2Default(code int) *CatalogItemServiceGetCatalogItem2Default
NewCatalogItemServiceGetCatalogItem2Default creates a CatalogItemServiceGetCatalogItem2Default with default headers values
func (*CatalogItemServiceGetCatalogItem2Default) Code ¶
func (o *CatalogItemServiceGetCatalogItem2Default) Code() int
Code gets the status code for the catalog item service get catalog item2 default response
func (*CatalogItemServiceGetCatalogItem2Default) Error ¶
func (o *CatalogItemServiceGetCatalogItem2Default) Error() string
func (*CatalogItemServiceGetCatalogItem2Default) GetPayload ¶
func (o *CatalogItemServiceGetCatalogItem2Default) GetPayload() *models.GooglerpcStatus
func (*CatalogItemServiceGetCatalogItem2Default) IsClientError ¶
func (o *CatalogItemServiceGetCatalogItem2Default) IsClientError() bool
IsClientError returns true when this catalog item service get catalog item2 default response has a 4xx status code
func (*CatalogItemServiceGetCatalogItem2Default) IsCode ¶
func (o *CatalogItemServiceGetCatalogItem2Default) IsCode(code int) bool
IsCode returns true when this catalog item service get catalog item2 default response a status code equal to that given
func (*CatalogItemServiceGetCatalogItem2Default) IsRedirect ¶
func (o *CatalogItemServiceGetCatalogItem2Default) IsRedirect() bool
IsRedirect returns true when this catalog item service get catalog item2 default response has a 3xx status code
func (*CatalogItemServiceGetCatalogItem2Default) IsServerError ¶
func (o *CatalogItemServiceGetCatalogItem2Default) IsServerError() bool
IsServerError returns true when this catalog item service get catalog item2 default response has a 5xx status code
func (*CatalogItemServiceGetCatalogItem2Default) IsSuccess ¶
func (o *CatalogItemServiceGetCatalogItem2Default) IsSuccess() bool
IsSuccess returns true when this catalog item service get catalog item2 default response has a 2xx status code
func (*CatalogItemServiceGetCatalogItem2Default) String ¶
func (o *CatalogItemServiceGetCatalogItem2Default) String() string
type CatalogItemServiceGetCatalogItem2OK ¶
type CatalogItemServiceGetCatalogItem2OK struct {
Payload *models.V1GetCatalogItemResponse
}
CatalogItemServiceGetCatalogItem2OK describes a response with status code 200, with default header values.
A successful response.
func NewCatalogItemServiceGetCatalogItem2OK ¶
func NewCatalogItemServiceGetCatalogItem2OK() *CatalogItemServiceGetCatalogItem2OK
NewCatalogItemServiceGetCatalogItem2OK creates a CatalogItemServiceGetCatalogItem2OK with default headers values
func (*CatalogItemServiceGetCatalogItem2OK) Code ¶
func (o *CatalogItemServiceGetCatalogItem2OK) Code() int
Code gets the status code for the catalog item service get catalog item2 o k response
func (*CatalogItemServiceGetCatalogItem2OK) Error ¶
func (o *CatalogItemServiceGetCatalogItem2OK) Error() string
func (*CatalogItemServiceGetCatalogItem2OK) GetPayload ¶
func (o *CatalogItemServiceGetCatalogItem2OK) GetPayload() *models.V1GetCatalogItemResponse
func (*CatalogItemServiceGetCatalogItem2OK) IsClientError ¶
func (o *CatalogItemServiceGetCatalogItem2OK) IsClientError() bool
IsClientError returns true when this catalog item service get catalog item2 o k response has a 4xx status code
func (*CatalogItemServiceGetCatalogItem2OK) IsCode ¶
func (o *CatalogItemServiceGetCatalogItem2OK) IsCode(code int) bool
IsCode returns true when this catalog item service get catalog item2 o k response a status code equal to that given
func (*CatalogItemServiceGetCatalogItem2OK) IsRedirect ¶
func (o *CatalogItemServiceGetCatalogItem2OK) IsRedirect() bool
IsRedirect returns true when this catalog item service get catalog item2 o k response has a 3xx status code
func (*CatalogItemServiceGetCatalogItem2OK) IsServerError ¶
func (o *CatalogItemServiceGetCatalogItem2OK) IsServerError() bool
IsServerError returns true when this catalog item service get catalog item2 o k response has a 5xx status code
func (*CatalogItemServiceGetCatalogItem2OK) IsSuccess ¶
func (o *CatalogItemServiceGetCatalogItem2OK) IsSuccess() bool
IsSuccess returns true when this catalog item service get catalog item2 o k response has a 2xx status code
func (*CatalogItemServiceGetCatalogItem2OK) String ¶
func (o *CatalogItemServiceGetCatalogItem2OK) String() string
type CatalogItemServiceGetCatalogItem2Params ¶
type CatalogItemServiceGetCatalogItem2Params struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogItemServiceGetCatalogItem2Params contains all the parameters to send to the API endpoint
for the catalog item service get catalog item2 operation. Typically these are written to a http.Request.
func NewCatalogItemServiceGetCatalogItem2Params ¶
func NewCatalogItemServiceGetCatalogItem2Params() *CatalogItemServiceGetCatalogItem2Params
NewCatalogItemServiceGetCatalogItem2Params creates a new CatalogItemServiceGetCatalogItem2Params 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 NewCatalogItemServiceGetCatalogItem2ParamsWithContext ¶
func NewCatalogItemServiceGetCatalogItem2ParamsWithContext(ctx context.Context) *CatalogItemServiceGetCatalogItem2Params
NewCatalogItemServiceGetCatalogItem2ParamsWithContext creates a new CatalogItemServiceGetCatalogItem2Params object with the ability to set a context for a request.
func NewCatalogItemServiceGetCatalogItem2ParamsWithHTTPClient ¶
func NewCatalogItemServiceGetCatalogItem2ParamsWithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItem2Params
NewCatalogItemServiceGetCatalogItem2ParamsWithHTTPClient creates a new CatalogItemServiceGetCatalogItem2Params object with the ability to set a custom HTTPClient for a request.
func NewCatalogItemServiceGetCatalogItem2ParamsWithTimeout ¶
func NewCatalogItemServiceGetCatalogItem2ParamsWithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItem2Params
NewCatalogItemServiceGetCatalogItem2ParamsWithTimeout creates a new CatalogItemServiceGetCatalogItem2Params object with the ability to set a timeout on a request.
func (*CatalogItemServiceGetCatalogItem2Params) SetContext ¶
func (o *CatalogItemServiceGetCatalogItem2Params) SetContext(ctx context.Context)
SetContext adds the context to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) SetDefaults ¶
func (o *CatalogItemServiceGetCatalogItem2Params) SetDefaults()
SetDefaults hydrates default values in the catalog item service get catalog item2 params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceGetCatalogItem2Params) SetHTTPClient ¶
func (o *CatalogItemServiceGetCatalogItem2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) SetID ¶
func (o *CatalogItemServiceGetCatalogItem2Params) SetID(id string)
SetID adds the id to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) SetTimeout ¶
func (o *CatalogItemServiceGetCatalogItem2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) WithContext ¶
func (o *CatalogItemServiceGetCatalogItem2Params) WithContext(ctx context.Context) *CatalogItemServiceGetCatalogItem2Params
WithContext adds the context to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) WithDefaults ¶
func (o *CatalogItemServiceGetCatalogItem2Params) WithDefaults() *CatalogItemServiceGetCatalogItem2Params
WithDefaults hydrates default values in the catalog item service get catalog item2 params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceGetCatalogItem2Params) WithHTTPClient ¶
func (o *CatalogItemServiceGetCatalogItem2Params) WithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItem2Params
WithHTTPClient adds the HTTPClient to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) WithID ¶
func (o *CatalogItemServiceGetCatalogItem2Params) WithID(id string) *CatalogItemServiceGetCatalogItem2Params
WithID adds the id to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) WithTimeout ¶
func (o *CatalogItemServiceGetCatalogItem2Params) WithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItem2Params
WithTimeout adds the timeout to the catalog item service get catalog item2 params
func (*CatalogItemServiceGetCatalogItem2Params) WriteToRequest ¶
func (o *CatalogItemServiceGetCatalogItem2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogItemServiceGetCatalogItem2Reader ¶
type CatalogItemServiceGetCatalogItem2Reader struct {
// contains filtered or unexported fields
}
CatalogItemServiceGetCatalogItem2Reader is a Reader for the CatalogItemServiceGetCatalogItem2 structure.
func (*CatalogItemServiceGetCatalogItem2Reader) ReadResponse ¶
func (o *CatalogItemServiceGetCatalogItem2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CatalogItemServiceGetCatalogItemDefault ¶
type CatalogItemServiceGetCatalogItemDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CatalogItemServiceGetCatalogItemDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCatalogItemServiceGetCatalogItemDefault ¶
func NewCatalogItemServiceGetCatalogItemDefault(code int) *CatalogItemServiceGetCatalogItemDefault
NewCatalogItemServiceGetCatalogItemDefault creates a CatalogItemServiceGetCatalogItemDefault with default headers values
func (*CatalogItemServiceGetCatalogItemDefault) Code ¶
func (o *CatalogItemServiceGetCatalogItemDefault) Code() int
Code gets the status code for the catalog item service get catalog item default response
func (*CatalogItemServiceGetCatalogItemDefault) Error ¶
func (o *CatalogItemServiceGetCatalogItemDefault) Error() string
func (*CatalogItemServiceGetCatalogItemDefault) GetPayload ¶
func (o *CatalogItemServiceGetCatalogItemDefault) GetPayload() *models.GooglerpcStatus
func (*CatalogItemServiceGetCatalogItemDefault) IsClientError ¶
func (o *CatalogItemServiceGetCatalogItemDefault) IsClientError() bool
IsClientError returns true when this catalog item service get catalog item default response has a 4xx status code
func (*CatalogItemServiceGetCatalogItemDefault) IsCode ¶
func (o *CatalogItemServiceGetCatalogItemDefault) IsCode(code int) bool
IsCode returns true when this catalog item service get catalog item default response a status code equal to that given
func (*CatalogItemServiceGetCatalogItemDefault) IsRedirect ¶
func (o *CatalogItemServiceGetCatalogItemDefault) IsRedirect() bool
IsRedirect returns true when this catalog item service get catalog item default response has a 3xx status code
func (*CatalogItemServiceGetCatalogItemDefault) IsServerError ¶
func (o *CatalogItemServiceGetCatalogItemDefault) IsServerError() bool
IsServerError returns true when this catalog item service get catalog item default response has a 5xx status code
func (*CatalogItemServiceGetCatalogItemDefault) IsSuccess ¶
func (o *CatalogItemServiceGetCatalogItemDefault) IsSuccess() bool
IsSuccess returns true when this catalog item service get catalog item default response has a 2xx status code
func (*CatalogItemServiceGetCatalogItemDefault) String ¶
func (o *CatalogItemServiceGetCatalogItemDefault) String() string
type CatalogItemServiceGetCatalogItemOK ¶
type CatalogItemServiceGetCatalogItemOK struct {
Payload *models.V1GetCatalogItemResponse
}
CatalogItemServiceGetCatalogItemOK describes a response with status code 200, with default header values.
A successful response.
func NewCatalogItemServiceGetCatalogItemOK ¶
func NewCatalogItemServiceGetCatalogItemOK() *CatalogItemServiceGetCatalogItemOK
NewCatalogItemServiceGetCatalogItemOK creates a CatalogItemServiceGetCatalogItemOK with default headers values
func (*CatalogItemServiceGetCatalogItemOK) Code ¶
func (o *CatalogItemServiceGetCatalogItemOK) Code() int
Code gets the status code for the catalog item service get catalog item o k response
func (*CatalogItemServiceGetCatalogItemOK) Error ¶
func (o *CatalogItemServiceGetCatalogItemOK) Error() string
func (*CatalogItemServiceGetCatalogItemOK) GetPayload ¶
func (o *CatalogItemServiceGetCatalogItemOK) GetPayload() *models.V1GetCatalogItemResponse
func (*CatalogItemServiceGetCatalogItemOK) IsClientError ¶
func (o *CatalogItemServiceGetCatalogItemOK) IsClientError() bool
IsClientError returns true when this catalog item service get catalog item o k response has a 4xx status code
func (*CatalogItemServiceGetCatalogItemOK) IsCode ¶
func (o *CatalogItemServiceGetCatalogItemOK) IsCode(code int) bool
IsCode returns true when this catalog item service get catalog item o k response a status code equal to that given
func (*CatalogItemServiceGetCatalogItemOK) IsRedirect ¶
func (o *CatalogItemServiceGetCatalogItemOK) IsRedirect() bool
IsRedirect returns true when this catalog item service get catalog item o k response has a 3xx status code
func (*CatalogItemServiceGetCatalogItemOK) IsServerError ¶
func (o *CatalogItemServiceGetCatalogItemOK) IsServerError() bool
IsServerError returns true when this catalog item service get catalog item o k response has a 5xx status code
func (*CatalogItemServiceGetCatalogItemOK) IsSuccess ¶
func (o *CatalogItemServiceGetCatalogItemOK) IsSuccess() bool
IsSuccess returns true when this catalog item service get catalog item o k response has a 2xx status code
func (*CatalogItemServiceGetCatalogItemOK) String ¶
func (o *CatalogItemServiceGetCatalogItemOK) String() string
type CatalogItemServiceGetCatalogItemParams ¶
type CatalogItemServiceGetCatalogItemParams struct { // Body. Body *models.V1GetCatalogItemRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogItemServiceGetCatalogItemParams contains all the parameters to send to the API endpoint
for the catalog item service get catalog item operation. Typically these are written to a http.Request.
func NewCatalogItemServiceGetCatalogItemParams ¶
func NewCatalogItemServiceGetCatalogItemParams() *CatalogItemServiceGetCatalogItemParams
NewCatalogItemServiceGetCatalogItemParams creates a new CatalogItemServiceGetCatalogItemParams 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 NewCatalogItemServiceGetCatalogItemParamsWithContext ¶
func NewCatalogItemServiceGetCatalogItemParamsWithContext(ctx context.Context) *CatalogItemServiceGetCatalogItemParams
NewCatalogItemServiceGetCatalogItemParamsWithContext creates a new CatalogItemServiceGetCatalogItemParams object with the ability to set a context for a request.
func NewCatalogItemServiceGetCatalogItemParamsWithHTTPClient ¶
func NewCatalogItemServiceGetCatalogItemParamsWithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItemParams
NewCatalogItemServiceGetCatalogItemParamsWithHTTPClient creates a new CatalogItemServiceGetCatalogItemParams object with the ability to set a custom HTTPClient for a request.
func NewCatalogItemServiceGetCatalogItemParamsWithTimeout ¶
func NewCatalogItemServiceGetCatalogItemParamsWithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItemParams
NewCatalogItemServiceGetCatalogItemParamsWithTimeout creates a new CatalogItemServiceGetCatalogItemParams object with the ability to set a timeout on a request.
func (*CatalogItemServiceGetCatalogItemParams) SetBody ¶
func (o *CatalogItemServiceGetCatalogItemParams) SetBody(body *models.V1GetCatalogItemRequest)
SetBody adds the body to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) SetContext ¶
func (o *CatalogItemServiceGetCatalogItemParams) SetContext(ctx context.Context)
SetContext adds the context to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) SetDefaults ¶
func (o *CatalogItemServiceGetCatalogItemParams) SetDefaults()
SetDefaults hydrates default values in the catalog item service get catalog item params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceGetCatalogItemParams) SetHTTPClient ¶
func (o *CatalogItemServiceGetCatalogItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) SetTimeout ¶
func (o *CatalogItemServiceGetCatalogItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) WithBody ¶
func (o *CatalogItemServiceGetCatalogItemParams) WithBody(body *models.V1GetCatalogItemRequest) *CatalogItemServiceGetCatalogItemParams
WithBody adds the body to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) WithContext ¶
func (o *CatalogItemServiceGetCatalogItemParams) WithContext(ctx context.Context) *CatalogItemServiceGetCatalogItemParams
WithContext adds the context to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) WithDefaults ¶
func (o *CatalogItemServiceGetCatalogItemParams) WithDefaults() *CatalogItemServiceGetCatalogItemParams
WithDefaults hydrates default values in the catalog item service get catalog item params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceGetCatalogItemParams) WithHTTPClient ¶
func (o *CatalogItemServiceGetCatalogItemParams) WithHTTPClient(client *http.Client) *CatalogItemServiceGetCatalogItemParams
WithHTTPClient adds the HTTPClient to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) WithTimeout ¶
func (o *CatalogItemServiceGetCatalogItemParams) WithTimeout(timeout time.Duration) *CatalogItemServiceGetCatalogItemParams
WithTimeout adds the timeout to the catalog item service get catalog item params
func (*CatalogItemServiceGetCatalogItemParams) WriteToRequest ¶
func (o *CatalogItemServiceGetCatalogItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogItemServiceGetCatalogItemReader ¶
type CatalogItemServiceGetCatalogItemReader struct {
// contains filtered or unexported fields
}
CatalogItemServiceGetCatalogItemReader is a Reader for the CatalogItemServiceGetCatalogItem structure.
func (*CatalogItemServiceGetCatalogItemReader) ReadResponse ¶
func (o *CatalogItemServiceGetCatalogItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CatalogItemServiceListCatalogItems2Default ¶
type CatalogItemServiceListCatalogItems2Default struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CatalogItemServiceListCatalogItems2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewCatalogItemServiceListCatalogItems2Default ¶
func NewCatalogItemServiceListCatalogItems2Default(code int) *CatalogItemServiceListCatalogItems2Default
NewCatalogItemServiceListCatalogItems2Default creates a CatalogItemServiceListCatalogItems2Default with default headers values
func (*CatalogItemServiceListCatalogItems2Default) Code ¶
func (o *CatalogItemServiceListCatalogItems2Default) Code() int
Code gets the status code for the catalog item service list catalog items2 default response
func (*CatalogItemServiceListCatalogItems2Default) Error ¶
func (o *CatalogItemServiceListCatalogItems2Default) Error() string
func (*CatalogItemServiceListCatalogItems2Default) GetPayload ¶
func (o *CatalogItemServiceListCatalogItems2Default) GetPayload() *models.GooglerpcStatus
func (*CatalogItemServiceListCatalogItems2Default) IsClientError ¶
func (o *CatalogItemServiceListCatalogItems2Default) IsClientError() bool
IsClientError returns true when this catalog item service list catalog items2 default response has a 4xx status code
func (*CatalogItemServiceListCatalogItems2Default) IsCode ¶
func (o *CatalogItemServiceListCatalogItems2Default) IsCode(code int) bool
IsCode returns true when this catalog item service list catalog items2 default response a status code equal to that given
func (*CatalogItemServiceListCatalogItems2Default) IsRedirect ¶
func (o *CatalogItemServiceListCatalogItems2Default) IsRedirect() bool
IsRedirect returns true when this catalog item service list catalog items2 default response has a 3xx status code
func (*CatalogItemServiceListCatalogItems2Default) IsServerError ¶
func (o *CatalogItemServiceListCatalogItems2Default) IsServerError() bool
IsServerError returns true when this catalog item service list catalog items2 default response has a 5xx status code
func (*CatalogItemServiceListCatalogItems2Default) IsSuccess ¶
func (o *CatalogItemServiceListCatalogItems2Default) IsSuccess() bool
IsSuccess returns true when this catalog item service list catalog items2 default response has a 2xx status code
func (*CatalogItemServiceListCatalogItems2Default) String ¶
func (o *CatalogItemServiceListCatalogItems2Default) String() string
type CatalogItemServiceListCatalogItems2OK ¶
type CatalogItemServiceListCatalogItems2OK struct {
Payload *models.V1ListCatalogItemsResponse
}
CatalogItemServiceListCatalogItems2OK describes a response with status code 200, with default header values.
A successful response.
func NewCatalogItemServiceListCatalogItems2OK ¶
func NewCatalogItemServiceListCatalogItems2OK() *CatalogItemServiceListCatalogItems2OK
NewCatalogItemServiceListCatalogItems2OK creates a CatalogItemServiceListCatalogItems2OK with default headers values
func (*CatalogItemServiceListCatalogItems2OK) Code ¶
func (o *CatalogItemServiceListCatalogItems2OK) Code() int
Code gets the status code for the catalog item service list catalog items2 o k response
func (*CatalogItemServiceListCatalogItems2OK) Error ¶
func (o *CatalogItemServiceListCatalogItems2OK) Error() string
func (*CatalogItemServiceListCatalogItems2OK) GetPayload ¶
func (o *CatalogItemServiceListCatalogItems2OK) GetPayload() *models.V1ListCatalogItemsResponse
func (*CatalogItemServiceListCatalogItems2OK) IsClientError ¶
func (o *CatalogItemServiceListCatalogItems2OK) IsClientError() bool
IsClientError returns true when this catalog item service list catalog items2 o k response has a 4xx status code
func (*CatalogItemServiceListCatalogItems2OK) IsCode ¶
func (o *CatalogItemServiceListCatalogItems2OK) IsCode(code int) bool
IsCode returns true when this catalog item service list catalog items2 o k response a status code equal to that given
func (*CatalogItemServiceListCatalogItems2OK) IsRedirect ¶
func (o *CatalogItemServiceListCatalogItems2OK) IsRedirect() bool
IsRedirect returns true when this catalog item service list catalog items2 o k response has a 3xx status code
func (*CatalogItemServiceListCatalogItems2OK) IsServerError ¶
func (o *CatalogItemServiceListCatalogItems2OK) IsServerError() bool
IsServerError returns true when this catalog item service list catalog items2 o k response has a 5xx status code
func (*CatalogItemServiceListCatalogItems2OK) IsSuccess ¶
func (o *CatalogItemServiceListCatalogItems2OK) IsSuccess() bool
IsSuccess returns true when this catalog item service list catalog items2 o k response has a 2xx status code
func (*CatalogItemServiceListCatalogItems2OK) String ¶
func (o *CatalogItemServiceListCatalogItems2OK) String() string
type CatalogItemServiceListCatalogItems2Params ¶
type CatalogItemServiceListCatalogItems2Params struct { /* PageSize. 一覧取得する最大数 Format: int32 */ PageSize int32 /* PageToken. 一覧取得に使用するトークン */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogItemServiceListCatalogItems2Params contains all the parameters to send to the API endpoint
for the catalog item service list catalog items2 operation. Typically these are written to a http.Request.
func NewCatalogItemServiceListCatalogItems2Params ¶
func NewCatalogItemServiceListCatalogItems2Params() *CatalogItemServiceListCatalogItems2Params
NewCatalogItemServiceListCatalogItems2Params creates a new CatalogItemServiceListCatalogItems2Params 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 NewCatalogItemServiceListCatalogItems2ParamsWithContext ¶
func NewCatalogItemServiceListCatalogItems2ParamsWithContext(ctx context.Context) *CatalogItemServiceListCatalogItems2Params
NewCatalogItemServiceListCatalogItems2ParamsWithContext creates a new CatalogItemServiceListCatalogItems2Params object with the ability to set a context for a request.
func NewCatalogItemServiceListCatalogItems2ParamsWithHTTPClient ¶
func NewCatalogItemServiceListCatalogItems2ParamsWithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItems2Params
NewCatalogItemServiceListCatalogItems2ParamsWithHTTPClient creates a new CatalogItemServiceListCatalogItems2Params object with the ability to set a custom HTTPClient for a request.
func NewCatalogItemServiceListCatalogItems2ParamsWithTimeout ¶
func NewCatalogItemServiceListCatalogItems2ParamsWithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItems2Params
NewCatalogItemServiceListCatalogItems2ParamsWithTimeout creates a new CatalogItemServiceListCatalogItems2Params object with the ability to set a timeout on a request.
func (*CatalogItemServiceListCatalogItems2Params) SetContext ¶
func (o *CatalogItemServiceListCatalogItems2Params) SetContext(ctx context.Context)
SetContext adds the context to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) SetDefaults ¶
func (o *CatalogItemServiceListCatalogItems2Params) SetDefaults()
SetDefaults hydrates default values in the catalog item service list catalog items2 params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceListCatalogItems2Params) SetHTTPClient ¶
func (o *CatalogItemServiceListCatalogItems2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) SetPageSize ¶
func (o *CatalogItemServiceListCatalogItems2Params) SetPageSize(pageSize int32)
SetPageSize adds the pageSize to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) SetPageToken ¶
func (o *CatalogItemServiceListCatalogItems2Params) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) SetTimeout ¶
func (o *CatalogItemServiceListCatalogItems2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) WithContext ¶
func (o *CatalogItemServiceListCatalogItems2Params) WithContext(ctx context.Context) *CatalogItemServiceListCatalogItems2Params
WithContext adds the context to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) WithDefaults ¶
func (o *CatalogItemServiceListCatalogItems2Params) WithDefaults() *CatalogItemServiceListCatalogItems2Params
WithDefaults hydrates default values in the catalog item service list catalog items2 params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceListCatalogItems2Params) WithHTTPClient ¶
func (o *CatalogItemServiceListCatalogItems2Params) WithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItems2Params
WithHTTPClient adds the HTTPClient to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) WithPageSize ¶
func (o *CatalogItemServiceListCatalogItems2Params) WithPageSize(pageSize int32) *CatalogItemServiceListCatalogItems2Params
WithPageSize adds the pageSize to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) WithPageToken ¶
func (o *CatalogItemServiceListCatalogItems2Params) WithPageToken(pageToken *string) *CatalogItemServiceListCatalogItems2Params
WithPageToken adds the pageToken to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) WithTimeout ¶
func (o *CatalogItemServiceListCatalogItems2Params) WithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItems2Params
WithTimeout adds the timeout to the catalog item service list catalog items2 params
func (*CatalogItemServiceListCatalogItems2Params) WriteToRequest ¶
func (o *CatalogItemServiceListCatalogItems2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogItemServiceListCatalogItems2Reader ¶
type CatalogItemServiceListCatalogItems2Reader struct {
// contains filtered or unexported fields
}
CatalogItemServiceListCatalogItems2Reader is a Reader for the CatalogItemServiceListCatalogItems2 structure.
func (*CatalogItemServiceListCatalogItems2Reader) ReadResponse ¶
func (o *CatalogItemServiceListCatalogItems2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CatalogItemServiceListCatalogItemsDefault ¶
type CatalogItemServiceListCatalogItemsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CatalogItemServiceListCatalogItemsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCatalogItemServiceListCatalogItemsDefault ¶
func NewCatalogItemServiceListCatalogItemsDefault(code int) *CatalogItemServiceListCatalogItemsDefault
NewCatalogItemServiceListCatalogItemsDefault creates a CatalogItemServiceListCatalogItemsDefault with default headers values
func (*CatalogItemServiceListCatalogItemsDefault) Code ¶
func (o *CatalogItemServiceListCatalogItemsDefault) Code() int
Code gets the status code for the catalog item service list catalog items default response
func (*CatalogItemServiceListCatalogItemsDefault) Error ¶
func (o *CatalogItemServiceListCatalogItemsDefault) Error() string
func (*CatalogItemServiceListCatalogItemsDefault) GetPayload ¶
func (o *CatalogItemServiceListCatalogItemsDefault) GetPayload() *models.GooglerpcStatus
func (*CatalogItemServiceListCatalogItemsDefault) IsClientError ¶
func (o *CatalogItemServiceListCatalogItemsDefault) IsClientError() bool
IsClientError returns true when this catalog item service list catalog items default response has a 4xx status code
func (*CatalogItemServiceListCatalogItemsDefault) IsCode ¶
func (o *CatalogItemServiceListCatalogItemsDefault) IsCode(code int) bool
IsCode returns true when this catalog item service list catalog items default response a status code equal to that given
func (*CatalogItemServiceListCatalogItemsDefault) IsRedirect ¶
func (o *CatalogItemServiceListCatalogItemsDefault) IsRedirect() bool
IsRedirect returns true when this catalog item service list catalog items default response has a 3xx status code
func (*CatalogItemServiceListCatalogItemsDefault) IsServerError ¶
func (o *CatalogItemServiceListCatalogItemsDefault) IsServerError() bool
IsServerError returns true when this catalog item service list catalog items default response has a 5xx status code
func (*CatalogItemServiceListCatalogItemsDefault) IsSuccess ¶
func (o *CatalogItemServiceListCatalogItemsDefault) IsSuccess() bool
IsSuccess returns true when this catalog item service list catalog items default response has a 2xx status code
func (*CatalogItemServiceListCatalogItemsDefault) String ¶
func (o *CatalogItemServiceListCatalogItemsDefault) String() string
type CatalogItemServiceListCatalogItemsOK ¶
type CatalogItemServiceListCatalogItemsOK struct {
Payload *models.V1ListCatalogItemsResponse
}
CatalogItemServiceListCatalogItemsOK describes a response with status code 200, with default header values.
A successful response.
func NewCatalogItemServiceListCatalogItemsOK ¶
func NewCatalogItemServiceListCatalogItemsOK() *CatalogItemServiceListCatalogItemsOK
NewCatalogItemServiceListCatalogItemsOK creates a CatalogItemServiceListCatalogItemsOK with default headers values
func (*CatalogItemServiceListCatalogItemsOK) Code ¶
func (o *CatalogItemServiceListCatalogItemsOK) Code() int
Code gets the status code for the catalog item service list catalog items o k response
func (*CatalogItemServiceListCatalogItemsOK) Error ¶
func (o *CatalogItemServiceListCatalogItemsOK) Error() string
func (*CatalogItemServiceListCatalogItemsOK) GetPayload ¶
func (o *CatalogItemServiceListCatalogItemsOK) GetPayload() *models.V1ListCatalogItemsResponse
func (*CatalogItemServiceListCatalogItemsOK) IsClientError ¶
func (o *CatalogItemServiceListCatalogItemsOK) IsClientError() bool
IsClientError returns true when this catalog item service list catalog items o k response has a 4xx status code
func (*CatalogItemServiceListCatalogItemsOK) IsCode ¶
func (o *CatalogItemServiceListCatalogItemsOK) IsCode(code int) bool
IsCode returns true when this catalog item service list catalog items o k response a status code equal to that given
func (*CatalogItemServiceListCatalogItemsOK) IsRedirect ¶
func (o *CatalogItemServiceListCatalogItemsOK) IsRedirect() bool
IsRedirect returns true when this catalog item service list catalog items o k response has a 3xx status code
func (*CatalogItemServiceListCatalogItemsOK) IsServerError ¶
func (o *CatalogItemServiceListCatalogItemsOK) IsServerError() bool
IsServerError returns true when this catalog item service list catalog items o k response has a 5xx status code
func (*CatalogItemServiceListCatalogItemsOK) IsSuccess ¶
func (o *CatalogItemServiceListCatalogItemsOK) IsSuccess() bool
IsSuccess returns true when this catalog item service list catalog items o k response has a 2xx status code
func (*CatalogItemServiceListCatalogItemsOK) String ¶
func (o *CatalogItemServiceListCatalogItemsOK) String() string
type CatalogItemServiceListCatalogItemsParams ¶
type CatalogItemServiceListCatalogItemsParams struct { // Body. Body *models.V1ListCatalogItemsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogItemServiceListCatalogItemsParams contains all the parameters to send to the API endpoint
for the catalog item service list catalog items operation. Typically these are written to a http.Request.
func NewCatalogItemServiceListCatalogItemsParams ¶
func NewCatalogItemServiceListCatalogItemsParams() *CatalogItemServiceListCatalogItemsParams
NewCatalogItemServiceListCatalogItemsParams creates a new CatalogItemServiceListCatalogItemsParams 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 NewCatalogItemServiceListCatalogItemsParamsWithContext ¶
func NewCatalogItemServiceListCatalogItemsParamsWithContext(ctx context.Context) *CatalogItemServiceListCatalogItemsParams
NewCatalogItemServiceListCatalogItemsParamsWithContext creates a new CatalogItemServiceListCatalogItemsParams object with the ability to set a context for a request.
func NewCatalogItemServiceListCatalogItemsParamsWithHTTPClient ¶
func NewCatalogItemServiceListCatalogItemsParamsWithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItemsParams
NewCatalogItemServiceListCatalogItemsParamsWithHTTPClient creates a new CatalogItemServiceListCatalogItemsParams object with the ability to set a custom HTTPClient for a request.
func NewCatalogItemServiceListCatalogItemsParamsWithTimeout ¶
func NewCatalogItemServiceListCatalogItemsParamsWithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItemsParams
NewCatalogItemServiceListCatalogItemsParamsWithTimeout creates a new CatalogItemServiceListCatalogItemsParams object with the ability to set a timeout on a request.
func (*CatalogItemServiceListCatalogItemsParams) SetBody ¶
func (o *CatalogItemServiceListCatalogItemsParams) SetBody(body *models.V1ListCatalogItemsRequest)
SetBody adds the body to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) SetContext ¶
func (o *CatalogItemServiceListCatalogItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) SetDefaults ¶
func (o *CatalogItemServiceListCatalogItemsParams) SetDefaults()
SetDefaults hydrates default values in the catalog item service list catalog items params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceListCatalogItemsParams) SetHTTPClient ¶
func (o *CatalogItemServiceListCatalogItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) SetTimeout ¶
func (o *CatalogItemServiceListCatalogItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) WithBody ¶
func (o *CatalogItemServiceListCatalogItemsParams) WithBody(body *models.V1ListCatalogItemsRequest) *CatalogItemServiceListCatalogItemsParams
WithBody adds the body to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) WithContext ¶
func (o *CatalogItemServiceListCatalogItemsParams) WithContext(ctx context.Context) *CatalogItemServiceListCatalogItemsParams
WithContext adds the context to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) WithDefaults ¶
func (o *CatalogItemServiceListCatalogItemsParams) WithDefaults() *CatalogItemServiceListCatalogItemsParams
WithDefaults hydrates default values in the catalog item service list catalog items params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogItemServiceListCatalogItemsParams) WithHTTPClient ¶
func (o *CatalogItemServiceListCatalogItemsParams) WithHTTPClient(client *http.Client) *CatalogItemServiceListCatalogItemsParams
WithHTTPClient adds the HTTPClient to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) WithTimeout ¶
func (o *CatalogItemServiceListCatalogItemsParams) WithTimeout(timeout time.Duration) *CatalogItemServiceListCatalogItemsParams
WithTimeout adds the timeout to the catalog item service list catalog items params
func (*CatalogItemServiceListCatalogItemsParams) WriteToRequest ¶
func (o *CatalogItemServiceListCatalogItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogItemServiceListCatalogItemsReader ¶
type CatalogItemServiceListCatalogItemsReader struct {
// contains filtered or unexported fields
}
CatalogItemServiceListCatalogItemsReader is a Reader for the CatalogItemServiceListCatalogItems structure.
func (*CatalogItemServiceListCatalogItemsReader) ReadResponse ¶
func (o *CatalogItemServiceListCatalogItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for catalog item service API
func (*Client) CatalogItemServiceGetCatalogItem ¶
func (a *Client) CatalogItemServiceGetCatalogItem(params *CatalogItemServiceGetCatalogItemParams, opts ...ClientOption) (*CatalogItemServiceGetCatalogItemOK, error)
CatalogItemServiceGetCatalogItem カタログアイテムの取得s
指定したカタログアイテムを取得します。
func (*Client) CatalogItemServiceGetCatalogItem2 ¶
func (a *Client) CatalogItemServiceGetCatalogItem2(params *CatalogItemServiceGetCatalogItem2Params, opts ...ClientOption) (*CatalogItemServiceGetCatalogItem2OK, error)
CatalogItemServiceGetCatalogItem2 カタログアイテムの取得s
指定したカタログアイテムを取得します。
func (*Client) CatalogItemServiceListCatalogItems ¶
func (a *Client) CatalogItemServiceListCatalogItems(params *CatalogItemServiceListCatalogItemsParams, opts ...ClientOption) (*CatalogItemServiceListCatalogItemsOK, error)
CatalogItemServiceListCatalogItems カタログアイテムの一覧取得s
カタログアイテムの一覧を取得します。
func (*Client) CatalogItemServiceListCatalogItems2 ¶
func (a *Client) CatalogItemServiceListCatalogItems2(params *CatalogItemServiceListCatalogItems2Params, opts ...ClientOption) (*CatalogItemServiceListCatalogItems2OK, error)
CatalogItemServiceListCatalogItems2 カタログアイテムの一覧取得s
カタログアイテムの一覧を取得します。
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CatalogItemServiceGetCatalogItem(params *CatalogItemServiceGetCatalogItemParams, opts ...ClientOption) (*CatalogItemServiceGetCatalogItemOK, error) CatalogItemServiceGetCatalogItem2(params *CatalogItemServiceGetCatalogItem2Params, opts ...ClientOption) (*CatalogItemServiceGetCatalogItem2OK, error) CatalogItemServiceListCatalogItems(params *CatalogItemServiceListCatalogItemsParams, opts ...ClientOption) (*CatalogItemServiceListCatalogItemsOK, error) CatalogItemServiceListCatalogItems2(params *CatalogItemServiceListCatalogItems2Params, opts ...ClientOption) (*CatalogItemServiceListCatalogItems2OK, 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 service API client.
Source Files ¶
- catalog_item_service_client.go
- catalog_item_service_get_catalog_item2_parameters.go
- catalog_item_service_get_catalog_item2_responses.go
- catalog_item_service_get_catalog_item_parameters.go
- catalog_item_service_get_catalog_item_responses.go
- catalog_item_service_list_catalog_items2_parameters.go
- catalog_item_service_list_catalog_items2_responses.go
- catalog_item_service_list_catalog_items_parameters.go
- catalog_item_service_list_catalog_items_responses.go