catalog_item_service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

Code gets the status code for the catalog item service get catalog item2 default response

func (*CatalogItemServiceGetCatalogItem2Default) Error

func (*CatalogItemServiceGetCatalogItem2Default) GetPayload

func (*CatalogItemServiceGetCatalogItem2Default) IsClientError

IsClientError returns true when this catalog item service get catalog item2 default response has a 4xx status code

func (*CatalogItemServiceGetCatalogItem2Default) IsCode

IsCode returns true when this catalog item service get catalog item2 default response a status code equal to that given

func (*CatalogItemServiceGetCatalogItem2Default) IsRedirect

IsRedirect returns true when this catalog item service get catalog item2 default response has a 3xx status code

func (*CatalogItemServiceGetCatalogItem2Default) IsServerError

IsServerError returns true when this catalog item service get catalog item2 default response has a 5xx status code

func (*CatalogItemServiceGetCatalogItem2Default) IsSuccess

IsSuccess returns true when this catalog item service get catalog item2 default response has a 2xx status code

func (*CatalogItemServiceGetCatalogItem2Default) 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

Code gets the status code for the catalog item service get catalog item2 o k response

func (*CatalogItemServiceGetCatalogItem2OK) Error

func (*CatalogItemServiceGetCatalogItem2OK) GetPayload

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

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

IsSuccess returns true when this catalog item service get catalog item2 o k response has a 2xx status code

func (*CatalogItemServiceGetCatalogItem2OK) 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

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

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

WithContext adds the context to the catalog item service get catalog item2 params

