environments

package
v0.0.0-...-d3fc958 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 (*DeleteV1EnvironmentsEnvironmentIDOK) GetPayload

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

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

IsSuccess returns true when this delete v1 environments environment Id o k response has a 2xx status code

func (*DeleteV1EnvironmentsEnvironmentIDOK) 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

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

WithContext adds the context to the delete v1 environments environment Id params

func (*DeleteV1EnvironmentsEnvironmentIDParams) WithDefaults

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

WithEnvironmentID adds the environmentID to the delete v1 environments environment Id params

func (*DeleteV1EnvironmentsEnvironmentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 environments environment Id params

func (*DeleteV1EnvironmentsEnvironmentIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 environments environment Id params

func (*DeleteV1EnvironmentsEnvironmentIDParams) WriteToRequest

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 (*GetV1EnvironmentsEnvironmentIDOK) GetPayload

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

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

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

WithContext adds the context to the get v1 environments environment Id params

func (*GetV1EnvironmentsEnvironmentIDParams) WithDefaults

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

WithEnvironmentID adds the environmentID to the get v1 environments environment Id params

func (*GetV1EnvironmentsEnvironmentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 environments environment Id params

func (*GetV1EnvironmentsEnvironmentIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 environments environment Id params

func (*GetV1EnvironmentsEnvironmentIDParams) WriteToRequest

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 (*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

WithContext adds the context to the get v1 environments params

func (*GetV1EnvironmentsParams) WithDefaults

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

WithName adds the name to the get v1 environments params

func (*GetV1EnvironmentsParams) WithPage

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

WithQuery adds the query to the get v1 environments params

func (*GetV1EnvironmentsParams) WithTimeout

WithTimeout adds the timeout to the get v1 environments params

func (*GetV1EnvironmentsParams) WriteToRequest

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 (*PatchV1EnvironmentsEnvironmentIDOK) GetPayload

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

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

IsSuccess returns true when this patch v1 environments environment Id o k response has a 2xx status code

func (*PatchV1EnvironmentsEnvironmentIDOK) 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

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

WithContext adds the context to the patch v1 environments environment Id params

func (*PatchV1EnvironmentsEnvironmentIDParams) WithDefaults

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

WithEnvironmentID adds the environmentID to the patch v1 environments environment Id params

func (*PatchV1EnvironmentsEnvironmentIDParams) WithHTTPClient

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

WithTimeout adds the timeout to the patch v1 environments environment Id params

func (*PatchV1EnvironmentsEnvironmentIDParams) WriteToRequest

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 (*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

WithContext adds the context to the post v1 environments params

func (*PostV1EnvironmentsParams) WithDefaults

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

WithTimeout adds the timeout to the post v1 environments params

func (*PostV1EnvironmentsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL