Documentation ¶
Index ¶
- type Client
- func (a *Client) GetEveroutePackages(params *GetEveroutePackagesParams, opts ...ClientOption) (*GetEveroutePackagesOK, error)
- func (a *Client) GetEveroutePackagesConnection(params *GetEveroutePackagesConnectionParams, opts ...ClientOption) (*GetEveroutePackagesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetEveroutePackagesBadRequest
- type GetEveroutePackagesConnectionBadRequest
- type GetEveroutePackagesConnectionInternalServerError
- type GetEveroutePackagesConnectionNotFound
- type GetEveroutePackagesConnectionOK
- type GetEveroutePackagesConnectionParams
- func NewGetEveroutePackagesConnectionParams() *GetEveroutePackagesConnectionParams
- func NewGetEveroutePackagesConnectionParamsWithContext(ctx context.Context) *GetEveroutePackagesConnectionParams
- func NewGetEveroutePackagesConnectionParamsWithHTTPClient(client *http.Client) *GetEveroutePackagesConnectionParams
- func NewGetEveroutePackagesConnectionParamsWithTimeout(timeout time.Duration) *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetEveroutePackagesConnectionParams) SetContext(ctx context.Context)
- func (o *GetEveroutePackagesConnectionParams) SetDefaults()
- func (o *GetEveroutePackagesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetEveroutePackagesConnectionParams) SetRequestBody(requestBody *models.GetEveroutePackagesConnectionRequestBody)
- func (o *GetEveroutePackagesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetEveroutePackagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) WithContext(ctx context.Context) *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) WithDefaults() *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) WithHTTPClient(client *http.Client) *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) WithRequestBody(requestBody *models.GetEveroutePackagesConnectionRequestBody) *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) WithTimeout(timeout time.Duration) *GetEveroutePackagesConnectionParams
- func (o *GetEveroutePackagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEveroutePackagesConnectionReader
- type GetEveroutePackagesInternalServerError
- type GetEveroutePackagesNotFound
- type GetEveroutePackagesOK
- type GetEveroutePackagesParams
- func NewGetEveroutePackagesParams() *GetEveroutePackagesParams
- func NewGetEveroutePackagesParamsWithContext(ctx context.Context) *GetEveroutePackagesParams
- func NewGetEveroutePackagesParamsWithHTTPClient(client *http.Client) *GetEveroutePackagesParams
- func NewGetEveroutePackagesParamsWithTimeout(timeout time.Duration) *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetEveroutePackagesParams) SetContext(ctx context.Context)
- func (o *GetEveroutePackagesParams) SetDefaults()
- func (o *GetEveroutePackagesParams) SetHTTPClient(client *http.Client)
- func (o *GetEveroutePackagesParams) SetRequestBody(requestBody *models.GetEveroutePackagesRequestBody)
- func (o *GetEveroutePackagesParams) SetTimeout(timeout time.Duration)
- func (o *GetEveroutePackagesParams) WithContentLanguage(contentLanguage *string) *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) WithContext(ctx context.Context) *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) WithDefaults() *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) WithHTTPClient(client *http.Client) *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) WithRequestBody(requestBody *models.GetEveroutePackagesRequestBody) *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) WithTimeout(timeout time.Duration) *GetEveroutePackagesParams
- func (o *GetEveroutePackagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEveroutePackagesReader
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 everoute package API
func (*Client) GetEveroutePackages ¶
func (a *Client) GetEveroutePackages(params *GetEveroutePackagesParams, opts ...ClientOption) (*GetEveroutePackagesOK, error)
GetEveroutePackages get everoute packages API
func (*Client) GetEveroutePackagesConnection ¶
func (a *Client) GetEveroutePackagesConnection(params *GetEveroutePackagesConnectionParams, opts ...ClientOption) (*GetEveroutePackagesConnectionOK, error)
GetEveroutePackagesConnection get everoute packages connection API
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 { GetEveroutePackages(params *GetEveroutePackagesParams, opts ...ClientOption) (*GetEveroutePackagesOK, error) GetEveroutePackagesConnection(params *GetEveroutePackagesConnectionParams, opts ...ClientOption) (*GetEveroutePackagesConnectionOK, 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 everoute package API client.
type GetEveroutePackagesBadRequest ¶
GetEveroutePackagesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetEveroutePackagesBadRequest ¶
func NewGetEveroutePackagesBadRequest() *GetEveroutePackagesBadRequest
NewGetEveroutePackagesBadRequest creates a GetEveroutePackagesBadRequest with default headers values
func (*GetEveroutePackagesBadRequest) Error ¶
func (o *GetEveroutePackagesBadRequest) Error() string
func (*GetEveroutePackagesBadRequest) GetPayload ¶
func (o *GetEveroutePackagesBadRequest) GetPayload() *models.ErrorBody
type GetEveroutePackagesConnectionBadRequest ¶
type GetEveroutePackagesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetEveroutePackagesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetEveroutePackagesConnectionBadRequest ¶
func NewGetEveroutePackagesConnectionBadRequest() *GetEveroutePackagesConnectionBadRequest
NewGetEveroutePackagesConnectionBadRequest creates a GetEveroutePackagesConnectionBadRequest with default headers values
func (*GetEveroutePackagesConnectionBadRequest) Error ¶
func (o *GetEveroutePackagesConnectionBadRequest) Error() string
func (*GetEveroutePackagesConnectionBadRequest) GetPayload ¶
func (o *GetEveroutePackagesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetEveroutePackagesConnectionInternalServerError ¶
type GetEveroutePackagesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetEveroutePackagesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetEveroutePackagesConnectionInternalServerError ¶
func NewGetEveroutePackagesConnectionInternalServerError() *GetEveroutePackagesConnectionInternalServerError
NewGetEveroutePackagesConnectionInternalServerError creates a GetEveroutePackagesConnectionInternalServerError with default headers values
func (*GetEveroutePackagesConnectionInternalServerError) Error ¶
func (o *GetEveroutePackagesConnectionInternalServerError) Error() string
func (*GetEveroutePackagesConnectionInternalServerError) GetPayload ¶
func (o *GetEveroutePackagesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetEveroutePackagesConnectionNotFound ¶
type GetEveroutePackagesConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetEveroutePackagesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetEveroutePackagesConnectionNotFound ¶
func NewGetEveroutePackagesConnectionNotFound() *GetEveroutePackagesConnectionNotFound
NewGetEveroutePackagesConnectionNotFound creates a GetEveroutePackagesConnectionNotFound with default headers values
func (*GetEveroutePackagesConnectionNotFound) Error ¶
func (o *GetEveroutePackagesConnectionNotFound) Error() string
func (*GetEveroutePackagesConnectionNotFound) GetPayload ¶
func (o *GetEveroutePackagesConnectionNotFound) GetPayload() *models.ErrorBody
type GetEveroutePackagesConnectionOK ¶
type GetEveroutePackagesConnectionOK struct { XTowerRequestID string Payload *models.EveroutePackageConnection }
GetEveroutePackagesConnectionOK describes a response with status code 200, with default header values.
GetEveroutePackagesConnectionOK get everoute packages connection o k
func NewGetEveroutePackagesConnectionOK ¶
func NewGetEveroutePackagesConnectionOK() *GetEveroutePackagesConnectionOK
NewGetEveroutePackagesConnectionOK creates a GetEveroutePackagesConnectionOK with default headers values
func (*GetEveroutePackagesConnectionOK) Error ¶
func (o *GetEveroutePackagesConnectionOK) Error() string
func (*GetEveroutePackagesConnectionOK) GetPayload ¶
func (o *GetEveroutePackagesConnectionOK) GetPayload() *models.EveroutePackageConnection
type GetEveroutePackagesConnectionParams ¶
type GetEveroutePackagesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetEveroutePackagesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEveroutePackagesConnectionParams contains all the parameters to send to the API endpoint
for the get everoute packages connection operation. Typically these are written to a http.Request.
func NewGetEveroutePackagesConnectionParams ¶
func NewGetEveroutePackagesConnectionParams() *GetEveroutePackagesConnectionParams
NewGetEveroutePackagesConnectionParams creates a new GetEveroutePackagesConnectionParams 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 NewGetEveroutePackagesConnectionParamsWithContext ¶
func NewGetEveroutePackagesConnectionParamsWithContext(ctx context.Context) *GetEveroutePackagesConnectionParams
NewGetEveroutePackagesConnectionParamsWithContext creates a new GetEveroutePackagesConnectionParams object with the ability to set a context for a request.
func NewGetEveroutePackagesConnectionParamsWithHTTPClient ¶
func NewGetEveroutePackagesConnectionParamsWithHTTPClient(client *http.Client) *GetEveroutePackagesConnectionParams
NewGetEveroutePackagesConnectionParamsWithHTTPClient creates a new GetEveroutePackagesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetEveroutePackagesConnectionParamsWithTimeout ¶
func NewGetEveroutePackagesConnectionParamsWithTimeout(timeout time.Duration) *GetEveroutePackagesConnectionParams
NewGetEveroutePackagesConnectionParamsWithTimeout creates a new GetEveroutePackagesConnectionParams object with the ability to set a timeout on a request.
func (*GetEveroutePackagesConnectionParams) SetContentLanguage ¶
func (o *GetEveroutePackagesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) SetContext ¶
func (o *GetEveroutePackagesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) SetDefaults ¶
func (o *GetEveroutePackagesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get everoute packages connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetEveroutePackagesConnectionParams) SetHTTPClient ¶
func (o *GetEveroutePackagesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) SetRequestBody ¶
func (o *GetEveroutePackagesConnectionParams) SetRequestBody(requestBody *models.GetEveroutePackagesConnectionRequestBody)
SetRequestBody adds the requestBody to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) SetTimeout ¶
func (o *GetEveroutePackagesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) WithContentLanguage ¶
func (o *GetEveroutePackagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetEveroutePackagesConnectionParams
WithContentLanguage adds the contentLanguage to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) WithContext ¶
func (o *GetEveroutePackagesConnectionParams) WithContext(ctx context.Context) *GetEveroutePackagesConnectionParams
WithContext adds the context to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) WithDefaults ¶
func (o *GetEveroutePackagesConnectionParams) WithDefaults() *GetEveroutePackagesConnectionParams
WithDefaults hydrates default values in the get everoute packages connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetEveroutePackagesConnectionParams) WithHTTPClient ¶
func (o *GetEveroutePackagesConnectionParams) WithHTTPClient(client *http.Client) *GetEveroutePackagesConnectionParams
WithHTTPClient adds the HTTPClient to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) WithRequestBody ¶
func (o *GetEveroutePackagesConnectionParams) WithRequestBody(requestBody *models.GetEveroutePackagesConnectionRequestBody) *GetEveroutePackagesConnectionParams
WithRequestBody adds the requestBody to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) WithTimeout ¶
func (o *GetEveroutePackagesConnectionParams) WithTimeout(timeout time.Duration) *GetEveroutePackagesConnectionParams
WithTimeout adds the timeout to the get everoute packages connection params
func (*GetEveroutePackagesConnectionParams) WriteToRequest ¶
func (o *GetEveroutePackagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEveroutePackagesConnectionReader ¶
type GetEveroutePackagesConnectionReader struct {
// contains filtered or unexported fields
}
GetEveroutePackagesConnectionReader is a Reader for the GetEveroutePackagesConnection structure.
func (*GetEveroutePackagesConnectionReader) ReadResponse ¶
func (o *GetEveroutePackagesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEveroutePackagesInternalServerError ¶
type GetEveroutePackagesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetEveroutePackagesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetEveroutePackagesInternalServerError ¶
func NewGetEveroutePackagesInternalServerError() *GetEveroutePackagesInternalServerError
NewGetEveroutePackagesInternalServerError creates a GetEveroutePackagesInternalServerError with default headers values
func (*GetEveroutePackagesInternalServerError) Error ¶
func (o *GetEveroutePackagesInternalServerError) Error() string
func (*GetEveroutePackagesInternalServerError) GetPayload ¶
func (o *GetEveroutePackagesInternalServerError) GetPayload() *models.ErrorBody
type GetEveroutePackagesNotFound ¶
GetEveroutePackagesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetEveroutePackagesNotFound ¶
func NewGetEveroutePackagesNotFound() *GetEveroutePackagesNotFound
NewGetEveroutePackagesNotFound creates a GetEveroutePackagesNotFound with default headers values
func (*GetEveroutePackagesNotFound) Error ¶
func (o *GetEveroutePackagesNotFound) Error() string
func (*GetEveroutePackagesNotFound) GetPayload ¶
func (o *GetEveroutePackagesNotFound) GetPayload() *models.ErrorBody
type GetEveroutePackagesOK ¶
type GetEveroutePackagesOK struct { XTowerRequestID string Payload []*models.EveroutePackage }
GetEveroutePackagesOK describes a response with status code 200, with default header values.
GetEveroutePackagesOK get everoute packages o k
func NewGetEveroutePackagesOK ¶
func NewGetEveroutePackagesOK() *GetEveroutePackagesOK
NewGetEveroutePackagesOK creates a GetEveroutePackagesOK with default headers values
func (*GetEveroutePackagesOK) Error ¶
func (o *GetEveroutePackagesOK) Error() string
func (*GetEveroutePackagesOK) GetPayload ¶
func (o *GetEveroutePackagesOK) GetPayload() []*models.EveroutePackage
type GetEveroutePackagesParams ¶
type GetEveroutePackagesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetEveroutePackagesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEveroutePackagesParams contains all the parameters to send to the API endpoint
for the get everoute packages operation. Typically these are written to a http.Request.
func NewGetEveroutePackagesParams ¶
func NewGetEveroutePackagesParams() *GetEveroutePackagesParams
NewGetEveroutePackagesParams creates a new GetEveroutePackagesParams 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 NewGetEveroutePackagesParamsWithContext ¶
func NewGetEveroutePackagesParamsWithContext(ctx context.Context) *GetEveroutePackagesParams
NewGetEveroutePackagesParamsWithContext creates a new GetEveroutePackagesParams object with the ability to set a context for a request.
func NewGetEveroutePackagesParamsWithHTTPClient ¶
func NewGetEveroutePackagesParamsWithHTTPClient(client *http.Client) *GetEveroutePackagesParams
NewGetEveroutePackagesParamsWithHTTPClient creates a new GetEveroutePackagesParams object with the ability to set a custom HTTPClient for a request.
func NewGetEveroutePackagesParamsWithTimeout ¶
func NewGetEveroutePackagesParamsWithTimeout(timeout time.Duration) *GetEveroutePackagesParams
NewGetEveroutePackagesParamsWithTimeout creates a new GetEveroutePackagesParams object with the ability to set a timeout on a request.
func (*GetEveroutePackagesParams) SetContentLanguage ¶
func (o *GetEveroutePackagesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get everoute packages params
func (*GetEveroutePackagesParams) SetContext ¶
func (o *GetEveroutePackagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get everoute packages params
func (*GetEveroutePackagesParams) SetDefaults ¶
func (o *GetEveroutePackagesParams) SetDefaults()
SetDefaults hydrates default values in the get everoute packages params (not the query body).
All values with no default are reset to their zero value.
func (*GetEveroutePackagesParams) SetHTTPClient ¶
func (o *GetEveroutePackagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get everoute packages params
func (*GetEveroutePackagesParams) SetRequestBody ¶
func (o *GetEveroutePackagesParams) SetRequestBody(requestBody *models.GetEveroutePackagesRequestBody)
SetRequestBody adds the requestBody to the get everoute packages params
func (*GetEveroutePackagesParams) SetTimeout ¶
func (o *GetEveroutePackagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get everoute packages params
func (*GetEveroutePackagesParams) WithContentLanguage ¶
func (o *GetEveroutePackagesParams) WithContentLanguage(contentLanguage *string) *GetEveroutePackagesParams
WithContentLanguage adds the contentLanguage to the get everoute packages params
func (*GetEveroutePackagesParams) WithContext ¶
func (o *GetEveroutePackagesParams) WithContext(ctx context.Context) *GetEveroutePackagesParams
WithContext adds the context to the get everoute packages params
func (*GetEveroutePackagesParams) WithDefaults ¶
func (o *GetEveroutePackagesParams) WithDefaults() *GetEveroutePackagesParams
WithDefaults hydrates default values in the get everoute packages params (not the query body).
All values with no default are reset to their zero value.
func (*GetEveroutePackagesParams) WithHTTPClient ¶
func (o *GetEveroutePackagesParams) WithHTTPClient(client *http.Client) *GetEveroutePackagesParams
WithHTTPClient adds the HTTPClient to the get everoute packages params
func (*GetEveroutePackagesParams) WithRequestBody ¶
func (o *GetEveroutePackagesParams) WithRequestBody(requestBody *models.GetEveroutePackagesRequestBody) *GetEveroutePackagesParams
WithRequestBody adds the requestBody to the get everoute packages params
func (*GetEveroutePackagesParams) WithTimeout ¶
func (o *GetEveroutePackagesParams) WithTimeout(timeout time.Duration) *GetEveroutePackagesParams
WithTimeout adds the timeout to the get everoute packages params
func (*GetEveroutePackagesParams) WriteToRequest ¶
func (o *GetEveroutePackagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEveroutePackagesReader ¶
type GetEveroutePackagesReader struct {
// contains filtered or unexported fields
}
GetEveroutePackagesReader is a Reader for the GetEveroutePackages structure.
func (*GetEveroutePackagesReader) ReadResponse ¶
func (o *GetEveroutePackagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.