variables

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 10 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 variables API

func (*Client) CreateVariableUsingPOST added in v0.4.0

func (a *Client) CreateVariableUsingPOST(params *CreateVariableUsingPOSTParams, opts ...ClientOption) (*CreateVariableUsingPOSTOK, error)

CreateVariableUsingPOST creates a variable

Creates a Variable based on project name

func (*Client) DeleteVariableByIDUsingDELETE added in v0.4.0

func (a *Client) DeleteVariableByIDUsingDELETE(params *DeleteVariableByIDUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByIDUsingDELETEOK, error)

DeleteVariableByIDUsingDELETE deletes a variable by Id

Deletes a Variable with the given Id

func (*Client) DeleteVariableByNameUsingDELETE added in v0.4.0

func (a *Client) DeleteVariableByNameUsingDELETE(params *DeleteVariableByNameUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByNameUsingDELETEOK, error)

DeleteVariableByNameUsingDELETE deletes a variable by project and name

Deletes a Variable with the given name

func (*Client) GetAllVariablesUsingGET added in v0.4.0

func (a *Client) GetAllVariablesUsingGET(params *GetAllVariablesUsingGETParams, opts ...ClientOption) (*GetAllVariablesUsingGETOK, error)

GetAllVariablesUsingGET gets all variables

Get all Variables with specified paging and filter parameters.

func (*Client) GetVariableByIDUsingGET added in v0.4.0

func (a *Client) GetVariableByIDUsingGET(params *GetVariableByIDUsingGETParams, opts ...ClientOption) (*GetVariableByIDUsingGETOK, error)

GetVariableByIDUsingGET gets a variable

Gets a Variable with the given id

func (*Client) GetVariableByNameUsingGET added in v0.4.0

func (a *Client) GetVariableByNameUsingGET(params *GetVariableByNameUsingGETParams, opts ...ClientOption) (*GetVariableByNameUsingGETOK, error)

GetVariableByNameUsingGET gets a variable by project and name

Get an Variable with the given project and name

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateVariableByIDUsingPUT added in v0.4.0

func (a *Client) UpdateVariableByIDUsingPUT(params *UpdateVariableByIDUsingPUTParams, opts ...ClientOption) (*UpdateVariableByIDUsingPUTOK, error)

UpdateVariableByIDUsingPUT updates a variable by id

Updates a Variable with the given id

func (*Client) UpdateVariableByNameUsingPUT added in v0.4.0

func (a *Client) UpdateVariableByNameUsingPUT(params *UpdateVariableByNameUsingPUTParams, opts ...ClientOption) (*UpdateVariableByNameUsingPUTOK, error)

UpdateVariableByNameUsingPUT updates a variable by project and name

Update an Variable with the given project and name

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVariableUsingPOST(params *CreateVariableUsingPOSTParams, opts ...ClientOption) (*CreateVariableUsingPOSTOK, error)

	DeleteVariableByIDUsingDELETE(params *DeleteVariableByIDUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByIDUsingDELETEOK, error)

	DeleteVariableByNameUsingDELETE(params *DeleteVariableByNameUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByNameUsingDELETEOK, error)

	GetAllVariablesUsingGET(params *GetAllVariablesUsingGETParams, opts ...ClientOption) (*GetAllVariablesUsingGETOK, error)

	GetVariableByIDUsingGET(params *GetVariableByIDUsingGETParams, opts ...ClientOption) (*GetVariableByIDUsingGETOK, error)

	GetVariableByNameUsingGET(params *GetVariableByNameUsingGETParams, opts ...ClientOption) (*GetVariableByNameUsingGETOK, error)

	UpdateVariableByIDUsingPUT(params *UpdateVariableByIDUsingPUTParams, opts ...ClientOption) (*UpdateVariableByIDUsingPUTOK, error)

	UpdateVariableByNameUsingPUT(params *UpdateVariableByNameUsingPUTParams, opts ...ClientOption) (*UpdateVariableByNameUsingPUTOK, 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 variables API client.

type CreateVariableUsingPOSTForbidden added in v0.4.0

type CreateVariableUsingPOSTForbidden struct {
}

CreateVariableUsingPOSTForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateVariableUsingPOSTForbidden added in v0.4.0

func NewCreateVariableUsingPOSTForbidden() *CreateVariableUsingPOSTForbidden

NewCreateVariableUsingPOSTForbidden creates a CreateVariableUsingPOSTForbidden with default headers values

func (*CreateVariableUsingPOSTForbidden) Error added in v0.4.0

func (*CreateVariableUsingPOSTForbidden) IsClientError added in v0.5.0

func (o *CreateVariableUsingPOSTForbidden) IsClientError() bool

IsClientError returns true when this create variable using p o s t forbidden response has a 4xx status code

func (*CreateVariableUsingPOSTForbidden) IsCode added in v0.5.0

func (o *CreateVariableUsingPOSTForbidden) IsCode(code int) bool

IsCode returns true when this create variable using p o s t forbidden response a status code equal to that given

func (*CreateVariableUsingPOSTForbidden) IsRedirect added in v0.5.0

func (o *CreateVariableUsingPOSTForbidden) IsRedirect() bool

IsRedirect returns true when this create variable using p o s t forbidden response has a 3xx status code

func (*CreateVariableUsingPOSTForbidden) IsServerError added in v0.5.0

func (o *CreateVariableUsingPOSTForbidden) IsServerError() bool

IsServerError returns true when this create variable using p o s t forbidden response has a 5xx status code

func (*CreateVariableUsingPOSTForbidden) IsSuccess added in v0.5.0

func (o *CreateVariableUsingPOSTForbidden) IsSuccess() bool

IsSuccess returns true when this create variable using p o s t forbidden response has a 2xx status code

func (*CreateVariableUsingPOSTForbidden) String added in v0.5.0

type CreateVariableUsingPOSTInternalServerError added in v0.4.0

type CreateVariableUsingPOSTInternalServerError struct {
}

CreateVariableUsingPOSTInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewCreateVariableUsingPOSTInternalServerError added in v0.4.0

func NewCreateVariableUsingPOSTInternalServerError() *CreateVariableUsingPOSTInternalServerError

NewCreateVariableUsingPOSTInternalServerError creates a CreateVariableUsingPOSTInternalServerError with default headers values

func (*CreateVariableUsingPOSTInternalServerError) Error added in v0.4.0

func (*CreateVariableUsingPOSTInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this create variable using p o s t internal server error response has a 4xx status code

func (*CreateVariableUsingPOSTInternalServerError) IsCode added in v0.5.0

IsCode returns true when this create variable using p o s t internal server error response a status code equal to that given

func (*CreateVariableUsingPOSTInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this create variable using p o s t internal server error response has a 3xx status code

func (*CreateVariableUsingPOSTInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this create variable using p o s t internal server error response has a 5xx status code

func (*CreateVariableUsingPOSTInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this create variable using p o s t internal server error response has a 2xx status code

func (*CreateVariableUsingPOSTInternalServerError) String added in v0.5.0

type CreateVariableUsingPOSTNotFound added in v0.4.0

type CreateVariableUsingPOSTNotFound struct {
	Payload *models.Error
}

CreateVariableUsingPOSTNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateVariableUsingPOSTNotFound added in v0.4.0

func NewCreateVariableUsingPOSTNotFound() *CreateVariableUsingPOSTNotFound

NewCreateVariableUsingPOSTNotFound creates a CreateVariableUsingPOSTNotFound with default headers values

func (*CreateVariableUsingPOSTNotFound) Error added in v0.4.0

func (*CreateVariableUsingPOSTNotFound) GetPayload added in v0.4.0

func (o *CreateVariableUsingPOSTNotFound) GetPayload() *models.Error

func (*CreateVariableUsingPOSTNotFound) IsClientError added in v0.5.0

func (o *CreateVariableUsingPOSTNotFound) IsClientError() bool

IsClientError returns true when this create variable using p o s t not found response has a 4xx status code

func (*CreateVariableUsingPOSTNotFound) IsCode added in v0.5.0

func (o *CreateVariableUsingPOSTNotFound) IsCode(code int) bool

IsCode returns true when this create variable using p o s t not found response a status code equal to that given

func (*CreateVariableUsingPOSTNotFound) IsRedirect added in v0.5.0

func (o *CreateVariableUsingPOSTNotFound) IsRedirect() bool

IsRedirect returns true when this create variable using p o s t not found response has a 3xx status code

func (*CreateVariableUsingPOSTNotFound) IsServerError added in v0.5.0

func (o *CreateVariableUsingPOSTNotFound) IsServerError() bool

IsServerError returns true when this create variable using p o s t not found response has a 5xx status code

func (*CreateVariableUsingPOSTNotFound) IsSuccess added in v0.5.0

func (o *CreateVariableUsingPOSTNotFound) IsSuccess() bool

IsSuccess returns true when this create variable using p o s t not found response has a 2xx status code

func (*CreateVariableUsingPOSTNotFound) String added in v0.5.0

type CreateVariableUsingPOSTOK added in v0.4.0

type CreateVariableUsingPOSTOK struct {
	Payload *models.Variable
}

CreateVariableUsingPOSTOK describes a response with status code 200, with default header values.

'Success' with Variable creation

func NewCreateVariableUsingPOSTOK added in v0.4.0

func NewCreateVariableUsingPOSTOK() *CreateVariableUsingPOSTOK

NewCreateVariableUsingPOSTOK creates a CreateVariableUsingPOSTOK with default headers values

func (*CreateVariableUsingPOSTOK) Error added in v0.4.0

func (o *CreateVariableUsingPOSTOK) Error() string

func (*CreateVariableUsingPOSTOK) GetPayload added in v0.4.0

func (o *CreateVariableUsingPOSTOK) GetPayload() *models.Variable

func (*CreateVariableUsingPOSTOK) IsClientError added in v0.5.0

func (o *CreateVariableUsingPOSTOK) IsClientError() bool

IsClientError returns true when this create variable using p o s t o k response has a 4xx status code

func (*CreateVariableUsingPOSTOK) IsCode added in v0.5.0

func (o *CreateVariableUsingPOSTOK) IsCode(code int) bool

IsCode returns true when this create variable using p o s t o k response a status code equal to that given

func (*CreateVariableUsingPOSTOK) IsRedirect added in v0.5.0

func (o *CreateVariableUsingPOSTOK) IsRedirect() bool

IsRedirect returns true when this create variable using p o s t o k response has a 3xx status code

func (*CreateVariableUsingPOSTOK) IsServerError added in v0.5.0

func (o *CreateVariableUsingPOSTOK) IsServerError() bool

IsServerError returns true when this create variable using p o s t o k response has a 5xx status code

func (*CreateVariableUsingPOSTOK) IsSuccess added in v0.5.0

func (o *CreateVariableUsingPOSTOK) IsSuccess() bool

IsSuccess returns true when this create variable using p o s t o k response has a 2xx status code

func (*CreateVariableUsingPOSTOK) String added in v0.5.0

func (o *CreateVariableUsingPOSTOK) String() string

type CreateVariableUsingPOSTParams added in v0.4.0

type CreateVariableUsingPOSTParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Body.

	   Variable specification
	*/
	Body models.VariableSpec

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVariableUsingPOSTParams contains all the parameters to send to the API endpoint

for the create variable using p o s t operation.

Typically these are written to a http.Request.

func NewCreateVariableUsingPOSTParams added in v0.4.0

func NewCreateVariableUsingPOSTParams() *CreateVariableUsingPOSTParams

NewCreateVariableUsingPOSTParams creates a new CreateVariableUsingPOSTParams 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 NewCreateVariableUsingPOSTParamsWithContext added in v0.4.0

func NewCreateVariableUsingPOSTParamsWithContext(ctx context.Context) *CreateVariableUsingPOSTParams

NewCreateVariableUsingPOSTParamsWithContext creates a new CreateVariableUsingPOSTParams object with the ability to set a context for a request.

func NewCreateVariableUsingPOSTParamsWithHTTPClient added in v0.4.0

func NewCreateVariableUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateVariableUsingPOSTParams

NewCreateVariableUsingPOSTParamsWithHTTPClient creates a new CreateVariableUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVariableUsingPOSTParamsWithTimeout added in v0.4.0

func NewCreateVariableUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateVariableUsingPOSTParams

NewCreateVariableUsingPOSTParamsWithTimeout creates a new CreateVariableUsingPOSTParams object with the ability to set a timeout on a request.

func (*CreateVariableUsingPOSTParams) SetAPIVersion added in v0.4.0

func (o *CreateVariableUsingPOSTParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) SetAuthorization added in v0.4.0

func (o *CreateVariableUsingPOSTParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) SetBody added in v0.4.0

SetBody adds the body to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) SetContext added in v0.4.0

func (o *CreateVariableUsingPOSTParams) SetContext(ctx context.Context)

SetContext adds the context to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) SetDefaults added in v0.4.0

func (o *CreateVariableUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the create variable using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVariableUsingPOSTParams) SetHTTPClient added in v0.4.0

func (o *CreateVariableUsingPOSTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) SetTimeout added in v0.4.0

func (o *CreateVariableUsingPOSTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WithAuthorization added in v0.4.0

func (o *CreateVariableUsingPOSTParams) WithAuthorization(authorization string) *CreateVariableUsingPOSTParams

WithAuthorization adds the authorization to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WithBody added in v0.4.0

WithBody adds the body to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WithContext added in v0.4.0

WithContext adds the context to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the create variable using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVariableUsingPOSTParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the create variable using p o s t params

func (*CreateVariableUsingPOSTParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CreateVariableUsingPOSTReader added in v0.4.0

type CreateVariableUsingPOSTReader struct {
	// contains filtered or unexported fields
}

CreateVariableUsingPOSTReader is a Reader for the CreateVariableUsingPOST structure.

func (*CreateVariableUsingPOSTReader) ReadResponse added in v0.4.0

func (o *CreateVariableUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateVariableUsingPOSTUnauthorized added in v0.4.0

type CreateVariableUsingPOSTUnauthorized struct {
}

CreateVariableUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewCreateVariableUsingPOSTUnauthorized added in v0.4.0

func NewCreateVariableUsingPOSTUnauthorized() *CreateVariableUsingPOSTUnauthorized

NewCreateVariableUsingPOSTUnauthorized creates a CreateVariableUsingPOSTUnauthorized with default headers values

func (*CreateVariableUsingPOSTUnauthorized) Error added in v0.4.0

func (*CreateVariableUsingPOSTUnauthorized) IsClientError added in v0.5.0

func (o *CreateVariableUsingPOSTUnauthorized) IsClientError() bool

IsClientError returns true when this create variable using p o s t unauthorized response has a 4xx status code

func (*CreateVariableUsingPOSTUnauthorized) IsCode added in v0.5.0

IsCode returns true when this create variable using p o s t unauthorized response a status code equal to that given

func (*CreateVariableUsingPOSTUnauthorized) IsRedirect added in v0.5.0

func (o *CreateVariableUsingPOSTUnauthorized) IsRedirect() bool

IsRedirect returns true when this create variable using p o s t unauthorized response has a 3xx status code

func (*CreateVariableUsingPOSTUnauthorized) IsServerError added in v0.5.0

func (o *CreateVariableUsingPOSTUnauthorized) IsServerError() bool

IsServerError returns true when this create variable using p o s t unauthorized response has a 5xx status code

func (*CreateVariableUsingPOSTUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this create variable using p o s t unauthorized response has a 2xx status code

func (*CreateVariableUsingPOSTUnauthorized) String added in v0.5.0

type DeleteVariableByIDUsingDELETEForbidden added in v0.4.0

type DeleteVariableByIDUsingDELETEForbidden struct {
}

DeleteVariableByIDUsingDELETEForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteVariableByIDUsingDELETEForbidden added in v0.4.0

func NewDeleteVariableByIDUsingDELETEForbidden() *DeleteVariableByIDUsingDELETEForbidden

NewDeleteVariableByIDUsingDELETEForbidden creates a DeleteVariableByIDUsingDELETEForbidden with default headers values

func (*DeleteVariableByIDUsingDELETEForbidden) Error added in v0.4.0

func (*DeleteVariableByIDUsingDELETEForbidden) IsClientError added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEForbidden) IsClientError() bool

IsClientError returns true when this delete variable by Id using d e l e t e forbidden response has a 4xx status code

func (*DeleteVariableByIDUsingDELETEForbidden) IsCode added in v0.5.0

IsCode returns true when this delete variable by Id using d e l e t e forbidden response a status code equal to that given

func (*DeleteVariableByIDUsingDELETEForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by Id using d e l e t e forbidden response has a 3xx status code

func (*DeleteVariableByIDUsingDELETEForbidden) IsServerError added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEForbidden) IsServerError() bool

IsServerError returns true when this delete variable by Id using d e l e t e forbidden response has a 5xx status code

func (*DeleteVariableByIDUsingDELETEForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by Id using d e l e t e forbidden response has a 2xx status code

func (*DeleteVariableByIDUsingDELETEForbidden) String added in v0.5.0

type DeleteVariableByIDUsingDELETEInternalServerError added in v0.4.0

type DeleteVariableByIDUsingDELETEInternalServerError struct {
}

DeleteVariableByIDUsingDELETEInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewDeleteVariableByIDUsingDELETEInternalServerError added in v0.4.0

func NewDeleteVariableByIDUsingDELETEInternalServerError() *DeleteVariableByIDUsingDELETEInternalServerError

NewDeleteVariableByIDUsingDELETEInternalServerError creates a DeleteVariableByIDUsingDELETEInternalServerError with default headers values

func (*DeleteVariableByIDUsingDELETEInternalServerError) Error added in v0.4.0

func (*DeleteVariableByIDUsingDELETEInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this delete variable by Id using d e l e t e internal server error response has a 4xx status code

func (*DeleteVariableByIDUsingDELETEInternalServerError) IsCode added in v0.5.0

IsCode returns true when this delete variable by Id using d e l e t e internal server error response a status code equal to that given

func (*DeleteVariableByIDUsingDELETEInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by Id using d e l e t e internal server error response has a 3xx status code

func (*DeleteVariableByIDUsingDELETEInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this delete variable by Id using d e l e t e internal server error response has a 5xx status code

func (*DeleteVariableByIDUsingDELETEInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by Id using d e l e t e internal server error response has a 2xx status code

func (*DeleteVariableByIDUsingDELETEInternalServerError) String added in v0.5.0

type DeleteVariableByIDUsingDELETENotFound added in v0.4.0

type DeleteVariableByIDUsingDELETENotFound struct {
	Payload *models.Error
}

DeleteVariableByIDUsingDELETENotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteVariableByIDUsingDELETENotFound added in v0.4.0

func NewDeleteVariableByIDUsingDELETENotFound() *DeleteVariableByIDUsingDELETENotFound

NewDeleteVariableByIDUsingDELETENotFound creates a DeleteVariableByIDUsingDELETENotFound with default headers values

func (*DeleteVariableByIDUsingDELETENotFound) Error added in v0.4.0

func (*DeleteVariableByIDUsingDELETENotFound) GetPayload added in v0.4.0

func (*DeleteVariableByIDUsingDELETENotFound) IsClientError added in v0.5.0

func (o *DeleteVariableByIDUsingDELETENotFound) IsClientError() bool

IsClientError returns true when this delete variable by Id using d e l e t e not found response has a 4xx status code

func (*DeleteVariableByIDUsingDELETENotFound) IsCode added in v0.5.0

IsCode returns true when this delete variable by Id using d e l e t e not found response a status code equal to that given

func (*DeleteVariableByIDUsingDELETENotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by Id using d e l e t e not found response has a 3xx status code

func (*DeleteVariableByIDUsingDELETENotFound) IsServerError added in v0.5.0

func (o *DeleteVariableByIDUsingDELETENotFound) IsServerError() bool

IsServerError returns true when this delete variable by Id using d e l e t e not found response has a 5xx status code

func (*DeleteVariableByIDUsingDELETENotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by Id using d e l e t e not found response has a 2xx status code

func (*DeleteVariableByIDUsingDELETENotFound) String added in v0.5.0

type DeleteVariableByIDUsingDELETEOK added in v0.4.0

type DeleteVariableByIDUsingDELETEOK struct {
	Payload *models.Variable
}

DeleteVariableByIDUsingDELETEOK describes a response with status code 200, with default header values.

'Success' with deleted Variable

func NewDeleteVariableByIDUsingDELETEOK added in v0.4.0

func NewDeleteVariableByIDUsingDELETEOK() *DeleteVariableByIDUsingDELETEOK

NewDeleteVariableByIDUsingDELETEOK creates a DeleteVariableByIDUsingDELETEOK with default headers values

func (*DeleteVariableByIDUsingDELETEOK) Error added in v0.4.0

func (*DeleteVariableByIDUsingDELETEOK) GetPayload added in v0.4.0

func (*DeleteVariableByIDUsingDELETEOK) IsClientError added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEOK) IsClientError() bool

IsClientError returns true when this delete variable by Id using d e l e t e o k response has a 4xx status code

func (*DeleteVariableByIDUsingDELETEOK) IsCode added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEOK) IsCode(code int) bool

IsCode returns true when this delete variable by Id using d e l e t e o k response a status code equal to that given

func (*DeleteVariableByIDUsingDELETEOK) IsRedirect added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEOK) IsRedirect() bool

IsRedirect returns true when this delete variable by Id using d e l e t e o k response has a 3xx status code

func (*DeleteVariableByIDUsingDELETEOK) IsServerError added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEOK) IsServerError() bool

IsServerError returns true when this delete variable by Id using d e l e t e o k response has a 5xx status code

func (*DeleteVariableByIDUsingDELETEOK) IsSuccess added in v0.5.0

func (o *DeleteVariableByIDUsingDELETEOK) IsSuccess() bool

IsSuccess returns true when this delete variable by Id using d e l e t e o k response has a 2xx status code

func (*DeleteVariableByIDUsingDELETEOK) String added in v0.5.0

type DeleteVariableByIDUsingDELETEParams added in v0.4.0

type DeleteVariableByIDUsingDELETEParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the Variable
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVariableByIDUsingDELETEParams contains all the parameters to send to the API endpoint

for the delete variable by Id using d e l e t e operation.

Typically these are written to a http.Request.

func NewDeleteVariableByIDUsingDELETEParams added in v0.4.0

func NewDeleteVariableByIDUsingDELETEParams() *DeleteVariableByIDUsingDELETEParams

NewDeleteVariableByIDUsingDELETEParams creates a new DeleteVariableByIDUsingDELETEParams 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 NewDeleteVariableByIDUsingDELETEParamsWithContext added in v0.4.0

func NewDeleteVariableByIDUsingDELETEParamsWithContext(ctx context.Context) *DeleteVariableByIDUsingDELETEParams

NewDeleteVariableByIDUsingDELETEParamsWithContext creates a new DeleteVariableByIDUsingDELETEParams object with the ability to set a context for a request.

func NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient added in v0.4.0

func NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteVariableByIDUsingDELETEParams

NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient creates a new DeleteVariableByIDUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVariableByIDUsingDELETEParamsWithTimeout added in v0.4.0

func NewDeleteVariableByIDUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteVariableByIDUsingDELETEParams

NewDeleteVariableByIDUsingDELETEParamsWithTimeout creates a new DeleteVariableByIDUsingDELETEParams object with the ability to set a timeout on a request.

func (*DeleteVariableByIDUsingDELETEParams) SetAPIVersion added in v0.4.0

func (o *DeleteVariableByIDUsingDELETEParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) SetAuthorization added in v0.4.0

func (o *DeleteVariableByIDUsingDELETEParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) SetContext added in v0.4.0

SetContext adds the context to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) SetDefaults added in v0.4.0

func (o *DeleteVariableByIDUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the delete variable by Id using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVariableByIDUsingDELETEParams) SetHTTPClient added in v0.4.0

func (o *DeleteVariableByIDUsingDELETEParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) SetID added in v0.4.0

SetID adds the id to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) SetTimeout added in v0.4.0

func (o *DeleteVariableByIDUsingDELETEParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WithAuthorization added in v0.4.0

WithAuthorization adds the authorization to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WithContext added in v0.4.0

WithContext adds the context to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the delete variable by Id using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVariableByIDUsingDELETEParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WithID added in v0.4.0

WithID adds the id to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the delete variable by Id using d e l e t e params

func (*DeleteVariableByIDUsingDELETEParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DeleteVariableByIDUsingDELETEReader added in v0.4.0

type DeleteVariableByIDUsingDELETEReader struct {
	// contains filtered or unexported fields
}

DeleteVariableByIDUsingDELETEReader is a Reader for the DeleteVariableByIDUsingDELETE structure.

func (*DeleteVariableByIDUsingDELETEReader) ReadResponse added in v0.4.0

func (o *DeleteVariableByIDUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVariableByIDUsingDELETEUnauthorized added in v0.4.0

type DeleteVariableByIDUsingDELETEUnauthorized struct {
}

DeleteVariableByIDUsingDELETEUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewDeleteVariableByIDUsingDELETEUnauthorized added in v0.4.0

func NewDeleteVariableByIDUsingDELETEUnauthorized() *DeleteVariableByIDUsingDELETEUnauthorized

NewDeleteVariableByIDUsingDELETEUnauthorized creates a DeleteVariableByIDUsingDELETEUnauthorized with default headers values

func (*DeleteVariableByIDUsingDELETEUnauthorized) Error added in v0.4.0

func (*DeleteVariableByIDUsingDELETEUnauthorized) IsClientError added in v0.5.0

IsClientError returns true when this delete variable by Id using d e l e t e unauthorized response has a 4xx status code

func (*DeleteVariableByIDUsingDELETEUnauthorized) IsCode added in v0.5.0

IsCode returns true when this delete variable by Id using d e l e t e unauthorized response a status code equal to that given

func (*DeleteVariableByIDUsingDELETEUnauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by Id using d e l e t e unauthorized response has a 3xx status code

func (*DeleteVariableByIDUsingDELETEUnauthorized) IsServerError added in v0.5.0

IsServerError returns true when this delete variable by Id using d e l e t e unauthorized response has a 5xx status code

func (*DeleteVariableByIDUsingDELETEUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by Id using d e l e t e unauthorized response has a 2xx status code

func (*DeleteVariableByIDUsingDELETEUnauthorized) String added in v0.5.0

type DeleteVariableByNameUsingDELETEForbidden added in v0.4.0

type DeleteVariableByNameUsingDELETEForbidden struct {
}

DeleteVariableByNameUsingDELETEForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteVariableByNameUsingDELETEForbidden added in v0.4.0

func NewDeleteVariableByNameUsingDELETEForbidden() *DeleteVariableByNameUsingDELETEForbidden

NewDeleteVariableByNameUsingDELETEForbidden creates a DeleteVariableByNameUsingDELETEForbidden with default headers values

func (*DeleteVariableByNameUsingDELETEForbidden) Error added in v0.4.0

func (*DeleteVariableByNameUsingDELETEForbidden) IsClientError added in v0.5.0

IsClientError returns true when this delete variable by name using d e l e t e forbidden response has a 4xx status code

func (*DeleteVariableByNameUsingDELETEForbidden) IsCode added in v0.5.0

IsCode returns true when this delete variable by name using d e l e t e forbidden response a status code equal to that given

func (*DeleteVariableByNameUsingDELETEForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by name using d e l e t e forbidden response has a 3xx status code

func (*DeleteVariableByNameUsingDELETEForbidden) IsServerError added in v0.5.0

IsServerError returns true when this delete variable by name using d e l e t e forbidden response has a 5xx status code

func (*DeleteVariableByNameUsingDELETEForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by name using d e l e t e forbidden response has a 2xx status code

func (*DeleteVariableByNameUsingDELETEForbidden) String added in v0.5.0

type DeleteVariableByNameUsingDELETEInternalServerError added in v0.4.0

type DeleteVariableByNameUsingDELETEInternalServerError struct {
}

DeleteVariableByNameUsingDELETEInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewDeleteVariableByNameUsingDELETEInternalServerError added in v0.4.0

func NewDeleteVariableByNameUsingDELETEInternalServerError() *DeleteVariableByNameUsingDELETEInternalServerError

NewDeleteVariableByNameUsingDELETEInternalServerError creates a DeleteVariableByNameUsingDELETEInternalServerError with default headers values

func (*DeleteVariableByNameUsingDELETEInternalServerError) Error added in v0.4.0

func (*DeleteVariableByNameUsingDELETEInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this delete variable by name using d e l e t e internal server error response has a 4xx status code

func (*DeleteVariableByNameUsingDELETEInternalServerError) IsCode added in v0.5.0

IsCode returns true when this delete variable by name using d e l e t e internal server error response a status code equal to that given

func (*DeleteVariableByNameUsingDELETEInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by name using d e l e t e internal server error response has a 3xx status code

func (*DeleteVariableByNameUsingDELETEInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this delete variable by name using d e l e t e internal server error response has a 5xx status code

func (*DeleteVariableByNameUsingDELETEInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by name using d e l e t e internal server error response has a 2xx status code

func (*DeleteVariableByNameUsingDELETEInternalServerError) String added in v0.5.0

type DeleteVariableByNameUsingDELETENotFound added in v0.4.0

type DeleteVariableByNameUsingDELETENotFound struct {
	Payload *models.Error
}

DeleteVariableByNameUsingDELETENotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteVariableByNameUsingDELETENotFound added in v0.4.0

func NewDeleteVariableByNameUsingDELETENotFound() *DeleteVariableByNameUsingDELETENotFound

NewDeleteVariableByNameUsingDELETENotFound creates a DeleteVariableByNameUsingDELETENotFound with default headers values

func (*DeleteVariableByNameUsingDELETENotFound) Error added in v0.4.0

func (*DeleteVariableByNameUsingDELETENotFound) GetPayload added in v0.4.0

func (*DeleteVariableByNameUsingDELETENotFound) IsClientError added in v0.5.0

func (o *DeleteVariableByNameUsingDELETENotFound) IsClientError() bool

IsClientError returns true when this delete variable by name using d e l e t e not found response has a 4xx status code

func (*DeleteVariableByNameUsingDELETENotFound) IsCode added in v0.5.0

IsCode returns true when this delete variable by name using d e l e t e not found response a status code equal to that given

func (*DeleteVariableByNameUsingDELETENotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by name using d e l e t e not found response has a 3xx status code

func (*DeleteVariableByNameUsingDELETENotFound) IsServerError added in v0.5.0

func (o *DeleteVariableByNameUsingDELETENotFound) IsServerError() bool

IsServerError returns true when this delete variable by name using d e l e t e not found response has a 5xx status code

func (*DeleteVariableByNameUsingDELETENotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by name using d e l e t e not found response has a 2xx status code

func (*DeleteVariableByNameUsingDELETENotFound) String added in v0.5.0

type DeleteVariableByNameUsingDELETEOK added in v0.4.0

type DeleteVariableByNameUsingDELETEOK struct {
	Payload *models.Variable
}

DeleteVariableByNameUsingDELETEOK describes a response with status code 200, with default header values.

'Success' with deleted Variable

func NewDeleteVariableByNameUsingDELETEOK added in v0.4.0

func NewDeleteVariableByNameUsingDELETEOK() *DeleteVariableByNameUsingDELETEOK

NewDeleteVariableByNameUsingDELETEOK creates a DeleteVariableByNameUsingDELETEOK with default headers values

func (*DeleteVariableByNameUsingDELETEOK) Error added in v0.4.0

func (*DeleteVariableByNameUsingDELETEOK) GetPayload added in v0.4.0

func (*DeleteVariableByNameUsingDELETEOK) IsClientError added in v0.5.0

func (o *DeleteVariableByNameUsingDELETEOK) IsClientError() bool

IsClientError returns true when this delete variable by name using d e l e t e o k response has a 4xx status code

func (*DeleteVariableByNameUsingDELETEOK) IsCode added in v0.5.0

func (o *DeleteVariableByNameUsingDELETEOK) IsCode(code int) bool

IsCode returns true when this delete variable by name using d e l e t e o k response a status code equal to that given

func (*DeleteVariableByNameUsingDELETEOK) IsRedirect added in v0.5.0

func (o *DeleteVariableByNameUsingDELETEOK) IsRedirect() bool

IsRedirect returns true when this delete variable by name using d e l e t e o k response has a 3xx status code

func (*DeleteVariableByNameUsingDELETEOK) IsServerError added in v0.5.0

func (o *DeleteVariableByNameUsingDELETEOK) IsServerError() bool

IsServerError returns true when this delete variable by name using d e l e t e o k response has a 5xx status code

func (*DeleteVariableByNameUsingDELETEOK) IsSuccess added in v0.5.0

func (o *DeleteVariableByNameUsingDELETEOK) IsSuccess() bool

IsSuccess returns true when this delete variable by name using d e l e t e o k response has a 2xx status code

func (*DeleteVariableByNameUsingDELETEOK) String added in v0.5.0

type DeleteVariableByNameUsingDELETEParams added in v0.4.0

type DeleteVariableByNameUsingDELETEParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Name.

	   The name of the Variable
	*/
	Name string

	/* Project.

	   The project the Variable belongs to
	*/
	Project string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVariableByNameUsingDELETEParams contains all the parameters to send to the API endpoint

for the delete variable by name using d e l e t e operation.

Typically these are written to a http.Request.

func NewDeleteVariableByNameUsingDELETEParams added in v0.4.0

func NewDeleteVariableByNameUsingDELETEParams() *DeleteVariableByNameUsingDELETEParams

NewDeleteVariableByNameUsingDELETEParams creates a new DeleteVariableByNameUsingDELETEParams 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 NewDeleteVariableByNameUsingDELETEParamsWithContext added in v0.4.0

func NewDeleteVariableByNameUsingDELETEParamsWithContext(ctx context.Context) *DeleteVariableByNameUsingDELETEParams

NewDeleteVariableByNameUsingDELETEParamsWithContext creates a new DeleteVariableByNameUsingDELETEParams object with the ability to set a context for a request.

func NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient added in v0.4.0

func NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteVariableByNameUsingDELETEParams

NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient creates a new DeleteVariableByNameUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVariableByNameUsingDELETEParamsWithTimeout added in v0.4.0

func NewDeleteVariableByNameUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteVariableByNameUsingDELETEParams

NewDeleteVariableByNameUsingDELETEParamsWithTimeout creates a new DeleteVariableByNameUsingDELETEParams object with the ability to set a timeout on a request.

func (*DeleteVariableByNameUsingDELETEParams) SetAPIVersion added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) SetAuthorization added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) SetContext added in v0.4.0

SetContext adds the context to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) SetDefaults added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the delete variable by name using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVariableByNameUsingDELETEParams) SetHTTPClient added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) SetName added in v0.4.0

SetName adds the name to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) SetProject added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEParams) SetProject(project string)

SetProject adds the project to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) SetTimeout added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithAuthorization added in v0.4.0

WithAuthorization adds the authorization to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithContext added in v0.4.0

WithContext adds the context to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the delete variable by name using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVariableByNameUsingDELETEParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithName added in v0.4.0

WithName adds the name to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithProject added in v0.4.0

WithProject adds the project to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the delete variable by name using d e l e t e params

func (*DeleteVariableByNameUsingDELETEParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DeleteVariableByNameUsingDELETEReader added in v0.4.0

type DeleteVariableByNameUsingDELETEReader struct {
	// contains filtered or unexported fields
}

DeleteVariableByNameUsingDELETEReader is a Reader for the DeleteVariableByNameUsingDELETE structure.

func (*DeleteVariableByNameUsingDELETEReader) ReadResponse added in v0.4.0

func (o *DeleteVariableByNameUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVariableByNameUsingDELETEUnauthorized added in v0.4.0

type DeleteVariableByNameUsingDELETEUnauthorized struct {
}

DeleteVariableByNameUsingDELETEUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewDeleteVariableByNameUsingDELETEUnauthorized added in v0.4.0

func NewDeleteVariableByNameUsingDELETEUnauthorized() *DeleteVariableByNameUsingDELETEUnauthorized

NewDeleteVariableByNameUsingDELETEUnauthorized creates a DeleteVariableByNameUsingDELETEUnauthorized with default headers values

func (*DeleteVariableByNameUsingDELETEUnauthorized) Error added in v0.4.0

func (*DeleteVariableByNameUsingDELETEUnauthorized) IsClientError added in v0.5.0

IsClientError returns true when this delete variable by name using d e l e t e unauthorized response has a 4xx status code

func (*DeleteVariableByNameUsingDELETEUnauthorized) IsCode added in v0.5.0

IsCode returns true when this delete variable by name using d e l e t e unauthorized response a status code equal to that given

func (*DeleteVariableByNameUsingDELETEUnauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this delete variable by name using d e l e t e unauthorized response has a 3xx status code

func (*DeleteVariableByNameUsingDELETEUnauthorized) IsServerError added in v0.5.0

IsServerError returns true when this delete variable by name using d e l e t e unauthorized response has a 5xx status code

func (*DeleteVariableByNameUsingDELETEUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this delete variable by name using d e l e t e unauthorized response has a 2xx status code

func (*DeleteVariableByNameUsingDELETEUnauthorized) String added in v0.5.0

type GetAllVariablesUsingGETForbidden added in v0.4.0

type GetAllVariablesUsingGETForbidden struct {
}

GetAllVariablesUsingGETForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAllVariablesUsingGETForbidden added in v0.4.0

func NewGetAllVariablesUsingGETForbidden() *GetAllVariablesUsingGETForbidden

NewGetAllVariablesUsingGETForbidden creates a GetAllVariablesUsingGETForbidden with default headers values

func (*GetAllVariablesUsingGETForbidden) Error added in v0.4.0

func (*GetAllVariablesUsingGETForbidden) IsClientError added in v0.5.0

func (o *GetAllVariablesUsingGETForbidden) IsClientError() bool

IsClientError returns true when this get all variables using g e t forbidden response has a 4xx status code

func (*GetAllVariablesUsingGETForbidden) IsCode added in v0.5.0

func (o *GetAllVariablesUsingGETForbidden) IsCode(code int) bool

IsCode returns true when this get all variables using g e t forbidden response a status code equal to that given

func (*GetAllVariablesUsingGETForbidden) IsRedirect added in v0.5.0

func (o *GetAllVariablesUsingGETForbidden) IsRedirect() bool

IsRedirect returns true when this get all variables using g e t forbidden response has a 3xx status code

func (*GetAllVariablesUsingGETForbidden) IsServerError added in v0.5.0

func (o *GetAllVariablesUsingGETForbidden) IsServerError() bool

IsServerError returns true when this get all variables using g e t forbidden response has a 5xx status code

func (*GetAllVariablesUsingGETForbidden) IsSuccess added in v0.5.0

func (o *GetAllVariablesUsingGETForbidden) IsSuccess() bool

IsSuccess returns true when this get all variables using g e t forbidden response has a 2xx status code

func (*GetAllVariablesUsingGETForbidden) String added in v0.5.0

type GetAllVariablesUsingGETInternalServerError added in v0.4.0

type GetAllVariablesUsingGETInternalServerError struct {
}

GetAllVariablesUsingGETInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetAllVariablesUsingGETInternalServerError added in v0.4.0

func NewGetAllVariablesUsingGETInternalServerError() *GetAllVariablesUsingGETInternalServerError

NewGetAllVariablesUsingGETInternalServerError creates a GetAllVariablesUsingGETInternalServerError with default headers values

func (*GetAllVariablesUsingGETInternalServerError) Error added in v0.4.0

func (*GetAllVariablesUsingGETInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this get all variables using g e t internal server error response has a 4xx status code

func (*GetAllVariablesUsingGETInternalServerError) IsCode added in v0.5.0

IsCode returns true when this get all variables using g e t internal server error response a status code equal to that given

func (*GetAllVariablesUsingGETInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this get all variables using g e t internal server error response has a 3xx status code

func (*GetAllVariablesUsingGETInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this get all variables using g e t internal server error response has a 5xx status code

func (*GetAllVariablesUsingGETInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this get all variables using g e t internal server error response has a 2xx status code

func (*GetAllVariablesUsingGETInternalServerError) String added in v0.5.0

type GetAllVariablesUsingGETNotFound added in v0.4.0

type GetAllVariablesUsingGETNotFound struct {
	Payload *models.Error
}

GetAllVariablesUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAllVariablesUsingGETNotFound added in v0.4.0

func NewGetAllVariablesUsingGETNotFound() *GetAllVariablesUsingGETNotFound

NewGetAllVariablesUsingGETNotFound creates a GetAllVariablesUsingGETNotFound with default headers values

func (*GetAllVariablesUsingGETNotFound) Error added in v0.4.0

func (*GetAllVariablesUsingGETNotFound) GetPayload added in v0.4.0

func (o *GetAllVariablesUsingGETNotFound) GetPayload() *models.Error

func (*GetAllVariablesUsingGETNotFound) IsClientError added in v0.5.0

func (o *GetAllVariablesUsingGETNotFound) IsClientError() bool

IsClientError returns true when this get all variables using g e t not found response has a 4xx status code

func (*GetAllVariablesUsingGETNotFound) IsCode added in v0.5.0

func (o *GetAllVariablesUsingGETNotFound) IsCode(code int) bool

IsCode returns true when this get all variables using g e t not found response a status code equal to that given

func (*GetAllVariablesUsingGETNotFound) IsRedirect added in v0.5.0

func (o *GetAllVariablesUsingGETNotFound) IsRedirect() bool

IsRedirect returns true when this get all variables using g e t not found response has a 3xx status code

func (*GetAllVariablesUsingGETNotFound) IsServerError added in v0.5.0

func (o *GetAllVariablesUsingGETNotFound) IsServerError() bool

IsServerError returns true when this get all variables using g e t not found response has a 5xx status code

func (*GetAllVariablesUsingGETNotFound) IsSuccess added in v0.5.0

func (o *GetAllVariablesUsingGETNotFound) IsSuccess() bool

IsSuccess returns true when this get all variables using g e t not found response has a 2xx status code

func (*GetAllVariablesUsingGETNotFound) String added in v0.5.0

type GetAllVariablesUsingGETOK added in v0.4.0

type GetAllVariablesUsingGETOK struct {
	Payload models.Variables
}

GetAllVariablesUsingGETOK describes a response with status code 200, with default header values.

'Success' with Variables on pages

func NewGetAllVariablesUsingGETOK added in v0.4.0

func NewGetAllVariablesUsingGETOK() *GetAllVariablesUsingGETOK

NewGetAllVariablesUsingGETOK creates a GetAllVariablesUsingGETOK with default headers values

func (*GetAllVariablesUsingGETOK) Error added in v0.4.0

func (o *GetAllVariablesUsingGETOK) Error() string

func (*GetAllVariablesUsingGETOK) GetPayload added in v0.4.0

func (o *GetAllVariablesUsingGETOK) GetPayload() models.Variables

func (*GetAllVariablesUsingGETOK) IsClientError added in v0.5.0

func (o *GetAllVariablesUsingGETOK) IsClientError() bool

IsClientError returns true when this get all variables using g e t o k response has a 4xx status code

func (*GetAllVariablesUsingGETOK) IsCode added in v0.5.0

func (o *GetAllVariablesUsingGETOK) IsCode(code int) bool

IsCode returns true when this get all variables using g e t o k response a status code equal to that given

func (*GetAllVariablesUsingGETOK) IsRedirect added in v0.5.0

func (o *GetAllVariablesUsingGETOK) IsRedirect() bool

IsRedirect returns true when this get all variables using g e t o k response has a 3xx status code

func (*GetAllVariablesUsingGETOK) IsServerError added in v0.5.0

func (o *GetAllVariablesUsingGETOK) IsServerError() bool

IsServerError returns true when this get all variables using g e t o k response has a 5xx status code

func (*GetAllVariablesUsingGETOK) IsSuccess added in v0.5.0

func (o *GetAllVariablesUsingGETOK) IsSuccess() bool

IsSuccess returns true when this get all variables using g e t o k response has a 2xx status code

func (*GetAllVariablesUsingGETOK) String added in v0.5.0

func (o *GetAllVariablesUsingGETOK) String() string

type GetAllVariablesUsingGETParams added in v0.4.0

type GetAllVariablesUsingGETParams struct {

	/* DollarFilter.

	   To list Variables with OData like filter
	*/
	DollarFilter *string

	/* DollarOrderby.

	   Order by attribute

	   Default: "name desc"
	*/
	DollarOrderby *string

	/* DollarSkip.

	   To skip 'n' Variables for listing

	   Default: "0"
	*/
	DollarSkip *string

	/* DollarTop.

	   To list top 'n' Variables for listing

	   Default: "25"
	*/
	DollarTop *string

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Page.

	   To select 'n'th page for listing

	   Default: "0"
	*/
	Page *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAllVariablesUsingGETParams contains all the parameters to send to the API endpoint

for the get all variables using g e t operation.

Typically these are written to a http.Request.

func NewGetAllVariablesUsingGETParams added in v0.4.0

func NewGetAllVariablesUsingGETParams() *GetAllVariablesUsingGETParams

NewGetAllVariablesUsingGETParams creates a new GetAllVariablesUsingGETParams 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 NewGetAllVariablesUsingGETParamsWithContext added in v0.4.0

func NewGetAllVariablesUsingGETParamsWithContext(ctx context.Context) *GetAllVariablesUsingGETParams

NewGetAllVariablesUsingGETParamsWithContext creates a new GetAllVariablesUsingGETParams object with the ability to set a context for a request.

func NewGetAllVariablesUsingGETParamsWithHTTPClient added in v0.4.0

func NewGetAllVariablesUsingGETParamsWithHTTPClient(client *http.Client) *GetAllVariablesUsingGETParams

NewGetAllVariablesUsingGETParamsWithHTTPClient creates a new GetAllVariablesUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllVariablesUsingGETParamsWithTimeout added in v0.4.0

func NewGetAllVariablesUsingGETParamsWithTimeout(timeout time.Duration) *GetAllVariablesUsingGETParams

NewGetAllVariablesUsingGETParamsWithTimeout creates a new GetAllVariablesUsingGETParams object with the ability to set a timeout on a request.

func (*GetAllVariablesUsingGETParams) SetAPIVersion added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetAuthorization added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetContext added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetDefaults added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get all variables using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetAllVariablesUsingGETParams) SetDollarFilter added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetDollarOrderby added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetDollarSkip added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetDollarTop added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetDollarTop(dollarTop *string)

SetDollarTop adds the dollarTop to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetHTTPClient added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetPage added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetPage(page *string)

SetPage adds the page to the get all variables using get params

func (*GetAllVariablesUsingGETParams) SetTimeout added in v0.4.0

func (o *GetAllVariablesUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithAuthorization added in v0.4.0

func (o *GetAllVariablesUsingGETParams) WithAuthorization(authorization string) *GetAllVariablesUsingGETParams

WithAuthorization adds the authorization to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithContext added in v0.4.0

WithContext adds the context to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get all variables using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetAllVariablesUsingGETParams) WithDollarFilter added in v0.4.0

func (o *GetAllVariablesUsingGETParams) WithDollarFilter(dollarFilter *string) *GetAllVariablesUsingGETParams

WithDollarFilter adds the dollarFilter to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithDollarOrderby added in v0.4.0

func (o *GetAllVariablesUsingGETParams) WithDollarOrderby(dollarOrderby *string) *GetAllVariablesUsingGETParams

WithDollarOrderby adds the dollarOrderby to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithDollarSkip added in v0.4.0

func (o *GetAllVariablesUsingGETParams) WithDollarSkip(dollarSkip *string) *GetAllVariablesUsingGETParams

WithDollarSkip adds the dollarSkip to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithPage added in v0.4.0

WithPage adds the page to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get all variables using get params

func (*GetAllVariablesUsingGETParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetAllVariablesUsingGETReader added in v0.4.0

type GetAllVariablesUsingGETReader struct {
	// contains filtered or unexported fields
}

GetAllVariablesUsingGETReader is a Reader for the GetAllVariablesUsingGET structure.

func (*GetAllVariablesUsingGETReader) ReadResponse added in v0.4.0

func (o *GetAllVariablesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAllVariablesUsingGETUnauthorized added in v0.4.0

type GetAllVariablesUsingGETUnauthorized struct {
}

GetAllVariablesUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetAllVariablesUsingGETUnauthorized added in v0.4.0

func NewGetAllVariablesUsingGETUnauthorized() *GetAllVariablesUsingGETUnauthorized

NewGetAllVariablesUsingGETUnauthorized creates a GetAllVariablesUsingGETUnauthorized with default headers values

func (*GetAllVariablesUsingGETUnauthorized) Error added in v0.4.0

func (*GetAllVariablesUsingGETUnauthorized) IsClientError added in v0.5.0

func (o *GetAllVariablesUsingGETUnauthorized) IsClientError() bool

IsClientError returns true when this get all variables using g e t unauthorized response has a 4xx status code

func (*GetAllVariablesUsingGETUnauthorized) IsCode added in v0.5.0

IsCode returns true when this get all variables using g e t unauthorized response a status code equal to that given

func (*GetAllVariablesUsingGETUnauthorized) IsRedirect added in v0.5.0

func (o *GetAllVariablesUsingGETUnauthorized) IsRedirect() bool

IsRedirect returns true when this get all variables using g e t unauthorized response has a 3xx status code

func (*GetAllVariablesUsingGETUnauthorized) IsServerError added in v0.5.0

func (o *GetAllVariablesUsingGETUnauthorized) IsServerError() bool

IsServerError returns true when this get all variables using g e t unauthorized response has a 5xx status code

func (*GetAllVariablesUsingGETUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get all variables using g e t unauthorized response has a 2xx status code

func (*GetAllVariablesUsingGETUnauthorized) String added in v0.5.0

type GetVariableByIDUsingGETForbidden added in v0.4.0

type GetVariableByIDUsingGETForbidden struct {
}

GetVariableByIDUsingGETForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVariableByIDUsingGETForbidden added in v0.4.0

func NewGetVariableByIDUsingGETForbidden() *GetVariableByIDUsingGETForbidden

NewGetVariableByIDUsingGETForbidden creates a GetVariableByIDUsingGETForbidden with default headers values

func (*GetVariableByIDUsingGETForbidden) Error added in v0.4.0

func (*GetVariableByIDUsingGETForbidden) IsClientError added in v0.5.0

func (o *GetVariableByIDUsingGETForbidden) IsClientError() bool

IsClientError returns true when this get variable by Id using g e t forbidden response has a 4xx status code

func (*GetVariableByIDUsingGETForbidden) IsCode added in v0.5.0

func (o *GetVariableByIDUsingGETForbidden) IsCode(code int) bool

IsCode returns true when this get variable by Id using g e t forbidden response a status code equal to that given

func (*GetVariableByIDUsingGETForbidden) IsRedirect added in v0.5.0

func (o *GetVariableByIDUsingGETForbidden) IsRedirect() bool

IsRedirect returns true when this get variable by Id using g e t forbidden response has a 3xx status code

func (*GetVariableByIDUsingGETForbidden) IsServerError added in v0.5.0

func (o *GetVariableByIDUsingGETForbidden) IsServerError() bool

IsServerError returns true when this get variable by Id using g e t forbidden response has a 5xx status code

func (*GetVariableByIDUsingGETForbidden) IsSuccess added in v0.5.0

func (o *GetVariableByIDUsingGETForbidden) IsSuccess() bool

IsSuccess returns true when this get variable by Id using g e t forbidden response has a 2xx status code

func (*GetVariableByIDUsingGETForbidden) String added in v0.5.0

type GetVariableByIDUsingGETInternalServerError added in v0.4.0

type GetVariableByIDUsingGETInternalServerError struct {
}

GetVariableByIDUsingGETInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetVariableByIDUsingGETInternalServerError added in v0.4.0

func NewGetVariableByIDUsingGETInternalServerError() *GetVariableByIDUsingGETInternalServerError

NewGetVariableByIDUsingGETInternalServerError creates a GetVariableByIDUsingGETInternalServerError with default headers values

func (*GetVariableByIDUsingGETInternalServerError) Error added in v0.4.0

func (*GetVariableByIDUsingGETInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this get variable by Id using g e t internal server error response has a 4xx status code

func (*GetVariableByIDUsingGETInternalServerError) IsCode added in v0.5.0

IsCode returns true when this get variable by Id using g e t internal server error response a status code equal to that given

func (*GetVariableByIDUsingGETInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this get variable by Id using g e t internal server error response has a 3xx status code

func (*GetVariableByIDUsingGETInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this get variable by Id using g e t internal server error response has a 5xx status code

func (*GetVariableByIDUsingGETInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this get variable by Id using g e t internal server error response has a 2xx status code

func (*GetVariableByIDUsingGETInternalServerError) String added in v0.5.0

type GetVariableByIDUsingGETNotFound added in v0.4.0

type GetVariableByIDUsingGETNotFound struct {
	Payload *models.Error
}

GetVariableByIDUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetVariableByIDUsingGETNotFound added in v0.4.0

func NewGetVariableByIDUsingGETNotFound() *GetVariableByIDUsingGETNotFound

NewGetVariableByIDUsingGETNotFound creates a GetVariableByIDUsingGETNotFound with default headers values

func (*GetVariableByIDUsingGETNotFound) Error added in v0.4.0

func (*GetVariableByIDUsingGETNotFound) GetPayload added in v0.4.0

func (o *GetVariableByIDUsingGETNotFound) GetPayload() *models.Error

func (*GetVariableByIDUsingGETNotFound) IsClientError added in v0.5.0

func (o *GetVariableByIDUsingGETNotFound) IsClientError() bool

IsClientError returns true when this get variable by Id using g e t not found response has a 4xx status code

func (*GetVariableByIDUsingGETNotFound) IsCode added in v0.5.0

func (o *GetVariableByIDUsingGETNotFound) IsCode(code int) bool

IsCode returns true when this get variable by Id using g e t not found response a status code equal to that given

func (*GetVariableByIDUsingGETNotFound) IsRedirect added in v0.5.0

func (o *GetVariableByIDUsingGETNotFound) IsRedirect() bool

IsRedirect returns true when this get variable by Id using g e t not found response has a 3xx status code

func (*GetVariableByIDUsingGETNotFound) IsServerError added in v0.5.0

func (o *GetVariableByIDUsingGETNotFound) IsServerError() bool

IsServerError returns true when this get variable by Id using g e t not found response has a 5xx status code

func (*GetVariableByIDUsingGETNotFound) IsSuccess added in v0.5.0

func (o *GetVariableByIDUsingGETNotFound) IsSuccess() bool

IsSuccess returns true when this get variable by Id using g e t not found response has a 2xx status code

func (*GetVariableByIDUsingGETNotFound) String added in v0.5.0

type GetVariableByIDUsingGETOK added in v0.4.0

type GetVariableByIDUsingGETOK struct {
	Payload *models.Variable
}

GetVariableByIDUsingGETOK describes a response with status code 200, with default header values.

'Success' with the requested Variable

func NewGetVariableByIDUsingGETOK added in v0.4.0

func NewGetVariableByIDUsingGETOK() *GetVariableByIDUsingGETOK

NewGetVariableByIDUsingGETOK creates a GetVariableByIDUsingGETOK with default headers values

func (*GetVariableByIDUsingGETOK) Error added in v0.4.0

func (o *GetVariableByIDUsingGETOK) Error() string

func (*GetVariableByIDUsingGETOK) GetPayload added in v0.4.0

func (o *GetVariableByIDUsingGETOK) GetPayload() *models.Variable

func (*GetVariableByIDUsingGETOK) IsClientError added in v0.5.0

func (o *GetVariableByIDUsingGETOK) IsClientError() bool

IsClientError returns true when this get variable by Id using g e t o k response has a 4xx status code

func (*GetVariableByIDUsingGETOK) IsCode added in v0.5.0

func (o *GetVariableByIDUsingGETOK) IsCode(code int) bool

IsCode returns true when this get variable by Id using g e t o k response a status code equal to that given

func (*GetVariableByIDUsingGETOK) IsRedirect added in v0.5.0

func (o *GetVariableByIDUsingGETOK) IsRedirect() bool

IsRedirect returns true when this get variable by Id using g e t o k response has a 3xx status code

func (*GetVariableByIDUsingGETOK) IsServerError added in v0.5.0

func (o *GetVariableByIDUsingGETOK) IsServerError() bool

IsServerError returns true when this get variable by Id using g e t o k response has a 5xx status code

func (*GetVariableByIDUsingGETOK) IsSuccess added in v0.5.0

func (o *GetVariableByIDUsingGETOK) IsSuccess() bool

IsSuccess returns true when this get variable by Id using g e t o k response has a 2xx status code

func (*GetVariableByIDUsingGETOK) String added in v0.5.0

func (o *GetVariableByIDUsingGETOK) String() string

type GetVariableByIDUsingGETParams added in v0.4.0

type GetVariableByIDUsingGETParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the Variable
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVariableByIDUsingGETParams contains all the parameters to send to the API endpoint

for the get variable by Id using g e t operation.

Typically these are written to a http.Request.

func NewGetVariableByIDUsingGETParams added in v0.4.0

func NewGetVariableByIDUsingGETParams() *GetVariableByIDUsingGETParams

NewGetVariableByIDUsingGETParams creates a new GetVariableByIDUsingGETParams 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 NewGetVariableByIDUsingGETParamsWithContext added in v0.4.0

func NewGetVariableByIDUsingGETParamsWithContext(ctx context.Context) *GetVariableByIDUsingGETParams

NewGetVariableByIDUsingGETParamsWithContext creates a new GetVariableByIDUsingGETParams object with the ability to set a context for a request.

func NewGetVariableByIDUsingGETParamsWithHTTPClient added in v0.4.0

func NewGetVariableByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetVariableByIDUsingGETParams

NewGetVariableByIDUsingGETParamsWithHTTPClient creates a new GetVariableByIDUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetVariableByIDUsingGETParamsWithTimeout added in v0.4.0

func NewGetVariableByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetVariableByIDUsingGETParams

NewGetVariableByIDUsingGETParamsWithTimeout creates a new GetVariableByIDUsingGETParams object with the ability to set a timeout on a request.

func (*GetVariableByIDUsingGETParams) SetAPIVersion added in v0.4.0

func (o *GetVariableByIDUsingGETParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) SetAuthorization added in v0.4.0

func (o *GetVariableByIDUsingGETParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) SetContext added in v0.4.0

func (o *GetVariableByIDUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) SetDefaults added in v0.4.0

func (o *GetVariableByIDUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get variable by Id using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVariableByIDUsingGETParams) SetHTTPClient added in v0.4.0

func (o *GetVariableByIDUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) SetID added in v0.4.0

SetID adds the id to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) SetTimeout added in v0.4.0

func (o *GetVariableByIDUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WithAuthorization added in v0.4.0

func (o *GetVariableByIDUsingGETParams) WithAuthorization(authorization string) *GetVariableByIDUsingGETParams

WithAuthorization adds the authorization to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WithContext added in v0.4.0

WithContext adds the context to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get variable by Id using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVariableByIDUsingGETParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WithID added in v0.4.0

WithID adds the id to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get variable by Id using get params

func (*GetVariableByIDUsingGETParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetVariableByIDUsingGETReader added in v0.4.0

type GetVariableByIDUsingGETReader struct {
	// contains filtered or unexported fields
}

GetVariableByIDUsingGETReader is a Reader for the GetVariableByIDUsingGET structure.

func (*GetVariableByIDUsingGETReader) ReadResponse added in v0.4.0

func (o *GetVariableByIDUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVariableByIDUsingGETUnauthorized added in v0.4.0

type GetVariableByIDUsingGETUnauthorized struct {
}

GetVariableByIDUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetVariableByIDUsingGETUnauthorized added in v0.4.0

func NewGetVariableByIDUsingGETUnauthorized() *GetVariableByIDUsingGETUnauthorized

NewGetVariableByIDUsingGETUnauthorized creates a GetVariableByIDUsingGETUnauthorized with default headers values

func (*GetVariableByIDUsingGETUnauthorized) Error added in v0.4.0

func (*GetVariableByIDUsingGETUnauthorized) IsClientError added in v0.5.0

func (o *GetVariableByIDUsingGETUnauthorized) IsClientError() bool

IsClientError returns true when this get variable by Id using g e t unauthorized response has a 4xx status code

func (*GetVariableByIDUsingGETUnauthorized) IsCode added in v0.5.0

IsCode returns true when this get variable by Id using g e t unauthorized response a status code equal to that given

func (*GetVariableByIDUsingGETUnauthorized) IsRedirect added in v0.5.0

func (o *GetVariableByIDUsingGETUnauthorized) IsRedirect() bool

IsRedirect returns true when this get variable by Id using g e t unauthorized response has a 3xx status code

func (*GetVariableByIDUsingGETUnauthorized) IsServerError added in v0.5.0

func (o *GetVariableByIDUsingGETUnauthorized) IsServerError() bool

IsServerError returns true when this get variable by Id using g e t unauthorized response has a 5xx status code

func (*GetVariableByIDUsingGETUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get variable by Id using g e t unauthorized response has a 2xx status code

func (*GetVariableByIDUsingGETUnauthorized) String added in v0.5.0

type GetVariableByNameUsingGETForbidden added in v0.4.0

type GetVariableByNameUsingGETForbidden struct {
}

GetVariableByNameUsingGETForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVariableByNameUsingGETForbidden added in v0.4.0

func NewGetVariableByNameUsingGETForbidden() *GetVariableByNameUsingGETForbidden

NewGetVariableByNameUsingGETForbidden creates a GetVariableByNameUsingGETForbidden with default headers values

func (*GetVariableByNameUsingGETForbidden) Error added in v0.4.0

func (*GetVariableByNameUsingGETForbidden) IsClientError added in v0.5.0

func (o *GetVariableByNameUsingGETForbidden) IsClientError() bool

IsClientError returns true when this get variable by name using g e t forbidden response has a 4xx status code

func (*GetVariableByNameUsingGETForbidden) IsCode added in v0.5.0

IsCode returns true when this get variable by name using g e t forbidden response a status code equal to that given

func (*GetVariableByNameUsingGETForbidden) IsRedirect added in v0.5.0

func (o *GetVariableByNameUsingGETForbidden) IsRedirect() bool

IsRedirect returns true when this get variable by name using g e t forbidden response has a 3xx status code

func (*GetVariableByNameUsingGETForbidden) IsServerError added in v0.5.0

func (o *GetVariableByNameUsingGETForbidden) IsServerError() bool

IsServerError returns true when this get variable by name using g e t forbidden response has a 5xx status code

func (*GetVariableByNameUsingGETForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this get variable by name using g e t forbidden response has a 2xx status code

func (*GetVariableByNameUsingGETForbidden) String added in v0.5.0

type GetVariableByNameUsingGETInternalServerError added in v0.4.0

type GetVariableByNameUsingGETInternalServerError struct {
}

GetVariableByNameUsingGETInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetVariableByNameUsingGETInternalServerError added in v0.4.0

func NewGetVariableByNameUsingGETInternalServerError() *GetVariableByNameUsingGETInternalServerError

NewGetVariableByNameUsingGETInternalServerError creates a GetVariableByNameUsingGETInternalServerError with default headers values

func (*GetVariableByNameUsingGETInternalServerError) Error added in v0.4.0

func (*GetVariableByNameUsingGETInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this get variable by name using g e t internal server error response has a 4xx status code

func (*GetVariableByNameUsingGETInternalServerError) IsCode added in v0.5.0

IsCode returns true when this get variable by name using g e t internal server error response a status code equal to that given

func (*GetVariableByNameUsingGETInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this get variable by name using g e t internal server error response has a 3xx status code

func (*GetVariableByNameUsingGETInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this get variable by name using g e t internal server error response has a 5xx status code

func (*GetVariableByNameUsingGETInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this get variable by name using g e t internal server error response has a 2xx status code

func (*GetVariableByNameUsingGETInternalServerError) String added in v0.5.0

type GetVariableByNameUsingGETNotFound added in v0.4.0

type GetVariableByNameUsingGETNotFound struct {
	Payload *models.Error
}

GetVariableByNameUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetVariableByNameUsingGETNotFound added in v0.4.0

func NewGetVariableByNameUsingGETNotFound() *GetVariableByNameUsingGETNotFound

NewGetVariableByNameUsingGETNotFound creates a GetVariableByNameUsingGETNotFound with default headers values

func (*GetVariableByNameUsingGETNotFound) Error added in v0.4.0

func (*GetVariableByNameUsingGETNotFound) GetPayload added in v0.4.0

func (*GetVariableByNameUsingGETNotFound) IsClientError added in v0.5.0

func (o *GetVariableByNameUsingGETNotFound) IsClientError() bool

IsClientError returns true when this get variable by name using g e t not found response has a 4xx status code

func (*GetVariableByNameUsingGETNotFound) IsCode added in v0.5.0

func (o *GetVariableByNameUsingGETNotFound) IsCode(code int) bool

IsCode returns true when this get variable by name using g e t not found response a status code equal to that given

func (*GetVariableByNameUsingGETNotFound) IsRedirect added in v0.5.0

func (o *GetVariableByNameUsingGETNotFound) IsRedirect() bool

IsRedirect returns true when this get variable by name using g e t not found response has a 3xx status code

func (*GetVariableByNameUsingGETNotFound) IsServerError added in v0.5.0

func (o *GetVariableByNameUsingGETNotFound) IsServerError() bool

IsServerError returns true when this get variable by name using g e t not found response has a 5xx status code

func (*GetVariableByNameUsingGETNotFound) IsSuccess added in v0.5.0

func (o *GetVariableByNameUsingGETNotFound) IsSuccess() bool

IsSuccess returns true when this get variable by name using g e t not found response has a 2xx status code

func (*GetVariableByNameUsingGETNotFound) String added in v0.5.0

type GetVariableByNameUsingGETOK added in v0.4.0

type GetVariableByNameUsingGETOK struct {
	Payload *models.Variable
}

GetVariableByNameUsingGETOK describes a response with status code 200, with default header values.

'Success' with the requested Variable

func NewGetVariableByNameUsingGETOK added in v0.4.0

func NewGetVariableByNameUsingGETOK() *GetVariableByNameUsingGETOK

NewGetVariableByNameUsingGETOK creates a GetVariableByNameUsingGETOK with default headers values

func (*GetVariableByNameUsingGETOK) Error added in v0.4.0

func (*GetVariableByNameUsingGETOK) GetPayload added in v0.4.0

func (o *GetVariableByNameUsingGETOK) GetPayload() *models.Variable

func (*GetVariableByNameUsingGETOK) IsClientError added in v0.5.0

func (o *GetVariableByNameUsingGETOK) IsClientError() bool

IsClientError returns true when this get variable by name using g e t o k response has a 4xx status code

func (*GetVariableByNameUsingGETOK) IsCode added in v0.5.0

func (o *GetVariableByNameUsingGETOK) IsCode(code int) bool

IsCode returns true when this get variable by name using g e t o k response a status code equal to that given

func (*GetVariableByNameUsingGETOK) IsRedirect added in v0.5.0

func (o *GetVariableByNameUsingGETOK) IsRedirect() bool

IsRedirect returns true when this get variable by name using g e t o k response has a 3xx status code

func (*GetVariableByNameUsingGETOK) IsServerError added in v0.5.0

func (o *GetVariableByNameUsingGETOK) IsServerError() bool

IsServerError returns true when this get variable by name using g e t o k response has a 5xx status code

func (*GetVariableByNameUsingGETOK) IsSuccess added in v0.5.0

func (o *GetVariableByNameUsingGETOK) IsSuccess() bool

IsSuccess returns true when this get variable by name using g e t o k response has a 2xx status code

func (*GetVariableByNameUsingGETOK) String added in v0.5.0

func (o *GetVariableByNameUsingGETOK) String() string

type GetVariableByNameUsingGETParams added in v0.4.0

type GetVariableByNameUsingGETParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Name.

	   The name of the Variable
	*/
	Name string

	/* Project.

	   The project the Variable belongs to
	*/
	Project string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVariableByNameUsingGETParams contains all the parameters to send to the API endpoint

for the get variable by name using g e t operation.

Typically these are written to a http.Request.

func NewGetVariableByNameUsingGETParams added in v0.4.0

func NewGetVariableByNameUsingGETParams() *GetVariableByNameUsingGETParams

NewGetVariableByNameUsingGETParams creates a new GetVariableByNameUsingGETParams 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 NewGetVariableByNameUsingGETParamsWithContext added in v0.4.0

func NewGetVariableByNameUsingGETParamsWithContext(ctx context.Context) *GetVariableByNameUsingGETParams

NewGetVariableByNameUsingGETParamsWithContext creates a new GetVariableByNameUsingGETParams object with the ability to set a context for a request.

func NewGetVariableByNameUsingGETParamsWithHTTPClient added in v0.4.0

func NewGetVariableByNameUsingGETParamsWithHTTPClient(client *http.Client) *GetVariableByNameUsingGETParams

NewGetVariableByNameUsingGETParamsWithHTTPClient creates a new GetVariableByNameUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetVariableByNameUsingGETParamsWithTimeout added in v0.4.0

func NewGetVariableByNameUsingGETParamsWithTimeout(timeout time.Duration) *GetVariableByNameUsingGETParams

NewGetVariableByNameUsingGETParamsWithTimeout creates a new GetVariableByNameUsingGETParams object with the ability to set a timeout on a request.

func (*GetVariableByNameUsingGETParams) SetAPIVersion added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) SetAuthorization added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) SetContext added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) SetDefaults added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get variable by name using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVariableByNameUsingGETParams) SetHTTPClient added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) SetName added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetName(name string)

SetName adds the name to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) SetProject added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetProject(project string)

SetProject adds the project to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) SetTimeout added in v0.4.0

func (o *GetVariableByNameUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithAuthorization added in v0.4.0

func (o *GetVariableByNameUsingGETParams) WithAuthorization(authorization string) *GetVariableByNameUsingGETParams

WithAuthorization adds the authorization to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithContext added in v0.4.0

WithContext adds the context to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get variable by name using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVariableByNameUsingGETParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithName added in v0.4.0

WithName adds the name to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithProject added in v0.4.0

WithProject adds the project to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get variable by name using get params

func (*GetVariableByNameUsingGETParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetVariableByNameUsingGETReader added in v0.4.0

type GetVariableByNameUsingGETReader struct {
	// contains filtered or unexported fields
}

GetVariableByNameUsingGETReader is a Reader for the GetVariableByNameUsingGET structure.

func (*GetVariableByNameUsingGETReader) ReadResponse added in v0.4.0

func (o *GetVariableByNameUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVariableByNameUsingGETUnauthorized added in v0.4.0

type GetVariableByNameUsingGETUnauthorized struct {
}

GetVariableByNameUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetVariableByNameUsingGETUnauthorized added in v0.4.0

func NewGetVariableByNameUsingGETUnauthorized() *GetVariableByNameUsingGETUnauthorized

NewGetVariableByNameUsingGETUnauthorized creates a GetVariableByNameUsingGETUnauthorized with default headers values

func (*GetVariableByNameUsingGETUnauthorized) Error added in v0.4.0

func (*GetVariableByNameUsingGETUnauthorized) IsClientError added in v0.5.0

func (o *GetVariableByNameUsingGETUnauthorized) IsClientError() bool

IsClientError returns true when this get variable by name using g e t unauthorized response has a 4xx status code

func (*GetVariableByNameUsingGETUnauthorized) IsCode added in v0.5.0

IsCode returns true when this get variable by name using g e t unauthorized response a status code equal to that given

func (*GetVariableByNameUsingGETUnauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get variable by name using g e t unauthorized response has a 3xx status code

func (*GetVariableByNameUsingGETUnauthorized) IsServerError added in v0.5.0

func (o *GetVariableByNameUsingGETUnauthorized) IsServerError() bool

IsServerError returns true when this get variable by name using g e t unauthorized response has a 5xx status code

func (*GetVariableByNameUsingGETUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get variable by name using g e t unauthorized response has a 2xx status code

func (*GetVariableByNameUsingGETUnauthorized) String added in v0.5.0

type UpdateVariableByIDUsingPUTForbidden added in v0.4.0

type UpdateVariableByIDUsingPUTForbidden struct {
}

UpdateVariableByIDUsingPUTForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateVariableByIDUsingPUTForbidden added in v0.4.0

func NewUpdateVariableByIDUsingPUTForbidden() *UpdateVariableByIDUsingPUTForbidden

NewUpdateVariableByIDUsingPUTForbidden creates a UpdateVariableByIDUsingPUTForbidden with default headers values

func (*UpdateVariableByIDUsingPUTForbidden) Error added in v0.4.0

func (*UpdateVariableByIDUsingPUTForbidden) IsClientError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTForbidden) IsClientError() bool

IsClientError returns true when this update variable by Id using p u t forbidden response has a 4xx status code

func (*UpdateVariableByIDUsingPUTForbidden) IsCode added in v0.5.0

IsCode returns true when this update variable by Id using p u t forbidden response a status code equal to that given

func (*UpdateVariableByIDUsingPUTForbidden) IsRedirect added in v0.5.0

func (o *UpdateVariableByIDUsingPUTForbidden) IsRedirect() bool

IsRedirect returns true when this update variable by Id using p u t forbidden response has a 3xx status code

func (*UpdateVariableByIDUsingPUTForbidden) IsServerError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTForbidden) IsServerError() bool

IsServerError returns true when this update variable by Id using p u t forbidden response has a 5xx status code

func (*UpdateVariableByIDUsingPUTForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by Id using p u t forbidden response has a 2xx status code

func (*UpdateVariableByIDUsingPUTForbidden) String added in v0.5.0

type UpdateVariableByIDUsingPUTInternalServerError added in v0.4.0

type UpdateVariableByIDUsingPUTInternalServerError struct {
}

UpdateVariableByIDUsingPUTInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewUpdateVariableByIDUsingPUTInternalServerError added in v0.4.0

func NewUpdateVariableByIDUsingPUTInternalServerError() *UpdateVariableByIDUsingPUTInternalServerError

NewUpdateVariableByIDUsingPUTInternalServerError creates a UpdateVariableByIDUsingPUTInternalServerError with default headers values

func (*UpdateVariableByIDUsingPUTInternalServerError) Error added in v0.4.0

func (*UpdateVariableByIDUsingPUTInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this update variable by Id using p u t internal server error response has a 4xx status code

func (*UpdateVariableByIDUsingPUTInternalServerError) IsCode added in v0.5.0

IsCode returns true when this update variable by Id using p u t internal server error response a status code equal to that given

func (*UpdateVariableByIDUsingPUTInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this update variable by Id using p u t internal server error response has a 3xx status code

func (*UpdateVariableByIDUsingPUTInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this update variable by Id using p u t internal server error response has a 5xx status code

func (*UpdateVariableByIDUsingPUTInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by Id using p u t internal server error response has a 2xx status code

func (*UpdateVariableByIDUsingPUTInternalServerError) String added in v0.5.0

type UpdateVariableByIDUsingPUTNotFound added in v0.4.0

type UpdateVariableByIDUsingPUTNotFound struct {
	Payload *models.Error
}

UpdateVariableByIDUsingPUTNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateVariableByIDUsingPUTNotFound added in v0.4.0

func NewUpdateVariableByIDUsingPUTNotFound() *UpdateVariableByIDUsingPUTNotFound

NewUpdateVariableByIDUsingPUTNotFound creates a UpdateVariableByIDUsingPUTNotFound with default headers values

func (*UpdateVariableByIDUsingPUTNotFound) Error added in v0.4.0

func (*UpdateVariableByIDUsingPUTNotFound) GetPayload added in v0.4.0

func (*UpdateVariableByIDUsingPUTNotFound) IsClientError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTNotFound) IsClientError() bool

IsClientError returns true when this update variable by Id using p u t not found response has a 4xx status code

func (*UpdateVariableByIDUsingPUTNotFound) IsCode added in v0.5.0

IsCode returns true when this update variable by Id using p u t not found response a status code equal to that given

func (*UpdateVariableByIDUsingPUTNotFound) IsRedirect added in v0.5.0

func (o *UpdateVariableByIDUsingPUTNotFound) IsRedirect() bool

IsRedirect returns true when this update variable by Id using p u t not found response has a 3xx status code

func (*UpdateVariableByIDUsingPUTNotFound) IsServerError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTNotFound) IsServerError() bool

IsServerError returns true when this update variable by Id using p u t not found response has a 5xx status code

func (*UpdateVariableByIDUsingPUTNotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by Id using p u t not found response has a 2xx status code

func (*UpdateVariableByIDUsingPUTNotFound) String added in v0.5.0

type UpdateVariableByIDUsingPUTOK added in v0.4.0

type UpdateVariableByIDUsingPUTOK struct {
	Payload *models.Variable
}

UpdateVariableByIDUsingPUTOK describes a response with status code 200, with default header values.

'Success' with the updated Variable

func NewUpdateVariableByIDUsingPUTOK added in v0.4.0

func NewUpdateVariableByIDUsingPUTOK() *UpdateVariableByIDUsingPUTOK

NewUpdateVariableByIDUsingPUTOK creates a UpdateVariableByIDUsingPUTOK with default headers values

func (*UpdateVariableByIDUsingPUTOK) Error added in v0.4.0

func (*UpdateVariableByIDUsingPUTOK) GetPayload added in v0.4.0

func (o *UpdateVariableByIDUsingPUTOK) GetPayload() *models.Variable

func (*UpdateVariableByIDUsingPUTOK) IsClientError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTOK) IsClientError() bool

IsClientError returns true when this update variable by Id using p u t o k response has a 4xx status code

func (*UpdateVariableByIDUsingPUTOK) IsCode added in v0.5.0

func (o *UpdateVariableByIDUsingPUTOK) IsCode(code int) bool

IsCode returns true when this update variable by Id using p u t o k response a status code equal to that given

func (*UpdateVariableByIDUsingPUTOK) IsRedirect added in v0.5.0

func (o *UpdateVariableByIDUsingPUTOK) IsRedirect() bool

IsRedirect returns true when this update variable by Id using p u t o k response has a 3xx status code

func (*UpdateVariableByIDUsingPUTOK) IsServerError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTOK) IsServerError() bool

IsServerError returns true when this update variable by Id using p u t o k response has a 5xx status code

func (*UpdateVariableByIDUsingPUTOK) IsSuccess added in v0.5.0

func (o *UpdateVariableByIDUsingPUTOK) IsSuccess() bool

IsSuccess returns true when this update variable by Id using p u t o k response has a 2xx status code

func (*UpdateVariableByIDUsingPUTOK) String added in v0.5.0

type UpdateVariableByIDUsingPUTParams added in v0.4.0

type UpdateVariableByIDUsingPUTParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Body.

	   Variable specification
	*/
	Body models.VariableSpec

	/* ID.

	   The ID of the Variable
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVariableByIDUsingPUTParams contains all the parameters to send to the API endpoint

for the update variable by Id using p u t operation.

Typically these are written to a http.Request.

func NewUpdateVariableByIDUsingPUTParams added in v0.4.0

func NewUpdateVariableByIDUsingPUTParams() *UpdateVariableByIDUsingPUTParams

NewUpdateVariableByIDUsingPUTParams creates a new UpdateVariableByIDUsingPUTParams 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 NewUpdateVariableByIDUsingPUTParamsWithContext added in v0.4.0

func NewUpdateVariableByIDUsingPUTParamsWithContext(ctx context.Context) *UpdateVariableByIDUsingPUTParams

NewUpdateVariableByIDUsingPUTParamsWithContext creates a new UpdateVariableByIDUsingPUTParams object with the ability to set a context for a request.

func NewUpdateVariableByIDUsingPUTParamsWithHTTPClient added in v0.4.0

func NewUpdateVariableByIDUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateVariableByIDUsingPUTParams

NewUpdateVariableByIDUsingPUTParamsWithHTTPClient creates a new UpdateVariableByIDUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVariableByIDUsingPUTParamsWithTimeout added in v0.4.0

func NewUpdateVariableByIDUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateVariableByIDUsingPUTParams

NewUpdateVariableByIDUsingPUTParamsWithTimeout creates a new UpdateVariableByIDUsingPUTParams object with the ability to set a timeout on a request.

func (*UpdateVariableByIDUsingPUTParams) SetAPIVersion added in v0.4.0

func (o *UpdateVariableByIDUsingPUTParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) SetAuthorization added in v0.4.0

func (o *UpdateVariableByIDUsingPUTParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) SetBody added in v0.4.0

SetBody adds the body to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) SetContext added in v0.4.0

SetContext adds the context to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) SetDefaults added in v0.4.0

func (o *UpdateVariableByIDUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the update variable by Id using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVariableByIDUsingPUTParams) SetHTTPClient added in v0.4.0

func (o *UpdateVariableByIDUsingPUTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) SetID added in v0.4.0

SetID adds the id to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) SetTimeout added in v0.4.0

func (o *UpdateVariableByIDUsingPUTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithAuthorization added in v0.4.0

func (o *UpdateVariableByIDUsingPUTParams) WithAuthorization(authorization string) *UpdateVariableByIDUsingPUTParams

WithAuthorization adds the authorization to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithBody added in v0.4.0

WithBody adds the body to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithContext added in v0.4.0

WithContext adds the context to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the update variable by Id using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVariableByIDUsingPUTParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithID added in v0.4.0

WithID adds the id to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the update variable by Id using p u t params

func (*UpdateVariableByIDUsingPUTParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type UpdateVariableByIDUsingPUTReader added in v0.4.0

type UpdateVariableByIDUsingPUTReader struct {
	// contains filtered or unexported fields
}

UpdateVariableByIDUsingPUTReader is a Reader for the UpdateVariableByIDUsingPUT structure.

func (*UpdateVariableByIDUsingPUTReader) ReadResponse added in v0.4.0

func (o *UpdateVariableByIDUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVariableByIDUsingPUTUnauthorized added in v0.4.0

type UpdateVariableByIDUsingPUTUnauthorized struct {
}

UpdateVariableByIDUsingPUTUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewUpdateVariableByIDUsingPUTUnauthorized added in v0.4.0

func NewUpdateVariableByIDUsingPUTUnauthorized() *UpdateVariableByIDUsingPUTUnauthorized

NewUpdateVariableByIDUsingPUTUnauthorized creates a UpdateVariableByIDUsingPUTUnauthorized with default headers values

func (*UpdateVariableByIDUsingPUTUnauthorized) Error added in v0.4.0

func (*UpdateVariableByIDUsingPUTUnauthorized) IsClientError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTUnauthorized) IsClientError() bool

IsClientError returns true when this update variable by Id using p u t unauthorized response has a 4xx status code

func (*UpdateVariableByIDUsingPUTUnauthorized) IsCode added in v0.5.0

IsCode returns true when this update variable by Id using p u t unauthorized response a status code equal to that given

func (*UpdateVariableByIDUsingPUTUnauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this update variable by Id using p u t unauthorized response has a 3xx status code

func (*UpdateVariableByIDUsingPUTUnauthorized) IsServerError added in v0.5.0

func (o *UpdateVariableByIDUsingPUTUnauthorized) IsServerError() bool

IsServerError returns true when this update variable by Id using p u t unauthorized response has a 5xx status code

func (*UpdateVariableByIDUsingPUTUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by Id using p u t unauthorized response has a 2xx status code

func (*UpdateVariableByIDUsingPUTUnauthorized) String added in v0.5.0

type UpdateVariableByNameUsingPUTForbidden added in v0.4.0

type UpdateVariableByNameUsingPUTForbidden struct {
}

UpdateVariableByNameUsingPUTForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateVariableByNameUsingPUTForbidden added in v0.4.0

func NewUpdateVariableByNameUsingPUTForbidden() *UpdateVariableByNameUsingPUTForbidden

NewUpdateVariableByNameUsingPUTForbidden creates a UpdateVariableByNameUsingPUTForbidden with default headers values

func (*UpdateVariableByNameUsingPUTForbidden) Error added in v0.4.0

func (*UpdateVariableByNameUsingPUTForbidden) IsClientError added in v0.5.0

func (o *UpdateVariableByNameUsingPUTForbidden) IsClientError() bool

IsClientError returns true when this update variable by name using p u t forbidden response has a 4xx status code

func (*UpdateVariableByNameUsingPUTForbidden) IsCode added in v0.5.0

IsCode returns true when this update variable by name using p u t forbidden response a status code equal to that given

func (*UpdateVariableByNameUsingPUTForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this update variable by name using p u t forbidden response has a 3xx status code

func (*UpdateVariableByNameUsingPUTForbidden) IsServerError added in v0.5.0

func (o *UpdateVariableByNameUsingPUTForbidden) IsServerError() bool

IsServerError returns true when this update variable by name using p u t forbidden response has a 5xx status code

func (*UpdateVariableByNameUsingPUTForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by name using p u t forbidden response has a 2xx status code

func (*UpdateVariableByNameUsingPUTForbidden) String added in v0.5.0

type UpdateVariableByNameUsingPUTInternalServerError added in v0.4.0

type UpdateVariableByNameUsingPUTInternalServerError struct {
}

UpdateVariableByNameUsingPUTInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewUpdateVariableByNameUsingPUTInternalServerError added in v0.4.0

func NewUpdateVariableByNameUsingPUTInternalServerError() *UpdateVariableByNameUsingPUTInternalServerError

NewUpdateVariableByNameUsingPUTInternalServerError creates a UpdateVariableByNameUsingPUTInternalServerError with default headers values

func (*UpdateVariableByNameUsingPUTInternalServerError) Error added in v0.4.0

func (*UpdateVariableByNameUsingPUTInternalServerError) IsClientError added in v0.5.0

IsClientError returns true when this update variable by name using p u t internal server error response has a 4xx status code

func (*UpdateVariableByNameUsingPUTInternalServerError) IsCode added in v0.5.0

IsCode returns true when this update variable by name using p u t internal server error response a status code equal to that given

func (*UpdateVariableByNameUsingPUTInternalServerError) IsRedirect added in v0.5.0

IsRedirect returns true when this update variable by name using p u t internal server error response has a 3xx status code

func (*UpdateVariableByNameUsingPUTInternalServerError) IsServerError added in v0.5.0

IsServerError returns true when this update variable by name using p u t internal server error response has a 5xx status code

func (*UpdateVariableByNameUsingPUTInternalServerError) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by name using p u t internal server error response has a 2xx status code

func (*UpdateVariableByNameUsingPUTInternalServerError) String added in v0.5.0

type UpdateVariableByNameUsingPUTNotFound added in v0.4.0

type UpdateVariableByNameUsingPUTNotFound struct {
	Payload *models.Error
}

UpdateVariableByNameUsingPUTNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateVariableByNameUsingPUTNotFound added in v0.4.0

func NewUpdateVariableByNameUsingPUTNotFound() *UpdateVariableByNameUsingPUTNotFound

NewUpdateVariableByNameUsingPUTNotFound creates a UpdateVariableByNameUsingPUTNotFound with default headers values

func (*UpdateVariableByNameUsingPUTNotFound) Error added in v0.4.0

func (*UpdateVariableByNameUsingPUTNotFound) GetPayload added in v0.4.0

func (*UpdateVariableByNameUsingPUTNotFound) IsClientError added in v0.5.0

func (o *UpdateVariableByNameUsingPUTNotFound) IsClientError() bool

IsClientError returns true when this update variable by name using p u t not found response has a 4xx status code

func (*UpdateVariableByNameUsingPUTNotFound) IsCode added in v0.5.0

IsCode returns true when this update variable by name using p u t not found response a status code equal to that given

func (*UpdateVariableByNameUsingPUTNotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this update variable by name using p u t not found response has a 3xx status code

func (*UpdateVariableByNameUsingPUTNotFound) IsServerError added in v0.5.0

func (o *UpdateVariableByNameUsingPUTNotFound) IsServerError() bool

IsServerError returns true when this update variable by name using p u t not found response has a 5xx status code

func (*UpdateVariableByNameUsingPUTNotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by name using p u t not found response has a 2xx status code

func (*UpdateVariableByNameUsingPUTNotFound) String added in v0.5.0

type UpdateVariableByNameUsingPUTOK added in v0.4.0

type UpdateVariableByNameUsingPUTOK struct {
	Payload *models.Variable
}

UpdateVariableByNameUsingPUTOK describes a response with status code 200, with default header values.

'Success' with updated Variable

func NewUpdateVariableByNameUsingPUTOK added in v0.4.0

func NewUpdateVariableByNameUsingPUTOK() *UpdateVariableByNameUsingPUTOK

NewUpdateVariableByNameUsingPUTOK creates a UpdateVariableByNameUsingPUTOK with default headers values

func (*UpdateVariableByNameUsingPUTOK) Error added in v0.4.0

func (*UpdateVariableByNameUsingPUTOK) GetPayload added in v0.4.0

func (*UpdateVariableByNameUsingPUTOK) IsClientError added in v0.5.0

func (o *UpdateVariableByNameUsingPUTOK) IsClientError() bool

IsClientError returns true when this update variable by name using p u t o k response has a 4xx status code

func (*UpdateVariableByNameUsingPUTOK) IsCode added in v0.5.0

func (o *UpdateVariableByNameUsingPUTOK) IsCode(code int) bool

IsCode returns true when this update variable by name using p u t o k response a status code equal to that given

func (*UpdateVariableByNameUsingPUTOK) IsRedirect added in v0.5.0

func (o *UpdateVariableByNameUsingPUTOK) IsRedirect() bool

IsRedirect returns true when this update variable by name using p u t o k response has a 3xx status code

func (*UpdateVariableByNameUsingPUTOK) IsServerError added in v0.5.0

func (o *UpdateVariableByNameUsingPUTOK) IsServerError() bool

IsServerError returns true when this update variable by name using p u t o k response has a 5xx status code

func (*UpdateVariableByNameUsingPUTOK) IsSuccess added in v0.5.0

func (o *UpdateVariableByNameUsingPUTOK) IsSuccess() bool

IsSuccess returns true when this update variable by name using p u t o k response has a 2xx status code

func (*UpdateVariableByNameUsingPUTOK) String added in v0.5.0

type UpdateVariableByNameUsingPUTParams added in v0.4.0

type UpdateVariableByNameUsingPUTParams struct {

	/* Authorization.

	   Bearer token
	*/
	Authorization string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
	*/
	APIVersion string

	/* Body.

	   Variable specification
	*/
	Body models.VariableSpec

	/* Name.

	   The name of the Variable
	*/
	Name string

	/* Project.

	   The project the Variable belongs to
	*/
	Project string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVariableByNameUsingPUTParams contains all the parameters to send to the API endpoint

for the update variable by name using p u t operation.

Typically these are written to a http.Request.

func NewUpdateVariableByNameUsingPUTParams added in v0.4.0

func NewUpdateVariableByNameUsingPUTParams() *UpdateVariableByNameUsingPUTParams

NewUpdateVariableByNameUsingPUTParams creates a new UpdateVariableByNameUsingPUTParams 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 NewUpdateVariableByNameUsingPUTParamsWithContext added in v0.4.0

func NewUpdateVariableByNameUsingPUTParamsWithContext(ctx context.Context) *UpdateVariableByNameUsingPUTParams

NewUpdateVariableByNameUsingPUTParamsWithContext creates a new UpdateVariableByNameUsingPUTParams object with the ability to set a context for a request.

func NewUpdateVariableByNameUsingPUTParamsWithHTTPClient added in v0.4.0

func NewUpdateVariableByNameUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateVariableByNameUsingPUTParams

NewUpdateVariableByNameUsingPUTParamsWithHTTPClient creates a new UpdateVariableByNameUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVariableByNameUsingPUTParamsWithTimeout added in v0.4.0

func NewUpdateVariableByNameUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateVariableByNameUsingPUTParams

NewUpdateVariableByNameUsingPUTParamsWithTimeout creates a new UpdateVariableByNameUsingPUTParams object with the ability to set a timeout on a request.

func (*UpdateVariableByNameUsingPUTParams) SetAPIVersion added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetAuthorization added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetBody added in v0.4.0

SetBody adds the body to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetContext added in v0.4.0

SetContext adds the context to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetDefaults added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the update variable by name using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVariableByNameUsingPUTParams) SetHTTPClient added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetName added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetName(name string)

SetName adds the name to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetProject added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetProject(project string)

SetProject adds the project to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) SetTimeout added in v0.4.0

func (o *UpdateVariableByNameUsingPUTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithAuthorization added in v0.4.0

WithAuthorization adds the authorization to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithBody added in v0.4.0

WithBody adds the body to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithContext added in v0.4.0

WithContext adds the context to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the update variable by name using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVariableByNameUsingPUTParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithName added in v0.4.0

WithName adds the name to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithProject added in v0.4.0

WithProject adds the project to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the update variable by name using p u t params

func (*UpdateVariableByNameUsingPUTParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type UpdateVariableByNameUsingPUTReader added in v0.4.0

type UpdateVariableByNameUsingPUTReader struct {
	// contains filtered or unexported fields
}

UpdateVariableByNameUsingPUTReader is a Reader for the UpdateVariableByNameUsingPUT structure.

func (*UpdateVariableByNameUsingPUTReader) ReadResponse added in v0.4.0

func (o *UpdateVariableByNameUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVariableByNameUsingPUTUnauthorized added in v0.4.0

type UpdateVariableByNameUsingPUTUnauthorized struct {
}

UpdateVariableByNameUsingPUTUnauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewUpdateVariableByNameUsingPUTUnauthorized added in v0.4.0

func NewUpdateVariableByNameUsingPUTUnauthorized() *UpdateVariableByNameUsingPUTUnauthorized

NewUpdateVariableByNameUsingPUTUnauthorized creates a UpdateVariableByNameUsingPUTUnauthorized with default headers values

func (*UpdateVariableByNameUsingPUTUnauthorized) Error added in v0.4.0

func (*UpdateVariableByNameUsingPUTUnauthorized) IsClientError added in v0.5.0

IsClientError returns true when this update variable by name using p u t unauthorized response has a 4xx status code

func (*UpdateVariableByNameUsingPUTUnauthorized) IsCode added in v0.5.0

IsCode returns true when this update variable by name using p u t unauthorized response a status code equal to that given

func (*UpdateVariableByNameUsingPUTUnauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this update variable by name using p u t unauthorized response has a 3xx status code

func (*UpdateVariableByNameUsingPUTUnauthorized) IsServerError added in v0.5.0

IsServerError returns true when this update variable by name using p u t unauthorized response has a 5xx status code

func (*UpdateVariableByNameUsingPUTUnauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this update variable by name using p u t unauthorized response has a 2xx status code

func (*UpdateVariableByNameUsingPUTUnauthorized) String added in v0.5.0

Jump to

Keyboard shortcuts

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