Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1EnvironmentsEnvironmentID(params *DeleteV1EnvironmentsEnvironmentIDParams, ...) (*DeleteV1EnvironmentsEnvironmentIDOK, error)
- func (a *Client) GetV1Environments(params *GetV1EnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1EnvironmentsOK, error)
- func (a *Client) GetV1EnvironmentsEnvironmentID(params *GetV1EnvironmentsEnvironmentIDParams, ...) (*GetV1EnvironmentsEnvironmentIDOK, error)
- func (a *Client) PatchV1EnvironmentsEnvironmentID(params *PatchV1EnvironmentsEnvironmentIDParams, ...) (*PatchV1EnvironmentsEnvironmentIDOK, error)
- func (a *Client) PostV1Environments(params *PostV1EnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostV1EnvironmentsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1EnvironmentsEnvironmentIDOK
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) Error() string
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) GetPayload() *models.EnvironmentEntryEntity
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsClientError() bool
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsCode(code int) bool
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsRedirect() bool
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsServerError() bool
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsSuccess() bool
- func (o *DeleteV1EnvironmentsEnvironmentIDOK) String() string
- type DeleteV1EnvironmentsEnvironmentIDParams
- func NewDeleteV1EnvironmentsEnvironmentIDParams() *DeleteV1EnvironmentsEnvironmentIDParams
- func NewDeleteV1EnvironmentsEnvironmentIDParamsWithContext(ctx context.Context) *DeleteV1EnvironmentsEnvironmentIDParams
- func NewDeleteV1EnvironmentsEnvironmentIDParamsWithHTTPClient(client *http.Client) *DeleteV1EnvironmentsEnvironmentIDParams
- func NewDeleteV1EnvironmentsEnvironmentIDParamsWithTimeout(timeout time.Duration) *DeleteV1EnvironmentsEnvironmentIDParams
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetDefaults()
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetEnvironmentID(environmentID string)
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithContext(ctx context.Context) *DeleteV1EnvironmentsEnvironmentIDParams
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithDefaults() *DeleteV1EnvironmentsEnvironmentIDParams
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithEnvironmentID(environmentID string) *DeleteV1EnvironmentsEnvironmentIDParams
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithHTTPClient(client *http.Client) *DeleteV1EnvironmentsEnvironmentIDParams
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithTimeout(timeout time.Duration) *DeleteV1EnvironmentsEnvironmentIDParams
- func (o *DeleteV1EnvironmentsEnvironmentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1EnvironmentsEnvironmentIDReader
- type GetV1EnvironmentsEnvironmentIDOK
- func (o *GetV1EnvironmentsEnvironmentIDOK) Error() string
- func (o *GetV1EnvironmentsEnvironmentIDOK) GetPayload() *models.EnvironmentEntryEntity
- func (o *GetV1EnvironmentsEnvironmentIDOK) IsClientError() bool
- func (o *GetV1EnvironmentsEnvironmentIDOK) IsCode(code int) bool
- func (o *GetV1EnvironmentsEnvironmentIDOK) IsRedirect() bool
- func (o *GetV1EnvironmentsEnvironmentIDOK) IsServerError() bool
- func (o *GetV1EnvironmentsEnvironmentIDOK) IsSuccess() bool
- func (o *GetV1EnvironmentsEnvironmentIDOK) String() string
- type GetV1EnvironmentsEnvironmentIDParams
- func NewGetV1EnvironmentsEnvironmentIDParams() *GetV1EnvironmentsEnvironmentIDParams
- func NewGetV1EnvironmentsEnvironmentIDParamsWithContext(ctx context.Context) *GetV1EnvironmentsEnvironmentIDParams
- func NewGetV1EnvironmentsEnvironmentIDParamsWithHTTPClient(client *http.Client) *GetV1EnvironmentsEnvironmentIDParams
- func NewGetV1EnvironmentsEnvironmentIDParamsWithTimeout(timeout time.Duration) *GetV1EnvironmentsEnvironmentIDParams
- func (o *GetV1EnvironmentsEnvironmentIDParams) SetContext(ctx context.Context)
- func (o *GetV1EnvironmentsEnvironmentIDParams) SetDefaults()
- func (o *GetV1EnvironmentsEnvironmentIDParams) SetEnvironmentID(environmentID string)
- func (o *GetV1EnvironmentsEnvironmentIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1EnvironmentsEnvironmentIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1EnvironmentsEnvironmentIDParams) WithContext(ctx context.Context) *GetV1EnvironmentsEnvironmentIDParams
- func (o *GetV1EnvironmentsEnvironmentIDParams) WithDefaults() *GetV1EnvironmentsEnvironmentIDParams
- func (o *GetV1EnvironmentsEnvironmentIDParams) WithEnvironmentID(environmentID string) *GetV1EnvironmentsEnvironmentIDParams
- func (o *GetV1EnvironmentsEnvironmentIDParams) WithHTTPClient(client *http.Client) *GetV1EnvironmentsEnvironmentIDParams
- func (o *GetV1EnvironmentsEnvironmentIDParams) WithTimeout(timeout time.Duration) *GetV1EnvironmentsEnvironmentIDParams
- func (o *GetV1EnvironmentsEnvironmentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1EnvironmentsEnvironmentIDReader
- type GetV1EnvironmentsOK
- func (o *GetV1EnvironmentsOK) Error() string
- func (o *GetV1EnvironmentsOK) GetPayload() *models.EnvironmentEntryEntityPaginated
- func (o *GetV1EnvironmentsOK) IsClientError() bool
- func (o *GetV1EnvironmentsOK) IsCode(code int) bool
- func (o *GetV1EnvironmentsOK) IsRedirect() bool
- func (o *GetV1EnvironmentsOK) IsServerError() bool
- func (o *GetV1EnvironmentsOK) IsSuccess() bool
- func (o *GetV1EnvironmentsOK) String() string
- type GetV1EnvironmentsParams
- func NewGetV1EnvironmentsParams() *GetV1EnvironmentsParams
- func NewGetV1EnvironmentsParamsWithContext(ctx context.Context) *GetV1EnvironmentsParams
- func NewGetV1EnvironmentsParamsWithHTTPClient(client *http.Client) *GetV1EnvironmentsParams
- func NewGetV1EnvironmentsParamsWithTimeout(timeout time.Duration) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) SetContext(ctx context.Context)
- func (o *GetV1EnvironmentsParams) SetDefaults()
- func (o *GetV1EnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1EnvironmentsParams) SetName(name *string)
- func (o *GetV1EnvironmentsParams) SetPage(page *int32)
- func (o *GetV1EnvironmentsParams) SetPerPage(perPage *int32)
- func (o *GetV1EnvironmentsParams) SetQuery(query *string)
- func (o *GetV1EnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1EnvironmentsParams) WithContext(ctx context.Context) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithDefaults() *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithHTTPClient(client *http.Client) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithName(name *string) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithPage(page *int32) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithPerPage(perPage *int32) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithQuery(query *string) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WithTimeout(timeout time.Duration) *GetV1EnvironmentsParams
- func (o *GetV1EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1EnvironmentsReader
- type PatchV1EnvironmentsEnvironmentIDOK
- func (o *PatchV1EnvironmentsEnvironmentIDOK) Error() string
- func (o *PatchV1EnvironmentsEnvironmentIDOK) GetPayload() *models.EnvironmentEntryEntity
- func (o *PatchV1EnvironmentsEnvironmentIDOK) IsClientError() bool
- func (o *PatchV1EnvironmentsEnvironmentIDOK) IsCode(code int) bool
- func (o *PatchV1EnvironmentsEnvironmentIDOK) IsRedirect() bool
- func (o *PatchV1EnvironmentsEnvironmentIDOK) IsServerError() bool
- func (o *PatchV1EnvironmentsEnvironmentIDOK) IsSuccess() bool
- func (o *PatchV1EnvironmentsEnvironmentIDOK) String() string
- type PatchV1EnvironmentsEnvironmentIDParams
- func NewPatchV1EnvironmentsEnvironmentIDParams() *PatchV1EnvironmentsEnvironmentIDParams
- func NewPatchV1EnvironmentsEnvironmentIDParamsWithContext(ctx context.Context) *PatchV1EnvironmentsEnvironmentIDParams
- func NewPatchV1EnvironmentsEnvironmentIDParamsWithHTTPClient(client *http.Client) *PatchV1EnvironmentsEnvironmentIDParams
- func NewPatchV1EnvironmentsEnvironmentIDParamsWithTimeout(timeout time.Duration) *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) SetContext(ctx context.Context)
- func (o *PatchV1EnvironmentsEnvironmentIDParams) SetDefaults()
- func (o *PatchV1EnvironmentsEnvironmentIDParams) SetEnvironmentID(environmentID string)
- func (o *PatchV1EnvironmentsEnvironmentIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1EnvironmentsEnvironmentIDParams) SetPatchV1EnvironmentsEnvironmentID(patchV1EnvironmentsEnvironmentID *models.PatchV1EnvironmentsEnvironmentID)
- func (o *PatchV1EnvironmentsEnvironmentIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WithContext(ctx context.Context) *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WithDefaults() *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WithEnvironmentID(environmentID string) *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WithHTTPClient(client *http.Client) *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WithPatchV1EnvironmentsEnvironmentID(patchV1EnvironmentsEnvironmentID *models.PatchV1EnvironmentsEnvironmentID) *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WithTimeout(timeout time.Duration) *PatchV1EnvironmentsEnvironmentIDParams
- func (o *PatchV1EnvironmentsEnvironmentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1EnvironmentsEnvironmentIDReader
- type PostV1EnvironmentsCreated
- func (o *PostV1EnvironmentsCreated) Error() string
- func (o *PostV1EnvironmentsCreated) GetPayload() *models.EnvironmentEntryEntity
- func (o *PostV1EnvironmentsCreated) IsClientError() bool
- func (o *PostV1EnvironmentsCreated) IsCode(code int) bool
- func (o *PostV1EnvironmentsCreated) IsRedirect() bool
- func (o *PostV1EnvironmentsCreated) IsServerError() bool
- func (o *PostV1EnvironmentsCreated) IsSuccess() bool
- func (o *PostV1EnvironmentsCreated) String() string
- type PostV1EnvironmentsParams
- func NewPostV1EnvironmentsParams() *PostV1EnvironmentsParams
- func NewPostV1EnvironmentsParamsWithContext(ctx context.Context) *PostV1EnvironmentsParams
- func NewPostV1EnvironmentsParamsWithHTTPClient(client *http.Client) *PostV1EnvironmentsParams
- func NewPostV1EnvironmentsParamsWithTimeout(timeout time.Duration) *PostV1EnvironmentsParams
- func (o *PostV1EnvironmentsParams) SetContext(ctx context.Context)
- func (o *PostV1EnvironmentsParams) SetDefaults()
- func (o *PostV1EnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1EnvironmentsParams) SetPostV1Environments(postV1Environments *models.PostV1Environments)
- func (o *PostV1EnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1EnvironmentsParams) WithContext(ctx context.Context) *PostV1EnvironmentsParams
- func (o *PostV1EnvironmentsParams) WithDefaults() *PostV1EnvironmentsParams
- func (o *PostV1EnvironmentsParams) WithHTTPClient(client *http.Client) *PostV1EnvironmentsParams
- func (o *PostV1EnvironmentsParams) WithPostV1Environments(postV1Environments *models.PostV1Environments) *PostV1EnvironmentsParams
- func (o *PostV1EnvironmentsParams) WithTimeout(timeout time.Duration) *PostV1EnvironmentsParams
- func (o *PostV1EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1EnvironmentsReader
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 environments API
func (*Client) DeleteV1EnvironmentsEnvironmentID ¶
func (a *Client) DeleteV1EnvironmentsEnvironmentID(params *DeleteV1EnvironmentsEnvironmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1EnvironmentsEnvironmentIDOK, error)
DeleteV1EnvironmentsEnvironmentID archives an environment
Archive an environment
func (*Client) GetV1Environments ¶
func (a *Client) GetV1Environments(params *GetV1EnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1EnvironmentsOK, error)
GetV1Environments lists all environments
List all of the environments that have been added to the organiation
func (*Client) GetV1EnvironmentsEnvironmentID ¶
func (a *Client) GetV1EnvironmentsEnvironmentID(params *GetV1EnvironmentsEnvironmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1EnvironmentsEnvironmentIDOK, error)
GetV1EnvironmentsEnvironmentID retrieves a single environment
Retrieves a single environment by ID
func (*Client) PatchV1EnvironmentsEnvironmentID ¶
func (a *Client) PatchV1EnvironmentsEnvironmentID(params *PatchV1EnvironmentsEnvironmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1EnvironmentsEnvironmentIDOK, error)
PatchV1EnvironmentsEnvironmentID updates an environment
Update a environments attributes
func (*Client) PostV1Environments ¶
func (a *Client) PostV1Environments(params *PostV1EnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1EnvironmentsCreated, error)
PostV1Environments creates an environment
Creates an environment for the organization
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 { DeleteV1EnvironmentsEnvironmentID(params *DeleteV1EnvironmentsEnvironmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1EnvironmentsEnvironmentIDOK, error) GetV1Environments(params *GetV1EnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1EnvironmentsOK, error) GetV1EnvironmentsEnvironmentID(params *GetV1EnvironmentsEnvironmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1EnvironmentsEnvironmentIDOK, error) PatchV1EnvironmentsEnvironmentID(params *PatchV1EnvironmentsEnvironmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1EnvironmentsEnvironmentIDOK, error) PostV1Environments(params *PostV1EnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1EnvironmentsCreated, 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 environments API client.
type DeleteV1EnvironmentsEnvironmentIDOK ¶
type DeleteV1EnvironmentsEnvironmentIDOK struct {
Payload *models.EnvironmentEntryEntity
}
DeleteV1EnvironmentsEnvironmentIDOK describes a response with status code 200, with default header values.
Archive an environment
func NewDeleteV1EnvironmentsEnvironmentIDOK ¶
func NewDeleteV1EnvironmentsEnvironmentIDOK() *DeleteV1EnvironmentsEnvironmentIDOK
NewDeleteV1EnvironmentsEnvironmentIDOK creates a DeleteV1EnvironmentsEnvironmentIDOK with default headers values
func (*DeleteV1EnvironmentsEnvironmentIDOK) Error ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) Error() string
func (*DeleteV1EnvironmentsEnvironmentIDOK) GetPayload ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) GetPayload() *models.EnvironmentEntryEntity
func (*DeleteV1EnvironmentsEnvironmentIDOK) IsClientError ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsClientError() bool
IsClientError returns true when this delete v1 environments environment Id o k response has a 4xx status code
func (*DeleteV1EnvironmentsEnvironmentIDOK) IsCode ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsCode(code int) bool
IsCode returns true when this delete v1 environments environment Id o k response a status code equal to that given
func (*DeleteV1EnvironmentsEnvironmentIDOK) IsRedirect ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsRedirect() bool
IsRedirect returns true when this delete v1 environments environment Id o k response has a 3xx status code
func (*DeleteV1EnvironmentsEnvironmentIDOK) IsServerError ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsServerError() bool
IsServerError returns true when this delete v1 environments environment Id o k response has a 5xx status code
func (*DeleteV1EnvironmentsEnvironmentIDOK) IsSuccess ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) IsSuccess() bool
IsSuccess returns true when this delete v1 environments environment Id o k response has a 2xx status code
func (*DeleteV1EnvironmentsEnvironmentIDOK) String ¶
func (o *DeleteV1EnvironmentsEnvironmentIDOK) String() string
type DeleteV1EnvironmentsEnvironmentIDParams ¶
type DeleteV1EnvironmentsEnvironmentIDParams struct { /* EnvironmentID. Environment UUID */ EnvironmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1EnvironmentsEnvironmentIDParams contains all the parameters to send to the API endpoint
for the delete v1 environments environment Id operation. Typically these are written to a http.Request.
func NewDeleteV1EnvironmentsEnvironmentIDParams ¶
func NewDeleteV1EnvironmentsEnvironmentIDParams() *DeleteV1EnvironmentsEnvironmentIDParams
NewDeleteV1EnvironmentsEnvironmentIDParams creates a new DeleteV1EnvironmentsEnvironmentIDParams 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 NewDeleteV1EnvironmentsEnvironmentIDParamsWithContext ¶
func NewDeleteV1EnvironmentsEnvironmentIDParamsWithContext(ctx context.Context) *DeleteV1EnvironmentsEnvironmentIDParams
NewDeleteV1EnvironmentsEnvironmentIDParamsWithContext creates a new DeleteV1EnvironmentsEnvironmentIDParams object with the ability to set a context for a request.
func NewDeleteV1EnvironmentsEnvironmentIDParamsWithHTTPClient ¶
func NewDeleteV1EnvironmentsEnvironmentIDParamsWithHTTPClient(client *http.Client) *DeleteV1EnvironmentsEnvironmentIDParams
NewDeleteV1EnvironmentsEnvironmentIDParamsWithHTTPClient creates a new DeleteV1EnvironmentsEnvironmentIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1EnvironmentsEnvironmentIDParamsWithTimeout ¶
func NewDeleteV1EnvironmentsEnvironmentIDParamsWithTimeout(timeout time.Duration) *DeleteV1EnvironmentsEnvironmentIDParams
NewDeleteV1EnvironmentsEnvironmentIDParamsWithTimeout creates a new DeleteV1EnvironmentsEnvironmentIDParams object with the ability to set a timeout on a request.
func (*DeleteV1EnvironmentsEnvironmentIDParams) SetContext ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) SetDefaults ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 environments environment Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1EnvironmentsEnvironmentIDParams) SetEnvironmentID ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetEnvironmentID(environmentID string)
SetEnvironmentID adds the environmentId to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) SetHTTPClient ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) SetTimeout ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) WithContext ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithContext(ctx context.Context) *DeleteV1EnvironmentsEnvironmentIDParams
WithContext adds the context to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) WithDefaults ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithDefaults() *DeleteV1EnvironmentsEnvironmentIDParams
WithDefaults hydrates default values in the delete v1 environments environment Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1EnvironmentsEnvironmentIDParams) WithEnvironmentID ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithEnvironmentID(environmentID string) *DeleteV1EnvironmentsEnvironmentIDParams
WithEnvironmentID adds the environmentID to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) WithHTTPClient ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithHTTPClient(client *http.Client) *DeleteV1EnvironmentsEnvironmentIDParams
WithHTTPClient adds the HTTPClient to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) WithTimeout ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) WithTimeout(timeout time.Duration) *DeleteV1EnvironmentsEnvironmentIDParams
WithTimeout adds the timeout to the delete v1 environments environment Id params
func (*DeleteV1EnvironmentsEnvironmentIDParams) WriteToRequest ¶
func (o *DeleteV1EnvironmentsEnvironmentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1EnvironmentsEnvironmentIDReader ¶
type DeleteV1EnvironmentsEnvironmentIDReader struct {
// contains filtered or unexported fields
}
DeleteV1EnvironmentsEnvironmentIDReader is a Reader for the DeleteV1EnvironmentsEnvironmentID structure.
func (*DeleteV1EnvironmentsEnvironmentIDReader) ReadResponse ¶
func (o *DeleteV1EnvironmentsEnvironmentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1EnvironmentsEnvironmentIDOK ¶
type GetV1EnvironmentsEnvironmentIDOK struct {
Payload *models.EnvironmentEntryEntity
}
GetV1EnvironmentsEnvironmentIDOK describes a response with status code 200, with default header values.
Retrieves a single environment by ID
func NewGetV1EnvironmentsEnvironmentIDOK ¶
func NewGetV1EnvironmentsEnvironmentIDOK() *GetV1EnvironmentsEnvironmentIDOK
NewGetV1EnvironmentsEnvironmentIDOK creates a GetV1EnvironmentsEnvironmentIDOK with default headers values
func (*GetV1EnvironmentsEnvironmentIDOK) Error ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) Error() string
func (*GetV1EnvironmentsEnvironmentIDOK) GetPayload ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) GetPayload() *models.EnvironmentEntryEntity
func (*GetV1EnvironmentsEnvironmentIDOK) IsClientError ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) IsClientError() bool
IsClientError returns true when this get v1 environments environment Id o k response has a 4xx status code
func (*GetV1EnvironmentsEnvironmentIDOK) IsCode ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) IsCode(code int) bool
IsCode returns true when this get v1 environments environment Id o k response a status code equal to that given
func (*GetV1EnvironmentsEnvironmentIDOK) IsRedirect ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 environments environment Id o k response has a 3xx status code
func (*GetV1EnvironmentsEnvironmentIDOK) IsServerError ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) IsServerError() bool
IsServerError returns true when this get v1 environments environment Id o k response has a 5xx status code
func (*GetV1EnvironmentsEnvironmentIDOK) IsSuccess ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 environments environment Id o k response has a 2xx status code
func (*GetV1EnvironmentsEnvironmentIDOK) String ¶
func (o *GetV1EnvironmentsEnvironmentIDOK) String() string
type GetV1EnvironmentsEnvironmentIDParams ¶
type GetV1EnvironmentsEnvironmentIDParams struct { /* EnvironmentID. Environment UUID */ EnvironmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1EnvironmentsEnvironmentIDParams contains all the parameters to send to the API endpoint
for the get v1 environments environment Id operation. Typically these are written to a http.Request.
func NewGetV1EnvironmentsEnvironmentIDParams ¶
func NewGetV1EnvironmentsEnvironmentIDParams() *GetV1EnvironmentsEnvironmentIDParams
NewGetV1EnvironmentsEnvironmentIDParams creates a new GetV1EnvironmentsEnvironmentIDParams 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 NewGetV1EnvironmentsEnvironmentIDParamsWithContext ¶
func NewGetV1EnvironmentsEnvironmentIDParamsWithContext(ctx context.Context) *GetV1EnvironmentsEnvironmentIDParams
NewGetV1EnvironmentsEnvironmentIDParamsWithContext creates a new GetV1EnvironmentsEnvironmentIDParams object with the ability to set a context for a request.
func NewGetV1EnvironmentsEnvironmentIDParamsWithHTTPClient ¶
func NewGetV1EnvironmentsEnvironmentIDParamsWithHTTPClient(client *http.Client) *GetV1EnvironmentsEnvironmentIDParams
NewGetV1EnvironmentsEnvironmentIDParamsWithHTTPClient creates a new GetV1EnvironmentsEnvironmentIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1EnvironmentsEnvironmentIDParamsWithTimeout ¶
func NewGetV1EnvironmentsEnvironmentIDParamsWithTimeout(timeout time.Duration) *GetV1EnvironmentsEnvironmentIDParams
NewGetV1EnvironmentsEnvironmentIDParamsWithTimeout creates a new GetV1EnvironmentsEnvironmentIDParams object with the ability to set a timeout on a request.
func (*GetV1EnvironmentsEnvironmentIDParams) SetContext ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) SetDefaults ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 environments environment Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1EnvironmentsEnvironmentIDParams) SetEnvironmentID ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) SetEnvironmentID(environmentID string)
SetEnvironmentID adds the environmentId to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) SetHTTPClient ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) SetTimeout ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) WithContext ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) WithContext(ctx context.Context) *GetV1EnvironmentsEnvironmentIDParams
WithContext adds the context to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) WithDefaults ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) WithDefaults() *GetV1EnvironmentsEnvironmentIDParams
WithDefaults hydrates default values in the get v1 environments environment Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1EnvironmentsEnvironmentIDParams) WithEnvironmentID ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) WithEnvironmentID(environmentID string) *GetV1EnvironmentsEnvironmentIDParams
WithEnvironmentID adds the environmentID to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) WithHTTPClient ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) WithHTTPClient(client *http.Client) *GetV1EnvironmentsEnvironmentIDParams
WithHTTPClient adds the HTTPClient to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) WithTimeout ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) WithTimeout(timeout time.Duration) *GetV1EnvironmentsEnvironmentIDParams
WithTimeout adds the timeout to the get v1 environments environment Id params
func (*GetV1EnvironmentsEnvironmentIDParams) WriteToRequest ¶
func (o *GetV1EnvironmentsEnvironmentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1EnvironmentsEnvironmentIDReader ¶
type GetV1EnvironmentsEnvironmentIDReader struct {
// contains filtered or unexported fields
}
GetV1EnvironmentsEnvironmentIDReader is a Reader for the GetV1EnvironmentsEnvironmentID structure.
func (*GetV1EnvironmentsEnvironmentIDReader) ReadResponse ¶
func (o *GetV1EnvironmentsEnvironmentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1EnvironmentsOK ¶
type GetV1EnvironmentsOK struct {
Payload *models.EnvironmentEntryEntityPaginated
}
GetV1EnvironmentsOK describes a response with status code 200, with default header values.
List all of the environments that have been added to the organiation
func NewGetV1EnvironmentsOK ¶
func NewGetV1EnvironmentsOK() *GetV1EnvironmentsOK
NewGetV1EnvironmentsOK creates a GetV1EnvironmentsOK with default headers values
func (*GetV1EnvironmentsOK) Error ¶
func (o *GetV1EnvironmentsOK) Error() string
func (*GetV1EnvironmentsOK) GetPayload ¶
func (o *GetV1EnvironmentsOK) GetPayload() *models.EnvironmentEntryEntityPaginated
func (*GetV1EnvironmentsOK) IsClientError ¶
func (o *GetV1EnvironmentsOK) IsClientError() bool
IsClientError returns true when this get v1 environments o k response has a 4xx status code
func (*GetV1EnvironmentsOK) IsCode ¶
func (o *GetV1EnvironmentsOK) IsCode(code int) bool
IsCode returns true when this get v1 environments o k response a status code equal to that given
func (*GetV1EnvironmentsOK) IsRedirect ¶
func (o *GetV1EnvironmentsOK) IsRedirect() bool
IsRedirect returns true when this get v1 environments o k response has a 3xx status code
func (*GetV1EnvironmentsOK) IsServerError ¶
func (o *GetV1EnvironmentsOK) IsServerError() bool
IsServerError returns true when this get v1 environments o k response has a 5xx status code
func (*GetV1EnvironmentsOK) IsSuccess ¶
func (o *GetV1EnvironmentsOK) IsSuccess() bool
IsSuccess returns true when this get v1 environments o k response has a 2xx status code
func (*GetV1EnvironmentsOK) String ¶
func (o *GetV1EnvironmentsOK) String() string
type GetV1EnvironmentsParams ¶
type GetV1EnvironmentsParams struct { /* Name. A query to search environments by their name */ Name *string // Page. // // Format: int32 Page *int32 // PerPage. // // Format: int32 PerPage *int32 /* Query. A query to search environments by their name or description */ Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1EnvironmentsParams contains all the parameters to send to the API endpoint
for the get v1 environments operation. Typically these are written to a http.Request.
func NewGetV1EnvironmentsParams ¶
func NewGetV1EnvironmentsParams() *GetV1EnvironmentsParams
NewGetV1EnvironmentsParams creates a new GetV1EnvironmentsParams 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 NewGetV1EnvironmentsParamsWithContext ¶
func NewGetV1EnvironmentsParamsWithContext(ctx context.Context) *GetV1EnvironmentsParams
NewGetV1EnvironmentsParamsWithContext creates a new GetV1EnvironmentsParams object with the ability to set a context for a request.
func NewGetV1EnvironmentsParamsWithHTTPClient ¶
func NewGetV1EnvironmentsParamsWithHTTPClient(client *http.Client) *GetV1EnvironmentsParams
NewGetV1EnvironmentsParamsWithHTTPClient creates a new GetV1EnvironmentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1EnvironmentsParamsWithTimeout ¶
func NewGetV1EnvironmentsParamsWithTimeout(timeout time.Duration) *GetV1EnvironmentsParams
NewGetV1EnvironmentsParamsWithTimeout creates a new GetV1EnvironmentsParams object with the ability to set a timeout on a request.
func (*GetV1EnvironmentsParams) SetContext ¶
func (o *GetV1EnvironmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 environments params
func (*GetV1EnvironmentsParams) SetDefaults ¶
func (o *GetV1EnvironmentsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 environments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1EnvironmentsParams) SetHTTPClient ¶
func (o *GetV1EnvironmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 environments params
func (*GetV1EnvironmentsParams) SetName ¶
func (o *GetV1EnvironmentsParams) SetName(name *string)
SetName adds the name to the get v1 environments params
func (*GetV1EnvironmentsParams) SetPage ¶
func (o *GetV1EnvironmentsParams) SetPage(page *int32)
SetPage adds the page to the get v1 environments params
func (*GetV1EnvironmentsParams) SetPerPage ¶
func (o *GetV1EnvironmentsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 environments params
func (*GetV1EnvironmentsParams) SetQuery ¶
func (o *GetV1EnvironmentsParams) SetQuery(query *string)
SetQuery adds the query to the get v1 environments params
func (*GetV1EnvironmentsParams) SetTimeout ¶
func (o *GetV1EnvironmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 environments params
func (*GetV1EnvironmentsParams) WithContext ¶
func (o *GetV1EnvironmentsParams) WithContext(ctx context.Context) *GetV1EnvironmentsParams
WithContext adds the context to the get v1 environments params
func (*GetV1EnvironmentsParams) WithDefaults ¶
func (o *GetV1EnvironmentsParams) WithDefaults() *GetV1EnvironmentsParams
WithDefaults hydrates default values in the get v1 environments params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1EnvironmentsParams) WithHTTPClient ¶
func (o *GetV1EnvironmentsParams) WithHTTPClient(client *http.Client) *GetV1EnvironmentsParams
WithHTTPClient adds the HTTPClient to the get v1 environments params
func (*GetV1EnvironmentsParams) WithName ¶
func (o *GetV1EnvironmentsParams) WithName(name *string) *GetV1EnvironmentsParams
WithName adds the name to the get v1 environments params
func (*GetV1EnvironmentsParams) WithPage ¶
func (o *GetV1EnvironmentsParams) WithPage(page *int32) *GetV1EnvironmentsParams
WithPage adds the page to the get v1 environments params
func (*GetV1EnvironmentsParams) WithPerPage ¶
func (o *GetV1EnvironmentsParams) WithPerPage(perPage *int32) *GetV1EnvironmentsParams
WithPerPage adds the perPage to the get v1 environments params
func (*GetV1EnvironmentsParams) WithQuery ¶
func (o *GetV1EnvironmentsParams) WithQuery(query *string) *GetV1EnvironmentsParams
WithQuery adds the query to the get v1 environments params
func (*GetV1EnvironmentsParams) WithTimeout ¶
func (o *GetV1EnvironmentsParams) WithTimeout(timeout time.Duration) *GetV1EnvironmentsParams
WithTimeout adds the timeout to the get v1 environments params
func (*GetV1EnvironmentsParams) WriteToRequest ¶
func (o *GetV1EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1EnvironmentsReader ¶
type GetV1EnvironmentsReader struct {
// contains filtered or unexported fields
}
GetV1EnvironmentsReader is a Reader for the GetV1Environments structure.
func (*GetV1EnvironmentsReader) ReadResponse ¶
func (o *GetV1EnvironmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1EnvironmentsEnvironmentIDOK ¶
type PatchV1EnvironmentsEnvironmentIDOK struct {
Payload *models.EnvironmentEntryEntity
}
PatchV1EnvironmentsEnvironmentIDOK describes a response with status code 200, with default header values.
Update a environments attributes
func NewPatchV1EnvironmentsEnvironmentIDOK ¶
func NewPatchV1EnvironmentsEnvironmentIDOK() *PatchV1EnvironmentsEnvironmentIDOK
NewPatchV1EnvironmentsEnvironmentIDOK creates a PatchV1EnvironmentsEnvironmentIDOK with default headers values
func (*PatchV1EnvironmentsEnvironmentIDOK) Error ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) Error() string
func (*PatchV1EnvironmentsEnvironmentIDOK) GetPayload ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) GetPayload() *models.EnvironmentEntryEntity
func (*PatchV1EnvironmentsEnvironmentIDOK) IsClientError ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) IsClientError() bool
IsClientError returns true when this patch v1 environments environment Id o k response has a 4xx status code
func (*PatchV1EnvironmentsEnvironmentIDOK) IsCode ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) IsCode(code int) bool
IsCode returns true when this patch v1 environments environment Id o k response a status code equal to that given
func (*PatchV1EnvironmentsEnvironmentIDOK) IsRedirect ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) IsRedirect() bool
IsRedirect returns true when this patch v1 environments environment Id o k response has a 3xx status code
func (*PatchV1EnvironmentsEnvironmentIDOK) IsServerError ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) IsServerError() bool
IsServerError returns true when this patch v1 environments environment Id o k response has a 5xx status code
func (*PatchV1EnvironmentsEnvironmentIDOK) IsSuccess ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 environments environment Id o k response has a 2xx status code
func (*PatchV1EnvironmentsEnvironmentIDOK) String ¶
func (o *PatchV1EnvironmentsEnvironmentIDOK) String() string
type PatchV1EnvironmentsEnvironmentIDParams ¶
type PatchV1EnvironmentsEnvironmentIDParams struct { /* EnvironmentID. Environment UUID */ EnvironmentID string // PatchV1EnvironmentsEnvironmentID. PatchV1EnvironmentsEnvironmentID *models.PatchV1EnvironmentsEnvironmentID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchV1EnvironmentsEnvironmentIDParams contains all the parameters to send to the API endpoint
for the patch v1 environments environment Id operation. Typically these are written to a http.Request.
func NewPatchV1EnvironmentsEnvironmentIDParams ¶
func NewPatchV1EnvironmentsEnvironmentIDParams() *PatchV1EnvironmentsEnvironmentIDParams
NewPatchV1EnvironmentsEnvironmentIDParams creates a new PatchV1EnvironmentsEnvironmentIDParams 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 NewPatchV1EnvironmentsEnvironmentIDParamsWithContext ¶
func NewPatchV1EnvironmentsEnvironmentIDParamsWithContext(ctx context.Context) *PatchV1EnvironmentsEnvironmentIDParams
NewPatchV1EnvironmentsEnvironmentIDParamsWithContext creates a new PatchV1EnvironmentsEnvironmentIDParams object with the ability to set a context for a request.
func NewPatchV1EnvironmentsEnvironmentIDParamsWithHTTPClient ¶
func NewPatchV1EnvironmentsEnvironmentIDParamsWithHTTPClient(client *http.Client) *PatchV1EnvironmentsEnvironmentIDParams
NewPatchV1EnvironmentsEnvironmentIDParamsWithHTTPClient creates a new PatchV1EnvironmentsEnvironmentIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1EnvironmentsEnvironmentIDParamsWithTimeout ¶
func NewPatchV1EnvironmentsEnvironmentIDParamsWithTimeout(timeout time.Duration) *PatchV1EnvironmentsEnvironmentIDParams
NewPatchV1EnvironmentsEnvironmentIDParamsWithTimeout creates a new PatchV1EnvironmentsEnvironmentIDParams object with the ability to set a timeout on a request.
func (*PatchV1EnvironmentsEnvironmentIDParams) SetContext ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) SetDefaults ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 environments environment Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1EnvironmentsEnvironmentIDParams) SetEnvironmentID ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) SetEnvironmentID(environmentID string)
SetEnvironmentID adds the environmentId to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) SetHTTPClient ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) SetPatchV1EnvironmentsEnvironmentID ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) SetPatchV1EnvironmentsEnvironmentID(patchV1EnvironmentsEnvironmentID *models.PatchV1EnvironmentsEnvironmentID)
SetPatchV1EnvironmentsEnvironmentID adds the patchV1EnvironmentsEnvironmentId to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) SetTimeout ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) WithContext ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WithContext(ctx context.Context) *PatchV1EnvironmentsEnvironmentIDParams
WithContext adds the context to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) WithDefaults ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WithDefaults() *PatchV1EnvironmentsEnvironmentIDParams
WithDefaults hydrates default values in the patch v1 environments environment Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1EnvironmentsEnvironmentIDParams) WithEnvironmentID ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WithEnvironmentID(environmentID string) *PatchV1EnvironmentsEnvironmentIDParams
WithEnvironmentID adds the environmentID to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) WithHTTPClient ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WithHTTPClient(client *http.Client) *PatchV1EnvironmentsEnvironmentIDParams
WithHTTPClient adds the HTTPClient to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) WithPatchV1EnvironmentsEnvironmentID ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WithPatchV1EnvironmentsEnvironmentID(patchV1EnvironmentsEnvironmentID *models.PatchV1EnvironmentsEnvironmentID) *PatchV1EnvironmentsEnvironmentIDParams
WithPatchV1EnvironmentsEnvironmentID adds the patchV1EnvironmentsEnvironmentID to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) WithTimeout ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WithTimeout(timeout time.Duration) *PatchV1EnvironmentsEnvironmentIDParams
WithTimeout adds the timeout to the patch v1 environments environment Id params
func (*PatchV1EnvironmentsEnvironmentIDParams) WriteToRequest ¶
func (o *PatchV1EnvironmentsEnvironmentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1EnvironmentsEnvironmentIDReader ¶
type PatchV1EnvironmentsEnvironmentIDReader struct {
// contains filtered or unexported fields
}
PatchV1EnvironmentsEnvironmentIDReader is a Reader for the PatchV1EnvironmentsEnvironmentID structure.
func (*PatchV1EnvironmentsEnvironmentIDReader) ReadResponse ¶
func (o *PatchV1EnvironmentsEnvironmentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1EnvironmentsCreated ¶
type PostV1EnvironmentsCreated struct {
Payload *models.EnvironmentEntryEntity
}
PostV1EnvironmentsCreated describes a response with status code 201, with default header values.
Creates an environment for the organization
func NewPostV1EnvironmentsCreated ¶
func NewPostV1EnvironmentsCreated() *PostV1EnvironmentsCreated
NewPostV1EnvironmentsCreated creates a PostV1EnvironmentsCreated with default headers values
func (*PostV1EnvironmentsCreated) Error ¶
func (o *PostV1EnvironmentsCreated) Error() string
func (*PostV1EnvironmentsCreated) GetPayload ¶
func (o *PostV1EnvironmentsCreated) GetPayload() *models.EnvironmentEntryEntity
func (*PostV1EnvironmentsCreated) IsClientError ¶
func (o *PostV1EnvironmentsCreated) IsClientError() bool
IsClientError returns true when this post v1 environments created response has a 4xx status code
func (*PostV1EnvironmentsCreated) IsCode ¶
func (o *PostV1EnvironmentsCreated) IsCode(code int) bool
IsCode returns true when this post v1 environments created response a status code equal to that given
func (*PostV1EnvironmentsCreated) IsRedirect ¶
func (o *PostV1EnvironmentsCreated) IsRedirect() bool
IsRedirect returns true when this post v1 environments created response has a 3xx status code
func (*PostV1EnvironmentsCreated) IsServerError ¶
func (o *PostV1EnvironmentsCreated) IsServerError() bool
IsServerError returns true when this post v1 environments created response has a 5xx status code
func (*PostV1EnvironmentsCreated) IsSuccess ¶
func (o *PostV1EnvironmentsCreated) IsSuccess() bool
IsSuccess returns true when this post v1 environments created response has a 2xx status code
func (*PostV1EnvironmentsCreated) String ¶
func (o *PostV1EnvironmentsCreated) String() string
type PostV1EnvironmentsParams ¶
type PostV1EnvironmentsParams struct { // PostV1Environments. PostV1Environments *models.PostV1Environments Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1EnvironmentsParams contains all the parameters to send to the API endpoint
for the post v1 environments operation. Typically these are written to a http.Request.
func NewPostV1EnvironmentsParams ¶
func NewPostV1EnvironmentsParams() *PostV1EnvironmentsParams
NewPostV1EnvironmentsParams creates a new PostV1EnvironmentsParams 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 NewPostV1EnvironmentsParamsWithContext ¶
func NewPostV1EnvironmentsParamsWithContext(ctx context.Context) *PostV1EnvironmentsParams
NewPostV1EnvironmentsParamsWithContext creates a new PostV1EnvironmentsParams object with the ability to set a context for a request.
func NewPostV1EnvironmentsParamsWithHTTPClient ¶
func NewPostV1EnvironmentsParamsWithHTTPClient(client *http.Client) *PostV1EnvironmentsParams
NewPostV1EnvironmentsParamsWithHTTPClient creates a new PostV1EnvironmentsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1EnvironmentsParamsWithTimeout ¶
func NewPostV1EnvironmentsParamsWithTimeout(timeout time.Duration) *PostV1EnvironmentsParams
NewPostV1EnvironmentsParamsWithTimeout creates a new PostV1EnvironmentsParams object with the ability to set a timeout on a request.
func (*PostV1EnvironmentsParams) SetContext ¶
func (o *PostV1EnvironmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 environments params
func (*PostV1EnvironmentsParams) SetDefaults ¶
func (o *PostV1EnvironmentsParams) SetDefaults()
SetDefaults hydrates default values in the post v1 environments params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1EnvironmentsParams) SetHTTPClient ¶
func (o *PostV1EnvironmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 environments params
func (*PostV1EnvironmentsParams) SetPostV1Environments ¶
func (o *PostV1EnvironmentsParams) SetPostV1Environments(postV1Environments *models.PostV1Environments)
SetPostV1Environments adds the postV1Environments to the post v1 environments params
func (*PostV1EnvironmentsParams) SetTimeout ¶
func (o *PostV1EnvironmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 environments params
func (*PostV1EnvironmentsParams) WithContext ¶
func (o *PostV1EnvironmentsParams) WithContext(ctx context.Context) *PostV1EnvironmentsParams
WithContext adds the context to the post v1 environments params
func (*PostV1EnvironmentsParams) WithDefaults ¶
func (o *PostV1EnvironmentsParams) WithDefaults() *PostV1EnvironmentsParams
WithDefaults hydrates default values in the post v1 environments params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1EnvironmentsParams) WithHTTPClient ¶
func (o *PostV1EnvironmentsParams) WithHTTPClient(client *http.Client) *PostV1EnvironmentsParams
WithHTTPClient adds the HTTPClient to the post v1 environments params
func (*PostV1EnvironmentsParams) WithPostV1Environments ¶
func (o *PostV1EnvironmentsParams) WithPostV1Environments(postV1Environments *models.PostV1Environments) *PostV1EnvironmentsParams
WithPostV1Environments adds the postV1Environments to the post v1 environments params
func (*PostV1EnvironmentsParams) WithTimeout ¶
func (o *PostV1EnvironmentsParams) WithTimeout(timeout time.Duration) *PostV1EnvironmentsParams
WithTimeout adds the timeout to the post v1 environments params
func (*PostV1EnvironmentsParams) WriteToRequest ¶
func (o *PostV1EnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1EnvironmentsReader ¶
type PostV1EnvironmentsReader struct {
// contains filtered or unexported fields
}
PostV1EnvironmentsReader is a Reader for the PostV1Environments structure.
func (*PostV1EnvironmentsReader) ReadResponse ¶
func (o *PostV1EnvironmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_v1_environments_environment_id_parameters.go
- delete_v1_environments_environment_id_responses.go
- environments_client.go
- get_v1_environments_environment_id_parameters.go
- get_v1_environments_environment_id_responses.go
- get_v1_environments_parameters.go
- get_v1_environments_responses.go
- patch_v1_environments_environment_id_parameters.go
- patch_v1_environments_environment_id_responses.go
- post_v1_environments_parameters.go
- post_v1_environments_responses.go