Documentation ¶
Index ¶
- type Client
- func (a *Client) GetServerForDeveloper(params *GetServerForDeveloperParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServerForDeveloperOK, error)
- func (a *Client) ListServersForDeveloper(params *ListServersForDeveloperParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServersForDeveloperOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetServerForDeveloperForbidden
- func (o *GetServerForDeveloperForbidden) Code() int
- func (o *GetServerForDeveloperForbidden) Error() string
- func (o *GetServerForDeveloperForbidden) GetPayload() *models.Error
- func (o *GetServerForDeveloperForbidden) IsClientError() bool
- func (o *GetServerForDeveloperForbidden) IsCode(code int) bool
- func (o *GetServerForDeveloperForbidden) IsRedirect() bool
- func (o *GetServerForDeveloperForbidden) IsServerError() bool
- func (o *GetServerForDeveloperForbidden) IsSuccess() bool
- func (o *GetServerForDeveloperForbidden) String() string
- type GetServerForDeveloperNotFound
- func (o *GetServerForDeveloperNotFound) Code() int
- func (o *GetServerForDeveloperNotFound) Error() string
- func (o *GetServerForDeveloperNotFound) GetPayload() *models.Error
- func (o *GetServerForDeveloperNotFound) IsClientError() bool
- func (o *GetServerForDeveloperNotFound) IsCode(code int) bool
- func (o *GetServerForDeveloperNotFound) IsRedirect() bool
- func (o *GetServerForDeveloperNotFound) IsServerError() bool
- func (o *GetServerForDeveloperNotFound) IsSuccess() bool
- func (o *GetServerForDeveloperNotFound) String() string
- type GetServerForDeveloperOK
- func (o *GetServerForDeveloperOK) Code() int
- func (o *GetServerForDeveloperOK) Error() string
- func (o *GetServerForDeveloperOK) GetPayload() *models.GetServerWithScopesDeveloperResponse
- func (o *GetServerForDeveloperOK) IsClientError() bool
- func (o *GetServerForDeveloperOK) IsCode(code int) bool
- func (o *GetServerForDeveloperOK) IsRedirect() bool
- func (o *GetServerForDeveloperOK) IsServerError() bool
- func (o *GetServerForDeveloperOK) IsSuccess() bool
- func (o *GetServerForDeveloperOK) String() string
- type GetServerForDeveloperParams
- func NewGetServerForDeveloperParams() *GetServerForDeveloperParams
- func NewGetServerForDeveloperParamsWithContext(ctx context.Context) *GetServerForDeveloperParams
- func NewGetServerForDeveloperParamsWithHTTPClient(client *http.Client) *GetServerForDeveloperParams
- func NewGetServerForDeveloperParamsWithTimeout(timeout time.Duration) *GetServerForDeveloperParams
- func (o *GetServerForDeveloperParams) SetContext(ctx context.Context)
- func (o *GetServerForDeveloperParams) SetDefaults()
- func (o *GetServerForDeveloperParams) SetHTTPClient(client *http.Client)
- func (o *GetServerForDeveloperParams) SetRid(rid string)
- func (o *GetServerForDeveloperParams) SetTimeout(timeout time.Duration)
- func (o *GetServerForDeveloperParams) WithContext(ctx context.Context) *GetServerForDeveloperParams
- func (o *GetServerForDeveloperParams) WithDefaults() *GetServerForDeveloperParams
- func (o *GetServerForDeveloperParams) WithHTTPClient(client *http.Client) *GetServerForDeveloperParams
- func (o *GetServerForDeveloperParams) WithRid(rid string) *GetServerForDeveloperParams
- func (o *GetServerForDeveloperParams) WithTimeout(timeout time.Duration) *GetServerForDeveloperParams
- func (o *GetServerForDeveloperParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerForDeveloperReader
- type GetServerForDeveloperTooManyRequests
- func (o *GetServerForDeveloperTooManyRequests) Code() int
- func (o *GetServerForDeveloperTooManyRequests) Error() string
- func (o *GetServerForDeveloperTooManyRequests) GetPayload() *models.Error
- func (o *GetServerForDeveloperTooManyRequests) IsClientError() bool
- func (o *GetServerForDeveloperTooManyRequests) IsCode(code int) bool
- func (o *GetServerForDeveloperTooManyRequests) IsRedirect() bool
- func (o *GetServerForDeveloperTooManyRequests) IsServerError() bool
- func (o *GetServerForDeveloperTooManyRequests) IsSuccess() bool
- func (o *GetServerForDeveloperTooManyRequests) String() string
- type GetServerForDeveloperUnauthorized
- func (o *GetServerForDeveloperUnauthorized) Code() int
- func (o *GetServerForDeveloperUnauthorized) Error() string
- func (o *GetServerForDeveloperUnauthorized) GetPayload() *models.Error
- func (o *GetServerForDeveloperUnauthorized) IsClientError() bool
- func (o *GetServerForDeveloperUnauthorized) IsCode(code int) bool
- func (o *GetServerForDeveloperUnauthorized) IsRedirect() bool
- func (o *GetServerForDeveloperUnauthorized) IsServerError() bool
- func (o *GetServerForDeveloperUnauthorized) IsSuccess() bool
- func (o *GetServerForDeveloperUnauthorized) String() string
- type ListServersForDeveloperForbidden
- func (o *ListServersForDeveloperForbidden) Code() int
- func (o *ListServersForDeveloperForbidden) Error() string
- func (o *ListServersForDeveloperForbidden) GetPayload() *models.Error
- func (o *ListServersForDeveloperForbidden) IsClientError() bool
- func (o *ListServersForDeveloperForbidden) IsCode(code int) bool
- func (o *ListServersForDeveloperForbidden) IsRedirect() bool
- func (o *ListServersForDeveloperForbidden) IsServerError() bool
- func (o *ListServersForDeveloperForbidden) IsSuccess() bool
- func (o *ListServersForDeveloperForbidden) String() string
- type ListServersForDeveloperNotFound
- func (o *ListServersForDeveloperNotFound) Code() int
- func (o *ListServersForDeveloperNotFound) Error() string
- func (o *ListServersForDeveloperNotFound) GetPayload() *models.Error
- func (o *ListServersForDeveloperNotFound) IsClientError() bool
- func (o *ListServersForDeveloperNotFound) IsCode(code int) bool
- func (o *ListServersForDeveloperNotFound) IsRedirect() bool
- func (o *ListServersForDeveloperNotFound) IsServerError() bool
- func (o *ListServersForDeveloperNotFound) IsSuccess() bool
- func (o *ListServersForDeveloperNotFound) String() string
- type ListServersForDeveloperOK
- func (o *ListServersForDeveloperOK) Code() int
- func (o *ListServersForDeveloperOK) Error() string
- func (o *ListServersForDeveloperOK) GetPayload() *models.ListServersDeveloperResponse
- func (o *ListServersForDeveloperOK) IsClientError() bool
- func (o *ListServersForDeveloperOK) IsCode(code int) bool
- func (o *ListServersForDeveloperOK) IsRedirect() bool
- func (o *ListServersForDeveloperOK) IsServerError() bool
- func (o *ListServersForDeveloperOK) IsSuccess() bool
- func (o *ListServersForDeveloperOK) String() string
- type ListServersForDeveloperParams
- func NewListServersForDeveloperParams() *ListServersForDeveloperParams
- func NewListServersForDeveloperParamsWithContext(ctx context.Context) *ListServersForDeveloperParams
- func NewListServersForDeveloperParamsWithHTTPClient(client *http.Client) *ListServersForDeveloperParams
- func NewListServersForDeveloperParamsWithTimeout(timeout time.Duration) *ListServersForDeveloperParams
- func (o *ListServersForDeveloperParams) SetContext(ctx context.Context)
- func (o *ListServersForDeveloperParams) SetDefaults()
- func (o *ListServersForDeveloperParams) SetHTTPClient(client *http.Client)
- func (o *ListServersForDeveloperParams) SetTimeout(timeout time.Duration)
- func (o *ListServersForDeveloperParams) WithContext(ctx context.Context) *ListServersForDeveloperParams
- func (o *ListServersForDeveloperParams) WithDefaults() *ListServersForDeveloperParams
- func (o *ListServersForDeveloperParams) WithHTTPClient(client *http.Client) *ListServersForDeveloperParams
- func (o *ListServersForDeveloperParams) WithTimeout(timeout time.Duration) *ListServersForDeveloperParams
- func (o *ListServersForDeveloperParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServersForDeveloperReader
- type ListServersForDeveloperTooManyRequests
- func (o *ListServersForDeveloperTooManyRequests) Code() int
- func (o *ListServersForDeveloperTooManyRequests) Error() string
- func (o *ListServersForDeveloperTooManyRequests) GetPayload() *models.Error
- func (o *ListServersForDeveloperTooManyRequests) IsClientError() bool
- func (o *ListServersForDeveloperTooManyRequests) IsCode(code int) bool
- func (o *ListServersForDeveloperTooManyRequests) IsRedirect() bool
- func (o *ListServersForDeveloperTooManyRequests) IsServerError() bool
- func (o *ListServersForDeveloperTooManyRequests) IsSuccess() bool
- func (o *ListServersForDeveloperTooManyRequests) String() string
- type ListServersForDeveloperUnauthorized
- func (o *ListServersForDeveloperUnauthorized) Code() int
- func (o *ListServersForDeveloperUnauthorized) Error() string
- func (o *ListServersForDeveloperUnauthorized) GetPayload() *models.Error
- func (o *ListServersForDeveloperUnauthorized) IsClientError() bool
- func (o *ListServersForDeveloperUnauthorized) IsCode(code int) bool
- func (o *ListServersForDeveloperUnauthorized) IsRedirect() bool
- func (o *ListServersForDeveloperUnauthorized) IsServerError() bool
- func (o *ListServersForDeveloperUnauthorized) IsSuccess() bool
- func (o *ListServersForDeveloperUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for servers API
func (*Client) GetServerForDeveloper ¶
func (a *Client) GetServerForDeveloper(params *GetServerForDeveloperParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServerForDeveloperOK, error)
GetServerForDeveloper gets authorization server
Returns authorization server details with list of scopes.
func (*Client) ListServersForDeveloper ¶
func (a *Client) ListServersForDeveloper(params *ListServersForDeveloperParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServersForDeveloperOK, error)
ListServersForDeveloper lists authorization servers
Returns list of authorization severs.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { GetServerForDeveloper(params *GetServerForDeveloperParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServerForDeveloperOK, error) ListServersForDeveloper(params *ListServersForDeveloperParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServersForDeveloperOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new servers API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new servers API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new servers API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetServerForDeveloperForbidden ¶
GetServerForDeveloperForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetServerForDeveloperForbidden ¶
func NewGetServerForDeveloperForbidden() *GetServerForDeveloperForbidden
NewGetServerForDeveloperForbidden creates a GetServerForDeveloperForbidden with default headers values
func (*GetServerForDeveloperForbidden) Code ¶
func (o *GetServerForDeveloperForbidden) Code() int
Code gets the status code for the get server for developer forbidden response
func (*GetServerForDeveloperForbidden) Error ¶
func (o *GetServerForDeveloperForbidden) Error() string
func (*GetServerForDeveloperForbidden) GetPayload ¶
func (o *GetServerForDeveloperForbidden) GetPayload() *models.Error
func (*GetServerForDeveloperForbidden) IsClientError ¶
func (o *GetServerForDeveloperForbidden) IsClientError() bool
IsClientError returns true when this get server for developer forbidden response has a 4xx status code
func (*GetServerForDeveloperForbidden) IsCode ¶
func (o *GetServerForDeveloperForbidden) IsCode(code int) bool
IsCode returns true when this get server for developer forbidden response a status code equal to that given
func (*GetServerForDeveloperForbidden) IsRedirect ¶
func (o *GetServerForDeveloperForbidden) IsRedirect() bool
IsRedirect returns true when this get server for developer forbidden response has a 3xx status code
func (*GetServerForDeveloperForbidden) IsServerError ¶
func (o *GetServerForDeveloperForbidden) IsServerError() bool
IsServerError returns true when this get server for developer forbidden response has a 5xx status code
func (*GetServerForDeveloperForbidden) IsSuccess ¶
func (o *GetServerForDeveloperForbidden) IsSuccess() bool
IsSuccess returns true when this get server for developer forbidden response has a 2xx status code
func (*GetServerForDeveloperForbidden) String ¶
func (o *GetServerForDeveloperForbidden) String() string
type GetServerForDeveloperNotFound ¶
GetServerForDeveloperNotFound describes a response with status code 404, with default header values.
Not found
func NewGetServerForDeveloperNotFound ¶
func NewGetServerForDeveloperNotFound() *GetServerForDeveloperNotFound
NewGetServerForDeveloperNotFound creates a GetServerForDeveloperNotFound with default headers values
func (*GetServerForDeveloperNotFound) Code ¶
func (o *GetServerForDeveloperNotFound) Code() int
Code gets the status code for the get server for developer not found response
func (*GetServerForDeveloperNotFound) Error ¶
func (o *GetServerForDeveloperNotFound) Error() string
func (*GetServerForDeveloperNotFound) GetPayload ¶
func (o *GetServerForDeveloperNotFound) GetPayload() *models.Error
func (*GetServerForDeveloperNotFound) IsClientError ¶
func (o *GetServerForDeveloperNotFound) IsClientError() bool
IsClientError returns true when this get server for developer not found response has a 4xx status code
func (*GetServerForDeveloperNotFound) IsCode ¶
func (o *GetServerForDeveloperNotFound) IsCode(code int) bool
IsCode returns true when this get server for developer not found response a status code equal to that given
func (*GetServerForDeveloperNotFound) IsRedirect ¶
func (o *GetServerForDeveloperNotFound) IsRedirect() bool
IsRedirect returns true when this get server for developer not found response has a 3xx status code
func (*GetServerForDeveloperNotFound) IsServerError ¶
func (o *GetServerForDeveloperNotFound) IsServerError() bool
IsServerError returns true when this get server for developer not found response has a 5xx status code
func (*GetServerForDeveloperNotFound) IsSuccess ¶
func (o *GetServerForDeveloperNotFound) IsSuccess() bool
IsSuccess returns true when this get server for developer not found response has a 2xx status code
func (*GetServerForDeveloperNotFound) String ¶
func (o *GetServerForDeveloperNotFound) String() string
type GetServerForDeveloperOK ¶
type GetServerForDeveloperOK struct {
Payload *models.GetServerWithScopesDeveloperResponse
}
GetServerForDeveloperOK describes a response with status code 200, with default header values.
Get developer server with scopes
func NewGetServerForDeveloperOK ¶
func NewGetServerForDeveloperOK() *GetServerForDeveloperOK
NewGetServerForDeveloperOK creates a GetServerForDeveloperOK with default headers values
func (*GetServerForDeveloperOK) Code ¶
func (o *GetServerForDeveloperOK) Code() int
Code gets the status code for the get server for developer o k response
func (*GetServerForDeveloperOK) Error ¶
func (o *GetServerForDeveloperOK) Error() string
func (*GetServerForDeveloperOK) GetPayload ¶
func (o *GetServerForDeveloperOK) GetPayload() *models.GetServerWithScopesDeveloperResponse
func (*GetServerForDeveloperOK) IsClientError ¶
func (o *GetServerForDeveloperOK) IsClientError() bool
IsClientError returns true when this get server for developer o k response has a 4xx status code
func (*GetServerForDeveloperOK) IsCode ¶
func (o *GetServerForDeveloperOK) IsCode(code int) bool
IsCode returns true when this get server for developer o k response a status code equal to that given
func (*GetServerForDeveloperOK) IsRedirect ¶
func (o *GetServerForDeveloperOK) IsRedirect() bool
IsRedirect returns true when this get server for developer o k response has a 3xx status code
func (*GetServerForDeveloperOK) IsServerError ¶
func (o *GetServerForDeveloperOK) IsServerError() bool
IsServerError returns true when this get server for developer o k response has a 5xx status code
func (*GetServerForDeveloperOK) IsSuccess ¶
func (o *GetServerForDeveloperOK) IsSuccess() bool
IsSuccess returns true when this get server for developer o k response has a 2xx status code
func (*GetServerForDeveloperOK) String ¶
func (o *GetServerForDeveloperOK) String() string
type GetServerForDeveloperParams ¶
type GetServerForDeveloperParams struct { /* Rid. Regular server id Default: "default" */ Rid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServerForDeveloperParams contains all the parameters to send to the API endpoint
for the get server for developer operation. Typically these are written to a http.Request.
func NewGetServerForDeveloperParams ¶
func NewGetServerForDeveloperParams() *GetServerForDeveloperParams
NewGetServerForDeveloperParams creates a new GetServerForDeveloperParams 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 NewGetServerForDeveloperParamsWithContext ¶
func NewGetServerForDeveloperParamsWithContext(ctx context.Context) *GetServerForDeveloperParams
NewGetServerForDeveloperParamsWithContext creates a new GetServerForDeveloperParams object with the ability to set a context for a request.
func NewGetServerForDeveloperParamsWithHTTPClient ¶
func NewGetServerForDeveloperParamsWithHTTPClient(client *http.Client) *GetServerForDeveloperParams
NewGetServerForDeveloperParamsWithHTTPClient creates a new GetServerForDeveloperParams object with the ability to set a custom HTTPClient for a request.
func NewGetServerForDeveloperParamsWithTimeout ¶
func NewGetServerForDeveloperParamsWithTimeout(timeout time.Duration) *GetServerForDeveloperParams
NewGetServerForDeveloperParamsWithTimeout creates a new GetServerForDeveloperParams object with the ability to set a timeout on a request.
func (*GetServerForDeveloperParams) SetContext ¶
func (o *GetServerForDeveloperParams) SetContext(ctx context.Context)
SetContext adds the context to the get server for developer params
func (*GetServerForDeveloperParams) SetDefaults ¶
func (o *GetServerForDeveloperParams) SetDefaults()
SetDefaults hydrates default values in the get server for developer params (not the query body).
All values with no default are reset to their zero value.
func (*GetServerForDeveloperParams) SetHTTPClient ¶
func (o *GetServerForDeveloperParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get server for developer params
func (*GetServerForDeveloperParams) SetRid ¶
func (o *GetServerForDeveloperParams) SetRid(rid string)
SetRid adds the rid to the get server for developer params
func (*GetServerForDeveloperParams) SetTimeout ¶
func (o *GetServerForDeveloperParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get server for developer params
func (*GetServerForDeveloperParams) WithContext ¶
func (o *GetServerForDeveloperParams) WithContext(ctx context.Context) *GetServerForDeveloperParams
WithContext adds the context to the get server for developer params
func (*GetServerForDeveloperParams) WithDefaults ¶
func (o *GetServerForDeveloperParams) WithDefaults() *GetServerForDeveloperParams
WithDefaults hydrates default values in the get server for developer params (not the query body).
All values with no default are reset to their zero value.
func (*GetServerForDeveloperParams) WithHTTPClient ¶
func (o *GetServerForDeveloperParams) WithHTTPClient(client *http.Client) *GetServerForDeveloperParams
WithHTTPClient adds the HTTPClient to the get server for developer params
func (*GetServerForDeveloperParams) WithRid ¶
func (o *GetServerForDeveloperParams) WithRid(rid string) *GetServerForDeveloperParams
WithRid adds the rid to the get server for developer params
func (*GetServerForDeveloperParams) WithTimeout ¶
func (o *GetServerForDeveloperParams) WithTimeout(timeout time.Duration) *GetServerForDeveloperParams
WithTimeout adds the timeout to the get server for developer params
func (*GetServerForDeveloperParams) WriteToRequest ¶
func (o *GetServerForDeveloperParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerForDeveloperReader ¶
type GetServerForDeveloperReader struct {
// contains filtered or unexported fields
}
GetServerForDeveloperReader is a Reader for the GetServerForDeveloper structure.
func (*GetServerForDeveloperReader) ReadResponse ¶
func (o *GetServerForDeveloperReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServerForDeveloperTooManyRequests ¶
GetServerForDeveloperTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetServerForDeveloperTooManyRequests ¶
func NewGetServerForDeveloperTooManyRequests() *GetServerForDeveloperTooManyRequests
NewGetServerForDeveloperTooManyRequests creates a GetServerForDeveloperTooManyRequests with default headers values
func (*GetServerForDeveloperTooManyRequests) Code ¶
func (o *GetServerForDeveloperTooManyRequests) Code() int
Code gets the status code for the get server for developer too many requests response
func (*GetServerForDeveloperTooManyRequests) Error ¶
func (o *GetServerForDeveloperTooManyRequests) Error() string
func (*GetServerForDeveloperTooManyRequests) GetPayload ¶
func (o *GetServerForDeveloperTooManyRequests) GetPayload() *models.Error
func (*GetServerForDeveloperTooManyRequests) IsClientError ¶
func (o *GetServerForDeveloperTooManyRequests) IsClientError() bool
IsClientError returns true when this get server for developer too many requests response has a 4xx status code
func (*GetServerForDeveloperTooManyRequests) IsCode ¶
func (o *GetServerForDeveloperTooManyRequests) IsCode(code int) bool
IsCode returns true when this get server for developer too many requests response a status code equal to that given
func (*GetServerForDeveloperTooManyRequests) IsRedirect ¶
func (o *GetServerForDeveloperTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get server for developer too many requests response has a 3xx status code
func (*GetServerForDeveloperTooManyRequests) IsServerError ¶
func (o *GetServerForDeveloperTooManyRequests) IsServerError() bool
IsServerError returns true when this get server for developer too many requests response has a 5xx status code
func (*GetServerForDeveloperTooManyRequests) IsSuccess ¶
func (o *GetServerForDeveloperTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get server for developer too many requests response has a 2xx status code
func (*GetServerForDeveloperTooManyRequests) String ¶
func (o *GetServerForDeveloperTooManyRequests) String() string
type GetServerForDeveloperUnauthorized ¶
type GetServerForDeveloperUnauthorized struct {
}GetServerForDeveloperUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetServerForDeveloperUnauthorized ¶
func NewGetServerForDeveloperUnauthorized() *GetServerForDeveloperUnauthorized
NewGetServerForDeveloperUnauthorized creates a GetServerForDeveloperUnauthorized with default headers values
func (*GetServerForDeveloperUnauthorized) Code ¶
func (o *GetServerForDeveloperUnauthorized) Code() int
Code gets the status code for the get server for developer unauthorized response
func (*GetServerForDeveloperUnauthorized) Error ¶
func (o *GetServerForDeveloperUnauthorized) Error() string
func (*GetServerForDeveloperUnauthorized) GetPayload ¶
func (o *GetServerForDeveloperUnauthorized) GetPayload() *models.Error
func (*GetServerForDeveloperUnauthorized) IsClientError ¶
func (o *GetServerForDeveloperUnauthorized) IsClientError() bool
IsClientError returns true when this get server for developer unauthorized response has a 4xx status code
func (*GetServerForDeveloperUnauthorized) IsCode ¶
func (o *GetServerForDeveloperUnauthorized) IsCode(code int) bool
IsCode returns true when this get server for developer unauthorized response a status code equal to that given
func (*GetServerForDeveloperUnauthorized) IsRedirect ¶
func (o *GetServerForDeveloperUnauthorized) IsRedirect() bool
IsRedirect returns true when this get server for developer unauthorized response has a 3xx status code
func (*GetServerForDeveloperUnauthorized) IsServerError ¶
func (o *GetServerForDeveloperUnauthorized) IsServerError() bool
IsServerError returns true when this get server for developer unauthorized response has a 5xx status code
func (*GetServerForDeveloperUnauthorized) IsSuccess ¶
func (o *GetServerForDeveloperUnauthorized) IsSuccess() bool
IsSuccess returns true when this get server for developer unauthorized response has a 2xx status code
func (*GetServerForDeveloperUnauthorized) String ¶
func (o *GetServerForDeveloperUnauthorized) String() string
type ListServersForDeveloperForbidden ¶
ListServersForDeveloperForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListServersForDeveloperForbidden ¶
func NewListServersForDeveloperForbidden() *ListServersForDeveloperForbidden
NewListServersForDeveloperForbidden creates a ListServersForDeveloperForbidden with default headers values
func (*ListServersForDeveloperForbidden) Code ¶
func (o *ListServersForDeveloperForbidden) Code() int
Code gets the status code for the list servers for developer forbidden response
func (*ListServersForDeveloperForbidden) Error ¶
func (o *ListServersForDeveloperForbidden) Error() string
func (*ListServersForDeveloperForbidden) GetPayload ¶
func (o *ListServersForDeveloperForbidden) GetPayload() *models.Error
func (*ListServersForDeveloperForbidden) IsClientError ¶
func (o *ListServersForDeveloperForbidden) IsClientError() bool
IsClientError returns true when this list servers for developer forbidden response has a 4xx status code
func (*ListServersForDeveloperForbidden) IsCode ¶
func (o *ListServersForDeveloperForbidden) IsCode(code int) bool
IsCode returns true when this list servers for developer forbidden response a status code equal to that given
func (*ListServersForDeveloperForbidden) IsRedirect ¶
func (o *ListServersForDeveloperForbidden) IsRedirect() bool
IsRedirect returns true when this list servers for developer forbidden response has a 3xx status code
func (*ListServersForDeveloperForbidden) IsServerError ¶
func (o *ListServersForDeveloperForbidden) IsServerError() bool
IsServerError returns true when this list servers for developer forbidden response has a 5xx status code
func (*ListServersForDeveloperForbidden) IsSuccess ¶
func (o *ListServersForDeveloperForbidden) IsSuccess() bool
IsSuccess returns true when this list servers for developer forbidden response has a 2xx status code
func (*ListServersForDeveloperForbidden) String ¶
func (o *ListServersForDeveloperForbidden) String() string
type ListServersForDeveloperNotFound ¶
ListServersForDeveloperNotFound describes a response with status code 404, with default header values.
Not found
func NewListServersForDeveloperNotFound ¶
func NewListServersForDeveloperNotFound() *ListServersForDeveloperNotFound
NewListServersForDeveloperNotFound creates a ListServersForDeveloperNotFound with default headers values
func (*ListServersForDeveloperNotFound) Code ¶
func (o *ListServersForDeveloperNotFound) Code() int
Code gets the status code for the list servers for developer not found response
func (*ListServersForDeveloperNotFound) Error ¶
func (o *ListServersForDeveloperNotFound) Error() string
func (*ListServersForDeveloperNotFound) GetPayload ¶
func (o *ListServersForDeveloperNotFound) GetPayload() *models.Error
func (*ListServersForDeveloperNotFound) IsClientError ¶
func (o *ListServersForDeveloperNotFound) IsClientError() bool
IsClientError returns true when this list servers for developer not found response has a 4xx status code
func (*ListServersForDeveloperNotFound) IsCode ¶
func (o *ListServersForDeveloperNotFound) IsCode(code int) bool
IsCode returns true when this list servers for developer not found response a status code equal to that given
func (*ListServersForDeveloperNotFound) IsRedirect ¶
func (o *ListServersForDeveloperNotFound) IsRedirect() bool
IsRedirect returns true when this list servers for developer not found response has a 3xx status code
func (*ListServersForDeveloperNotFound) IsServerError ¶
func (o *ListServersForDeveloperNotFound) IsServerError() bool
IsServerError returns true when this list servers for developer not found response has a 5xx status code
func (*ListServersForDeveloperNotFound) IsSuccess ¶
func (o *ListServersForDeveloperNotFound) IsSuccess() bool
IsSuccess returns true when this list servers for developer not found response has a 2xx status code
func (*ListServersForDeveloperNotFound) String ¶
func (o *ListServersForDeveloperNotFound) String() string
type ListServersForDeveloperOK ¶
type ListServersForDeveloperOK struct {
Payload *models.ListServersDeveloperResponse
}
ListServersForDeveloperOK describes a response with status code 200, with default header values.
List developer servers
func NewListServersForDeveloperOK ¶
func NewListServersForDeveloperOK() *ListServersForDeveloperOK
NewListServersForDeveloperOK creates a ListServersForDeveloperOK with default headers values
func (*ListServersForDeveloperOK) Code ¶
func (o *ListServersForDeveloperOK) Code() int
Code gets the status code for the list servers for developer o k response
func (*ListServersForDeveloperOK) Error ¶
func (o *ListServersForDeveloperOK) Error() string
func (*ListServersForDeveloperOK) GetPayload ¶
func (o *ListServersForDeveloperOK) GetPayload() *models.ListServersDeveloperResponse
func (*ListServersForDeveloperOK) IsClientError ¶
func (o *ListServersForDeveloperOK) IsClientError() bool
IsClientError returns true when this list servers for developer o k response has a 4xx status code
func (*ListServersForDeveloperOK) IsCode ¶
func (o *ListServersForDeveloperOK) IsCode(code int) bool
IsCode returns true when this list servers for developer o k response a status code equal to that given
func (*ListServersForDeveloperOK) IsRedirect ¶
func (o *ListServersForDeveloperOK) IsRedirect() bool
IsRedirect returns true when this list servers for developer o k response has a 3xx status code
func (*ListServersForDeveloperOK) IsServerError ¶
func (o *ListServersForDeveloperOK) IsServerError() bool
IsServerError returns true when this list servers for developer o k response has a 5xx status code
func (*ListServersForDeveloperOK) IsSuccess ¶
func (o *ListServersForDeveloperOK) IsSuccess() bool
IsSuccess returns true when this list servers for developer o k response has a 2xx status code
func (*ListServersForDeveloperOK) String ¶
func (o *ListServersForDeveloperOK) String() string
type ListServersForDeveloperParams ¶
type ListServersForDeveloperParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServersForDeveloperParams contains all the parameters to send to the API endpoint
for the list servers for developer operation. Typically these are written to a http.Request.
func NewListServersForDeveloperParams ¶
func NewListServersForDeveloperParams() *ListServersForDeveloperParams
NewListServersForDeveloperParams creates a new ListServersForDeveloperParams 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 NewListServersForDeveloperParamsWithContext ¶
func NewListServersForDeveloperParamsWithContext(ctx context.Context) *ListServersForDeveloperParams
NewListServersForDeveloperParamsWithContext creates a new ListServersForDeveloperParams object with the ability to set a context for a request.
func NewListServersForDeveloperParamsWithHTTPClient ¶
func NewListServersForDeveloperParamsWithHTTPClient(client *http.Client) *ListServersForDeveloperParams
NewListServersForDeveloperParamsWithHTTPClient creates a new ListServersForDeveloperParams object with the ability to set a custom HTTPClient for a request.
func NewListServersForDeveloperParamsWithTimeout ¶
func NewListServersForDeveloperParamsWithTimeout(timeout time.Duration) *ListServersForDeveloperParams
NewListServersForDeveloperParamsWithTimeout creates a new ListServersForDeveloperParams object with the ability to set a timeout on a request.
func (*ListServersForDeveloperParams) SetContext ¶
func (o *ListServersForDeveloperParams) SetContext(ctx context.Context)
SetContext adds the context to the list servers for developer params
func (*ListServersForDeveloperParams) SetDefaults ¶
func (o *ListServersForDeveloperParams) SetDefaults()
SetDefaults hydrates default values in the list servers for developer params (not the query body).
All values with no default are reset to their zero value.
func (*ListServersForDeveloperParams) SetHTTPClient ¶
func (o *ListServersForDeveloperParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list servers for developer params
func (*ListServersForDeveloperParams) SetTimeout ¶
func (o *ListServersForDeveloperParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list servers for developer params
func (*ListServersForDeveloperParams) WithContext ¶
func (o *ListServersForDeveloperParams) WithContext(ctx context.Context) *ListServersForDeveloperParams
WithContext adds the context to the list servers for developer params
func (*ListServersForDeveloperParams) WithDefaults ¶
func (o *ListServersForDeveloperParams) WithDefaults() *ListServersForDeveloperParams
WithDefaults hydrates default values in the list servers for developer params (not the query body).
All values with no default are reset to their zero value.
func (*ListServersForDeveloperParams) WithHTTPClient ¶
func (o *ListServersForDeveloperParams) WithHTTPClient(client *http.Client) *ListServersForDeveloperParams
WithHTTPClient adds the HTTPClient to the list servers for developer params
func (*ListServersForDeveloperParams) WithTimeout ¶
func (o *ListServersForDeveloperParams) WithTimeout(timeout time.Duration) *ListServersForDeveloperParams
WithTimeout adds the timeout to the list servers for developer params
func (*ListServersForDeveloperParams) WriteToRequest ¶
func (o *ListServersForDeveloperParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServersForDeveloperReader ¶
type ListServersForDeveloperReader struct {
// contains filtered or unexported fields
}
ListServersForDeveloperReader is a Reader for the ListServersForDeveloper structure.
func (*ListServersForDeveloperReader) ReadResponse ¶
func (o *ListServersForDeveloperReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServersForDeveloperTooManyRequests ¶
ListServersForDeveloperTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListServersForDeveloperTooManyRequests ¶
func NewListServersForDeveloperTooManyRequests() *ListServersForDeveloperTooManyRequests
NewListServersForDeveloperTooManyRequests creates a ListServersForDeveloperTooManyRequests with default headers values
func (*ListServersForDeveloperTooManyRequests) Code ¶
func (o *ListServersForDeveloperTooManyRequests) Code() int
Code gets the status code for the list servers for developer too many requests response
func (*ListServersForDeveloperTooManyRequests) Error ¶
func (o *ListServersForDeveloperTooManyRequests) Error() string
func (*ListServersForDeveloperTooManyRequests) GetPayload ¶
func (o *ListServersForDeveloperTooManyRequests) GetPayload() *models.Error
func (*ListServersForDeveloperTooManyRequests) IsClientError ¶
func (o *ListServersForDeveloperTooManyRequests) IsClientError() bool
IsClientError returns true when this list servers for developer too many requests response has a 4xx status code
func (*ListServersForDeveloperTooManyRequests) IsCode ¶
func (o *ListServersForDeveloperTooManyRequests) IsCode(code int) bool
IsCode returns true when this list servers for developer too many requests response a status code equal to that given
func (*ListServersForDeveloperTooManyRequests) IsRedirect ¶
func (o *ListServersForDeveloperTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list servers for developer too many requests response has a 3xx status code
func (*ListServersForDeveloperTooManyRequests) IsServerError ¶
func (o *ListServersForDeveloperTooManyRequests) IsServerError() bool
IsServerError returns true when this list servers for developer too many requests response has a 5xx status code
func (*ListServersForDeveloperTooManyRequests) IsSuccess ¶
func (o *ListServersForDeveloperTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list servers for developer too many requests response has a 2xx status code
func (*ListServersForDeveloperTooManyRequests) String ¶
func (o *ListServersForDeveloperTooManyRequests) String() string
type ListServersForDeveloperUnauthorized ¶
type ListServersForDeveloperUnauthorized struct {
}ListServersForDeveloperUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListServersForDeveloperUnauthorized ¶
func NewListServersForDeveloperUnauthorized() *ListServersForDeveloperUnauthorized
NewListServersForDeveloperUnauthorized creates a ListServersForDeveloperUnauthorized with default headers values
func (*ListServersForDeveloperUnauthorized) Code ¶
func (o *ListServersForDeveloperUnauthorized) Code() int
Code gets the status code for the list servers for developer unauthorized response
func (*ListServersForDeveloperUnauthorized) Error ¶
func (o *ListServersForDeveloperUnauthorized) Error() string
func (*ListServersForDeveloperUnauthorized) GetPayload ¶
func (o *ListServersForDeveloperUnauthorized) GetPayload() *models.Error
func (*ListServersForDeveloperUnauthorized) IsClientError ¶
func (o *ListServersForDeveloperUnauthorized) IsClientError() bool
IsClientError returns true when this list servers for developer unauthorized response has a 4xx status code
func (*ListServersForDeveloperUnauthorized) IsCode ¶
func (o *ListServersForDeveloperUnauthorized) IsCode(code int) bool
IsCode returns true when this list servers for developer unauthorized response a status code equal to that given
func (*ListServersForDeveloperUnauthorized) IsRedirect ¶
func (o *ListServersForDeveloperUnauthorized) IsRedirect() bool
IsRedirect returns true when this list servers for developer unauthorized response has a 3xx status code
func (*ListServersForDeveloperUnauthorized) IsServerError ¶
func (o *ListServersForDeveloperUnauthorized) IsServerError() bool
IsServerError returns true when this list servers for developer unauthorized response has a 5xx status code
func (*ListServersForDeveloperUnauthorized) IsSuccess ¶
func (o *ListServersForDeveloperUnauthorized) IsSuccess() bool
IsSuccess returns true when this list servers for developer unauthorized response has a 2xx status code
func (*ListServersForDeveloperUnauthorized) String ¶
func (o *ListServersForDeveloperUnauthorized) String() string