Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetDeveloperEnvironmentForbidden
- func (o *GetDeveloperEnvironmentForbidden) Code() int
- func (o *GetDeveloperEnvironmentForbidden) Error() string
- func (o *GetDeveloperEnvironmentForbidden) GetPayload() *models.Error
- func (o *GetDeveloperEnvironmentForbidden) IsClientError() bool
- func (o *GetDeveloperEnvironmentForbidden) IsCode(code int) bool
- func (o *GetDeveloperEnvironmentForbidden) IsRedirect() bool
- func (o *GetDeveloperEnvironmentForbidden) IsServerError() bool
- func (o *GetDeveloperEnvironmentForbidden) IsSuccess() bool
- func (o *GetDeveloperEnvironmentForbidden) String() string
- type GetDeveloperEnvironmentOK
- func (o *GetDeveloperEnvironmentOK) Code() int
- func (o *GetDeveloperEnvironmentOK) Error() string
- func (o *GetDeveloperEnvironmentOK) GetPayload() *models.DeveloperEnvironment
- func (o *GetDeveloperEnvironmentOK) IsClientError() bool
- func (o *GetDeveloperEnvironmentOK) IsCode(code int) bool
- func (o *GetDeveloperEnvironmentOK) IsRedirect() bool
- func (o *GetDeveloperEnvironmentOK) IsServerError() bool
- func (o *GetDeveloperEnvironmentOK) IsSuccess() bool
- func (o *GetDeveloperEnvironmentOK) String() string
- type GetDeveloperEnvironmentParams
- func NewGetDeveloperEnvironmentParams() *GetDeveloperEnvironmentParams
- func NewGetDeveloperEnvironmentParamsWithContext(ctx context.Context) *GetDeveloperEnvironmentParams
- func NewGetDeveloperEnvironmentParamsWithHTTPClient(client *http.Client) *GetDeveloperEnvironmentParams
- func NewGetDeveloperEnvironmentParamsWithTimeout(timeout time.Duration) *GetDeveloperEnvironmentParams
- func (o *GetDeveloperEnvironmentParams) SetContext(ctx context.Context)
- func (o *GetDeveloperEnvironmentParams) SetDefaults()
- func (o *GetDeveloperEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *GetDeveloperEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *GetDeveloperEnvironmentParams) WithContext(ctx context.Context) *GetDeveloperEnvironmentParams
- func (o *GetDeveloperEnvironmentParams) WithDefaults() *GetDeveloperEnvironmentParams
- func (o *GetDeveloperEnvironmentParams) WithHTTPClient(client *http.Client) *GetDeveloperEnvironmentParams
- func (o *GetDeveloperEnvironmentParams) WithTimeout(timeout time.Duration) *GetDeveloperEnvironmentParams
- func (o *GetDeveloperEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeveloperEnvironmentReader
- type GetDeveloperEnvironmentTooManyRequests
- func (o *GetDeveloperEnvironmentTooManyRequests) Code() int
- func (o *GetDeveloperEnvironmentTooManyRequests) Error() string
- func (o *GetDeveloperEnvironmentTooManyRequests) GetPayload() *models.Error
- func (o *GetDeveloperEnvironmentTooManyRequests) IsClientError() bool
- func (o *GetDeveloperEnvironmentTooManyRequests) IsCode(code int) bool
- func (o *GetDeveloperEnvironmentTooManyRequests) IsRedirect() bool
- func (o *GetDeveloperEnvironmentTooManyRequests) IsServerError() bool
- func (o *GetDeveloperEnvironmentTooManyRequests) IsSuccess() bool
- func (o *GetDeveloperEnvironmentTooManyRequests) String() string
- type GetDeveloperEnvironmentUnauthorized
- func (o *GetDeveloperEnvironmentUnauthorized) Code() int
- func (o *GetDeveloperEnvironmentUnauthorized) Error() string
- func (o *GetDeveloperEnvironmentUnauthorized) GetPayload() *models.Error
- func (o *GetDeveloperEnvironmentUnauthorized) IsClientError() bool
- func (o *GetDeveloperEnvironmentUnauthorized) IsCode(code int) bool
- func (o *GetDeveloperEnvironmentUnauthorized) IsRedirect() bool
- func (o *GetDeveloperEnvironmentUnauthorized) IsServerError() bool
- func (o *GetDeveloperEnvironmentUnauthorized) IsSuccess() bool
- func (o *GetDeveloperEnvironmentUnauthorized) 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 environment API
func (*Client) GetDeveloperEnvironment ¶
func (a *Client) GetDeveloperEnvironment(params *GetDeveloperEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeveloperEnvironmentOK, error)
GetDeveloperEnvironment gets environment
Get environment settings.
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 is the option for Client methods
type ClientService ¶
type ClientService interface { GetDeveloperEnvironment(params *GetDeveloperEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeveloperEnvironmentOK, 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 environment API client.
type GetDeveloperEnvironmentForbidden ¶
GetDeveloperEnvironmentForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDeveloperEnvironmentForbidden ¶
func NewGetDeveloperEnvironmentForbidden() *GetDeveloperEnvironmentForbidden
NewGetDeveloperEnvironmentForbidden creates a GetDeveloperEnvironmentForbidden with default headers values
func (*GetDeveloperEnvironmentForbidden) Code ¶
func (o *GetDeveloperEnvironmentForbidden) Code() int
Code gets the status code for the get developer environment forbidden response
func (*GetDeveloperEnvironmentForbidden) Error ¶
func (o *GetDeveloperEnvironmentForbidden) Error() string
func (*GetDeveloperEnvironmentForbidden) GetPayload ¶
func (o *GetDeveloperEnvironmentForbidden) GetPayload() *models.Error
func (*GetDeveloperEnvironmentForbidden) IsClientError ¶
func (o *GetDeveloperEnvironmentForbidden) IsClientError() bool
IsClientError returns true when this get developer environment forbidden response has a 4xx status code
func (*GetDeveloperEnvironmentForbidden) IsCode ¶
func (o *GetDeveloperEnvironmentForbidden) IsCode(code int) bool
IsCode returns true when this get developer environment forbidden response a status code equal to that given
func (*GetDeveloperEnvironmentForbidden) IsRedirect ¶
func (o *GetDeveloperEnvironmentForbidden) IsRedirect() bool
IsRedirect returns true when this get developer environment forbidden response has a 3xx status code
func (*GetDeveloperEnvironmentForbidden) IsServerError ¶
func (o *GetDeveloperEnvironmentForbidden) IsServerError() bool
IsServerError returns true when this get developer environment forbidden response has a 5xx status code
func (*GetDeveloperEnvironmentForbidden) IsSuccess ¶
func (o *GetDeveloperEnvironmentForbidden) IsSuccess() bool
IsSuccess returns true when this get developer environment forbidden response has a 2xx status code
func (*GetDeveloperEnvironmentForbidden) String ¶
func (o *GetDeveloperEnvironmentForbidden) String() string
type GetDeveloperEnvironmentOK ¶
type GetDeveloperEnvironmentOK struct {
Payload *models.DeveloperEnvironment
}
GetDeveloperEnvironmentOK describes a response with status code 200, with default header values.
Developer environment
func NewGetDeveloperEnvironmentOK ¶
func NewGetDeveloperEnvironmentOK() *GetDeveloperEnvironmentOK
NewGetDeveloperEnvironmentOK creates a GetDeveloperEnvironmentOK with default headers values
func (*GetDeveloperEnvironmentOK) Code ¶
func (o *GetDeveloperEnvironmentOK) Code() int
Code gets the status code for the get developer environment o k response
func (*GetDeveloperEnvironmentOK) Error ¶
func (o *GetDeveloperEnvironmentOK) Error() string
func (*GetDeveloperEnvironmentOK) GetPayload ¶
func (o *GetDeveloperEnvironmentOK) GetPayload() *models.DeveloperEnvironment
func (*GetDeveloperEnvironmentOK) IsClientError ¶
func (o *GetDeveloperEnvironmentOK) IsClientError() bool
IsClientError returns true when this get developer environment o k response has a 4xx status code
func (*GetDeveloperEnvironmentOK) IsCode ¶
func (o *GetDeveloperEnvironmentOK) IsCode(code int) bool
IsCode returns true when this get developer environment o k response a status code equal to that given
func (*GetDeveloperEnvironmentOK) IsRedirect ¶
func (o *GetDeveloperEnvironmentOK) IsRedirect() bool
IsRedirect returns true when this get developer environment o k response has a 3xx status code
func (*GetDeveloperEnvironmentOK) IsServerError ¶
func (o *GetDeveloperEnvironmentOK) IsServerError() bool
IsServerError returns true when this get developer environment o k response has a 5xx status code
func (*GetDeveloperEnvironmentOK) IsSuccess ¶
func (o *GetDeveloperEnvironmentOK) IsSuccess() bool
IsSuccess returns true when this get developer environment o k response has a 2xx status code
func (*GetDeveloperEnvironmentOK) String ¶
func (o *GetDeveloperEnvironmentOK) String() string
type GetDeveloperEnvironmentParams ¶
type GetDeveloperEnvironmentParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeveloperEnvironmentParams contains all the parameters to send to the API endpoint
for the get developer environment operation. Typically these are written to a http.Request.
func NewGetDeveloperEnvironmentParams ¶
func NewGetDeveloperEnvironmentParams() *GetDeveloperEnvironmentParams
NewGetDeveloperEnvironmentParams creates a new GetDeveloperEnvironmentParams 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 NewGetDeveloperEnvironmentParamsWithContext ¶
func NewGetDeveloperEnvironmentParamsWithContext(ctx context.Context) *GetDeveloperEnvironmentParams
NewGetDeveloperEnvironmentParamsWithContext creates a new GetDeveloperEnvironmentParams object with the ability to set a context for a request.
func NewGetDeveloperEnvironmentParamsWithHTTPClient ¶
func NewGetDeveloperEnvironmentParamsWithHTTPClient(client *http.Client) *GetDeveloperEnvironmentParams
NewGetDeveloperEnvironmentParamsWithHTTPClient creates a new GetDeveloperEnvironmentParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeveloperEnvironmentParamsWithTimeout ¶
func NewGetDeveloperEnvironmentParamsWithTimeout(timeout time.Duration) *GetDeveloperEnvironmentParams
NewGetDeveloperEnvironmentParamsWithTimeout creates a new GetDeveloperEnvironmentParams object with the ability to set a timeout on a request.
func (*GetDeveloperEnvironmentParams) SetContext ¶
func (o *GetDeveloperEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the get developer environment params
func (*GetDeveloperEnvironmentParams) SetDefaults ¶
func (o *GetDeveloperEnvironmentParams) SetDefaults()
SetDefaults hydrates default values in the get developer environment params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeveloperEnvironmentParams) SetHTTPClient ¶
func (o *GetDeveloperEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get developer environment params
func (*GetDeveloperEnvironmentParams) SetTimeout ¶
func (o *GetDeveloperEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get developer environment params
func (*GetDeveloperEnvironmentParams) WithContext ¶
func (o *GetDeveloperEnvironmentParams) WithContext(ctx context.Context) *GetDeveloperEnvironmentParams
WithContext adds the context to the get developer environment params
func (*GetDeveloperEnvironmentParams) WithDefaults ¶
func (o *GetDeveloperEnvironmentParams) WithDefaults() *GetDeveloperEnvironmentParams
WithDefaults hydrates default values in the get developer environment params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeveloperEnvironmentParams) WithHTTPClient ¶
func (o *GetDeveloperEnvironmentParams) WithHTTPClient(client *http.Client) *GetDeveloperEnvironmentParams
WithHTTPClient adds the HTTPClient to the get developer environment params
func (*GetDeveloperEnvironmentParams) WithTimeout ¶
func (o *GetDeveloperEnvironmentParams) WithTimeout(timeout time.Duration) *GetDeveloperEnvironmentParams
WithTimeout adds the timeout to the get developer environment params
func (*GetDeveloperEnvironmentParams) WriteToRequest ¶
func (o *GetDeveloperEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeveloperEnvironmentReader ¶
type GetDeveloperEnvironmentReader struct {
// contains filtered or unexported fields
}
GetDeveloperEnvironmentReader is a Reader for the GetDeveloperEnvironment structure.
func (*GetDeveloperEnvironmentReader) ReadResponse ¶
func (o *GetDeveloperEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeveloperEnvironmentTooManyRequests ¶
GetDeveloperEnvironmentTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetDeveloperEnvironmentTooManyRequests ¶
func NewGetDeveloperEnvironmentTooManyRequests() *GetDeveloperEnvironmentTooManyRequests
NewGetDeveloperEnvironmentTooManyRequests creates a GetDeveloperEnvironmentTooManyRequests with default headers values
func (*GetDeveloperEnvironmentTooManyRequests) Code ¶
func (o *GetDeveloperEnvironmentTooManyRequests) Code() int
Code gets the status code for the get developer environment too many requests response
func (*GetDeveloperEnvironmentTooManyRequests) Error ¶
func (o *GetDeveloperEnvironmentTooManyRequests) Error() string
func (*GetDeveloperEnvironmentTooManyRequests) GetPayload ¶
func (o *GetDeveloperEnvironmentTooManyRequests) GetPayload() *models.Error
func (*GetDeveloperEnvironmentTooManyRequests) IsClientError ¶
func (o *GetDeveloperEnvironmentTooManyRequests) IsClientError() bool
IsClientError returns true when this get developer environment too many requests response has a 4xx status code
func (*GetDeveloperEnvironmentTooManyRequests) IsCode ¶
func (o *GetDeveloperEnvironmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this get developer environment too many requests response a status code equal to that given
func (*GetDeveloperEnvironmentTooManyRequests) IsRedirect ¶
func (o *GetDeveloperEnvironmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get developer environment too many requests response has a 3xx status code
func (*GetDeveloperEnvironmentTooManyRequests) IsServerError ¶
func (o *GetDeveloperEnvironmentTooManyRequests) IsServerError() bool
IsServerError returns true when this get developer environment too many requests response has a 5xx status code
func (*GetDeveloperEnvironmentTooManyRequests) IsSuccess ¶
func (o *GetDeveloperEnvironmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get developer environment too many requests response has a 2xx status code
func (*GetDeveloperEnvironmentTooManyRequests) String ¶
func (o *GetDeveloperEnvironmentTooManyRequests) String() string
type GetDeveloperEnvironmentUnauthorized ¶
type GetDeveloperEnvironmentUnauthorized struct {
}GetDeveloperEnvironmentUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDeveloperEnvironmentUnauthorized ¶
func NewGetDeveloperEnvironmentUnauthorized() *GetDeveloperEnvironmentUnauthorized
NewGetDeveloperEnvironmentUnauthorized creates a GetDeveloperEnvironmentUnauthorized with default headers values
func (*GetDeveloperEnvironmentUnauthorized) Code ¶
func (o *GetDeveloperEnvironmentUnauthorized) Code() int
Code gets the status code for the get developer environment unauthorized response
func (*GetDeveloperEnvironmentUnauthorized) Error ¶
func (o *GetDeveloperEnvironmentUnauthorized) Error() string
func (*GetDeveloperEnvironmentUnauthorized) GetPayload ¶
func (o *GetDeveloperEnvironmentUnauthorized) GetPayload() *models.Error
func (*GetDeveloperEnvironmentUnauthorized) IsClientError ¶
func (o *GetDeveloperEnvironmentUnauthorized) IsClientError() bool
IsClientError returns true when this get developer environment unauthorized response has a 4xx status code
func (*GetDeveloperEnvironmentUnauthorized) IsCode ¶
func (o *GetDeveloperEnvironmentUnauthorized) IsCode(code int) bool
IsCode returns true when this get developer environment unauthorized response a status code equal to that given
func (*GetDeveloperEnvironmentUnauthorized) IsRedirect ¶
func (o *GetDeveloperEnvironmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this get developer environment unauthorized response has a 3xx status code
func (*GetDeveloperEnvironmentUnauthorized) IsServerError ¶
func (o *GetDeveloperEnvironmentUnauthorized) IsServerError() bool
IsServerError returns true when this get developer environment unauthorized response has a 5xx status code
func (*GetDeveloperEnvironmentUnauthorized) IsSuccess ¶
func (o *GetDeveloperEnvironmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this get developer environment unauthorized response has a 2xx status code
func (*GetDeveloperEnvironmentUnauthorized) String ¶
func (o *GetDeveloperEnvironmentUnauthorized) String() string