Documentation ¶
Index ¶
- type Client
- type GetMasterdataDefault
- type GetMasterdataNotFound
- type GetMasterdataOK
- type GetMasterdataParams
- func (o *GetMasterdataParams) SetBody(body *models.V1MasterdataLookupRequest)
- func (o *GetMasterdataParams) SetContext(ctx context.Context)
- func (o *GetMasterdataParams) SetHTTPClient(client *http.Client)
- func (o *GetMasterdataParams) SetTimeout(timeout time.Duration)
- func (o *GetMasterdataParams) WithBody(body *models.V1MasterdataLookupRequest) *GetMasterdataParams
- func (o *GetMasterdataParams) WithContext(ctx context.Context) *GetMasterdataParams
- func (o *GetMasterdataParams) WithHTTPClient(client *http.Client) *GetMasterdataParams
- func (o *GetMasterdataParams) WithTimeout(timeout time.Duration) *GetMasterdataParams
- func (o *GetMasterdataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMasterdataReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for masterdata API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new masterdata API client.
func (*Client) GetMasterdata ¶
func (a *Client) GetMasterdata(params *GetMasterdataParams, authInfo runtime.ClientAuthInfoWriter) (*GetMasterdataOK, error)
GetMasterdata gets masterdata for given lookup criteria
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetMasterdataDefault ¶
type GetMasterdataDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
GetMasterdataDefault handles this case with default header values.
Error
func NewGetMasterdataDefault ¶
func NewGetMasterdataDefault(code int) *GetMasterdataDefault
NewGetMasterdataDefault creates a GetMasterdataDefault with default headers values
func (*GetMasterdataDefault) Code ¶
func (o *GetMasterdataDefault) Code() int
Code gets the status code for the get masterdata default response
func (*GetMasterdataDefault) Error ¶
func (o *GetMasterdataDefault) Error() string
type GetMasterdataNotFound ¶
type GetMasterdataNotFound struct {
Payload *models.HttperrorsHTTPErrorResponse
}
GetMasterdataNotFound handles this case with default header values.
NotFound
func NewGetMasterdataNotFound ¶
func NewGetMasterdataNotFound() *GetMasterdataNotFound
NewGetMasterdataNotFound creates a GetMasterdataNotFound with default headers values
func (*GetMasterdataNotFound) Error ¶
func (o *GetMasterdataNotFound) Error() string
type GetMasterdataOK ¶
type GetMasterdataOK struct {
Payload *models.V1MasterdataLookupResponse
}
GetMasterdataOK handles this case with default header values.
Ok
func NewGetMasterdataOK ¶
func NewGetMasterdataOK() *GetMasterdataOK
NewGetMasterdataOK creates a GetMasterdataOK with default headers values
func (*GetMasterdataOK) Error ¶
func (o *GetMasterdataOK) Error() string
type GetMasterdataParams ¶
type GetMasterdataParams struct { /*Body*/ Body *models.V1MasterdataLookupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMasterdataParams contains all the parameters to send to the API endpoint for the get masterdata operation typically these are written to a http.Request
func NewGetMasterdataParams ¶
func NewGetMasterdataParams() *GetMasterdataParams
NewGetMasterdataParams creates a new GetMasterdataParams object with the default values initialized.
func NewGetMasterdataParamsWithContext ¶
func NewGetMasterdataParamsWithContext(ctx context.Context) *GetMasterdataParams
NewGetMasterdataParamsWithContext creates a new GetMasterdataParams object with the default values initialized, and the ability to set a context for a request
func NewGetMasterdataParamsWithHTTPClient ¶
func NewGetMasterdataParamsWithHTTPClient(client *http.Client) *GetMasterdataParams
NewGetMasterdataParamsWithHTTPClient creates a new GetMasterdataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMasterdataParamsWithTimeout ¶
func NewGetMasterdataParamsWithTimeout(timeout time.Duration) *GetMasterdataParams
NewGetMasterdataParamsWithTimeout creates a new GetMasterdataParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMasterdataParams) SetBody ¶
func (o *GetMasterdataParams) SetBody(body *models.V1MasterdataLookupRequest)
SetBody adds the body to the get masterdata params
func (*GetMasterdataParams) SetContext ¶
func (o *GetMasterdataParams) SetContext(ctx context.Context)
SetContext adds the context to the get masterdata params
func (*GetMasterdataParams) SetHTTPClient ¶
func (o *GetMasterdataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get masterdata params
func (*GetMasterdataParams) SetTimeout ¶
func (o *GetMasterdataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get masterdata params
func (*GetMasterdataParams) WithBody ¶
func (o *GetMasterdataParams) WithBody(body *models.V1MasterdataLookupRequest) *GetMasterdataParams
WithBody adds the body to the get masterdata params
func (*GetMasterdataParams) WithContext ¶
func (o *GetMasterdataParams) WithContext(ctx context.Context) *GetMasterdataParams
WithContext adds the context to the get masterdata params
func (*GetMasterdataParams) WithHTTPClient ¶
func (o *GetMasterdataParams) WithHTTPClient(client *http.Client) *GetMasterdataParams
WithHTTPClient adds the HTTPClient to the get masterdata params
func (*GetMasterdataParams) WithTimeout ¶
func (o *GetMasterdataParams) WithTimeout(timeout time.Duration) *GetMasterdataParams
WithTimeout adds the timeout to the get masterdata params
func (*GetMasterdataParams) WriteToRequest ¶
func (o *GetMasterdataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMasterdataReader ¶
type GetMasterdataReader struct {
// contains filtered or unexported fields
}
GetMasterdataReader is a Reader for the GetMasterdata structure.
func (*GetMasterdataReader) ReadResponse ¶
func (o *GetMasterdataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.