Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TransportTypeGet(params *TransportTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*TransportTypeGetOK, error)
- func (a *Client) TransportTypeSearch(params *TransportTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TransportTypeSearchOK, error)
- type ClientService
- type TransportTypeGetOK
- type TransportTypeGetParams
- func NewTransportTypeGetParams() *TransportTypeGetParams
- func NewTransportTypeGetParamsWithContext(ctx context.Context) *TransportTypeGetParams
- func NewTransportTypeGetParamsWithHTTPClient(client *http.Client) *TransportTypeGetParams
- func NewTransportTypeGetParamsWithTimeout(timeout time.Duration) *TransportTypeGetParams
- func (o *TransportTypeGetParams) SetContext(ctx context.Context)
- func (o *TransportTypeGetParams) SetFields(fields *string)
- func (o *TransportTypeGetParams) SetHTTPClient(client *http.Client)
- func (o *TransportTypeGetParams) SetID(id int32)
- func (o *TransportTypeGetParams) SetTimeout(timeout time.Duration)
- func (o *TransportTypeGetParams) WithContext(ctx context.Context) *TransportTypeGetParams
- func (o *TransportTypeGetParams) WithFields(fields *string) *TransportTypeGetParams
- func (o *TransportTypeGetParams) WithHTTPClient(client *http.Client) *TransportTypeGetParams
- func (o *TransportTypeGetParams) WithID(id int32) *TransportTypeGetParams
- func (o *TransportTypeGetParams) WithTimeout(timeout time.Duration) *TransportTypeGetParams
- func (o *TransportTypeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TransportTypeGetReader
- type TransportTypeSearchOK
- type TransportTypeSearchParams
- func NewTransportTypeSearchParams() *TransportTypeSearchParams
- func NewTransportTypeSearchParamsWithContext(ctx context.Context) *TransportTypeSearchParams
- func NewTransportTypeSearchParamsWithHTTPClient(client *http.Client) *TransportTypeSearchParams
- func NewTransportTypeSearchParamsWithTimeout(timeout time.Duration) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) SetContext(ctx context.Context)
- func (o *TransportTypeSearchParams) SetCount(count *int64)
- func (o *TransportTypeSearchParams) SetFields(fields *string)
- func (o *TransportTypeSearchParams) SetFrom(from *int64)
- func (o *TransportTypeSearchParams) SetHTTPClient(client *http.Client)
- func (o *TransportTypeSearchParams) SetName(name *string)
- func (o *TransportTypeSearchParams) SetSorting(sorting *string)
- func (o *TransportTypeSearchParams) SetSupplierID(supplierID []int32)
- func (o *TransportTypeSearchParams) SetTimeout(timeout time.Duration)
- func (o *TransportTypeSearchParams) WithContext(ctx context.Context) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithCount(count *int64) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithFields(fields *string) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithFrom(from *int64) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithHTTPClient(client *http.Client) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithName(name *string) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithSorting(sorting *string) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithSupplierID(supplierID []int32) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WithTimeout(timeout time.Duration) *TransportTypeSearchParams
- func (o *TransportTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TransportTypeSearchReader
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 transport type API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TransportTypeGet ¶
func (a *Client) TransportTypeGet(params *TransportTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*TransportTypeGetOK, error)
TransportTypeGet bs e t a find transport type by ID
func (*Client) TransportTypeSearch ¶
func (a *Client) TransportTypeSearch(params *TransportTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TransportTypeSearchOK, error)
TransportTypeSearch bs e t a search transport type
type ClientService ¶
type ClientService interface { TransportTypeGet(params *TransportTypeGetParams, authInfo runtime.ClientAuthInfoWriter) (*TransportTypeGetOK, error) TransportTypeSearch(params *TransportTypeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*TransportTypeSearchOK, 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 transport type API client.
type TransportTypeGetOK ¶
type TransportTypeGetOK struct {
Payload *models.ResponseWrapperTransportType
}
TransportTypeGetOK handles this case with default header values.
successful operation
func NewTransportTypeGetOK ¶
func NewTransportTypeGetOK() *TransportTypeGetOK
NewTransportTypeGetOK creates a TransportTypeGetOK with default headers values
func (*TransportTypeGetOK) Error ¶
func (o *TransportTypeGetOK) Error() string
func (*TransportTypeGetOK) GetPayload ¶
func (o *TransportTypeGetOK) GetPayload() *models.ResponseWrapperTransportType
type TransportTypeGetParams ¶
type TransportTypeGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TransportTypeGetParams contains all the parameters to send to the API endpoint for the transport type get operation typically these are written to a http.Request
func NewTransportTypeGetParams ¶
func NewTransportTypeGetParams() *TransportTypeGetParams
NewTransportTypeGetParams creates a new TransportTypeGetParams object with the default values initialized.
func NewTransportTypeGetParamsWithContext ¶
func NewTransportTypeGetParamsWithContext(ctx context.Context) *TransportTypeGetParams
NewTransportTypeGetParamsWithContext creates a new TransportTypeGetParams object with the default values initialized, and the ability to set a context for a request
func NewTransportTypeGetParamsWithHTTPClient ¶
func NewTransportTypeGetParamsWithHTTPClient(client *http.Client) *TransportTypeGetParams
NewTransportTypeGetParamsWithHTTPClient creates a new TransportTypeGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTransportTypeGetParamsWithTimeout ¶
func NewTransportTypeGetParamsWithTimeout(timeout time.Duration) *TransportTypeGetParams
NewTransportTypeGetParamsWithTimeout creates a new TransportTypeGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*TransportTypeGetParams) SetContext ¶
func (o *TransportTypeGetParams) SetContext(ctx context.Context)
SetContext adds the context to the transport type get params
func (*TransportTypeGetParams) SetFields ¶
func (o *TransportTypeGetParams) SetFields(fields *string)
SetFields adds the fields to the transport type get params
func (*TransportTypeGetParams) SetHTTPClient ¶
func (o *TransportTypeGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the transport type get params
func (*TransportTypeGetParams) SetID ¶
func (o *TransportTypeGetParams) SetID(id int32)
SetID adds the id to the transport type get params
func (*TransportTypeGetParams) SetTimeout ¶
func (o *TransportTypeGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the transport type get params
func (*TransportTypeGetParams) WithContext ¶
func (o *TransportTypeGetParams) WithContext(ctx context.Context) *TransportTypeGetParams
WithContext adds the context to the transport type get params
func (*TransportTypeGetParams) WithFields ¶
func (o *TransportTypeGetParams) WithFields(fields *string) *TransportTypeGetParams
WithFields adds the fields to the transport type get params
func (*TransportTypeGetParams) WithHTTPClient ¶
func (o *TransportTypeGetParams) WithHTTPClient(client *http.Client) *TransportTypeGetParams
WithHTTPClient adds the HTTPClient to the transport type get params
func (*TransportTypeGetParams) WithID ¶
func (o *TransportTypeGetParams) WithID(id int32) *TransportTypeGetParams
WithID adds the id to the transport type get params
func (*TransportTypeGetParams) WithTimeout ¶
func (o *TransportTypeGetParams) WithTimeout(timeout time.Duration) *TransportTypeGetParams
WithTimeout adds the timeout to the transport type get params
func (*TransportTypeGetParams) WriteToRequest ¶
func (o *TransportTypeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TransportTypeGetReader ¶
type TransportTypeGetReader struct {
// contains filtered or unexported fields
}
TransportTypeGetReader is a Reader for the TransportTypeGet structure.
func (*TransportTypeGetReader) ReadResponse ¶
func (o *TransportTypeGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TransportTypeSearchOK ¶
type TransportTypeSearchOK struct {
Payload *models.ListResponseTransportType
}
TransportTypeSearchOK handles this case with default header values.
successful operation
func NewTransportTypeSearchOK ¶
func NewTransportTypeSearchOK() *TransportTypeSearchOK
NewTransportTypeSearchOK creates a TransportTypeSearchOK with default headers values
func (*TransportTypeSearchOK) Error ¶
func (o *TransportTypeSearchOK) Error() string
func (*TransportTypeSearchOK) GetPayload ¶
func (o *TransportTypeSearchOK) GetPayload() *models.ListResponseTransportType
type TransportTypeSearchParams ¶
type TransportTypeSearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Name Containing */ Name *string /*Sorting Sorting pattern */ Sorting *string /*SupplierID List of valid suppliers ids. */ SupplierID []int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TransportTypeSearchParams contains all the parameters to send to the API endpoint for the transport type search operation typically these are written to a http.Request
func NewTransportTypeSearchParams ¶
func NewTransportTypeSearchParams() *TransportTypeSearchParams
NewTransportTypeSearchParams creates a new TransportTypeSearchParams object with the default values initialized.
func NewTransportTypeSearchParamsWithContext ¶
func NewTransportTypeSearchParamsWithContext(ctx context.Context) *TransportTypeSearchParams
NewTransportTypeSearchParamsWithContext creates a new TransportTypeSearchParams object with the default values initialized, and the ability to set a context for a request
func NewTransportTypeSearchParamsWithHTTPClient ¶
func NewTransportTypeSearchParamsWithHTTPClient(client *http.Client) *TransportTypeSearchParams
NewTransportTypeSearchParamsWithHTTPClient creates a new TransportTypeSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTransportTypeSearchParamsWithTimeout ¶
func NewTransportTypeSearchParamsWithTimeout(timeout time.Duration) *TransportTypeSearchParams
NewTransportTypeSearchParamsWithTimeout creates a new TransportTypeSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*TransportTypeSearchParams) SetContext ¶
func (o *TransportTypeSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the transport type search params
func (*TransportTypeSearchParams) SetCount ¶
func (o *TransportTypeSearchParams) SetCount(count *int64)
SetCount adds the count to the transport type search params
func (*TransportTypeSearchParams) SetFields ¶
func (o *TransportTypeSearchParams) SetFields(fields *string)
SetFields adds the fields to the transport type search params
func (*TransportTypeSearchParams) SetFrom ¶
func (o *TransportTypeSearchParams) SetFrom(from *int64)
SetFrom adds the from to the transport type search params
func (*TransportTypeSearchParams) SetHTTPClient ¶
func (o *TransportTypeSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the transport type search params
func (*TransportTypeSearchParams) SetName ¶
func (o *TransportTypeSearchParams) SetName(name *string)
SetName adds the name to the transport type search params
func (*TransportTypeSearchParams) SetSorting ¶
func (o *TransportTypeSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the transport type search params
func (*TransportTypeSearchParams) SetSupplierID ¶
func (o *TransportTypeSearchParams) SetSupplierID(supplierID []int32)
SetSupplierID adds the supplierId to the transport type search params
func (*TransportTypeSearchParams) SetTimeout ¶
func (o *TransportTypeSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the transport type search params
func (*TransportTypeSearchParams) WithContext ¶
func (o *TransportTypeSearchParams) WithContext(ctx context.Context) *TransportTypeSearchParams
WithContext adds the context to the transport type search params
func (*TransportTypeSearchParams) WithCount ¶
func (o *TransportTypeSearchParams) WithCount(count *int64) *TransportTypeSearchParams
WithCount adds the count to the transport type search params
func (*TransportTypeSearchParams) WithFields ¶
func (o *TransportTypeSearchParams) WithFields(fields *string) *TransportTypeSearchParams
WithFields adds the fields to the transport type search params
func (*TransportTypeSearchParams) WithFrom ¶
func (o *TransportTypeSearchParams) WithFrom(from *int64) *TransportTypeSearchParams
WithFrom adds the from to the transport type search params
func (*TransportTypeSearchParams) WithHTTPClient ¶
func (o *TransportTypeSearchParams) WithHTTPClient(client *http.Client) *TransportTypeSearchParams
WithHTTPClient adds the HTTPClient to the transport type search params
func (*TransportTypeSearchParams) WithName ¶
func (o *TransportTypeSearchParams) WithName(name *string) *TransportTypeSearchParams
WithName adds the name to the transport type search params
func (*TransportTypeSearchParams) WithSorting ¶
func (o *TransportTypeSearchParams) WithSorting(sorting *string) *TransportTypeSearchParams
WithSorting adds the sorting to the transport type search params
func (*TransportTypeSearchParams) WithSupplierID ¶
func (o *TransportTypeSearchParams) WithSupplierID(supplierID []int32) *TransportTypeSearchParams
WithSupplierID adds the supplierID to the transport type search params
func (*TransportTypeSearchParams) WithTimeout ¶
func (o *TransportTypeSearchParams) WithTimeout(timeout time.Duration) *TransportTypeSearchParams
WithTimeout adds the timeout to the transport type search params
func (*TransportTypeSearchParams) WriteToRequest ¶
func (o *TransportTypeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TransportTypeSearchReader ¶
type TransportTypeSearchReader struct {
// contains filtered or unexported fields
}
TransportTypeSearchReader is a Reader for the TransportTypeSearch structure.
func (*TransportTypeSearchReader) ReadResponse ¶
func (o *TransportTypeSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.