func (*CatalogItemServiceGetCatalogItem2Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the catalog item service get catalog item2 params

func (*CatalogItemServiceGetCatalogItem2Params) WithID

WithID adds the id to the catalog item service get catalog item2 params

func (*CatalogItemServiceGetCatalogItem2Params) WithTimeout

WithTimeout adds the timeout to the catalog item service get catalog item2 params

func (*CatalogItemServiceGetCatalogItem2Params) WriteToRequest

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

Code gets the status code for the catalog item service get catalog item default response

func (*CatalogItemServiceGetCatalogItemDefault) Error

func (*CatalogItemServiceGetCatalogItemDefault) GetPayload

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

IsCode returns true when this catalog item service get catalog item default response a status code equal to that given

func (*CatalogItemServiceGetCatalogItemDefault) IsRedirect

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

IsSuccess returns true when this catalog item service get catalog item default response has a 2xx status code

func (*CatalogItemServiceGetCatalogItemDefault) 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

Code gets the status code for the catalog item service get catalog item o k response

func (*CatalogItemServiceGetCatalogItemOK) Error

func (*CatalogItemServiceGetCatalogItemOK) GetPayload

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

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

IsSuccess returns true when this catalog item service get catalog item o k response has a 2xx status code

func (*CatalogItemServiceGetCatalogItemOK) 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

SetBody adds the body to the catalog item service get catalog item params

func (*CatalogItemServiceGetCatalogItemParams) SetContext

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

WithBody adds the body to the catalog item service get catalog item params

func (*CatalogItemServiceGetCatalogItemParams) WithContext

WithContext adds the context to the catalog item service get catalog item params

func (*CatalogItemServiceGetCatalogItemParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the catalog item service get catalog item params

func (*CatalogItemServiceGetCatalogItemParams) WithTimeout

WithTimeout adds the timeout to the catalog item service get catalog item params

func (*CatalogItemServiceGetCatalogItemParams) WriteToRequest

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

Code gets the status code for the catalog item service list catalog items2 default response

func (*CatalogItemServiceListCatalogItems2Default) Error

func (*CatalogItemServiceListCatalogItems2Default) GetPayload

func (*CatalogItemServiceListCatalogItems2Default) IsClientError

IsClientError returns true when this catalog item service list catalog items2 default response has a 4xx status code

func (*CatalogItemServiceListCatalogItems2Default) IsCode

IsCode returns true when this catalog item service list catalog items2 default response a status code equal to that given

func (*CatalogItemServiceListCatalogItems2Default) IsRedirect

IsRedirect returns true when this catalog item service list catalog items2 default response has a 3xx status code

func (*CatalogItemServiceListCatalogItems2Default) IsServerError

IsServerError returns true when this catalog item service list catalog items2 default response has a 5xx status code

func (*CatalogItemServiceListCatalogItems2Default) IsSuccess

IsSuccess returns true when this catalog item service list catalog items2 default response has a 2xx status code

func (*CatalogItemServiceListCatalogItems2Default) 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

Code gets the status code for the catalog item service list catalog items2 o k response

func (*CatalogItemServiceListCatalogItems2OK) Error

func (*CatalogItemServiceListCatalogItems2OK) GetPayload

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

IsCode returns true when this catalog item service list catalog items2 o k response a status code equal to that given

func (*CatalogItemServiceListCatalogItems2OK) IsRedirect

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

IsSuccess returns true when this catalog item service list catalog items2 o k response has a 2xx status code

func (*CatalogItemServiceListCatalogItems2OK) 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

SetContext adds the context to the catalog item service list catalog items2 params

func (*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

SetTimeout adds the timeout to the catalog item service list catalog items2 params

func (*CatalogItemServiceListCatalogItems2Params) WithContext

WithContext adds the context to the catalog item service list catalog items2 params

func (*CatalogItemServiceListCatalogItems2Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the catalog item service list catalog items2 params

func (*CatalogItemServiceListCatalogItems2Params) WithPageSize

WithPageSize adds the pageSize to the catalog item service list catalog items2 params

func (*CatalogItemServiceListCatalogItems2Params) WithPageToken

WithPageToken adds the pageToken to the catalog item service list catalog items2 params

func (*CatalogItemServiceListCatalogItems2Params) WithTimeout

WithTimeout adds the timeout to the catalog item service list catalog items2 params

func (*CatalogItemServiceListCatalogItems2Params) WriteToRequest

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

Code gets the status code for the catalog item service list catalog items default response

func (*CatalogItemServiceListCatalogItemsDefault) Error

func (*CatalogItemServiceListCatalogItemsDefault) GetPayload

func (*CatalogItemServiceListCatalogItemsDefault) IsClientError

IsClientError returns true when this catalog item service list catalog items default response has a 4xx status code

func (*CatalogItemServiceListCatalogItemsDefault) IsCode

IsCode returns true when this catalog item service list catalog items default response a status code equal to that given

func (*CatalogItemServiceListCatalogItemsDefault) IsRedirect

IsRedirect returns true when this catalog item service list catalog items default response has a 3xx status code

func (*CatalogItemServiceListCatalogItemsDefault) IsServerError

IsServerError returns true when this catalog item service list catalog items default response has a 5xx status code

func (*CatalogItemServiceListCatalogItemsDefault) IsSuccess

IsSuccess returns true when this catalog item service list catalog items default response has a 2xx status code

func (*CatalogItemServiceListCatalogItemsDefault) 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

Code gets the status code for the catalog item service list catalog items o k response

func (*CatalogItemServiceListCatalogItemsOK) Error

func (*CatalogItemServiceListCatalogItemsOK) GetPayload

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

IsCode returns true when this catalog item service list catalog items o k response a status code equal to that given

func (*CatalogItemServiceListCatalogItemsOK) IsRedirect

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

IsSuccess returns true when this catalog item service list catalog items o k response has a 2xx status code

func (*CatalogItemServiceListCatalogItemsOK) 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

SetBody adds the body to the catalog item service list catalog items params

func (*CatalogItemServiceListCatalogItemsParams) SetContext

SetContext adds the context to the catalog item service list catalog items params

func (*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

SetTimeout adds the timeout to the catalog item service list catalog items params

func (*CatalogItemServiceListCatalogItemsParams) WithBody

WithBody adds the body to the catalog item service list catalog items params

func (*CatalogItemServiceListCatalogItemsParams) WithContext

WithContext adds the context to the catalog item service list catalog items params

func (*CatalogItemServiceListCatalogItemsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the catalog item service list catalog items params

func (*CatalogItemServiceListCatalogItemsParams) WithTimeout

WithTimeout adds the timeout to the catalog item service list catalog items params

func (*CatalogItemServiceListCatalogItemsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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