Documentation
¶
Index ¶
- type Client
- func (a *Client) DownloadFile(params *DownloadFileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DownloadFileOK, error)
- func (a *Client) FilesStats(params *FilesStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FilesStatsOK, error)
- func (a *Client) GetGameserver(params *GetGameserverParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGameserverOK, error)
- func (a *Client) ListFiles(params *ListFilesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListFilesOK, error)
- func (a *Client) RestartGameserver(params *RestartGameserverParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestartGameserverOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopGameserver(params *StopGameserverParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopGameserverOK, error)
- type ClientOption
- type ClientService
- type DownloadFileDefault
- type DownloadFileOK
- type DownloadFileOKBody
- type DownloadFileOKBodyData
- func (o *DownloadFileOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DownloadFileOKBodyData) MarshalBinary() ([]byte, error)
- func (o *DownloadFileOKBodyData) UnmarshalBinary(b []byte) error
- func (o *DownloadFileOKBodyData) Validate(formats strfmt.Registry) error
- type DownloadFileOKBodyDataToken
- func (o *DownloadFileOKBodyDataToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DownloadFileOKBodyDataToken) MarshalBinary() ([]byte, error)
- func (o *DownloadFileOKBodyDataToken) UnmarshalBinary(b []byte) error
- func (o *DownloadFileOKBodyDataToken) Validate(formats strfmt.Registry) error
- type DownloadFileParams
- func (o *DownloadFileParams) SetContext(ctx context.Context)
- func (o *DownloadFileParams) SetDefaults()
- func (o *DownloadFileParams) SetFile(file string)
- func (o *DownloadFileParams) SetHTTPClient(client *http.Client)
- func (o *DownloadFileParams) SetServiceID(serviceID string)
- func (o *DownloadFileParams) SetTimeout(timeout time.Duration)
- func (o *DownloadFileParams) WithContext(ctx context.Context) *DownloadFileParams
- func (o *DownloadFileParams) WithDefaults() *DownloadFileParams
- func (o *DownloadFileParams) WithFile(file string) *DownloadFileParams
- func (o *DownloadFileParams) WithHTTPClient(client *http.Client) *DownloadFileParams
- func (o *DownloadFileParams) WithServiceID(serviceID string) *DownloadFileParams
- func (o *DownloadFileParams) WithTimeout(timeout time.Duration) *DownloadFileParams
- func (o *DownloadFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadFileReader
- type DownloadFileServiceUnavailable
- type DownloadFileTooManyRequests
- type DownloadFileUnauthorized
- type FilesStatsDefault
- type FilesStatsOK
- type FilesStatsOKBody
- type FilesStatsOKBodyData
- type FilesStatsOKBodyDataEntriesAnon
- func (o *FilesStatsOKBodyDataEntriesAnon) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *FilesStatsOKBodyDataEntriesAnon) MarshalBinary() ([]byte, error)
- func (o *FilesStatsOKBodyDataEntriesAnon) UnmarshalBinary(b []byte) error
- func (o *FilesStatsOKBodyDataEntriesAnon) Validate(formats strfmt.Registry) error
- type FilesStatsParams
- func (o *FilesStatsParams) SetContext(ctx context.Context)
- func (o *FilesStatsParams) SetDefaults()
- func (o *FilesStatsParams) SetFiles0(files0 string)
- func (o *FilesStatsParams) SetHTTPClient(client *http.Client)
- func (o *FilesStatsParams) SetServiceID(serviceID string)
- func (o *FilesStatsParams) SetTimeout(timeout time.Duration)
- func (o *FilesStatsParams) WithContext(ctx context.Context) *FilesStatsParams
- func (o *FilesStatsParams) WithDefaults() *FilesStatsParams
- func (o *FilesStatsParams) WithFiles0(files0 string) *FilesStatsParams
- func (o *FilesStatsParams) WithHTTPClient(client *http.Client) *FilesStatsParams
- func (o *FilesStatsParams) WithServiceID(serviceID string) *FilesStatsParams
- func (o *FilesStatsParams) WithTimeout(timeout time.Duration) *FilesStatsParams
- func (o *FilesStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FilesStatsReader
- type FilesStatsServiceUnavailable
- type FilesStatsTooManyRequests
- type FilesStatsUnauthorized
- type GetGameserverDefault
- type GetGameserverOK
- type GetGameserverOKBody
- type GetGameserverOKBodyData
- func (o *GetGameserverOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyData) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyData) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyData) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserver
- func (o *GetGameserverOKBodyDataGameserver) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserver) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserver) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserver) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverCredentials
- func (o *GetGameserverOKBodyDataGameserverCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverCredentials) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverCredentials) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverCredentials) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverCredentialsFtp
- func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverCredentialsMysql
- func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverGameSpecific
- func (o *GetGameserverOKBodyDataGameserverGameSpecific) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverGameSpecific) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverGameSpecific) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverGameSpecific) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverGameSpecificFeatures
- func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverHostsystems
- func (o *GetGameserverOKBodyDataGameserverHostsystems) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverHostsystems) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverHostsystems) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverHostsystems) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverHostsystemsLinux
- func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverModpacks
- func (o *GetGameserverOKBodyDataGameserverModpacks) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverModpacks) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverModpacks) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverModpacks) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverModpacksMcrdns
- func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverQuery
- func (o *GetGameserverOKBodyDataGameserverQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverQuery) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverQuery) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverQuery) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverQueryPlayersItems0
- func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverQuota
- func (o *GetGameserverOKBodyDataGameserverQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverQuota) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverQuota) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverQuota) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverSettings
- func (o *GetGameserverOKBodyDataGameserverSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverSettings) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverSettings) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverSettings) Validate(formats strfmt.Registry) error
- type GetGameserverOKBodyDataGameserverSettingsBase
- func (o *GetGameserverOKBodyDataGameserverSettingsBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGameserverOKBodyDataGameserverSettingsBase) MarshalBinary() ([]byte, error)
- func (o *GetGameserverOKBodyDataGameserverSettingsBase) UnmarshalBinary(b []byte) error
- func (o *GetGameserverOKBodyDataGameserverSettingsBase) Validate(formats strfmt.Registry) error
- type GetGameserverParams
- func (o *GetGameserverParams) SetContext(ctx context.Context)
- func (o *GetGameserverParams) SetDefaults()
- func (o *GetGameserverParams) SetHTTPClient(client *http.Client)
- func (o *GetGameserverParams) SetServiceID(serviceID string)
- func (o *GetGameserverParams) SetTimeout(timeout time.Duration)
- func (o *GetGameserverParams) WithContext(ctx context.Context) *GetGameserverParams
- func (o *GetGameserverParams) WithDefaults() *GetGameserverParams
- func (o *GetGameserverParams) WithHTTPClient(client *http.Client) *GetGameserverParams
- func (o *GetGameserverParams) WithServiceID(serviceID string) *GetGameserverParams
- func (o *GetGameserverParams) WithTimeout(timeout time.Duration) *GetGameserverParams
- func (o *GetGameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameserverReader
- type GetGameserverServiceUnavailable
- type GetGameserverTooManyRequests
- type GetGameserverUnauthorized
- type ListFilesDefault
- type ListFilesOK
- type ListFilesOKBody
- type ListFilesOKBodyData
- type ListFilesOKBodyDataEntriesItems0
- func (o *ListFilesOKBodyDataEntriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListFilesOKBodyDataEntriesItems0) MarshalBinary() ([]byte, error)
- func (o *ListFilesOKBodyDataEntriesItems0) UnmarshalBinary(b []byte) error
- func (o *ListFilesOKBodyDataEntriesItems0) Validate(formats strfmt.Registry) error
- type ListFilesParams
- func (o *ListFilesParams) SetContext(ctx context.Context)
- func (o *ListFilesParams) SetDefaults()
- func (o *ListFilesParams) SetDir(dir *string)
- func (o *ListFilesParams) SetHTTPClient(client *http.Client)
- func (o *ListFilesParams) SetSearch(search *string)
- func (o *ListFilesParams) SetServiceID(serviceID string)
- func (o *ListFilesParams) SetTimeout(timeout time.Duration)
- func (o *ListFilesParams) WithContext(ctx context.Context) *ListFilesParams
- func (o *ListFilesParams) WithDefaults() *ListFilesParams
- func (o *ListFilesParams) WithDir(dir *string) *ListFilesParams
- func (o *ListFilesParams) WithHTTPClient(client *http.Client) *ListFilesParams
- func (o *ListFilesParams) WithSearch(search *string) *ListFilesParams
- func (o *ListFilesParams) WithServiceID(serviceID string) *ListFilesParams
- func (o *ListFilesParams) WithTimeout(timeout time.Duration) *ListFilesParams
- func (o *ListFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFilesReader
- type ListFilesServiceUnavailable
- type ListFilesTooManyRequests
- type ListFilesUnauthorized
- type RestartGameserverBody
- type RestartGameserverDefault
- type RestartGameserverOK
- type RestartGameserverOKBody
- func (o *RestartGameserverOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RestartGameserverOKBody) MarshalBinary() ([]byte, error)
- func (o *RestartGameserverOKBody) UnmarshalBinary(b []byte) error
- func (o *RestartGameserverOKBody) Validate(formats strfmt.Registry) error
- type RestartGameserverParams
- func NewRestartGameserverParams() *RestartGameserverParams
- func NewRestartGameserverParamsWithContext(ctx context.Context) *RestartGameserverParams
- func NewRestartGameserverParamsWithHTTPClient(client *http.Client) *RestartGameserverParams
- func NewRestartGameserverParamsWithTimeout(timeout time.Duration) *RestartGameserverParams
- func (o *RestartGameserverParams) SetBody(body RestartGameserverBody)
- func (o *RestartGameserverParams) SetContext(ctx context.Context)
- func (o *RestartGameserverParams) SetDefaults()
- func (o *RestartGameserverParams) SetHTTPClient(client *http.Client)
- func (o *RestartGameserverParams) SetServiceID(serviceID string)
- func (o *RestartGameserverParams) SetTimeout(timeout time.Duration)
- func (o *RestartGameserverParams) WithBody(body RestartGameserverBody) *RestartGameserverParams
- func (o *RestartGameserverParams) WithContext(ctx context.Context) *RestartGameserverParams
- func (o *RestartGameserverParams) WithDefaults() *RestartGameserverParams
- func (o *RestartGameserverParams) WithHTTPClient(client *http.Client) *RestartGameserverParams
- func (o *RestartGameserverParams) WithServiceID(serviceID string) *RestartGameserverParams
- func (o *RestartGameserverParams) WithTimeout(timeout time.Duration) *RestartGameserverParams
- func (o *RestartGameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartGameserverReader
- type RestartGameserverServiceUnavailable
- type RestartGameserverTooManyRequests
- type RestartGameserverUnauthorized
- type StopGameserverBody
- type StopGameserverDefault
- type StopGameserverOK
- type StopGameserverOKBody
- type StopGameserverParams
- func NewStopGameserverParams() *StopGameserverParams
- func NewStopGameserverParamsWithContext(ctx context.Context) *StopGameserverParams
- func NewStopGameserverParamsWithHTTPClient(client *http.Client) *StopGameserverParams
- func NewStopGameserverParamsWithTimeout(timeout time.Duration) *StopGameserverParams
- func (o *StopGameserverParams) SetBody(body StopGameserverBody)
- func (o *StopGameserverParams) SetContext(ctx context.Context)
- func (o *StopGameserverParams) SetDefaults()
- func (o *StopGameserverParams) SetHTTPClient(client *http.Client)
- func (o *StopGameserverParams) SetServiceID(serviceID string)
- func (o *StopGameserverParams) SetTimeout(timeout time.Duration)
- func (o *StopGameserverParams) WithBody(body StopGameserverBody) *StopGameserverParams
- func (o *StopGameserverParams) WithContext(ctx context.Context) *StopGameserverParams
- func (o *StopGameserverParams) WithDefaults() *StopGameserverParams
- func (o *StopGameserverParams) WithHTTPClient(client *http.Client) *StopGameserverParams
- func (o *StopGameserverParams) WithServiceID(serviceID string) *StopGameserverParams
- func (o *StopGameserverParams) WithTimeout(timeout time.Duration) *StopGameserverParams
- func (o *StopGameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopGameserverReader
- type StopGameserverServiceUnavailable
- type StopGameserverTooManyRequests
- type StopGameserverUnauthorized
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 gameserver API
func (*Client) DownloadFile ¶
func (a *Client) DownloadFile(params *DownloadFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DownloadFileOK, error)
DownloadFile gets download file url
Get a url to download the specified file.
func (*Client) FilesStats ¶
func (a *Client) FilesStats(params *FilesStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilesStatsOK, error)
FilesStats detaileds file stats
Detailed stats for a list of files.
func (*Client) GetGameserver ¶
func (a *Client) GetGameserver(params *GetGameserverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGameserverOK, error)
GetGameserver gets gameserver details
Get details about the gameserver.
func (*Client) ListFiles ¶
func (a *Client) ListFiles(params *ListFilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFilesOK, error)
ListFiles lists files
List all files in a directory.
func (*Client) RestartGameserver ¶
func (a *Client) RestartGameserver(params *RestartGameserverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartGameserverOK, error)
RestartGameserver restarts gameserver
Restart the specified gameserver.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopGameserver ¶
func (a *Client) StopGameserver(params *StopGameserverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopGameserverOK, error)
StopGameserver stops gameserver
Stop the specified gameserver.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DownloadFile(params *DownloadFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DownloadFileOK, error) FilesStats(params *FilesStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilesStatsOK, error) GetGameserver(params *GetGameserverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGameserverOK, error) ListFiles(params *ListFilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFilesOK, error) RestartGameserver(params *RestartGameserverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartGameserverOK, error) StopGameserver(params *StopGameserverParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopGameserverOK, 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 gameserver API client.
type DownloadFileDefault ¶
type DownloadFileDefault struct { Payload *models.ErrorModel // contains filtered or unexported fields }
DownloadFileDefault describes a response with status code -1, with default header values.
Default error response.
func NewDownloadFileDefault ¶
func NewDownloadFileDefault(code int) *DownloadFileDefault
NewDownloadFileDefault creates a DownloadFileDefault with default headers values
func (*DownloadFileDefault) Code ¶
func (o *DownloadFileDefault) Code() int
Code gets the status code for the download file default response
func (*DownloadFileDefault) Error ¶
func (o *DownloadFileDefault) Error() string
func (*DownloadFileDefault) GetPayload ¶
func (o *DownloadFileDefault) GetPayload() *models.ErrorModel
type DownloadFileOK ¶
type DownloadFileOK struct {
Payload *DownloadFileOKBody
}
DownloadFileOK describes a response with status code 200, with default header values.
success response
func NewDownloadFileOK ¶
func NewDownloadFileOK() *DownloadFileOK
NewDownloadFileOK creates a DownloadFileOK with default headers values
func (*DownloadFileOK) Error ¶
func (o *DownloadFileOK) Error() string
func (*DownloadFileOK) GetPayload ¶
func (o *DownloadFileOK) GetPayload() *DownloadFileOKBody
type DownloadFileOKBody ¶
type DownloadFileOKBody struct { // data Data *DownloadFileOKBodyData `json:"data,omitempty"` // status Status string `json:"status,omitempty"` }
DownloadFileOKBody download file o k body swagger:model DownloadFileOKBody
func (*DownloadFileOKBody) ContextValidate ¶
ContextValidate validate this download file o k body based on the context it is used
func (*DownloadFileOKBody) MarshalBinary ¶
func (o *DownloadFileOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DownloadFileOKBody) UnmarshalBinary ¶
func (o *DownloadFileOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DownloadFileOKBodyData ¶
type DownloadFileOKBodyData struct { // token Token *DownloadFileOKBodyDataToken `json:"token,omitempty"` }
DownloadFileOKBodyData download file o k body data swagger:model DownloadFileOKBodyData
func (*DownloadFileOKBodyData) ContextValidate ¶
func (o *DownloadFileOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this download file o k body data based on the context it is used
func (*DownloadFileOKBodyData) MarshalBinary ¶
func (o *DownloadFileOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DownloadFileOKBodyData) UnmarshalBinary ¶
func (o *DownloadFileOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DownloadFileOKBodyDataToken ¶
type DownloadFileOKBodyDataToken struct { // token Token string `json:"token,omitempty"` // url URL string `json:"url,omitempty"` }
DownloadFileOKBodyDataToken download file o k body data token swagger:model DownloadFileOKBodyDataToken
func (*DownloadFileOKBodyDataToken) ContextValidate ¶
func (o *DownloadFileOKBodyDataToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this download file o k body data token based on context it is used
func (*DownloadFileOKBodyDataToken) MarshalBinary ¶
func (o *DownloadFileOKBodyDataToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DownloadFileOKBodyDataToken) UnmarshalBinary ¶
func (o *DownloadFileOKBodyDataToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DownloadFileParams ¶
type DownloadFileParams struct { /* File. File to download */ File string /* ServiceID. Service identifier */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DownloadFileParams contains all the parameters to send to the API endpoint
for the download file operation. Typically these are written to a http.Request.
func NewDownloadFileParams ¶
func NewDownloadFileParams() *DownloadFileParams
NewDownloadFileParams creates a new DownloadFileParams 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 NewDownloadFileParamsWithContext ¶
func NewDownloadFileParamsWithContext(ctx context.Context) *DownloadFileParams
NewDownloadFileParamsWithContext creates a new DownloadFileParams object with the ability to set a context for a request.
func NewDownloadFileParamsWithHTTPClient ¶
func NewDownloadFileParamsWithHTTPClient(client *http.Client) *DownloadFileParams
NewDownloadFileParamsWithHTTPClient creates a new DownloadFileParams object with the ability to set a custom HTTPClient for a request.
func NewDownloadFileParamsWithTimeout ¶
func NewDownloadFileParamsWithTimeout(timeout time.Duration) *DownloadFileParams
NewDownloadFileParamsWithTimeout creates a new DownloadFileParams object with the ability to set a timeout on a request.
func (*DownloadFileParams) SetContext ¶
func (o *DownloadFileParams) SetContext(ctx context.Context)
SetContext adds the context to the download file params
func (*DownloadFileParams) SetDefaults ¶
func (o *DownloadFileParams) SetDefaults()
SetDefaults hydrates default values in the download file params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadFileParams) SetFile ¶
func (o *DownloadFileParams) SetFile(file string)
SetFile adds the file to the download file params
func (*DownloadFileParams) SetHTTPClient ¶
func (o *DownloadFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download file params
func (*DownloadFileParams) SetServiceID ¶
func (o *DownloadFileParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the download file params
func (*DownloadFileParams) SetTimeout ¶
func (o *DownloadFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download file params
func (*DownloadFileParams) WithContext ¶
func (o *DownloadFileParams) WithContext(ctx context.Context) *DownloadFileParams
WithContext adds the context to the download file params
func (*DownloadFileParams) WithDefaults ¶
func (o *DownloadFileParams) WithDefaults() *DownloadFileParams
WithDefaults hydrates default values in the download file params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadFileParams) WithFile ¶
func (o *DownloadFileParams) WithFile(file string) *DownloadFileParams
WithFile adds the file to the download file params
func (*DownloadFileParams) WithHTTPClient ¶
func (o *DownloadFileParams) WithHTTPClient(client *http.Client) *DownloadFileParams
WithHTTPClient adds the HTTPClient to the download file params
func (*DownloadFileParams) WithServiceID ¶
func (o *DownloadFileParams) WithServiceID(serviceID string) *DownloadFileParams
WithServiceID adds the serviceID to the download file params
func (*DownloadFileParams) WithTimeout ¶
func (o *DownloadFileParams) WithTimeout(timeout time.Duration) *DownloadFileParams
WithTimeout adds the timeout to the download file params
func (*DownloadFileParams) WriteToRequest ¶
func (o *DownloadFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadFileReader ¶
type DownloadFileReader struct {
// contains filtered or unexported fields
}
DownloadFileReader is a Reader for the DownloadFile structure.
func (*DownloadFileReader) ReadResponse ¶
func (o *DownloadFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadFileServiceUnavailable ¶
type DownloadFileServiceUnavailable struct {
}DownloadFileServiceUnavailable describes a response with status code 503, with default header values.
Maintenance. API is currently not available. Please come back in a few minutes and try it again.
func NewDownloadFileServiceUnavailable ¶
func NewDownloadFileServiceUnavailable() *DownloadFileServiceUnavailable
NewDownloadFileServiceUnavailable creates a DownloadFileServiceUnavailable with default headers values
func (*DownloadFileServiceUnavailable) Error ¶
func (o *DownloadFileServiceUnavailable) Error() string
func (*DownloadFileServiceUnavailable) GetPayload ¶
func (o *DownloadFileServiceUnavailable) GetPayload() *models.ErrorModel
type DownloadFileTooManyRequests ¶
type DownloadFileTooManyRequests struct {
Payload *models.ErrorModel
}
DownloadFileTooManyRequests describes a response with status code 429, with default header values.
The rate limit has been exceeded. Please contact our support if you have a legit reason get a higher rate limit.
func NewDownloadFileTooManyRequests ¶
func NewDownloadFileTooManyRequests() *DownloadFileTooManyRequests
NewDownloadFileTooManyRequests creates a DownloadFileTooManyRequests with default headers values
func (*DownloadFileTooManyRequests) Error ¶
func (o *DownloadFileTooManyRequests) Error() string
func (*DownloadFileTooManyRequests) GetPayload ¶
func (o *DownloadFileTooManyRequests) GetPayload() *models.ErrorModel
type DownloadFileUnauthorized ¶
type DownloadFileUnauthorized struct {
}DownloadFileUnauthorized describes a response with status code 401, with default header values.
The provided access token is not valid (anymore).
func NewDownloadFileUnauthorized ¶
func NewDownloadFileUnauthorized() *DownloadFileUnauthorized
NewDownloadFileUnauthorized creates a DownloadFileUnauthorized with default headers values
func (*DownloadFileUnauthorized) Error ¶
func (o *DownloadFileUnauthorized) Error() string
func (*DownloadFileUnauthorized) GetPayload ¶
func (o *DownloadFileUnauthorized) GetPayload() *models.ErrorModel
type FilesStatsDefault ¶
type FilesStatsDefault struct { Payload *models.ErrorModel // contains filtered or unexported fields }
FilesStatsDefault describes a response with status code -1, with default header values.
Default error response.
func NewFilesStatsDefault ¶
func NewFilesStatsDefault(code int) *FilesStatsDefault
NewFilesStatsDefault creates a FilesStatsDefault with default headers values
func (*FilesStatsDefault) Code ¶
func (o *FilesStatsDefault) Code() int
Code gets the status code for the files stats default response
func (*FilesStatsDefault) Error ¶
func (o *FilesStatsDefault) Error() string
func (*FilesStatsDefault) GetPayload ¶
func (o *FilesStatsDefault) GetPayload() *models.ErrorModel
type FilesStatsOK ¶
type FilesStatsOK struct {
Payload *FilesStatsOKBody
}
FilesStatsOK describes a response with status code 200, with default header values.
success response
func NewFilesStatsOK ¶
func NewFilesStatsOK() *FilesStatsOK
NewFilesStatsOK creates a FilesStatsOK with default headers values
func (*FilesStatsOK) Error ¶
func (o *FilesStatsOK) Error() string
func (*FilesStatsOK) GetPayload ¶
func (o *FilesStatsOK) GetPayload() *FilesStatsOKBody
type FilesStatsOKBody ¶
type FilesStatsOKBody struct { // data Data *FilesStatsOKBodyData `json:"data,omitempty"` // status Status string `json:"status,omitempty"` }
FilesStatsOKBody files stats o k body swagger:model FilesStatsOKBody
func (*FilesStatsOKBody) ContextValidate ¶
ContextValidate validate this files stats o k body based on the context it is used
func (*FilesStatsOKBody) MarshalBinary ¶
func (o *FilesStatsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FilesStatsOKBody) UnmarshalBinary ¶
func (o *FilesStatsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FilesStatsOKBodyData ¶
type FilesStatsOKBodyData struct { // entries Entries map[string]FilesStatsOKBodyDataEntriesAnon `json:"entries,omitempty"` }
FilesStatsOKBodyData files stats o k body data swagger:model FilesStatsOKBodyData
func (*FilesStatsOKBodyData) ContextValidate ¶
ContextValidate validate this files stats o k body data based on the context it is used
func (*FilesStatsOKBodyData) MarshalBinary ¶
func (o *FilesStatsOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FilesStatsOKBodyData) UnmarshalBinary ¶
func (o *FilesStatsOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FilesStatsOKBodyDataEntriesAnon ¶ added in v0.0.4
type FilesStatsOKBodyDataEntriesAnon struct { // accessed at AccessedAt int32 `json:"accessed_at,omitempty"` // chmod Chmod string `json:"chmod,omitempty"` // created at CreatedAt int32 `json:"created_at,omitempty"` // group Group string `json:"group,omitempty"` // modified at ModifiedAt int32 `json:"modified_at,omitempty"` // name Name string `json:"name,omitempty"` // owner Owner string `json:"owner,omitempty"` // path Path string `json:"path,omitempty"` // size Size int32 `json:"size,omitempty"` // type Type string `json:"type,omitempty"` }
FilesStatsOKBodyDataEntriesAnon files stats o k body data entries anon swagger:model FilesStatsOKBodyDataEntriesAnon
func (*FilesStatsOKBodyDataEntriesAnon) ContextValidate ¶ added in v0.0.4
func (o *FilesStatsOKBodyDataEntriesAnon) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this files stats o k body data entries anon based on context it is used
func (*FilesStatsOKBodyDataEntriesAnon) MarshalBinary ¶ added in v0.0.4
func (o *FilesStatsOKBodyDataEntriesAnon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FilesStatsOKBodyDataEntriesAnon) UnmarshalBinary ¶ added in v0.0.4
func (o *FilesStatsOKBodyDataEntriesAnon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FilesStatsParams ¶
type FilesStatsParams struct { /* Files0. File to stat */ Files0 string /* ServiceID. Service identifier */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FilesStatsParams contains all the parameters to send to the API endpoint
for the files stats operation. Typically these are written to a http.Request.
func NewFilesStatsParams ¶
func NewFilesStatsParams() *FilesStatsParams
NewFilesStatsParams creates a new FilesStatsParams 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 NewFilesStatsParamsWithContext ¶
func NewFilesStatsParamsWithContext(ctx context.Context) *FilesStatsParams
NewFilesStatsParamsWithContext creates a new FilesStatsParams object with the ability to set a context for a request.
func NewFilesStatsParamsWithHTTPClient ¶
func NewFilesStatsParamsWithHTTPClient(client *http.Client) *FilesStatsParams
NewFilesStatsParamsWithHTTPClient creates a new FilesStatsParams object with the ability to set a custom HTTPClient for a request.
func NewFilesStatsParamsWithTimeout ¶
func NewFilesStatsParamsWithTimeout(timeout time.Duration) *FilesStatsParams
NewFilesStatsParamsWithTimeout creates a new FilesStatsParams object with the ability to set a timeout on a request.
func (*FilesStatsParams) SetContext ¶
func (o *FilesStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the files stats params
func (*FilesStatsParams) SetDefaults ¶
func (o *FilesStatsParams) SetDefaults()
SetDefaults hydrates default values in the files stats params (not the query body).
All values with no default are reset to their zero value.
func (*FilesStatsParams) SetFiles0 ¶ added in v0.0.3
func (o *FilesStatsParams) SetFiles0(files0 string)
SetFiles0 adds the files0 to the files stats params
func (*FilesStatsParams) SetHTTPClient ¶
func (o *FilesStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the files stats params
func (*FilesStatsParams) SetServiceID ¶
func (o *FilesStatsParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the files stats params
func (*FilesStatsParams) SetTimeout ¶
func (o *FilesStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the files stats params
func (*FilesStatsParams) WithContext ¶
func (o *FilesStatsParams) WithContext(ctx context.Context) *FilesStatsParams
WithContext adds the context to the files stats params
func (*FilesStatsParams) WithDefaults ¶
func (o *FilesStatsParams) WithDefaults() *FilesStatsParams
WithDefaults hydrates default values in the files stats params (not the query body).
All values with no default are reset to their zero value.
func (*FilesStatsParams) WithFiles0 ¶ added in v0.0.3
func (o *FilesStatsParams) WithFiles0(files0 string) *FilesStatsParams
WithFiles0 adds the files0 to the files stats params
func (*FilesStatsParams) WithHTTPClient ¶
func (o *FilesStatsParams) WithHTTPClient(client *http.Client) *FilesStatsParams
WithHTTPClient adds the HTTPClient to the files stats params
func (*FilesStatsParams) WithServiceID ¶
func (o *FilesStatsParams) WithServiceID(serviceID string) *FilesStatsParams
WithServiceID adds the serviceID to the files stats params
func (*FilesStatsParams) WithTimeout ¶
func (o *FilesStatsParams) WithTimeout(timeout time.Duration) *FilesStatsParams
WithTimeout adds the timeout to the files stats params
func (*FilesStatsParams) WriteToRequest ¶
func (o *FilesStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FilesStatsReader ¶
type FilesStatsReader struct {
// contains filtered or unexported fields
}
FilesStatsReader is a Reader for the FilesStats structure.
func (*FilesStatsReader) ReadResponse ¶
func (o *FilesStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FilesStatsServiceUnavailable ¶
type FilesStatsServiceUnavailable struct {
}FilesStatsServiceUnavailable describes a response with status code 503, with default header values.
Maintenance. API is currently not available. Please come back in a few minutes and try it again.
func NewFilesStatsServiceUnavailable ¶
func NewFilesStatsServiceUnavailable() *FilesStatsServiceUnavailable
NewFilesStatsServiceUnavailable creates a FilesStatsServiceUnavailable with default headers values
func (*FilesStatsServiceUnavailable) Error ¶
func (o *FilesStatsServiceUnavailable) Error() string
func (*FilesStatsServiceUnavailable) GetPayload ¶
func (o *FilesStatsServiceUnavailable) GetPayload() *models.ErrorModel
type FilesStatsTooManyRequests ¶
type FilesStatsTooManyRequests struct {
Payload *models.ErrorModel
}
FilesStatsTooManyRequests describes a response with status code 429, with default header values.
The rate limit has been exceeded. Please contact our support if you have a legit reason get a higher rate limit.
func NewFilesStatsTooManyRequests ¶
func NewFilesStatsTooManyRequests() *FilesStatsTooManyRequests
NewFilesStatsTooManyRequests creates a FilesStatsTooManyRequests with default headers values
func (*FilesStatsTooManyRequests) Error ¶
func (o *FilesStatsTooManyRequests) Error() string
func (*FilesStatsTooManyRequests) GetPayload ¶
func (o *FilesStatsTooManyRequests) GetPayload() *models.ErrorModel
type FilesStatsUnauthorized ¶
type FilesStatsUnauthorized struct {
}FilesStatsUnauthorized describes a response with status code 401, with default header values.
The provided access token is not valid (anymore).
func NewFilesStatsUnauthorized ¶
func NewFilesStatsUnauthorized() *FilesStatsUnauthorized
NewFilesStatsUnauthorized creates a FilesStatsUnauthorized with default headers values
func (*FilesStatsUnauthorized) Error ¶
func (o *FilesStatsUnauthorized) Error() string
func (*FilesStatsUnauthorized) GetPayload ¶
func (o *FilesStatsUnauthorized) GetPayload() *models.ErrorModel
type GetGameserverDefault ¶
type GetGameserverDefault struct { Payload *models.ErrorModel // contains filtered or unexported fields }
GetGameserverDefault describes a response with status code -1, with default header values.
Default error response.
func NewGetGameserverDefault ¶
func NewGetGameserverDefault(code int) *GetGameserverDefault
NewGetGameserverDefault creates a GetGameserverDefault with default headers values
func (*GetGameserverDefault) Code ¶
func (o *GetGameserverDefault) Code() int
Code gets the status code for the get gameserver default response
func (*GetGameserverDefault) Error ¶
func (o *GetGameserverDefault) Error() string
func (*GetGameserverDefault) GetPayload ¶
func (o *GetGameserverDefault) GetPayload() *models.ErrorModel
type GetGameserverOK ¶
type GetGameserverOK struct {
Payload *GetGameserverOKBody
}
GetGameserverOK describes a response with status code 200, with default header values.
success response
func NewGetGameserverOK ¶
func NewGetGameserverOK() *GetGameserverOK
NewGetGameserverOK creates a GetGameserverOK with default headers values
func (*GetGameserverOK) Error ¶
func (o *GetGameserverOK) Error() string
func (*GetGameserverOK) GetPayload ¶
func (o *GetGameserverOK) GetPayload() *GetGameserverOKBody
type GetGameserverOKBody ¶
type GetGameserverOKBody struct { // data Data *GetGameserverOKBodyData `json:"data,omitempty"` // last status change LastStatusChange int32 `json:"last_status_change,omitempty"` // status Status string `json:"status,omitempty"` }
GetGameserverOKBody get gameserver o k body swagger:model GetGameserverOKBody
func (*GetGameserverOKBody) ContextValidate ¶
ContextValidate validate this get gameserver o k body based on the context it is used
func (*GetGameserverOKBody) MarshalBinary ¶
func (o *GetGameserverOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBody) UnmarshalBinary ¶
func (o *GetGameserverOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyData ¶
type GetGameserverOKBodyData struct { // gameserver Gameserver *GetGameserverOKBodyDataGameserver `json:"gameserver,omitempty"` }
GetGameserverOKBodyData get gameserver o k body data swagger:model GetGameserverOKBodyData
func (*GetGameserverOKBodyData) ContextValidate ¶
func (o *GetGameserverOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data based on the context it is used
func (*GetGameserverOKBodyData) MarshalBinary ¶
func (o *GetGameserverOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyData) UnmarshalBinary ¶
func (o *GetGameserverOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserver ¶
type GetGameserverOKBodyDataGameserver struct { // credentials Credentials *GetGameserverOKBodyDataGameserverCredentials `json:"credentials,omitempty"` // game Game string `json:"game,omitempty"` // game human GameHuman string `json:"game_human,omitempty"` // game specific GameSpecific *GetGameserverOKBodyDataGameserverGameSpecific `json:"game_specific,omitempty"` // hostsystems Hostsystems *GetGameserverOKBodyDataGameserverHostsystems `json:"hostsystems,omitempty"` // ip IP string `json:"ip,omitempty"` // ipv6 IPV6 string `json:"ipv6,omitempty"` // label Label string `json:"label,omitempty"` // location Location string `json:"location,omitempty"` // location id LocationID int32 `json:"location_id,omitempty"` // managed root ManagedRoot bool `json:"managed_root,omitempty"` // memory Memory string `json:"memory,omitempty"` // memory mb MemoryMb int32 `json:"memory_mb,omitempty"` // minecraft mode MinecraftMode bool `json:"minecraft_mode,omitempty"` // modpacks Modpacks *GetGameserverOKBodyDataGameserverModpacks `json:"modpacks,omitempty"` // must be started MustBeStarted bool `json:"must_be_started,omitempty"` // port Port int32 `json:"port,omitempty"` // query Query *GetGameserverOKBodyDataGameserverQuery `json:"query,omitempty"` // query port QueryPort int32 `json:"query_port,omitempty"` // quota Quota *GetGameserverOKBodyDataGameserverQuota `json:"quota,omitempty"` // rcon port RconPort int32 `json:"rcon_port,omitempty"` // service id ServiceID int32 `json:"service_id,omitempty"` // settings Settings *GetGameserverOKBodyDataGameserverSettings `json:"settings,omitempty"` // slots Slots int32 `json:"slots,omitempty"` // status Status string `json:"status,omitempty"` // type Type string `json:"type,omitempty"` // user id UserID int32 `json:"user_id,omitempty"` // username Username string `json:"username,omitempty"` // websocket token WebsocketToken string `json:"websocket_token,omitempty"` }
GetGameserverOKBodyDataGameserver get gameserver o k body data gameserver swagger:model GetGameserverOKBodyDataGameserver
func (*GetGameserverOKBodyDataGameserver) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserver) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver based on the context it is used
func (*GetGameserverOKBodyDataGameserver) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserver) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserver) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserver) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverCredentials ¶
type GetGameserverOKBodyDataGameserverCredentials struct { // ftp Ftp *GetGameserverOKBodyDataGameserverCredentialsFtp `json:"ftp,omitempty"` // mysql Mysql *GetGameserverOKBodyDataGameserverCredentialsMysql `json:"mysql,omitempty"` }
GetGameserverOKBodyDataGameserverCredentials get gameserver o k body data gameserver credentials swagger:model GetGameserverOKBodyDataGameserverCredentials
func (*GetGameserverOKBodyDataGameserverCredentials) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver credentials based on the context it is used
func (*GetGameserverOKBodyDataGameserverCredentials) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverCredentials) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverCredentialsFtp ¶
type GetGameserverOKBodyDataGameserverCredentialsFtp struct { // hostname Hostname string `json:"hostname,omitempty"` // password Password string `json:"password,omitempty"` // port Port int32 `json:"port,omitempty"` // username Username string `json:"username,omitempty"` }
GetGameserverOKBodyDataGameserverCredentialsFtp get gameserver o k body data gameserver credentials ftp swagger:model GetGameserverOKBodyDataGameserverCredentialsFtp
func (*GetGameserverOKBodyDataGameserverCredentialsFtp) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver credentials ftp based on context it is used
func (*GetGameserverOKBodyDataGameserverCredentialsFtp) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverCredentialsFtp) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverCredentialsFtp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverCredentialsMysql ¶
type GetGameserverOKBodyDataGameserverCredentialsMysql struct { // database Database string `json:"database,omitempty"` // hostname Hostname string `json:"hostname,omitempty"` // password Password string `json:"password,omitempty"` // port Port int32 `json:"port,omitempty"` // username Username string `json:"username,omitempty"` }
GetGameserverOKBodyDataGameserverCredentialsMysql get gameserver o k body data gameserver credentials mysql swagger:model GetGameserverOKBodyDataGameserverCredentialsMysql
func (*GetGameserverOKBodyDataGameserverCredentialsMysql) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver credentials mysql based on context it is used
func (*GetGameserverOKBodyDataGameserverCredentialsMysql) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverCredentialsMysql) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverCredentialsMysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverGameSpecific ¶
type GetGameserverOKBodyDataGameserverGameSpecific struct { // config files ConfigFiles []string `json:"config_files"` // features Features *GetGameserverOKBodyDataGameserverGameSpecificFeatures `json:"features,omitempty"` // last update LastUpdate string `json:"last_update,omitempty"` // log files LogFiles []string `json:"log_files"` // path Path string `json:"path,omitempty"` // path available PathAvailable bool `json:"path_available,omitempty"` // update status UpdateStatus string `json:"update_status,omitempty"` }
GetGameserverOKBodyDataGameserverGameSpecific get gameserver o k body data gameserver game specific swagger:model GetGameserverOKBodyDataGameserverGameSpecific
func (*GetGameserverOKBodyDataGameserverGameSpecific) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverGameSpecific) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver game specific based on the context it is used
func (*GetGameserverOKBodyDataGameserverGameSpecific) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverGameSpecific) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverGameSpecific) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverGameSpecific) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverGameSpecificFeatures ¶
type GetGameserverOKBodyDataGameserverGameSpecificFeatures struct { // has application server HasApplicationServer bool `json:"has_application_server,omitempty"` // has backups HasBackups bool `json:"has_backups,omitempty"` // has container websocket HasContainerWebsocket bool `json:"has_container_websocket,omitempty"` // has database HasDatabase bool `json:"has_database,omitempty"` // has expert mode HasExpertMode bool `json:"has_expert_mode,omitempty"` // has file browser HasFileBrowser bool `json:"has_file_browser,omitempty"` // has ftp HasFtp bool `json:"has_ftp,omitempty"` // has plugin system HasPluginSystem bool `json:"has_plugin_system,omitempty"` // has rcon HasRcon bool `json:"has_rcon,omitempty"` // has restart message support HasRestartMessageSupport bool `json:"has_restart_message_support,omitempty"` // has world backups HasWorldBackups bool `json:"has_world_backups,omitempty"` }
GetGameserverOKBodyDataGameserverGameSpecificFeatures get gameserver o k body data gameserver game specific features swagger:model GetGameserverOKBodyDataGameserverGameSpecificFeatures
func (*GetGameserverOKBodyDataGameserverGameSpecificFeatures) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver game specific features based on context it is used
func (*GetGameserverOKBodyDataGameserverGameSpecificFeatures) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverGameSpecificFeatures) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverGameSpecificFeatures) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverHostsystems ¶
type GetGameserverOKBodyDataGameserverHostsystems struct { // linux Linux *GetGameserverOKBodyDataGameserverHostsystemsLinux `json:"linux,omitempty"` }
GetGameserverOKBodyDataGameserverHostsystems get gameserver o k body data gameserver hostsystems swagger:model GetGameserverOKBodyDataGameserverHostsystems
func (*GetGameserverOKBodyDataGameserverHostsystems) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverHostsystems) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver hostsystems based on the context it is used
func (*GetGameserverOKBodyDataGameserverHostsystems) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverHostsystems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverHostsystems) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverHostsystems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverHostsystemsLinux ¶
type GetGameserverOKBodyDataGameserverHostsystemsLinux struct { // hostname Hostname string `json:"hostname,omitempty"` // status Status string `json:"status,omitempty"` }
GetGameserverOKBodyDataGameserverHostsystemsLinux get gameserver o k body data gameserver hostsystems linux swagger:model GetGameserverOKBodyDataGameserverHostsystemsLinux
func (*GetGameserverOKBodyDataGameserverHostsystemsLinux) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver hostsystems linux based on context it is used
func (*GetGameserverOKBodyDataGameserverHostsystemsLinux) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverHostsystemsLinux) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverHostsystemsLinux) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverModpacks ¶
type GetGameserverOKBodyDataGameserverModpacks struct { // mcrdns Mcrdns *GetGameserverOKBodyDataGameserverModpacksMcrdns `json:"mcrdns,omitempty"` }
GetGameserverOKBodyDataGameserverModpacks get gameserver o k body data gameserver modpacks swagger:model GetGameserverOKBodyDataGameserverModpacks
func (*GetGameserverOKBodyDataGameserverModpacks) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverModpacks) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver modpacks based on the context it is used
func (*GetGameserverOKBodyDataGameserverModpacks) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverModpacks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverModpacks) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverModpacks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverModpacksMcrdns ¶
type GetGameserverOKBodyDataGameserverModpacksMcrdns struct { // game version GameVersion string `json:"game_version,omitempty"` // modpack version ModpackVersion string `json:"modpack_version,omitempty"` // name Name string `json:"name,omitempty"` }
GetGameserverOKBodyDataGameserverModpacksMcrdns get gameserver o k body data gameserver modpacks mcrdns swagger:model GetGameserverOKBodyDataGameserverModpacksMcrdns
func (*GetGameserverOKBodyDataGameserverModpacksMcrdns) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver modpacks mcrdns based on context it is used
func (*GetGameserverOKBodyDataGameserverModpacksMcrdns) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverModpacksMcrdns) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverModpacksMcrdns) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverQuery ¶
type GetGameserverOKBodyDataGameserverQuery struct { // connect ip ConnectIP string `json:"connect_ip,omitempty"` // map Map string `json:"map,omitempty"` // player current PlayerCurrent int32 `json:"player_current,omitempty"` // player max PlayerMax int32 `json:"player_max,omitempty"` // players Players []*GetGameserverOKBodyDataGameserverQueryPlayersItems0 `json:"players"` // server name ServerName string `json:"server_name,omitempty"` // version Version string `json:"version,omitempty"` }
GetGameserverOKBodyDataGameserverQuery get gameserver o k body data gameserver query swagger:model GetGameserverOKBodyDataGameserverQuery
func (*GetGameserverOKBodyDataGameserverQuery) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver query based on the context it is used
func (*GetGameserverOKBodyDataGameserverQuery) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverQuery) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverQueryPlayersItems0 ¶
type GetGameserverOKBodyDataGameserverQueryPlayersItems0 struct { // bot Bot bool `json:"bot,omitempty"` // deaths Deaths int32 `json:"deaths,omitempty"` // frags Frags int32 `json:"frags,omitempty"` // id ID int32 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // ping Ping int32 `json:"ping,omitempty"` // score Score int32 `json:"score,omitempty"` // time Time int32 `json:"time,omitempty"` }
GetGameserverOKBodyDataGameserverQueryPlayersItems0 get gameserver o k body data gameserver query players items0 swagger:model GetGameserverOKBodyDataGameserverQueryPlayersItems0
func (*GetGameserverOKBodyDataGameserverQueryPlayersItems0) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver query players items0 based on context it is used
func (*GetGameserverOKBodyDataGameserverQueryPlayersItems0) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverQueryPlayersItems0) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverQueryPlayersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverQuota ¶
type GetGameserverOKBodyDataGameserverQuota struct { // block hardlimit BlockHardlimit int32 `json:"block_hardlimit,omitempty"` // block softlimit BlockSoftlimit int32 `json:"block_softlimit,omitempty"` // block usage BlockUsage int32 `json:"block_usage,omitempty"` // file hardlimit FileHardlimit int32 `json:"file_hardlimit,omitempty"` // file softlimit FileSoftlimit int32 `json:"file_softlimit,omitempty"` // file usage FileUsage int32 `json:"file_usage,omitempty"` }
GetGameserverOKBodyDataGameserverQuota get gameserver o k body data gameserver quota swagger:model GetGameserverOKBodyDataGameserverQuota
func (*GetGameserverOKBodyDataGameserverQuota) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver quota based on context it is used
func (*GetGameserverOKBodyDataGameserverQuota) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverQuota) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverSettings ¶
type GetGameserverOKBodyDataGameserverSettings struct { // base Base *GetGameserverOKBodyDataGameserverSettingsBase `json:"base,omitempty"` // config Config map[string]string `json:"config,omitempty"` // gameini Gameini map[string]string `json:"gameini,omitempty"` // general General map[string]string `json:"general,omitempty"` // start param StartParam map[string]string `json:"start-param,omitempty"` }
GetGameserverOKBodyDataGameserverSettings get gameserver o k body data gameserver settings swagger:model GetGameserverOKBodyDataGameserverSettings
func (*GetGameserverOKBodyDataGameserverSettings) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get gameserver o k body data gameserver settings based on the context it is used
func (*GetGameserverOKBodyDataGameserverSettings) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverSettings) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverOKBodyDataGameserverSettingsBase ¶
type GetGameserverOKBodyDataGameserverSettingsBase struct { // dailyrestart Dailyrestart string `json:"dailyrestart,omitempty"` }
GetGameserverOKBodyDataGameserverSettingsBase get gameserver o k body data gameserver settings base swagger:model GetGameserverOKBodyDataGameserverSettingsBase
func (*GetGameserverOKBodyDataGameserverSettingsBase) ContextValidate ¶
func (o *GetGameserverOKBodyDataGameserverSettingsBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get gameserver o k body data gameserver settings base based on context it is used
func (*GetGameserverOKBodyDataGameserverSettingsBase) MarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverSettingsBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGameserverOKBodyDataGameserverSettingsBase) UnmarshalBinary ¶
func (o *GetGameserverOKBodyDataGameserverSettingsBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGameserverParams ¶
type GetGameserverParams struct { /* ServiceID. Service identifier */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGameserverParams contains all the parameters to send to the API endpoint
for the get gameserver operation. Typically these are written to a http.Request.
func NewGetGameserverParams ¶
func NewGetGameserverParams() *GetGameserverParams
NewGetGameserverParams creates a new GetGameserverParams 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 NewGetGameserverParamsWithContext ¶
func NewGetGameserverParamsWithContext(ctx context.Context) *GetGameserverParams
NewGetGameserverParamsWithContext creates a new GetGameserverParams object with the ability to set a context for a request.
func NewGetGameserverParamsWithHTTPClient ¶
func NewGetGameserverParamsWithHTTPClient(client *http.Client) *GetGameserverParams
NewGetGameserverParamsWithHTTPClient creates a new GetGameserverParams object with the ability to set a custom HTTPClient for a request.
func NewGetGameserverParamsWithTimeout ¶
func NewGetGameserverParamsWithTimeout(timeout time.Duration) *GetGameserverParams
NewGetGameserverParamsWithTimeout creates a new GetGameserverParams object with the ability to set a timeout on a request.
func (*GetGameserverParams) SetContext ¶
func (o *GetGameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the get gameserver params
func (*GetGameserverParams) SetDefaults ¶
func (o *GetGameserverParams) SetDefaults()
SetDefaults hydrates default values in the get gameserver params (not the query body).
All values with no default are reset to their zero value.
func (*GetGameserverParams) SetHTTPClient ¶
func (o *GetGameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gameserver params
func (*GetGameserverParams) SetServiceID ¶
func (o *GetGameserverParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the get gameserver params
func (*GetGameserverParams) SetTimeout ¶
func (o *GetGameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gameserver params
func (*GetGameserverParams) WithContext ¶
func (o *GetGameserverParams) WithContext(ctx context.Context) *GetGameserverParams
WithContext adds the context to the get gameserver params
func (*GetGameserverParams) WithDefaults ¶
func (o *GetGameserverParams) WithDefaults() *GetGameserverParams
WithDefaults hydrates default values in the get gameserver params (not the query body).
All values with no default are reset to their zero value.
func (*GetGameserverParams) WithHTTPClient ¶
func (o *GetGameserverParams) WithHTTPClient(client *http.Client) *GetGameserverParams
WithHTTPClient adds the HTTPClient to the get gameserver params
func (*GetGameserverParams) WithServiceID ¶
func (o *GetGameserverParams) WithServiceID(serviceID string) *GetGameserverParams
WithServiceID adds the serviceID to the get gameserver params
func (*GetGameserverParams) WithTimeout ¶
func (o *GetGameserverParams) WithTimeout(timeout time.Duration) *GetGameserverParams
WithTimeout adds the timeout to the get gameserver params
func (*GetGameserverParams) WriteToRequest ¶
func (o *GetGameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGameserverReader ¶
type GetGameserverReader struct {
// contains filtered or unexported fields
}
GetGameserverReader is a Reader for the GetGameserver structure.
func (*GetGameserverReader) ReadResponse ¶
func (o *GetGameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGameserverServiceUnavailable ¶
type GetGameserverServiceUnavailable struct {
}GetGameserverServiceUnavailable describes a response with status code 503, with default header values.
Maintenance. API is currently not available. Please come back in a few minutes and try it again.
func NewGetGameserverServiceUnavailable ¶
func NewGetGameserverServiceUnavailable() *GetGameserverServiceUnavailable
NewGetGameserverServiceUnavailable creates a GetGameserverServiceUnavailable with default headers values
func (*GetGameserverServiceUnavailable) Error ¶
func (o *GetGameserverServiceUnavailable) Error() string
func (*GetGameserverServiceUnavailable) GetPayload ¶
func (o *GetGameserverServiceUnavailable) GetPayload() *models.ErrorModel
type GetGameserverTooManyRequests ¶
type GetGameserverTooManyRequests struct {
Payload *models.ErrorModel
}
GetGameserverTooManyRequests describes a response with status code 429, with default header values.
The rate limit has been exceeded. Please contact our support if you have a legit reason get a higher rate limit.
func NewGetGameserverTooManyRequests ¶
func NewGetGameserverTooManyRequests() *GetGameserverTooManyRequests
NewGetGameserverTooManyRequests creates a GetGameserverTooManyRequests with default headers values
func (*GetGameserverTooManyRequests) Error ¶
func (o *GetGameserverTooManyRequests) Error() string
func (*GetGameserverTooManyRequests) GetPayload ¶
func (o *GetGameserverTooManyRequests) GetPayload() *models.ErrorModel
type GetGameserverUnauthorized ¶
type GetGameserverUnauthorized struct {
}GetGameserverUnauthorized describes a response with status code 401, with default header values.
The provided access token is not valid (anymore).
func NewGetGameserverUnauthorized ¶
func NewGetGameserverUnauthorized() *GetGameserverUnauthorized
NewGetGameserverUnauthorized creates a GetGameserverUnauthorized with default headers values
func (*GetGameserverUnauthorized) Error ¶
func (o *GetGameserverUnauthorized) Error() string
func (*GetGameserverUnauthorized) GetPayload ¶
func (o *GetGameserverUnauthorized) GetPayload() *models.ErrorModel
type ListFilesDefault ¶
type ListFilesDefault struct { Payload *models.ErrorModel // contains filtered or unexported fields }
ListFilesDefault describes a response with status code -1, with default header values.
Default error response.
func NewListFilesDefault ¶
func NewListFilesDefault(code int) *ListFilesDefault
NewListFilesDefault creates a ListFilesDefault with default headers values
func (*ListFilesDefault) Code ¶
func (o *ListFilesDefault) Code() int
Code gets the status code for the list files default response
func (*ListFilesDefault) Error ¶
func (o *ListFilesDefault) Error() string
func (*ListFilesDefault) GetPayload ¶
func (o *ListFilesDefault) GetPayload() *models.ErrorModel
type ListFilesOK ¶
type ListFilesOK struct {
Payload *ListFilesOKBody
}
ListFilesOK describes a response with status code 200, with default header values.
success response
func NewListFilesOK ¶
func NewListFilesOK() *ListFilesOK
NewListFilesOK creates a ListFilesOK with default headers values
func (*ListFilesOK) Error ¶
func (o *ListFilesOK) Error() string
func (*ListFilesOK) GetPayload ¶
func (o *ListFilesOK) GetPayload() *ListFilesOKBody
type ListFilesOKBody ¶
type ListFilesOKBody struct { // data Data *ListFilesOKBodyData `json:"data,omitempty"` // status Status string `json:"status,omitempty"` }
ListFilesOKBody list files o k body swagger:model ListFilesOKBody
func (*ListFilesOKBody) ContextValidate ¶
ContextValidate validate this list files o k body based on the context it is used
func (*ListFilesOKBody) MarshalBinary ¶
func (o *ListFilesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListFilesOKBody) UnmarshalBinary ¶
func (o *ListFilesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListFilesOKBodyData ¶
type ListFilesOKBodyData struct { // entries Entries []*ListFilesOKBodyDataEntriesItems0 `json:"entries"` }
ListFilesOKBodyData list files o k body data swagger:model ListFilesOKBodyData
func (*ListFilesOKBodyData) ContextValidate ¶
ContextValidate validate this list files o k body data based on the context it is used
func (*ListFilesOKBodyData) MarshalBinary ¶
func (o *ListFilesOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListFilesOKBodyData) UnmarshalBinary ¶
func (o *ListFilesOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListFilesOKBodyDataEntriesItems0 ¶
type ListFilesOKBodyDataEntriesItems0 struct { // accessed at AccessedAt int32 `json:"accessed_at,omitempty"` // chmod Chmod string `json:"chmod,omitempty"` // created at CreatedAt int32 `json:"created_at,omitempty"` // group Group string `json:"group,omitempty"` // modified at ModifiedAt int32 `json:"modified_at,omitempty"` // name Name string `json:"name,omitempty"` // owner Owner string `json:"owner,omitempty"` // path Path string `json:"path,omitempty"` // size Size int32 `json:"size,omitempty"` // type Type string `json:"type,omitempty"` }
ListFilesOKBodyDataEntriesItems0 list files o k body data entries items0 swagger:model ListFilesOKBodyDataEntriesItems0
func (*ListFilesOKBodyDataEntriesItems0) ContextValidate ¶
func (o *ListFilesOKBodyDataEntriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list files o k body data entries items0 based on context it is used
func (*ListFilesOKBodyDataEntriesItems0) MarshalBinary ¶
func (o *ListFilesOKBodyDataEntriesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListFilesOKBodyDataEntriesItems0) UnmarshalBinary ¶
func (o *ListFilesOKBodyDataEntriesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListFilesParams ¶
type ListFilesParams struct { /* Dir. Directory to list */ Dir *string /* Search. Search pattern for specific files */ Search *string /* ServiceID. Service identifier */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFilesParams contains all the parameters to send to the API endpoint
for the list files operation. Typically these are written to a http.Request.
func NewListFilesParams ¶
func NewListFilesParams() *ListFilesParams
NewListFilesParams creates a new ListFilesParams 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 NewListFilesParamsWithContext ¶
func NewListFilesParamsWithContext(ctx context.Context) *ListFilesParams
NewListFilesParamsWithContext creates a new ListFilesParams object with the ability to set a context for a request.
func NewListFilesParamsWithHTTPClient ¶
func NewListFilesParamsWithHTTPClient(client *http.Client) *ListFilesParams
NewListFilesParamsWithHTTPClient creates a new ListFilesParams object with the ability to set a custom HTTPClient for a request.
func NewListFilesParamsWithTimeout ¶
func NewListFilesParamsWithTimeout(timeout time.Duration) *ListFilesParams
NewListFilesParamsWithTimeout creates a new ListFilesParams object with the ability to set a timeout on a request.
func (*ListFilesParams) SetContext ¶
func (o *ListFilesParams) SetContext(ctx context.Context)
SetContext adds the context to the list files params
func (*ListFilesParams) SetDefaults ¶
func (o *ListFilesParams) SetDefaults()
SetDefaults hydrates default values in the list files params (not the query body).
All values with no default are reset to their zero value.
func (*ListFilesParams) SetDir ¶
func (o *ListFilesParams) SetDir(dir *string)
SetDir adds the dir to the list files params
func (*ListFilesParams) SetHTTPClient ¶
func (o *ListFilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list files params
func (*ListFilesParams) SetSearch ¶
func (o *ListFilesParams) SetSearch(search *string)
SetSearch adds the search to the list files params
func (*ListFilesParams) SetServiceID ¶
func (o *ListFilesParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the list files params
func (*ListFilesParams) SetTimeout ¶
func (o *ListFilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list files params
func (*ListFilesParams) WithContext ¶
func (o *ListFilesParams) WithContext(ctx context.Context) *ListFilesParams
WithContext adds the context to the list files params
func (*ListFilesParams) WithDefaults ¶
func (o *ListFilesParams) WithDefaults() *ListFilesParams
WithDefaults hydrates default values in the list files params (not the query body).
All values with no default are reset to their zero value.
func (*ListFilesParams) WithDir ¶
func (o *ListFilesParams) WithDir(dir *string) *ListFilesParams
WithDir adds the dir to the list files params
func (*ListFilesParams) WithHTTPClient ¶
func (o *ListFilesParams) WithHTTPClient(client *http.Client) *ListFilesParams
WithHTTPClient adds the HTTPClient to the list files params
func (*ListFilesParams) WithSearch ¶
func (o *ListFilesParams) WithSearch(search *string) *ListFilesParams
WithSearch adds the search to the list files params
func (*ListFilesParams) WithServiceID ¶
func (o *ListFilesParams) WithServiceID(serviceID string) *ListFilesParams
WithServiceID adds the serviceID to the list files params
func (*ListFilesParams) WithTimeout ¶
func (o *ListFilesParams) WithTimeout(timeout time.Duration) *ListFilesParams
WithTimeout adds the timeout to the list files params
func (*ListFilesParams) WriteToRequest ¶
func (o *ListFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFilesReader ¶
type ListFilesReader struct {
// contains filtered or unexported fields
}
ListFilesReader is a Reader for the ListFiles structure.
func (*ListFilesReader) ReadResponse ¶
func (o *ListFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFilesServiceUnavailable ¶
type ListFilesServiceUnavailable struct {
}ListFilesServiceUnavailable describes a response with status code 503, with default header values.
Maintenance. API is currently not available. Please come back in a few minutes and try it again.
func NewListFilesServiceUnavailable ¶
func NewListFilesServiceUnavailable() *ListFilesServiceUnavailable
NewListFilesServiceUnavailable creates a ListFilesServiceUnavailable with default headers values
func (*ListFilesServiceUnavailable) Error ¶
func (o *ListFilesServiceUnavailable) Error() string
func (*ListFilesServiceUnavailable) GetPayload ¶
func (o *ListFilesServiceUnavailable) GetPayload() *models.ErrorModel
type ListFilesTooManyRequests ¶
type ListFilesTooManyRequests struct {
Payload *models.ErrorModel
}
ListFilesTooManyRequests describes a response with status code 429, with default header values.
The rate limit has been exceeded. Please contact our support if you have a legit reason get a higher rate limit.
func NewListFilesTooManyRequests ¶
func NewListFilesTooManyRequests() *ListFilesTooManyRequests
NewListFilesTooManyRequests creates a ListFilesTooManyRequests with default headers values
func (*ListFilesTooManyRequests) Error ¶
func (o *ListFilesTooManyRequests) Error() string
func (*ListFilesTooManyRequests) GetPayload ¶
func (o *ListFilesTooManyRequests) GetPayload() *models.ErrorModel
type ListFilesUnauthorized ¶
type ListFilesUnauthorized struct {
}ListFilesUnauthorized describes a response with status code 401, with default header values.
The provided access token is not valid (anymore).
func NewListFilesUnauthorized ¶
func NewListFilesUnauthorized() *ListFilesUnauthorized
NewListFilesUnauthorized creates a ListFilesUnauthorized with default headers values
func (*ListFilesUnauthorized) Error ¶
func (o *ListFilesUnauthorized) Error() string
func (*ListFilesUnauthorized) GetPayload ¶
func (o *ListFilesUnauthorized) GetPayload() *models.ErrorModel
type RestartGameserverBody ¶
type RestartGameserverBody struct { // message Message string `json:"message,omitempty"` // restart message RestartMessage string `json:"restart_message,omitempty"` }
RestartGameserverBody restart gameserver body swagger:model RestartGameserverBody
func (*RestartGameserverBody) ContextValidate ¶
ContextValidate validates this restart gameserver body based on context it is used
func (*RestartGameserverBody) MarshalBinary ¶
func (o *RestartGameserverBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestartGameserverBody) UnmarshalBinary ¶
func (o *RestartGameserverBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestartGameserverDefault ¶
type RestartGameserverDefault struct { Payload *models.ErrorModel // contains filtered or unexported fields }
RestartGameserverDefault describes a response with status code -1, with default header values.
Default error response.
func NewRestartGameserverDefault ¶
func NewRestartGameserverDefault(code int) *RestartGameserverDefault
NewRestartGameserverDefault creates a RestartGameserverDefault with default headers values
func (*RestartGameserverDefault) Code ¶
func (o *RestartGameserverDefault) Code() int
Code gets the status code for the restart gameserver default response
func (*RestartGameserverDefault) Error ¶
func (o *RestartGameserverDefault) Error() string
func (*RestartGameserverDefault) GetPayload ¶
func (o *RestartGameserverDefault) GetPayload() *models.ErrorModel
type RestartGameserverOK ¶
type RestartGameserverOK struct {
Payload *RestartGameserverOKBody
}
RestartGameserverOK describes a response with status code 200, with default header values.
success response
func NewRestartGameserverOK ¶
func NewRestartGameserverOK() *RestartGameserverOK
NewRestartGameserverOK creates a RestartGameserverOK with default headers values
func (*RestartGameserverOK) Error ¶
func (o *RestartGameserverOK) Error() string
func (*RestartGameserverOK) GetPayload ¶
func (o *RestartGameserverOK) GetPayload() *RestartGameserverOKBody
type RestartGameserverOKBody ¶
type RestartGameserverOKBody struct { // message Message string `json:"message,omitempty"` // status Status string `json:"status,omitempty"` }
RestartGameserverOKBody restart gameserver o k body swagger:model RestartGameserverOKBody
func (*RestartGameserverOKBody) ContextValidate ¶
func (o *RestartGameserverOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restart gameserver o k body based on context it is used
func (*RestartGameserverOKBody) MarshalBinary ¶
func (o *RestartGameserverOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestartGameserverOKBody) UnmarshalBinary ¶
func (o *RestartGameserverOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestartGameserverParams ¶
type RestartGameserverParams struct { /* Body. Restart a gameserver body */ Body RestartGameserverBody /* ServiceID. Service identifier */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestartGameserverParams contains all the parameters to send to the API endpoint
for the restart gameserver operation. Typically these are written to a http.Request.
func NewRestartGameserverParams ¶
func NewRestartGameserverParams() *RestartGameserverParams
NewRestartGameserverParams creates a new RestartGameserverParams 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 NewRestartGameserverParamsWithContext ¶
func NewRestartGameserverParamsWithContext(ctx context.Context) *RestartGameserverParams
NewRestartGameserverParamsWithContext creates a new RestartGameserverParams object with the ability to set a context for a request.
func NewRestartGameserverParamsWithHTTPClient ¶
func NewRestartGameserverParamsWithHTTPClient(client *http.Client) *RestartGameserverParams
NewRestartGameserverParamsWithHTTPClient creates a new RestartGameserverParams object with the ability to set a custom HTTPClient for a request.
func NewRestartGameserverParamsWithTimeout ¶
func NewRestartGameserverParamsWithTimeout(timeout time.Duration) *RestartGameserverParams
NewRestartGameserverParamsWithTimeout creates a new RestartGameserverParams object with the ability to set a timeout on a request.
func (*RestartGameserverParams) SetBody ¶
func (o *RestartGameserverParams) SetBody(body RestartGameserverBody)
SetBody adds the body to the restart gameserver params
func (*RestartGameserverParams) SetContext ¶
func (o *RestartGameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the restart gameserver params
func (*RestartGameserverParams) SetDefaults ¶
func (o *RestartGameserverParams) SetDefaults()
SetDefaults hydrates default values in the restart gameserver params (not the query body).
All values with no default are reset to their zero value.
func (*RestartGameserverParams) SetHTTPClient ¶
func (o *RestartGameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart gameserver params
func (*RestartGameserverParams) SetServiceID ¶
func (o *RestartGameserverParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the restart gameserver params
func (*RestartGameserverParams) SetTimeout ¶
func (o *RestartGameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart gameserver params
func (*RestartGameserverParams) WithBody ¶
func (o *RestartGameserverParams) WithBody(body RestartGameserverBody) *RestartGameserverParams
WithBody adds the body to the restart gameserver params
func (*RestartGameserverParams) WithContext ¶
func (o *RestartGameserverParams) WithContext(ctx context.Context) *RestartGameserverParams
WithContext adds the context to the restart gameserver params
func (*RestartGameserverParams) WithDefaults ¶
func (o *RestartGameserverParams) WithDefaults() *RestartGameserverParams
WithDefaults hydrates default values in the restart gameserver params (not the query body).
All values with no default are reset to their zero value.
func (*RestartGameserverParams) WithHTTPClient ¶
func (o *RestartGameserverParams) WithHTTPClient(client *http.Client) *RestartGameserverParams
WithHTTPClient adds the HTTPClient to the restart gameserver params
func (*RestartGameserverParams) WithServiceID ¶
func (o *RestartGameserverParams) WithServiceID(serviceID string) *RestartGameserverParams
WithServiceID adds the serviceID to the restart gameserver params
func (*RestartGameserverParams) WithTimeout ¶
func (o *RestartGameserverParams) WithTimeout(timeout time.Duration) *RestartGameserverParams
WithTimeout adds the timeout to the restart gameserver params
func (*RestartGameserverParams) WriteToRequest ¶
func (o *RestartGameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestartGameserverReader ¶
type RestartGameserverReader struct {
// contains filtered or unexported fields
}
RestartGameserverReader is a Reader for the RestartGameserver structure.
func (*RestartGameserverReader) ReadResponse ¶
func (o *RestartGameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestartGameserverServiceUnavailable ¶
type RestartGameserverServiceUnavailable struct {
}RestartGameserverServiceUnavailable describes a response with status code 503, with default header values.
Maintenance. API is currently not available. Please come back in a few minutes and try it again.
func NewRestartGameserverServiceUnavailable ¶
func NewRestartGameserverServiceUnavailable() *RestartGameserverServiceUnavailable
NewRestartGameserverServiceUnavailable creates a RestartGameserverServiceUnavailable with default headers values
func (*RestartGameserverServiceUnavailable) Error ¶
func (o *RestartGameserverServiceUnavailable) Error() string
func (*RestartGameserverServiceUnavailable) GetPayload ¶
func (o *RestartGameserverServiceUnavailable) GetPayload() *models.ErrorModel
type RestartGameserverTooManyRequests ¶
type RestartGameserverTooManyRequests struct {
Payload *models.ErrorModel
}
RestartGameserverTooManyRequests describes a response with status code 429, with default header values.
The rate limit has been exceeded. Please contact our support if you have a legit reason get a higher rate limit.
func NewRestartGameserverTooManyRequests ¶
func NewRestartGameserverTooManyRequests() *RestartGameserverTooManyRequests
NewRestartGameserverTooManyRequests creates a RestartGameserverTooManyRequests with default headers values
func (*RestartGameserverTooManyRequests) Error ¶
func (o *RestartGameserverTooManyRequests) Error() string
func (*RestartGameserverTooManyRequests) GetPayload ¶
func (o *RestartGameserverTooManyRequests) GetPayload() *models.ErrorModel
type RestartGameserverUnauthorized ¶
type RestartGameserverUnauthorized struct {
}RestartGameserverUnauthorized describes a response with status code 401, with default header values.
The provided access token is not valid (anymore).
func NewRestartGameserverUnauthorized ¶
func NewRestartGameserverUnauthorized() *RestartGameserverUnauthorized
NewRestartGameserverUnauthorized creates a RestartGameserverUnauthorized with default headers values
func (*RestartGameserverUnauthorized) Error ¶
func (o *RestartGameserverUnauthorized) Error() string
func (*RestartGameserverUnauthorized) GetPayload ¶
func (o *RestartGameserverUnauthorized) GetPayload() *models.ErrorModel
type StopGameserverBody ¶
type StopGameserverBody struct { // message Message string `json:"message,omitempty"` // stop message StopMessage string `json:"stop_message,omitempty"` }
StopGameserverBody stop gameserver body swagger:model StopGameserverBody
func (*StopGameserverBody) ContextValidate ¶
ContextValidate validates this stop gameserver body based on context it is used
func (*StopGameserverBody) MarshalBinary ¶
func (o *StopGameserverBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StopGameserverBody) UnmarshalBinary ¶
func (o *StopGameserverBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StopGameserverDefault ¶
type StopGameserverDefault struct { Payload *models.ErrorModel // contains filtered or unexported fields }
StopGameserverDefault describes a response with status code -1, with default header values.
Default error response.
func NewStopGameserverDefault ¶
func NewStopGameserverDefault(code int) *StopGameserverDefault
NewStopGameserverDefault creates a StopGameserverDefault with default headers values
func (*StopGameserverDefault) Code ¶
func (o *StopGameserverDefault) Code() int
Code gets the status code for the stop gameserver default response
func (*StopGameserverDefault) Error ¶
func (o *StopGameserverDefault) Error() string
func (*StopGameserverDefault) GetPayload ¶
func (o *StopGameserverDefault) GetPayload() *models.ErrorModel
type StopGameserverOK ¶
type StopGameserverOK struct {
Payload *StopGameserverOKBody
}
StopGameserverOK describes a response with status code 200, with default header values.
success response
func NewStopGameserverOK ¶
func NewStopGameserverOK() *StopGameserverOK
NewStopGameserverOK creates a StopGameserverOK with default headers values
func (*StopGameserverOK) Error ¶
func (o *StopGameserverOK) Error() string
func (*StopGameserverOK) GetPayload ¶
func (o *StopGameserverOK) GetPayload() *StopGameserverOKBody
type StopGameserverOKBody ¶
type StopGameserverOKBody struct { // message Message string `json:"message,omitempty"` // status Status string `json:"status,omitempty"` }
StopGameserverOKBody stop gameserver o k body swagger:model StopGameserverOKBody
func (*StopGameserverOKBody) ContextValidate ¶
ContextValidate validates this stop gameserver o k body based on context it is used
func (*StopGameserverOKBody) MarshalBinary ¶
func (o *StopGameserverOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StopGameserverOKBody) UnmarshalBinary ¶
func (o *StopGameserverOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StopGameserverParams ¶
type StopGameserverParams struct { /* Body. Stop a gameserver body */ Body StopGameserverBody /* ServiceID. Service identifier */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopGameserverParams contains all the parameters to send to the API endpoint
for the stop gameserver operation. Typically these are written to a http.Request.
func NewStopGameserverParams ¶
func NewStopGameserverParams() *StopGameserverParams
NewStopGameserverParams creates a new StopGameserverParams 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 NewStopGameserverParamsWithContext ¶
func NewStopGameserverParamsWithContext(ctx context.Context) *StopGameserverParams
NewStopGameserverParamsWithContext creates a new StopGameserverParams object with the ability to set a context for a request.
func NewStopGameserverParamsWithHTTPClient ¶
func NewStopGameserverParamsWithHTTPClient(client *http.Client) *StopGameserverParams
NewStopGameserverParamsWithHTTPClient creates a new StopGameserverParams object with the ability to set a custom HTTPClient for a request.
func NewStopGameserverParamsWithTimeout ¶
func NewStopGameserverParamsWithTimeout(timeout time.Duration) *StopGameserverParams
NewStopGameserverParamsWithTimeout creates a new StopGameserverParams object with the ability to set a timeout on a request.
func (*StopGameserverParams) SetBody ¶
func (o *StopGameserverParams) SetBody(body StopGameserverBody)
SetBody adds the body to the stop gameserver params
func (*StopGameserverParams) SetContext ¶
func (o *StopGameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the stop gameserver params
func (*StopGameserverParams) SetDefaults ¶
func (o *StopGameserverParams) SetDefaults()
SetDefaults hydrates default values in the stop gameserver params (not the query body).
All values with no default are reset to their zero value.
func (*StopGameserverParams) SetHTTPClient ¶
func (o *StopGameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop gameserver params
func (*StopGameserverParams) SetServiceID ¶
func (o *StopGameserverParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the stop gameserver params
func (*StopGameserverParams) SetTimeout ¶
func (o *StopGameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop gameserver params
func (*StopGameserverParams) WithBody ¶
func (o *StopGameserverParams) WithBody(body StopGameserverBody) *StopGameserverParams
WithBody adds the body to the stop gameserver params
func (*StopGameserverParams) WithContext ¶
func (o *StopGameserverParams) WithContext(ctx context.Context) *StopGameserverParams
WithContext adds the context to the stop gameserver params
func (*StopGameserverParams) WithDefaults ¶
func (o *StopGameserverParams) WithDefaults() *StopGameserverParams
WithDefaults hydrates default values in the stop gameserver params (not the query body).
All values with no default are reset to their zero value.
func (*StopGameserverParams) WithHTTPClient ¶
func (o *StopGameserverParams) WithHTTPClient(client *http.Client) *StopGameserverParams
WithHTTPClient adds the HTTPClient to the stop gameserver params
func (*StopGameserverParams) WithServiceID ¶
func (o *StopGameserverParams) WithServiceID(serviceID string) *StopGameserverParams
WithServiceID adds the serviceID to the stop gameserver params
func (*StopGameserverParams) WithTimeout ¶
func (o *StopGameserverParams) WithTimeout(timeout time.Duration) *StopGameserverParams
WithTimeout adds the timeout to the stop gameserver params
func (*StopGameserverParams) WriteToRequest ¶
func (o *StopGameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopGameserverReader ¶
type StopGameserverReader struct {
// contains filtered or unexported fields
}
StopGameserverReader is a Reader for the StopGameserver structure.
func (*StopGameserverReader) ReadResponse ¶
func (o *StopGameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopGameserverServiceUnavailable ¶
type StopGameserverServiceUnavailable struct {
}StopGameserverServiceUnavailable describes a response with status code 503, with default header values.
Maintenance. API is currently not available. Please come back in a few minutes and try it again.
func NewStopGameserverServiceUnavailable ¶
func NewStopGameserverServiceUnavailable() *StopGameserverServiceUnavailable
NewStopGameserverServiceUnavailable creates a StopGameserverServiceUnavailable with default headers values
func (*StopGameserverServiceUnavailable) Error ¶
func (o *StopGameserverServiceUnavailable) Error() string
func (*StopGameserverServiceUnavailable) GetPayload ¶
func (o *StopGameserverServiceUnavailable) GetPayload() *models.ErrorModel
type StopGameserverTooManyRequests ¶
type StopGameserverTooManyRequests struct {
Payload *models.ErrorModel
}
StopGameserverTooManyRequests describes a response with status code 429, with default header values.
The rate limit has been exceeded. Please contact our support if you have a legit reason get a higher rate limit.
func NewStopGameserverTooManyRequests ¶
func NewStopGameserverTooManyRequests() *StopGameserverTooManyRequests
NewStopGameserverTooManyRequests creates a StopGameserverTooManyRequests with default headers values
func (*StopGameserverTooManyRequests) Error ¶
func (o *StopGameserverTooManyRequests) Error() string
func (*StopGameserverTooManyRequests) GetPayload ¶
func (o *StopGameserverTooManyRequests) GetPayload() *models.ErrorModel
type StopGameserverUnauthorized ¶
type StopGameserverUnauthorized struct {
}StopGameserverUnauthorized describes a response with status code 401, with default header values.
The provided access token is not valid (anymore).
func NewStopGameserverUnauthorized ¶
func NewStopGameserverUnauthorized() *StopGameserverUnauthorized
NewStopGameserverUnauthorized creates a StopGameserverUnauthorized with default headers values
func (*StopGameserverUnauthorized) Error ¶
func (o *StopGameserverUnauthorized) Error() string
func (*StopGameserverUnauthorized) GetPayload ¶
func (o *StopGameserverUnauthorized) GetPayload() *models.ErrorModel
Source Files
¶
- download_file_parameters.go
- download_file_responses.go
- files_stats_parameters.go
- files_stats_responses.go
- gameserver_client.go
- get_gameserver_parameters.go
- get_gameserver_responses.go
- list_files_parameters.go
- list_files_responses.go
- restart_gameserver_parameters.go
- restart_gameserver_responses.go
- stop_gameserver_parameters.go
- stop_gameserver_responses.go