Documentation ¶
Index ¶
- type Client
- func (a *Client) ExportSeason(params *ExportSeasonParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportSeasonOK, *ExportSeasonBadRequest, error)deprecated
- func (a *Client) ExportSeasonShort(params *ExportSeasonParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportSeasonOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ExportSeasonBadRequest
- type ExportSeasonOK
- type ExportSeasonParams
- func (o *ExportSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExportSeasonParams) SetContext(ctx context.Context)
- func (o *ExportSeasonParams) SetFlightId(flightId string)
- func (o *ExportSeasonParams) SetHTTPClient(client *http.Client)
- func (o *ExportSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExportSeasonParams) SetNamespace(namespace string)
- func (o *ExportSeasonParams) SetTimeout(timeout time.Duration)
- func (o *ExportSeasonParams) WithContext(ctx context.Context) *ExportSeasonParams
- func (o *ExportSeasonParams) WithHTTPClient(client *http.Client) *ExportSeasonParams
- func (o *ExportSeasonParams) WithNamespace(namespace string) *ExportSeasonParams
- func (o *ExportSeasonParams) WithTimeout(timeout time.Duration) *ExportSeasonParams
- func (o *ExportSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportSeasonReader
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 export API
func (*Client) ExportSeason
deprecated
func (a *Client) ExportSeason(params *ExportSeasonParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportSeasonOK, *ExportSeasonBadRequest, error)
Deprecated: 2022-08-10 - Use ExportSeasonShort instead.
ExportSeason export season service data This API is used to export all of season service data files with csv format.
func (*Client) ExportSeasonShort ¶
func (a *Client) ExportSeasonShort(params *ExportSeasonParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportSeasonOK, error)
ExportSeasonShort export season service data This API is used to export all of season service data files with csv format.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ExportSeason(params *ExportSeasonParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportSeasonOK, *ExportSeasonBadRequest, error) ExportSeasonShort(params *ExportSeasonParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportSeasonOK, 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 export API client.
type ExportSeasonBadRequest ¶
type ExportSeasonBadRequest struct {
Payload *seasonpassclientmodels.ErrorEntity
}
ExportSeasonBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>49143</td><td>Season [{seasonId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewExportSeasonBadRequest ¶
func NewExportSeasonBadRequest() *ExportSeasonBadRequest
NewExportSeasonBadRequest creates a ExportSeasonBadRequest with default headers values
func (*ExportSeasonBadRequest) Error ¶
func (o *ExportSeasonBadRequest) Error() string
func (*ExportSeasonBadRequest) GetPayload ¶
func (o *ExportSeasonBadRequest) GetPayload() *seasonpassclientmodels.ErrorEntity
func (*ExportSeasonBadRequest) ToJSONString ¶
func (o *ExportSeasonBadRequest) ToJSONString() string
type ExportSeasonOK ¶
ExportSeasonOK handles this case with default header values.
Export data successfully
func NewExportSeasonOK ¶
func NewExportSeasonOK(writer io.Writer) *ExportSeasonOK
NewExportSeasonOK creates a ExportSeasonOK with default headers values
func (*ExportSeasonOK) Error ¶
func (o *ExportSeasonOK) Error() string
func (*ExportSeasonOK) GetPayload ¶
func (o *ExportSeasonOK) GetPayload() io.Writer
func (*ExportSeasonOK) ToJSONString ¶
func (o *ExportSeasonOK) ToJSONString() string
type ExportSeasonParams ¶
type ExportSeasonParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ExportSeasonParams contains all the parameters to send to the API endpoint for the export season operation typically these are written to a http.Request
func NewExportSeasonParams ¶
func NewExportSeasonParams() *ExportSeasonParams
NewExportSeasonParams creates a new ExportSeasonParams object with the default values initialized.
func NewExportSeasonParamsWithContext ¶
func NewExportSeasonParamsWithContext(ctx context.Context) *ExportSeasonParams
NewExportSeasonParamsWithContext creates a new ExportSeasonParams object with the default values initialized, and the ability to set a context for a request
func NewExportSeasonParamsWithHTTPClient ¶
func NewExportSeasonParamsWithHTTPClient(client *http.Client) *ExportSeasonParams
NewExportSeasonParamsWithHTTPClient creates a new ExportSeasonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExportSeasonParamsWithTimeout ¶
func NewExportSeasonParamsWithTimeout(timeout time.Duration) *ExportSeasonParams
NewExportSeasonParamsWithTimeout creates a new ExportSeasonParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExportSeasonParams) SetAuthInfoWriter ¶
func (o *ExportSeasonParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the export season params
func (*ExportSeasonParams) SetContext ¶
func (o *ExportSeasonParams) SetContext(ctx context.Context)
SetContext adds the context to the export season params
func (*ExportSeasonParams) SetFlightId ¶ added in v0.63.0
func (o *ExportSeasonParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ExportSeasonParams) SetHTTPClient ¶
func (o *ExportSeasonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export season params
func (*ExportSeasonParams) SetHTTPClientTransport ¶
func (o *ExportSeasonParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the export season params
func (*ExportSeasonParams) SetNamespace ¶
func (o *ExportSeasonParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the export season params
func (*ExportSeasonParams) SetTimeout ¶
func (o *ExportSeasonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export season params
func (*ExportSeasonParams) WithContext ¶
func (o *ExportSeasonParams) WithContext(ctx context.Context) *ExportSeasonParams
WithContext adds the context to the export season params
func (*ExportSeasonParams) WithHTTPClient ¶
func (o *ExportSeasonParams) WithHTTPClient(client *http.Client) *ExportSeasonParams
WithHTTPClient adds the HTTPClient to the export season params
func (*ExportSeasonParams) WithNamespace ¶
func (o *ExportSeasonParams) WithNamespace(namespace string) *ExportSeasonParams
WithNamespace adds the namespace to the export season params
func (*ExportSeasonParams) WithTimeout ¶
func (o *ExportSeasonParams) WithTimeout(timeout time.Duration) *ExportSeasonParams
WithTimeout adds the timeout to the export season params
func (*ExportSeasonParams) WriteToRequest ¶
func (o *ExportSeasonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportSeasonReader ¶
type ExportSeasonReader struct {
// contains filtered or unexported fields
}
ExportSeasonReader is a Reader for the ExportSeason structure.
func (*ExportSeasonReader) ReadResponse ¶
func (o *ExportSeasonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.