Documentation ¶
Index ¶
- type Client
- func (a *Client) FleetServerHistory(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, *FleetServerHistoryBadRequest, ...)deprecated
- func (a *Client) FleetServerHistoryShort(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, error)
- func (a *Client) FleetServerInfo(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, *FleetServerInfoUnauthorized, *FleetServerInfoForbidden, ...)deprecated
- func (a *Client) FleetServerInfoShort(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, error)
- func (a *Client) ServerHistory(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, *ServerHistoryBadRequest, *ServerHistoryUnauthorized, ...)deprecated
- func (a *Client) ServerHistoryShort(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type FleetServerHistoryBadRequest
- type FleetServerHistoryForbidden
- type FleetServerHistoryInternalServerError
- type FleetServerHistoryOK
- type FleetServerHistoryParams
- func NewFleetServerHistoryParams() *FleetServerHistoryParams
- func NewFleetServerHistoryParamsWithContext(ctx context.Context) *FleetServerHistoryParams
- func NewFleetServerHistoryParamsWithHTTPClient(client *http.Client) *FleetServerHistoryParams
- func NewFleetServerHistoryParamsWithTimeout(timeout time.Duration) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetServerHistoryParams) SetContext(ctx context.Context)
- func (o *FleetServerHistoryParams) SetCount(count *int64)
- func (o *FleetServerHistoryParams) SetFleetID(fleetID string)
- func (o *FleetServerHistoryParams) SetHTTPClient(client *http.Client)
- func (o *FleetServerHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetServerHistoryParams) SetNamespace(namespace string)
- func (o *FleetServerHistoryParams) SetOffset(offset *int64)
- func (o *FleetServerHistoryParams) SetReason(reason *string)
- func (o *FleetServerHistoryParams) SetRegion(region *string)
- func (o *FleetServerHistoryParams) SetServerID(serverID *string)
- func (o *FleetServerHistoryParams) SetSortDirection(sortDirection *string)
- func (o *FleetServerHistoryParams) SetStatus(status *string)
- func (o *FleetServerHistoryParams) SetTimeout(timeout time.Duration)
- func (o *FleetServerHistoryParams) WithContext(ctx context.Context) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithCount(count *int64) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithFleetID(fleetID string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithHTTPClient(client *http.Client) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithNamespace(namespace string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithOffset(offset *int64) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithReason(reason *string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithRegion(region *string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithServerID(serverID *string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithSortDirection(sortDirection *string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithStatus(status *string) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WithTimeout(timeout time.Duration) *FleetServerHistoryParams
- func (o *FleetServerHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetServerHistoryReader
- type FleetServerHistoryUnauthorized
- type FleetServerInfoForbidden
- type FleetServerInfoInternalServerError
- type FleetServerInfoNotFound
- type FleetServerInfoOK
- type FleetServerInfoParams
- func NewFleetServerInfoParams() *FleetServerInfoParams
- func NewFleetServerInfoParamsWithContext(ctx context.Context) *FleetServerInfoParams
- func NewFleetServerInfoParamsWithHTTPClient(client *http.Client) *FleetServerInfoParams
- func NewFleetServerInfoParamsWithTimeout(timeout time.Duration) *FleetServerInfoParams
- func (o *FleetServerInfoParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetServerInfoParams) SetContext(ctx context.Context)
- func (o *FleetServerInfoParams) SetHTTPClient(client *http.Client)
- func (o *FleetServerInfoParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetServerInfoParams) SetNamespace(namespace string)
- func (o *FleetServerInfoParams) SetServerID(serverID string)
- func (o *FleetServerInfoParams) SetTimeout(timeout time.Duration)
- func (o *FleetServerInfoParams) WithContext(ctx context.Context) *FleetServerInfoParams
- func (o *FleetServerInfoParams) WithHTTPClient(client *http.Client) *FleetServerInfoParams
- func (o *FleetServerInfoParams) WithNamespace(namespace string) *FleetServerInfoParams
- func (o *FleetServerInfoParams) WithServerID(serverID string) *FleetServerInfoParams
- func (o *FleetServerInfoParams) WithTimeout(timeout time.Duration) *FleetServerInfoParams
- func (o *FleetServerInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetServerInfoReader
- type FleetServerInfoUnauthorized
- type ServerHistoryBadRequest
- type ServerHistoryForbidden
- type ServerHistoryInternalServerError
- type ServerHistoryOK
- type ServerHistoryParams
- func (o *ServerHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ServerHistoryParams) SetContext(ctx context.Context)
- func (o *ServerHistoryParams) SetHTTPClient(client *http.Client)
- func (o *ServerHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ServerHistoryParams) SetNamespace(namespace string)
- func (o *ServerHistoryParams) SetServerID(serverID string)
- func (o *ServerHistoryParams) SetTimeout(timeout time.Duration)
- func (o *ServerHistoryParams) WithContext(ctx context.Context) *ServerHistoryParams
- func (o *ServerHistoryParams) WithHTTPClient(client *http.Client) *ServerHistoryParams
- func (o *ServerHistoryParams) WithNamespace(namespace string) *ServerHistoryParams
- func (o *ServerHistoryParams) WithServerID(serverID string) *ServerHistoryParams
- func (o *ServerHistoryParams) WithTimeout(timeout time.Duration) *ServerHistoryParams
- func (o *ServerHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerHistoryReader
- type ServerHistoryUnauthorized
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 servers API
func (*Client) FleetServerHistory
deprecated
func (a *Client) FleetServerHistory(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, *FleetServerHistoryBadRequest, *FleetServerHistoryUnauthorized, *FleetServerHistoryForbidden, *FleetServerHistoryInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetServerHistoryShort instead.
FleetServerHistory get history records of a specific dedicated server for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) FleetServerHistoryShort ¶
func (a *Client) FleetServerHistoryShort(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, error)
FleetServerHistoryShort get history records of a specific dedicated server for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) FleetServerInfo
deprecated
func (a *Client) FleetServerInfo(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, *FleetServerInfoUnauthorized, *FleetServerInfoForbidden, *FleetServerInfoNotFound, *FleetServerInfoInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetServerInfoShort instead.
FleetServerInfo get information about a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) FleetServerInfoShort ¶
func (a *Client) FleetServerInfoShort(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, error)
FleetServerInfoShort get information about a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) ServerHistory
deprecated
func (a *Client) ServerHistory(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, *ServerHistoryBadRequest, *ServerHistoryUnauthorized, *ServerHistoryForbidden, *ServerHistoryInternalServerError, error)
Deprecated: 2022-08-10 - Use ServerHistoryShort instead.
ServerHistory get history records of a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) ServerHistoryShort ¶
func (a *Client) ServerHistoryShort(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, error)
ServerHistoryShort get history records of a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { FleetServerHistory(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, *FleetServerHistoryBadRequest, *FleetServerHistoryUnauthorized, *FleetServerHistoryForbidden, *FleetServerHistoryInternalServerError, error) FleetServerHistoryShort(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, error) FleetServerInfo(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, *FleetServerInfoUnauthorized, *FleetServerInfoForbidden, *FleetServerInfoNotFound, *FleetServerInfoInternalServerError, error) FleetServerInfoShort(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, error) ServerHistory(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, *ServerHistoryBadRequest, *ServerHistoryUnauthorized, *ServerHistoryForbidden, *ServerHistoryInternalServerError, error) ServerHistoryShort(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, 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 servers API client.
type FleetServerHistoryBadRequest ¶
type FleetServerHistoryBadRequest struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetServerHistoryBadRequest handles this case with default header values.
bad request
func NewFleetServerHistoryBadRequest ¶
func NewFleetServerHistoryBadRequest() *FleetServerHistoryBadRequest
NewFleetServerHistoryBadRequest creates a FleetServerHistoryBadRequest with default headers values
func (*FleetServerHistoryBadRequest) Error ¶
func (o *FleetServerHistoryBadRequest) Error() string
func (*FleetServerHistoryBadRequest) GetPayload ¶
func (o *FleetServerHistoryBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerHistoryBadRequest) ToJSONString ¶
func (o *FleetServerHistoryBadRequest) ToJSONString() string
type FleetServerHistoryForbidden ¶
type FleetServerHistoryForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetServerHistoryForbidden handles this case with default header values.
insufficient permissions
func NewFleetServerHistoryForbidden ¶
func NewFleetServerHistoryForbidden() *FleetServerHistoryForbidden
NewFleetServerHistoryForbidden creates a FleetServerHistoryForbidden with default headers values
func (*FleetServerHistoryForbidden) Error ¶
func (o *FleetServerHistoryForbidden) Error() string
func (*FleetServerHistoryForbidden) GetPayload ¶
func (o *FleetServerHistoryForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerHistoryForbidden) ToJSONString ¶
func (o *FleetServerHistoryForbidden) ToJSONString() string
type FleetServerHistoryInternalServerError ¶
type FleetServerHistoryInternalServerError struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetServerHistoryInternalServerError handles this case with default header values.
internal server error
func NewFleetServerHistoryInternalServerError ¶
func NewFleetServerHistoryInternalServerError() *FleetServerHistoryInternalServerError
NewFleetServerHistoryInternalServerError creates a FleetServerHistoryInternalServerError with default headers values
func (*FleetServerHistoryInternalServerError) Error ¶
func (o *FleetServerHistoryInternalServerError) Error() string
func (*FleetServerHistoryInternalServerError) GetPayload ¶
func (o *FleetServerHistoryInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerHistoryInternalServerError) ToJSONString ¶
func (o *FleetServerHistoryInternalServerError) ToJSONString() string
type FleetServerHistoryOK ¶
type FleetServerHistoryOK struct {
Payload *amsclientmodels.APIDSHistoryList
}
FleetServerHistoryOK handles this case with default header values.
success
func NewFleetServerHistoryOK ¶
func NewFleetServerHistoryOK() *FleetServerHistoryOK
NewFleetServerHistoryOK creates a FleetServerHistoryOK with default headers values
func (*FleetServerHistoryOK) Error ¶
func (o *FleetServerHistoryOK) Error() string
func (*FleetServerHistoryOK) GetPayload ¶
func (o *FleetServerHistoryOK) GetPayload() *amsclientmodels.APIDSHistoryList
func (*FleetServerHistoryOK) ToJSONString ¶
func (o *FleetServerHistoryOK) ToJSONString() string
type FleetServerHistoryParams ¶
type FleetServerHistoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*FleetID ID of the fleet */ FleetID string /*Namespace namespace of the game */ Namespace string /*Count Defines the maximum number of records returned in one page. Default is 1000 when not provided. */ Count *int64 /*Offset Specifies the start index for the records returned. Useful for implementing pagination. Default is 0 when not provided. */ Offset *int64 /*Reason Exit reason */ Reason *string /*Region Region */ Region *string /*ServerID Dedicated server ID */ ServerID *string /*SortDirection The direction of the sort on the 'createdAt' column, 'asc' for ascending and 'desc' for descending. Defaults to 'asc' when not provided. */ SortDirection *string /*Status Status of the dedicated server */ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FleetServerHistoryParams contains all the parameters to send to the API endpoint for the fleet server history operation typically these are written to a http.Request
func NewFleetServerHistoryParams ¶
func NewFleetServerHistoryParams() *FleetServerHistoryParams
NewFleetServerHistoryParams creates a new FleetServerHistoryParams object with the default values initialized.
func NewFleetServerHistoryParamsWithContext ¶
func NewFleetServerHistoryParamsWithContext(ctx context.Context) *FleetServerHistoryParams
NewFleetServerHistoryParamsWithContext creates a new FleetServerHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewFleetServerHistoryParamsWithHTTPClient ¶
func NewFleetServerHistoryParamsWithHTTPClient(client *http.Client) *FleetServerHistoryParams
NewFleetServerHistoryParamsWithHTTPClient creates a new FleetServerHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFleetServerHistoryParamsWithTimeout ¶
func NewFleetServerHistoryParamsWithTimeout(timeout time.Duration) *FleetServerHistoryParams
NewFleetServerHistoryParamsWithTimeout creates a new FleetServerHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*FleetServerHistoryParams) SetAuthInfoWriter ¶
func (o *FleetServerHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fleet server history params
func (*FleetServerHistoryParams) SetContext ¶
func (o *FleetServerHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the fleet server history params
func (*FleetServerHistoryParams) SetCount ¶ added in v0.48.0
func (o *FleetServerHistoryParams) SetCount(count *int64)
SetCount adds the count to the fleet server history params
func (*FleetServerHistoryParams) SetFleetID ¶
func (o *FleetServerHistoryParams) SetFleetID(fleetID string)
SetFleetID adds the fleetId to the fleet server history params
func (*FleetServerHistoryParams) SetHTTPClient ¶
func (o *FleetServerHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fleet server history params
func (*FleetServerHistoryParams) SetHTTPClientTransport ¶
func (o *FleetServerHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fleet server history params
func (*FleetServerHistoryParams) SetNamespace ¶
func (o *FleetServerHistoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the fleet server history params
func (*FleetServerHistoryParams) SetOffset ¶ added in v0.47.0
func (o *FleetServerHistoryParams) SetOffset(offset *int64)
SetOffset adds the offset to the fleet server history params
func (*FleetServerHistoryParams) SetReason ¶ added in v0.51.0
func (o *FleetServerHistoryParams) SetReason(reason *string)
SetReason adds the reason to the fleet server history params
func (*FleetServerHistoryParams) SetRegion ¶ added in v0.51.0
func (o *FleetServerHistoryParams) SetRegion(region *string)
SetRegion adds the region to the fleet server history params
func (*FleetServerHistoryParams) SetServerID ¶ added in v0.51.0
func (o *FleetServerHistoryParams) SetServerID(serverID *string)
SetServerID adds the serverId to the fleet server history params
func (*FleetServerHistoryParams) SetSortDirection ¶ added in v0.51.0
func (o *FleetServerHistoryParams) SetSortDirection(sortDirection *string)
SetSortDirection adds the sortDirection to the fleet server history params
func (*FleetServerHistoryParams) SetStatus ¶ added in v0.51.0
func (o *FleetServerHistoryParams) SetStatus(status *string)
SetStatus adds the status to the fleet server history params
func (*FleetServerHistoryParams) SetTimeout ¶
func (o *FleetServerHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fleet server history params
func (*FleetServerHistoryParams) WithContext ¶
func (o *FleetServerHistoryParams) WithContext(ctx context.Context) *FleetServerHistoryParams
WithContext adds the context to the fleet server history params
func (*FleetServerHistoryParams) WithCount ¶ added in v0.48.0
func (o *FleetServerHistoryParams) WithCount(count *int64) *FleetServerHistoryParams
WithCount adds the count to the fleet server history params
func (*FleetServerHistoryParams) WithFleetID ¶
func (o *FleetServerHistoryParams) WithFleetID(fleetID string) *FleetServerHistoryParams
WithFleetID adds the fleetID to the fleet server history params
func (*FleetServerHistoryParams) WithHTTPClient ¶
func (o *FleetServerHistoryParams) WithHTTPClient(client *http.Client) *FleetServerHistoryParams
WithHTTPClient adds the HTTPClient to the fleet server history params
func (*FleetServerHistoryParams) WithNamespace ¶
func (o *FleetServerHistoryParams) WithNamespace(namespace string) *FleetServerHistoryParams
WithNamespace adds the namespace to the fleet server history params
func (*FleetServerHistoryParams) WithOffset ¶ added in v0.47.0
func (o *FleetServerHistoryParams) WithOffset(offset *int64) *FleetServerHistoryParams
WithOffset adds the offset to the fleet server history params
func (*FleetServerHistoryParams) WithReason ¶ added in v0.51.0
func (o *FleetServerHistoryParams) WithReason(reason *string) *FleetServerHistoryParams
WithReason adds the reason to the fleet server history params
func (*FleetServerHistoryParams) WithRegion ¶ added in v0.51.0
func (o *FleetServerHistoryParams) WithRegion(region *string) *FleetServerHistoryParams
WithRegion adds the region to the fleet server history params
func (*FleetServerHistoryParams) WithServerID ¶ added in v0.51.0
func (o *FleetServerHistoryParams) WithServerID(serverID *string) *FleetServerHistoryParams
WithServerID adds the serverID to the fleet server history params
func (*FleetServerHistoryParams) WithSortDirection ¶ added in v0.51.0
func (o *FleetServerHistoryParams) WithSortDirection(sortDirection *string) *FleetServerHistoryParams
WithSortDirection adds the sortDirection to the fleet server history params
func (*FleetServerHistoryParams) WithStatus ¶ added in v0.51.0
func (o *FleetServerHistoryParams) WithStatus(status *string) *FleetServerHistoryParams
WithStatus adds the status to the fleet server history params
func (*FleetServerHistoryParams) WithTimeout ¶
func (o *FleetServerHistoryParams) WithTimeout(timeout time.Duration) *FleetServerHistoryParams
WithTimeout adds the timeout to the fleet server history params
func (*FleetServerHistoryParams) WriteToRequest ¶
func (o *FleetServerHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FleetServerHistoryReader ¶
type FleetServerHistoryReader struct {
// contains filtered or unexported fields
}
FleetServerHistoryReader is a Reader for the FleetServerHistory structure.
func (*FleetServerHistoryReader) ReadResponse ¶
func (o *FleetServerHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FleetServerHistoryUnauthorized ¶
type FleetServerHistoryUnauthorized struct {
}FleetServerHistoryUnauthorized handles this case with default header values.
no authorization provided
func NewFleetServerHistoryUnauthorized ¶
func NewFleetServerHistoryUnauthorized() *FleetServerHistoryUnauthorized
NewFleetServerHistoryUnauthorized creates a FleetServerHistoryUnauthorized with default headers values
func (*FleetServerHistoryUnauthorized) Error ¶
func (o *FleetServerHistoryUnauthorized) Error() string
func (*FleetServerHistoryUnauthorized) GetPayload ¶
func (o *FleetServerHistoryUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerHistoryUnauthorized) ToJSONString ¶
func (o *FleetServerHistoryUnauthorized) ToJSONString() string
type FleetServerInfoForbidden ¶
type FleetServerInfoForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetServerInfoForbidden handles this case with default header values.
insufficient permissions
func NewFleetServerInfoForbidden ¶
func NewFleetServerInfoForbidden() *FleetServerInfoForbidden
NewFleetServerInfoForbidden creates a FleetServerInfoForbidden with default headers values
func (*FleetServerInfoForbidden) Error ¶
func (o *FleetServerInfoForbidden) Error() string
func (*FleetServerInfoForbidden) GetPayload ¶
func (o *FleetServerInfoForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerInfoForbidden) ToJSONString ¶
func (o *FleetServerInfoForbidden) ToJSONString() string
type FleetServerInfoInternalServerError ¶
type FleetServerInfoInternalServerError struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetServerInfoInternalServerError handles this case with default header values.
internal server error
func NewFleetServerInfoInternalServerError ¶
func NewFleetServerInfoInternalServerError() *FleetServerInfoInternalServerError
NewFleetServerInfoInternalServerError creates a FleetServerInfoInternalServerError with default headers values
func (*FleetServerInfoInternalServerError) Error ¶
func (o *FleetServerInfoInternalServerError) Error() string
func (*FleetServerInfoInternalServerError) GetPayload ¶
func (o *FleetServerInfoInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerInfoInternalServerError) ToJSONString ¶
func (o *FleetServerInfoInternalServerError) ToJSONString() string
type FleetServerInfoNotFound ¶
type FleetServerInfoNotFound struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetServerInfoNotFound handles this case with default header values.
dedicated server not found
func NewFleetServerInfoNotFound ¶
func NewFleetServerInfoNotFound() *FleetServerInfoNotFound
NewFleetServerInfoNotFound creates a FleetServerInfoNotFound with default headers values
func (*FleetServerInfoNotFound) Error ¶
func (o *FleetServerInfoNotFound) Error() string
func (*FleetServerInfoNotFound) GetPayload ¶
func (o *FleetServerInfoNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerInfoNotFound) ToJSONString ¶
func (o *FleetServerInfoNotFound) ToJSONString() string
type FleetServerInfoOK ¶
type FleetServerInfoOK struct {
Payload *amsclientmodels.APIFleetServerInfoResponse
}
FleetServerInfoOK handles this case with default header values.
success
func NewFleetServerInfoOK ¶
func NewFleetServerInfoOK() *FleetServerInfoOK
NewFleetServerInfoOK creates a FleetServerInfoOK with default headers values
func (*FleetServerInfoOK) Error ¶
func (o *FleetServerInfoOK) Error() string
func (*FleetServerInfoOK) GetPayload ¶
func (o *FleetServerInfoOK) GetPayload() *amsclientmodels.APIFleetServerInfoResponse
func (*FleetServerInfoOK) ToJSONString ¶
func (o *FleetServerInfoOK) ToJSONString() string
type FleetServerInfoParams ¶
type FleetServerInfoParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*ServerID the id of the dedicated server */ ServerID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FleetServerInfoParams contains all the parameters to send to the API endpoint for the fleet server info operation typically these are written to a http.Request
func NewFleetServerInfoParams ¶
func NewFleetServerInfoParams() *FleetServerInfoParams
NewFleetServerInfoParams creates a new FleetServerInfoParams object with the default values initialized.
func NewFleetServerInfoParamsWithContext ¶
func NewFleetServerInfoParamsWithContext(ctx context.Context) *FleetServerInfoParams
NewFleetServerInfoParamsWithContext creates a new FleetServerInfoParams object with the default values initialized, and the ability to set a context for a request
func NewFleetServerInfoParamsWithHTTPClient ¶
func NewFleetServerInfoParamsWithHTTPClient(client *http.Client) *FleetServerInfoParams
NewFleetServerInfoParamsWithHTTPClient creates a new FleetServerInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFleetServerInfoParamsWithTimeout ¶
func NewFleetServerInfoParamsWithTimeout(timeout time.Duration) *FleetServerInfoParams
NewFleetServerInfoParamsWithTimeout creates a new FleetServerInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*FleetServerInfoParams) SetAuthInfoWriter ¶
func (o *FleetServerInfoParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fleet server info params
func (*FleetServerInfoParams) SetContext ¶
func (o *FleetServerInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the fleet server info params
func (*FleetServerInfoParams) SetHTTPClient ¶
func (o *FleetServerInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fleet server info params
func (*FleetServerInfoParams) SetHTTPClientTransport ¶
func (o *FleetServerInfoParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fleet server info params
func (*FleetServerInfoParams) SetNamespace ¶
func (o *FleetServerInfoParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the fleet server info params
func (*FleetServerInfoParams) SetServerID ¶
func (o *FleetServerInfoParams) SetServerID(serverID string)
SetServerID adds the serverId to the fleet server info params
func (*FleetServerInfoParams) SetTimeout ¶
func (o *FleetServerInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fleet server info params
func (*FleetServerInfoParams) WithContext ¶
func (o *FleetServerInfoParams) WithContext(ctx context.Context) *FleetServerInfoParams
WithContext adds the context to the fleet server info params
func (*FleetServerInfoParams) WithHTTPClient ¶
func (o *FleetServerInfoParams) WithHTTPClient(client *http.Client) *FleetServerInfoParams
WithHTTPClient adds the HTTPClient to the fleet server info params
func (*FleetServerInfoParams) WithNamespace ¶
func (o *FleetServerInfoParams) WithNamespace(namespace string) *FleetServerInfoParams
WithNamespace adds the namespace to the fleet server info params
func (*FleetServerInfoParams) WithServerID ¶
func (o *FleetServerInfoParams) WithServerID(serverID string) *FleetServerInfoParams
WithServerID adds the serverID to the fleet server info params
func (*FleetServerInfoParams) WithTimeout ¶
func (o *FleetServerInfoParams) WithTimeout(timeout time.Duration) *FleetServerInfoParams
WithTimeout adds the timeout to the fleet server info params
func (*FleetServerInfoParams) WriteToRequest ¶
func (o *FleetServerInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FleetServerInfoReader ¶
type FleetServerInfoReader struct {
// contains filtered or unexported fields
}
FleetServerInfoReader is a Reader for the FleetServerInfo structure.
func (*FleetServerInfoReader) ReadResponse ¶
func (o *FleetServerInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FleetServerInfoUnauthorized ¶
type FleetServerInfoUnauthorized struct {
}FleetServerInfoUnauthorized handles this case with default header values.
no authorization provided
func NewFleetServerInfoUnauthorized ¶
func NewFleetServerInfoUnauthorized() *FleetServerInfoUnauthorized
NewFleetServerInfoUnauthorized creates a FleetServerInfoUnauthorized with default headers values
func (*FleetServerInfoUnauthorized) Error ¶
func (o *FleetServerInfoUnauthorized) Error() string
func (*FleetServerInfoUnauthorized) GetPayload ¶
func (o *FleetServerInfoUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetServerInfoUnauthorized) ToJSONString ¶
func (o *FleetServerInfoUnauthorized) ToJSONString() string
type ServerHistoryBadRequest ¶
type ServerHistoryBadRequest struct {
Payload *amsclientmodels.ResponseErrorResponse
}
ServerHistoryBadRequest handles this case with default header values.
bad request
func NewServerHistoryBadRequest ¶
func NewServerHistoryBadRequest() *ServerHistoryBadRequest
NewServerHistoryBadRequest creates a ServerHistoryBadRequest with default headers values
func (*ServerHistoryBadRequest) Error ¶
func (o *ServerHistoryBadRequest) Error() string
func (*ServerHistoryBadRequest) GetPayload ¶
func (o *ServerHistoryBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*ServerHistoryBadRequest) ToJSONString ¶
func (o *ServerHistoryBadRequest) ToJSONString() string
type ServerHistoryForbidden ¶
type ServerHistoryForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
ServerHistoryForbidden handles this case with default header values.
insufficient permissions
func NewServerHistoryForbidden ¶
func NewServerHistoryForbidden() *ServerHistoryForbidden
NewServerHistoryForbidden creates a ServerHistoryForbidden with default headers values
func (*ServerHistoryForbidden) Error ¶
func (o *ServerHistoryForbidden) Error() string
func (*ServerHistoryForbidden) GetPayload ¶
func (o *ServerHistoryForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*ServerHistoryForbidden) ToJSONString ¶
func (o *ServerHistoryForbidden) ToJSONString() string
type ServerHistoryInternalServerError ¶
type ServerHistoryInternalServerError struct {
Payload *amsclientmodels.ResponseErrorResponse
}
ServerHistoryInternalServerError handles this case with default header values.
internal server error
func NewServerHistoryInternalServerError ¶
func NewServerHistoryInternalServerError() *ServerHistoryInternalServerError
NewServerHistoryInternalServerError creates a ServerHistoryInternalServerError with default headers values
func (*ServerHistoryInternalServerError) Error ¶
func (o *ServerHistoryInternalServerError) Error() string
func (*ServerHistoryInternalServerError) GetPayload ¶
func (o *ServerHistoryInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*ServerHistoryInternalServerError) ToJSONString ¶
func (o *ServerHistoryInternalServerError) ToJSONString() string
type ServerHistoryOK ¶
type ServerHistoryOK struct {
Payload *amsclientmodels.APIFleetServerHistoryResponse
}
ServerHistoryOK handles this case with default header values.
success
func NewServerHistoryOK ¶
func NewServerHistoryOK() *ServerHistoryOK
NewServerHistoryOK creates a ServerHistoryOK with default headers values
func (*ServerHistoryOK) Error ¶
func (o *ServerHistoryOK) Error() string
func (*ServerHistoryOK) GetPayload ¶
func (o *ServerHistoryOK) GetPayload() *amsclientmodels.APIFleetServerHistoryResponse
func (*ServerHistoryOK) ToJSONString ¶
func (o *ServerHistoryOK) ToJSONString() string
type ServerHistoryParams ¶
type ServerHistoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*ServerID the id of the dedicated server */ ServerID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServerHistoryParams contains all the parameters to send to the API endpoint for the server history operation typically these are written to a http.Request
func NewServerHistoryParams ¶
func NewServerHistoryParams() *ServerHistoryParams
NewServerHistoryParams creates a new ServerHistoryParams object with the default values initialized.
func NewServerHistoryParamsWithContext ¶
func NewServerHistoryParamsWithContext(ctx context.Context) *ServerHistoryParams
NewServerHistoryParamsWithContext creates a new ServerHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewServerHistoryParamsWithHTTPClient ¶
func NewServerHistoryParamsWithHTTPClient(client *http.Client) *ServerHistoryParams
NewServerHistoryParamsWithHTTPClient creates a new ServerHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewServerHistoryParamsWithTimeout ¶
func NewServerHistoryParamsWithTimeout(timeout time.Duration) *ServerHistoryParams
NewServerHistoryParamsWithTimeout creates a new ServerHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*ServerHistoryParams) SetAuthInfoWriter ¶
func (o *ServerHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the server history params
func (*ServerHistoryParams) SetContext ¶
func (o *ServerHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the server history params
func (*ServerHistoryParams) SetHTTPClient ¶
func (o *ServerHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server history params
func (*ServerHistoryParams) SetHTTPClientTransport ¶
func (o *ServerHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the server history params
func (*ServerHistoryParams) SetNamespace ¶
func (o *ServerHistoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the server history params
func (*ServerHistoryParams) SetServerID ¶
func (o *ServerHistoryParams) SetServerID(serverID string)
SetServerID adds the serverId to the server history params
func (*ServerHistoryParams) SetTimeout ¶
func (o *ServerHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server history params
func (*ServerHistoryParams) WithContext ¶
func (o *ServerHistoryParams) WithContext(ctx context.Context) *ServerHistoryParams
WithContext adds the context to the server history params
func (*ServerHistoryParams) WithHTTPClient ¶
func (o *ServerHistoryParams) WithHTTPClient(client *http.Client) *ServerHistoryParams
WithHTTPClient adds the HTTPClient to the server history params
func (*ServerHistoryParams) WithNamespace ¶
func (o *ServerHistoryParams) WithNamespace(namespace string) *ServerHistoryParams
WithNamespace adds the namespace to the server history params
func (*ServerHistoryParams) WithServerID ¶
func (o *ServerHistoryParams) WithServerID(serverID string) *ServerHistoryParams
WithServerID adds the serverID to the server history params
func (*ServerHistoryParams) WithTimeout ¶
func (o *ServerHistoryParams) WithTimeout(timeout time.Duration) *ServerHistoryParams
WithTimeout adds the timeout to the server history params
func (*ServerHistoryParams) WriteToRequest ¶
func (o *ServerHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerHistoryReader ¶
type ServerHistoryReader struct {
// contains filtered or unexported fields
}
ServerHistoryReader is a Reader for the ServerHistory structure.
func (*ServerHistoryReader) ReadResponse ¶
func (o *ServerHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerHistoryUnauthorized ¶
type ServerHistoryUnauthorized struct {
}ServerHistoryUnauthorized handles this case with default header values.
no authorization provided
func NewServerHistoryUnauthorized ¶
func NewServerHistoryUnauthorized() *ServerHistoryUnauthorized
NewServerHistoryUnauthorized creates a ServerHistoryUnauthorized with default headers values
func (*ServerHistoryUnauthorized) Error ¶
func (o *ServerHistoryUnauthorized) Error() string
func (*ServerHistoryUnauthorized) GetPayload ¶
func (o *ServerHistoryUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*ServerHistoryUnauthorized) ToJSONString ¶
func (o *ServerHistoryUnauthorized) ToJSONString() string