Documentation ¶
Index ¶
- type Client
- func (a *Client) GetUserPlatformAccountClosureHistories(params *GetUserPlatformAccountClosureHistoriesParams, ...) (*GetUserPlatformAccountClosureHistoriesOK, error)deprecated
- func (a *Client) GetUserPlatformAccountClosureHistoriesShort(params *GetUserPlatformAccountClosureHistoriesParams, ...) (*GetUserPlatformAccountClosureHistoriesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetUserPlatformAccountClosureHistoriesOK
- type GetUserPlatformAccountClosureHistoriesParams
- func NewGetUserPlatformAccountClosureHistoriesParams() *GetUserPlatformAccountClosureHistoriesParams
- func NewGetUserPlatformAccountClosureHistoriesParamsWithContext(ctx context.Context) *GetUserPlatformAccountClosureHistoriesParams
- func NewGetUserPlatformAccountClosureHistoriesParamsWithHTTPClient(client *http.Client) *GetUserPlatformAccountClosureHistoriesParams
- func NewGetUserPlatformAccountClosureHistoriesParamsWithTimeout(timeout time.Duration) *GetUserPlatformAccountClosureHistoriesParams
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetContext(ctx context.Context)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetFlightId(flightId string)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetNamespace(namespace string)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserPlatformAccountClosureHistoriesParams) SetUserID(userID string)
- func (o *GetUserPlatformAccountClosureHistoriesParams) WithContext(ctx context.Context) *GetUserPlatformAccountClosureHistoriesParams
- func (o *GetUserPlatformAccountClosureHistoriesParams) WithHTTPClient(client *http.Client) *GetUserPlatformAccountClosureHistoriesParams
- func (o *GetUserPlatformAccountClosureHistoriesParams) WithNamespace(namespace string) *GetUserPlatformAccountClosureHistoriesParams
- func (o *GetUserPlatformAccountClosureHistoriesParams) WithTimeout(timeout time.Duration) *GetUserPlatformAccountClosureHistoriesParams
- func (o *GetUserPlatformAccountClosureHistoriesParams) WithUserID(userID string) *GetUserPlatformAccountClosureHistoriesParams
- func (o *GetUserPlatformAccountClosureHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserPlatformAccountClosureHistoriesReader
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 platform account closure API
func (*Client) GetUserPlatformAccountClosureHistories
deprecated
func (a *Client) GetUserPlatformAccountClosureHistories(params *GetUserPlatformAccountClosureHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPlatformAccountClosureHistoriesOK, error)
Deprecated: 2022-08-10 - Use GetUserPlatformAccountClosureHistoriesShort instead.
GetUserPlatformAccountClosureHistories get user platform account closure history Get user platform account closure history.
func (*Client) GetUserPlatformAccountClosureHistoriesShort ¶
func (a *Client) GetUserPlatformAccountClosureHistoriesShort(params *GetUserPlatformAccountClosureHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPlatformAccountClosureHistoriesOK, error)
GetUserPlatformAccountClosureHistoriesShort get user platform account closure history Get user platform account closure history.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetUserPlatformAccountClosureHistories(params *GetUserPlatformAccountClosureHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPlatformAccountClosureHistoriesOK, error) GetUserPlatformAccountClosureHistoriesShort(params *GetUserPlatformAccountClosureHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPlatformAccountClosureHistoriesOK, 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 platform account closure API client.
type GetUserPlatformAccountClosureHistoriesOK ¶
type GetUserPlatformAccountClosureHistoriesOK struct {
Payload []*platformclientmodels.PlatformAccountClosureHistoryInfo
}
GetUserPlatformAccountClosureHistoriesOK handles this case with default header values.
successful operation
func NewGetUserPlatformAccountClosureHistoriesOK ¶
func NewGetUserPlatformAccountClosureHistoriesOK() *GetUserPlatformAccountClosureHistoriesOK
NewGetUserPlatformAccountClosureHistoriesOK creates a GetUserPlatformAccountClosureHistoriesOK with default headers values
func (*GetUserPlatformAccountClosureHistoriesOK) Error ¶
func (o *GetUserPlatformAccountClosureHistoriesOK) Error() string
func (*GetUserPlatformAccountClosureHistoriesOK) GetPayload ¶
func (o *GetUserPlatformAccountClosureHistoriesOK) GetPayload() []*platformclientmodels.PlatformAccountClosureHistoryInfo
func (*GetUserPlatformAccountClosureHistoriesOK) ToJSONString ¶
func (o *GetUserPlatformAccountClosureHistoriesOK) ToJSONString() string
type GetUserPlatformAccountClosureHistoriesParams ¶
type GetUserPlatformAccountClosureHistoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID 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 }
GetUserPlatformAccountClosureHistoriesParams contains all the parameters to send to the API endpoint for the get user platform account closure histories operation typically these are written to a http.Request
func NewGetUserPlatformAccountClosureHistoriesParams ¶
func NewGetUserPlatformAccountClosureHistoriesParams() *GetUserPlatformAccountClosureHistoriesParams
NewGetUserPlatformAccountClosureHistoriesParams creates a new GetUserPlatformAccountClosureHistoriesParams object with the default values initialized.
func NewGetUserPlatformAccountClosureHistoriesParamsWithContext ¶
func NewGetUserPlatformAccountClosureHistoriesParamsWithContext(ctx context.Context) *GetUserPlatformAccountClosureHistoriesParams
NewGetUserPlatformAccountClosureHistoriesParamsWithContext creates a new GetUserPlatformAccountClosureHistoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserPlatformAccountClosureHistoriesParamsWithHTTPClient ¶
func NewGetUserPlatformAccountClosureHistoriesParamsWithHTTPClient(client *http.Client) *GetUserPlatformAccountClosureHistoriesParams
NewGetUserPlatformAccountClosureHistoriesParamsWithHTTPClient creates a new GetUserPlatformAccountClosureHistoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserPlatformAccountClosureHistoriesParamsWithTimeout ¶
func NewGetUserPlatformAccountClosureHistoriesParamsWithTimeout(timeout time.Duration) *GetUserPlatformAccountClosureHistoriesParams
NewGetUserPlatformAccountClosureHistoriesParamsWithTimeout creates a new GetUserPlatformAccountClosureHistoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserPlatformAccountClosureHistoriesParams) SetAuthInfoWriter ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) SetContext ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) SetFlightId ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserPlatformAccountClosureHistoriesParams) SetHTTPClient ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) SetHTTPClientTransport ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) SetNamespace ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) SetTimeout ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) SetUserID ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) SetUserID(userID string)
SetUserID adds the userId to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) WithContext ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) WithContext(ctx context.Context) *GetUserPlatformAccountClosureHistoriesParams
WithContext adds the context to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) WithHTTPClient ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) WithHTTPClient(client *http.Client) *GetUserPlatformAccountClosureHistoriesParams
WithHTTPClient adds the HTTPClient to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) WithNamespace ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) WithNamespace(namespace string) *GetUserPlatformAccountClosureHistoriesParams
WithNamespace adds the namespace to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) WithTimeout ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) WithTimeout(timeout time.Duration) *GetUserPlatformAccountClosureHistoriesParams
WithTimeout adds the timeout to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) WithUserID ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) WithUserID(userID string) *GetUserPlatformAccountClosureHistoriesParams
WithUserID adds the userID to the get user platform account closure histories params
func (*GetUserPlatformAccountClosureHistoriesParams) WriteToRequest ¶
func (o *GetUserPlatformAccountClosureHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserPlatformAccountClosureHistoriesReader ¶
type GetUserPlatformAccountClosureHistoriesReader struct {
// contains filtered or unexported fields
}
GetUserPlatformAccountClosureHistoriesReader is a Reader for the GetUserPlatformAccountClosureHistories structure.
func (*GetUserPlatformAccountClosureHistoriesReader) ReadResponse ¶
func (o *GetUserPlatformAccountClosureHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.