variables

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 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) CreateUsingPOST7

func (a *Client) CreateUsingPOST7(params *CreateUsingPOST7Params, opts ...ClientOption) (*CreateUsingPOST7OK, error)

CreateUsingPOST7 creates a variable

Creates a Variable based on project name

func (*Client) DeleteUsingDELETE11

func (a *Client) DeleteUsingDELETE11(params *DeleteUsingDELETE11Params, opts ...ClientOption) (*DeleteUsingDELETE11OK, error)

DeleteUsingDELETE11 deletes a variable by Id

Deletes a Variable with the given Id

func (*Client) DeleteUsingDELETE12

func (a *Client) DeleteUsingDELETE12(params *DeleteUsingDELETE12Params, opts ...ClientOption) (*DeleteUsingDELETE12OK, error)

DeleteUsingDELETE12 deletes a variable by project and name

Deletes a Variable with the given name

func (*Client) GetAllUsingGET11

func (a *Client) GetAllUsingGET11(params *GetAllUsingGET11Params, opts ...ClientOption) (*GetAllUsingGET11OK, error)

GetAllUsingGET11 gets all variables

Get all Variables with specified paging and filter parameters.

func (*Client) GetUsingGET5

func (a *Client) GetUsingGET5(params *GetUsingGET5Params, opts ...ClientOption) (*GetUsingGET5OK, error)

GetUsingGET5 gets a variable

Gets a Variable with the given id

func (*Client) GetUsingGET6

func (a *Client) GetUsingGET6(params *GetUsingGET6Params, opts ...ClientOption) (*GetUsingGET6OK, error)

GetUsingGET6 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) UpdateUsingPUT4

func (a *Client) UpdateUsingPUT4(params *UpdateUsingPUT4Params, opts ...ClientOption) (*UpdateUsingPUT4OK, error)

UpdateUsingPUT4 updates a variable by id

Updates a Variable with the given id

func (*Client) UpdateUsingPUT5

func (a *Client) UpdateUsingPUT5(params *UpdateUsingPUT5Params, opts ...ClientOption) (*UpdateUsingPUT5OK, error)

UpdateUsingPUT5 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 {
	CreateUsingPOST7(params *CreateUsingPOST7Params, opts ...ClientOption) (*CreateUsingPOST7OK, error)

	DeleteUsingDELETE11(params *DeleteUsingDELETE11Params, opts ...ClientOption) (*DeleteUsingDELETE11OK, error)

	DeleteUsingDELETE12(params *DeleteUsingDELETE12Params, opts ...ClientOption) (*DeleteUsingDELETE12OK, error)

	GetAllUsingGET11(params *GetAllUsingGET11Params, opts ...ClientOption) (*GetAllUsingGET11OK, error)

	GetUsingGET5(params *GetUsingGET5Params, opts ...ClientOption) (*GetUsingGET5OK, error)

	GetUsingGET6(params *GetUsingGET6Params, opts ...ClientOption) (*GetUsingGET6OK, error)

	UpdateUsingPUT4(params *UpdateUsingPUT4Params, opts ...ClientOption) (*UpdateUsingPUT4OK, error)

	UpdateUsingPUT5(params *UpdateUsingPUT5Params, opts ...ClientOption) (*UpdateUsingPUT5OK, 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 CreateUsingPOST7Forbidden

type CreateUsingPOST7Forbidden struct {
}
CreateUsingPOST7Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateUsingPOST7Forbidden

func NewCreateUsingPOST7Forbidden() *CreateUsingPOST7Forbidden

NewCreateUsingPOST7Forbidden creates a CreateUsingPOST7Forbidden with default headers values

func (*CreateUsingPOST7Forbidden) Error

func (o *CreateUsingPOST7Forbidden) Error() string

type CreateUsingPOST7InternalServerError

type CreateUsingPOST7InternalServerError struct {
}
CreateUsingPOST7InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewCreateUsingPOST7InternalServerError

func NewCreateUsingPOST7InternalServerError() *CreateUsingPOST7InternalServerError

NewCreateUsingPOST7InternalServerError creates a CreateUsingPOST7InternalServerError with default headers values

func (*CreateUsingPOST7InternalServerError) Error

type CreateUsingPOST7NotFound

type CreateUsingPOST7NotFound struct {
	Payload *models.Error
}
CreateUsingPOST7NotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateUsingPOST7NotFound

func NewCreateUsingPOST7NotFound() *CreateUsingPOST7NotFound

NewCreateUsingPOST7NotFound creates a CreateUsingPOST7NotFound with default headers values

func (*CreateUsingPOST7NotFound) Error

func (o *CreateUsingPOST7NotFound) Error() string

func (*CreateUsingPOST7NotFound) GetPayload

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

type CreateUsingPOST7OK

type CreateUsingPOST7OK struct {
	Payload *models.Variable
}
CreateUsingPOST7OK describes a response with status code 200, with default header values.

'Success' with Variable creation

func NewCreateUsingPOST7OK

func NewCreateUsingPOST7OK() *CreateUsingPOST7OK

NewCreateUsingPOST7OK creates a CreateUsingPOST7OK with default headers values

func (*CreateUsingPOST7OK) Error

func (o *CreateUsingPOST7OK) Error() string

func (*CreateUsingPOST7OK) GetPayload

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

type CreateUsingPOST7Params

type CreateUsingPOST7Params 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
}

CreateUsingPOST7Params contains all the parameters to send to the API endpoint

for the create using p o s t 7 operation.

Typically these are written to a http.Request.

func NewCreateUsingPOST7Params

func NewCreateUsingPOST7Params() *CreateUsingPOST7Params

NewCreateUsingPOST7Params creates a new CreateUsingPOST7Params 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 NewCreateUsingPOST7ParamsWithContext

func NewCreateUsingPOST7ParamsWithContext(ctx context.Context) *CreateUsingPOST7Params

NewCreateUsingPOST7ParamsWithContext creates a new CreateUsingPOST7Params object with the ability to set a context for a request.

func NewCreateUsingPOST7ParamsWithHTTPClient

func NewCreateUsingPOST7ParamsWithHTTPClient(client *http.Client) *CreateUsingPOST7Params

NewCreateUsingPOST7ParamsWithHTTPClient creates a new CreateUsingPOST7Params object with the ability to set a custom HTTPClient for a request.

func NewCreateUsingPOST7ParamsWithTimeout

func NewCreateUsingPOST7ParamsWithTimeout(timeout time.Duration) *CreateUsingPOST7Params

NewCreateUsingPOST7ParamsWithTimeout creates a new CreateUsingPOST7Params object with the ability to set a timeout on a request.

func (*CreateUsingPOST7Params) SetAPIVersion

func (o *CreateUsingPOST7Params) SetAPIVersion(aPIVersion string)

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

func (*CreateUsingPOST7Params) SetAuthorization

func (o *CreateUsingPOST7Params) SetAuthorization(authorization string)

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

func (*CreateUsingPOST7Params) SetBody

func (o *CreateUsingPOST7Params) SetBody(body models.VariableSpec)

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

func (*CreateUsingPOST7Params) SetContext

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

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

func (*CreateUsingPOST7Params) SetDefaults

func (o *CreateUsingPOST7Params) SetDefaults()

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

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

func (*CreateUsingPOST7Params) SetHTTPClient

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

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

func (*CreateUsingPOST7Params) SetTimeout

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

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

func (*CreateUsingPOST7Params) WithAPIVersion

func (o *CreateUsingPOST7Params) WithAPIVersion(aPIVersion string) *CreateUsingPOST7Params

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

func (*CreateUsingPOST7Params) WithAuthorization

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

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

func (*CreateUsingPOST7Params) WithBody

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

func (*CreateUsingPOST7Params) WithContext

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

func (*CreateUsingPOST7Params) WithDefaults

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

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

func (*CreateUsingPOST7Params) WithHTTPClient

func (o *CreateUsingPOST7Params) WithHTTPClient(client *http.Client) *CreateUsingPOST7Params

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

func (*CreateUsingPOST7Params) WithTimeout

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

func (*CreateUsingPOST7Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateUsingPOST7Reader

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

CreateUsingPOST7Reader is a Reader for the CreateUsingPOST7 structure.

func (*CreateUsingPOST7Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUsingPOST7Unauthorized

type CreateUsingPOST7Unauthorized struct {
}
CreateUsingPOST7Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewCreateUsingPOST7Unauthorized

func NewCreateUsingPOST7Unauthorized() *CreateUsingPOST7Unauthorized

NewCreateUsingPOST7Unauthorized creates a CreateUsingPOST7Unauthorized with default headers values

func (*CreateUsingPOST7Unauthorized) Error

type DeleteUsingDELETE11Forbidden

type DeleteUsingDELETE11Forbidden struct {
}
DeleteUsingDELETE11Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteUsingDELETE11Forbidden

func NewDeleteUsingDELETE11Forbidden() *DeleteUsingDELETE11Forbidden

NewDeleteUsingDELETE11Forbidden creates a DeleteUsingDELETE11Forbidden with default headers values

func (*DeleteUsingDELETE11Forbidden) Error

type DeleteUsingDELETE11InternalServerError

type DeleteUsingDELETE11InternalServerError struct {
}
DeleteUsingDELETE11InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewDeleteUsingDELETE11InternalServerError

func NewDeleteUsingDELETE11InternalServerError() *DeleteUsingDELETE11InternalServerError

NewDeleteUsingDELETE11InternalServerError creates a DeleteUsingDELETE11InternalServerError with default headers values

func (*DeleteUsingDELETE11InternalServerError) Error

type DeleteUsingDELETE11NotFound

type DeleteUsingDELETE11NotFound struct {
	Payload *models.Error
}
DeleteUsingDELETE11NotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteUsingDELETE11NotFound

func NewDeleteUsingDELETE11NotFound() *DeleteUsingDELETE11NotFound

NewDeleteUsingDELETE11NotFound creates a DeleteUsingDELETE11NotFound with default headers values

func (*DeleteUsingDELETE11NotFound) Error

func (*DeleteUsingDELETE11NotFound) GetPayload

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

type DeleteUsingDELETE11OK

type DeleteUsingDELETE11OK struct {
	Payload *models.Variable
}
DeleteUsingDELETE11OK describes a response with status code 200, with default header values.

'Success' with deleted Variable

func NewDeleteUsingDELETE11OK

func NewDeleteUsingDELETE11OK() *DeleteUsingDELETE11OK

NewDeleteUsingDELETE11OK creates a DeleteUsingDELETE11OK with default headers values

func (*DeleteUsingDELETE11OK) Error

func (o *DeleteUsingDELETE11OK) Error() string

func (*DeleteUsingDELETE11OK) GetPayload

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

type DeleteUsingDELETE11Params

type DeleteUsingDELETE11Params 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
}

DeleteUsingDELETE11Params contains all the parameters to send to the API endpoint

for the delete using d e l e t e 11 operation.

Typically these are written to a http.Request.

func NewDeleteUsingDELETE11Params

func NewDeleteUsingDELETE11Params() *DeleteUsingDELETE11Params

NewDeleteUsingDELETE11Params creates a new DeleteUsingDELETE11Params 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 NewDeleteUsingDELETE11ParamsWithContext

func NewDeleteUsingDELETE11ParamsWithContext(ctx context.Context) *DeleteUsingDELETE11Params

NewDeleteUsingDELETE11ParamsWithContext creates a new DeleteUsingDELETE11Params object with the ability to set a context for a request.

func NewDeleteUsingDELETE11ParamsWithHTTPClient

func NewDeleteUsingDELETE11ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE11Params

NewDeleteUsingDELETE11ParamsWithHTTPClient creates a new DeleteUsingDELETE11Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsingDELETE11ParamsWithTimeout

func NewDeleteUsingDELETE11ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE11Params

NewDeleteUsingDELETE11ParamsWithTimeout creates a new DeleteUsingDELETE11Params object with the ability to set a timeout on a request.

func (*DeleteUsingDELETE11Params) SetAPIVersion

func (o *DeleteUsingDELETE11Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) SetAuthorization

func (o *DeleteUsingDELETE11Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) SetContext

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

SetContext adds the context to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) SetDefaults

func (o *DeleteUsingDELETE11Params) SetDefaults()

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

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

func (*DeleteUsingDELETE11Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) SetID

func (o *DeleteUsingDELETE11Params) SetID(id string)

SetID adds the id to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) SetTimeout

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

SetTimeout adds the timeout to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WithAPIVersion

func (o *DeleteUsingDELETE11Params) WithAPIVersion(aPIVersion string) *DeleteUsingDELETE11Params

WithAPIVersion adds the aPIVersion to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WithAuthorization

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

WithAuthorization adds the authorization to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WithContext

WithContext adds the context to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WithDefaults

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

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

func (*DeleteUsingDELETE11Params) WithHTTPClient

func (o *DeleteUsingDELETE11Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE11Params

WithHTTPClient adds the HTTPClient to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WithID

WithID adds the id to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WithTimeout

WithTimeout adds the timeout to the delete using d e l e t e 11 params

func (*DeleteUsingDELETE11Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUsingDELETE11Reader

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

DeleteUsingDELETE11Reader is a Reader for the DeleteUsingDELETE11 structure.

func (*DeleteUsingDELETE11Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsingDELETE11Unauthorized

type DeleteUsingDELETE11Unauthorized struct {
}
DeleteUsingDELETE11Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewDeleteUsingDELETE11Unauthorized

func NewDeleteUsingDELETE11Unauthorized() *DeleteUsingDELETE11Unauthorized

NewDeleteUsingDELETE11Unauthorized creates a DeleteUsingDELETE11Unauthorized with default headers values

func (*DeleteUsingDELETE11Unauthorized) Error

type DeleteUsingDELETE12Forbidden

type DeleteUsingDELETE12Forbidden struct {
}
DeleteUsingDELETE12Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteUsingDELETE12Forbidden

func NewDeleteUsingDELETE12Forbidden() *DeleteUsingDELETE12Forbidden

NewDeleteUsingDELETE12Forbidden creates a DeleteUsingDELETE12Forbidden with default headers values

func (*DeleteUsingDELETE12Forbidden) Error

type DeleteUsingDELETE12InternalServerError

type DeleteUsingDELETE12InternalServerError struct {
}
DeleteUsingDELETE12InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewDeleteUsingDELETE12InternalServerError

func NewDeleteUsingDELETE12InternalServerError() *DeleteUsingDELETE12InternalServerError

NewDeleteUsingDELETE12InternalServerError creates a DeleteUsingDELETE12InternalServerError with default headers values

func (*DeleteUsingDELETE12InternalServerError) Error

type DeleteUsingDELETE12NotFound

type DeleteUsingDELETE12NotFound struct {
	Payload *models.Error
}
DeleteUsingDELETE12NotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteUsingDELETE12NotFound

func NewDeleteUsingDELETE12NotFound() *DeleteUsingDELETE12NotFound

NewDeleteUsingDELETE12NotFound creates a DeleteUsingDELETE12NotFound with default headers values

func (*DeleteUsingDELETE12NotFound) Error

func (*DeleteUsingDELETE12NotFound) GetPayload

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

type DeleteUsingDELETE12OK

type DeleteUsingDELETE12OK struct {
	Payload *models.Variable
}
DeleteUsingDELETE12OK describes a response with status code 200, with default header values.

'Success' with deleted Variable

func NewDeleteUsingDELETE12OK

func NewDeleteUsingDELETE12OK() *DeleteUsingDELETE12OK

NewDeleteUsingDELETE12OK creates a DeleteUsingDELETE12OK with default headers values

func (*DeleteUsingDELETE12OK) Error

func (o *DeleteUsingDELETE12OK) Error() string

func (*DeleteUsingDELETE12OK) GetPayload

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

type DeleteUsingDELETE12Params

type DeleteUsingDELETE12Params 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
}

DeleteUsingDELETE12Params contains all the parameters to send to the API endpoint

for the delete using d e l e t e 12 operation.

Typically these are written to a http.Request.

func NewDeleteUsingDELETE12Params

func NewDeleteUsingDELETE12Params() *DeleteUsingDELETE12Params

NewDeleteUsingDELETE12Params creates a new DeleteUsingDELETE12Params 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 NewDeleteUsingDELETE12ParamsWithContext

func NewDeleteUsingDELETE12ParamsWithContext(ctx context.Context) *DeleteUsingDELETE12Params

NewDeleteUsingDELETE12ParamsWithContext creates a new DeleteUsingDELETE12Params object with the ability to set a context for a request.

func NewDeleteUsingDELETE12ParamsWithHTTPClient

func NewDeleteUsingDELETE12ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE12Params

NewDeleteUsingDELETE12ParamsWithHTTPClient creates a new DeleteUsingDELETE12Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsingDELETE12ParamsWithTimeout

func NewDeleteUsingDELETE12ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE12Params

NewDeleteUsingDELETE12ParamsWithTimeout creates a new DeleteUsingDELETE12Params object with the ability to set a timeout on a request.

func (*DeleteUsingDELETE12Params) SetAPIVersion

func (o *DeleteUsingDELETE12Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) SetAuthorization

func (o *DeleteUsingDELETE12Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) SetContext

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

SetContext adds the context to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) SetDefaults

func (o *DeleteUsingDELETE12Params) SetDefaults()

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

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

func (*DeleteUsingDELETE12Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) SetName

func (o *DeleteUsingDELETE12Params) SetName(name string)

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

func (*DeleteUsingDELETE12Params) SetProject

func (o *DeleteUsingDELETE12Params) SetProject(project string)

SetProject adds the project to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) SetTimeout

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

SetTimeout adds the timeout to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WithAPIVersion

func (o *DeleteUsingDELETE12Params) WithAPIVersion(aPIVersion string) *DeleteUsingDELETE12Params

WithAPIVersion adds the aPIVersion to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WithAuthorization

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

WithAuthorization adds the authorization to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WithContext

WithContext adds the context to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WithDefaults

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

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

func (*DeleteUsingDELETE12Params) WithHTTPClient

func (o *DeleteUsingDELETE12Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE12Params

WithHTTPClient adds the HTTPClient to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WithName

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

func (*DeleteUsingDELETE12Params) WithProject

WithProject adds the project to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WithTimeout

WithTimeout adds the timeout to the delete using d e l e t e 12 params

func (*DeleteUsingDELETE12Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUsingDELETE12Reader

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

DeleteUsingDELETE12Reader is a Reader for the DeleteUsingDELETE12 structure.

func (*DeleteUsingDELETE12Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsingDELETE12Unauthorized

type DeleteUsingDELETE12Unauthorized struct {
}
DeleteUsingDELETE12Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewDeleteUsingDELETE12Unauthorized

func NewDeleteUsingDELETE12Unauthorized() *DeleteUsingDELETE12Unauthorized

NewDeleteUsingDELETE12Unauthorized creates a DeleteUsingDELETE12Unauthorized with default headers values

func (*DeleteUsingDELETE12Unauthorized) Error

type GetAllUsingGET11Forbidden

type GetAllUsingGET11Forbidden struct {
}
GetAllUsingGET11Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAllUsingGET11Forbidden

func NewGetAllUsingGET11Forbidden() *GetAllUsingGET11Forbidden

NewGetAllUsingGET11Forbidden creates a GetAllUsingGET11Forbidden with default headers values

func (*GetAllUsingGET11Forbidden) Error

func (o *GetAllUsingGET11Forbidden) Error() string

type GetAllUsingGET11InternalServerError

type GetAllUsingGET11InternalServerError struct {
}
GetAllUsingGET11InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetAllUsingGET11InternalServerError

func NewGetAllUsingGET11InternalServerError() *GetAllUsingGET11InternalServerError

NewGetAllUsingGET11InternalServerError creates a GetAllUsingGET11InternalServerError with default headers values

func (*GetAllUsingGET11InternalServerError) Error

type GetAllUsingGET11NotFound

type GetAllUsingGET11NotFound struct {
	Payload *models.Error
}
GetAllUsingGET11NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAllUsingGET11NotFound

func NewGetAllUsingGET11NotFound() *GetAllUsingGET11NotFound

NewGetAllUsingGET11NotFound creates a GetAllUsingGET11NotFound with default headers values

func (*GetAllUsingGET11NotFound) Error

func (o *GetAllUsingGET11NotFound) Error() string

func (*GetAllUsingGET11NotFound) GetPayload

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

type GetAllUsingGET11OK

type GetAllUsingGET11OK struct {
	Payload models.Variables
}
GetAllUsingGET11OK describes a response with status code 200, with default header values.

'Success' with Variables on pages

func NewGetAllUsingGET11OK

func NewGetAllUsingGET11OK() *GetAllUsingGET11OK

NewGetAllUsingGET11OK creates a GetAllUsingGET11OK with default headers values

func (*GetAllUsingGET11OK) Error

func (o *GetAllUsingGET11OK) Error() string

func (*GetAllUsingGET11OK) GetPayload

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

type GetAllUsingGET11Params

type GetAllUsingGET11Params 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
}

GetAllUsingGET11Params contains all the parameters to send to the API endpoint

for the get all using g e t 11 operation.

Typically these are written to a http.Request.

func NewGetAllUsingGET11Params

func NewGetAllUsingGET11Params() *GetAllUsingGET11Params

NewGetAllUsingGET11Params creates a new GetAllUsingGET11Params 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 NewGetAllUsingGET11ParamsWithContext

func NewGetAllUsingGET11ParamsWithContext(ctx context.Context) *GetAllUsingGET11Params

NewGetAllUsingGET11ParamsWithContext creates a new GetAllUsingGET11Params object with the ability to set a context for a request.

func NewGetAllUsingGET11ParamsWithHTTPClient

func NewGetAllUsingGET11ParamsWithHTTPClient(client *http.Client) *GetAllUsingGET11Params

NewGetAllUsingGET11ParamsWithHTTPClient creates a new GetAllUsingGET11Params object with the ability to set a custom HTTPClient for a request.

func NewGetAllUsingGET11ParamsWithTimeout

func NewGetAllUsingGET11ParamsWithTimeout(timeout time.Duration) *GetAllUsingGET11Params

NewGetAllUsingGET11ParamsWithTimeout creates a new GetAllUsingGET11Params object with the ability to set a timeout on a request.

func (*GetAllUsingGET11Params) SetAPIVersion

func (o *GetAllUsingGET11Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetAuthorization

func (o *GetAllUsingGET11Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetContext

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

SetContext adds the context to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetDefaults

func (o *GetAllUsingGET11Params) SetDefaults()

SetDefaults hydrates default values in the get all using g e t 11 params (not the query body).

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

func (*GetAllUsingGET11Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetPage

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

SetPage adds the page to the get all using g e t 11 params

func (*GetAllUsingGET11Params) SetTimeout

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

SetTimeout adds the timeout to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithAPIVersion

func (o *GetAllUsingGET11Params) WithAPIVersion(aPIVersion string) *GetAllUsingGET11Params

WithAPIVersion adds the aPIVersion to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithAuthorization

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

WithAuthorization adds the authorization to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithContext

WithContext adds the context to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithDefaults

WithDefaults hydrates default values in the get all using g e t 11 params (not the query body).

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

func (*GetAllUsingGET11Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithDollarTop

func (o *GetAllUsingGET11Params) WithDollarTop(dollarTop *string) *GetAllUsingGET11Params

WithDollarTop adds the dollarTop to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithHTTPClient

func (o *GetAllUsingGET11Params) WithHTTPClient(client *http.Client) *GetAllUsingGET11Params

WithHTTPClient adds the HTTPClient to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithPage

WithPage adds the page to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WithTimeout

WithTimeout adds the timeout to the get all using g e t 11 params

func (*GetAllUsingGET11Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllUsingGET11Reader

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

GetAllUsingGET11Reader is a Reader for the GetAllUsingGET11 structure.

func (*GetAllUsingGET11Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllUsingGET11Unauthorized

type GetAllUsingGET11Unauthorized struct {
}
GetAllUsingGET11Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetAllUsingGET11Unauthorized

func NewGetAllUsingGET11Unauthorized() *GetAllUsingGET11Unauthorized

NewGetAllUsingGET11Unauthorized creates a GetAllUsingGET11Unauthorized with default headers values

func (*GetAllUsingGET11Unauthorized) Error

type GetUsingGET5Forbidden

type GetUsingGET5Forbidden struct {
}
GetUsingGET5Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetUsingGET5Forbidden

func NewGetUsingGET5Forbidden() *GetUsingGET5Forbidden

NewGetUsingGET5Forbidden creates a GetUsingGET5Forbidden with default headers values

func (*GetUsingGET5Forbidden) Error

func (o *GetUsingGET5Forbidden) Error() string

type GetUsingGET5InternalServerError

type GetUsingGET5InternalServerError struct {
}
GetUsingGET5InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetUsingGET5InternalServerError

func NewGetUsingGET5InternalServerError() *GetUsingGET5InternalServerError

NewGetUsingGET5InternalServerError creates a GetUsingGET5InternalServerError with default headers values

func (*GetUsingGET5InternalServerError) Error

type GetUsingGET5NotFound

type GetUsingGET5NotFound struct {
	Payload *models.Error
}
GetUsingGET5NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetUsingGET5NotFound

func NewGetUsingGET5NotFound() *GetUsingGET5NotFound

NewGetUsingGET5NotFound creates a GetUsingGET5NotFound with default headers values

func (*GetUsingGET5NotFound) Error

func (o *GetUsingGET5NotFound) Error() string

func (*GetUsingGET5NotFound) GetPayload

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

type GetUsingGET5OK

type GetUsingGET5OK struct {
	Payload *models.Variable
}
GetUsingGET5OK describes a response with status code 200, with default header values.

'Success' with the requested Variable

func NewGetUsingGET5OK

func NewGetUsingGET5OK() *GetUsingGET5OK

NewGetUsingGET5OK creates a GetUsingGET5OK with default headers values

func (*GetUsingGET5OK) Error

func (o *GetUsingGET5OK) Error() string

func (*GetUsingGET5OK) GetPayload

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

type GetUsingGET5Params

type GetUsingGET5Params 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
}

GetUsingGET5Params contains all the parameters to send to the API endpoint

for the get using g e t 5 operation.

Typically these are written to a http.Request.

func NewGetUsingGET5Params

func NewGetUsingGET5Params() *GetUsingGET5Params

NewGetUsingGET5Params creates a new GetUsingGET5Params 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 NewGetUsingGET5ParamsWithContext

func NewGetUsingGET5ParamsWithContext(ctx context.Context) *GetUsingGET5Params

NewGetUsingGET5ParamsWithContext creates a new GetUsingGET5Params object with the ability to set a context for a request.

func NewGetUsingGET5ParamsWithHTTPClient

func NewGetUsingGET5ParamsWithHTTPClient(client *http.Client) *GetUsingGET5Params

NewGetUsingGET5ParamsWithHTTPClient creates a new GetUsingGET5Params object with the ability to set a custom HTTPClient for a request.

func NewGetUsingGET5ParamsWithTimeout

func NewGetUsingGET5ParamsWithTimeout(timeout time.Duration) *GetUsingGET5Params

NewGetUsingGET5ParamsWithTimeout creates a new GetUsingGET5Params object with the ability to set a timeout on a request.

func (*GetUsingGET5Params) SetAPIVersion

func (o *GetUsingGET5Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get using g e t 5 params

func (*GetUsingGET5Params) SetAuthorization

func (o *GetUsingGET5Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get using g e t 5 params

func (*GetUsingGET5Params) SetContext

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

SetContext adds the context to the get using g e t 5 params

func (*GetUsingGET5Params) SetDefaults

func (o *GetUsingGET5Params) SetDefaults()

SetDefaults hydrates default values in the get using g e t 5 params (not the query body).

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

func (*GetUsingGET5Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get using g e t 5 params

func (*GetUsingGET5Params) SetID

func (o *GetUsingGET5Params) SetID(id string)

SetID adds the id to the get using g e t 5 params

func (*GetUsingGET5Params) SetTimeout

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

SetTimeout adds the timeout to the get using g e t 5 params

func (*GetUsingGET5Params) WithAPIVersion

func (o *GetUsingGET5Params) WithAPIVersion(aPIVersion string) *GetUsingGET5Params

WithAPIVersion adds the aPIVersion to the get using g e t 5 params

func (*GetUsingGET5Params) WithAuthorization

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

WithAuthorization adds the authorization to the get using g e t 5 params

func (*GetUsingGET5Params) WithContext

WithContext adds the context to the get using g e t 5 params

func (*GetUsingGET5Params) WithDefaults

func (o *GetUsingGET5Params) WithDefaults() *GetUsingGET5Params

WithDefaults hydrates default values in the get using g e t 5 params (not the query body).

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

func (*GetUsingGET5Params) WithHTTPClient

func (o *GetUsingGET5Params) WithHTTPClient(client *http.Client) *GetUsingGET5Params

WithHTTPClient adds the HTTPClient to the get using g e t 5 params

func (*GetUsingGET5Params) WithID

WithID adds the id to the get using g e t 5 params

func (*GetUsingGET5Params) WithTimeout

func (o *GetUsingGET5Params) WithTimeout(timeout time.Duration) *GetUsingGET5Params

WithTimeout adds the timeout to the get using g e t 5 params

func (*GetUsingGET5Params) WriteToRequest

func (o *GetUsingGET5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUsingGET5Reader

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

GetUsingGET5Reader is a Reader for the GetUsingGET5 structure.

func (*GetUsingGET5Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsingGET5Unauthorized

type GetUsingGET5Unauthorized struct {
}
GetUsingGET5Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetUsingGET5Unauthorized

func NewGetUsingGET5Unauthorized() *GetUsingGET5Unauthorized

NewGetUsingGET5Unauthorized creates a GetUsingGET5Unauthorized with default headers values

func (*GetUsingGET5Unauthorized) Error

func (o *GetUsingGET5Unauthorized) Error() string

type GetUsingGET6Forbidden

type GetUsingGET6Forbidden struct {
}
GetUsingGET6Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetUsingGET6Forbidden

func NewGetUsingGET6Forbidden() *GetUsingGET6Forbidden

NewGetUsingGET6Forbidden creates a GetUsingGET6Forbidden with default headers values

func (*GetUsingGET6Forbidden) Error

func (o *GetUsingGET6Forbidden) Error() string

type GetUsingGET6InternalServerError

type GetUsingGET6InternalServerError struct {
}
GetUsingGET6InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetUsingGET6InternalServerError

func NewGetUsingGET6InternalServerError() *GetUsingGET6InternalServerError

NewGetUsingGET6InternalServerError creates a GetUsingGET6InternalServerError with default headers values

func (*GetUsingGET6InternalServerError) Error

type GetUsingGET6NotFound

type GetUsingGET6NotFound struct {
	Payload *models.Error
}
GetUsingGET6NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetUsingGET6NotFound

func NewGetUsingGET6NotFound() *GetUsingGET6NotFound

NewGetUsingGET6NotFound creates a GetUsingGET6NotFound with default headers values

func (*GetUsingGET6NotFound) Error

func (o *GetUsingGET6NotFound) Error() string

func (*GetUsingGET6NotFound) GetPayload

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

type GetUsingGET6OK

type GetUsingGET6OK struct {
	Payload *models.Variable
}
GetUsingGET6OK describes a response with status code 200, with default header values.

'Success' with the requested Variable

func NewGetUsingGET6OK

func NewGetUsingGET6OK() *GetUsingGET6OK

NewGetUsingGET6OK creates a GetUsingGET6OK with default headers values

func (*GetUsingGET6OK) Error

func (o *GetUsingGET6OK) Error() string

func (*GetUsingGET6OK) GetPayload

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

type GetUsingGET6Params

type GetUsingGET6Params 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
}

GetUsingGET6Params contains all the parameters to send to the API endpoint

for the get using g e t 6 operation.

Typically these are written to a http.Request.

func NewGetUsingGET6Params

func NewGetUsingGET6Params() *GetUsingGET6Params

NewGetUsingGET6Params creates a new GetUsingGET6Params 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 NewGetUsingGET6ParamsWithContext

func NewGetUsingGET6ParamsWithContext(ctx context.Context) *GetUsingGET6Params

NewGetUsingGET6ParamsWithContext creates a new GetUsingGET6Params object with the ability to set a context for a request.

func NewGetUsingGET6ParamsWithHTTPClient

func NewGetUsingGET6ParamsWithHTTPClient(client *http.Client) *GetUsingGET6Params

NewGetUsingGET6ParamsWithHTTPClient creates a new GetUsingGET6Params object with the ability to set a custom HTTPClient for a request.

func NewGetUsingGET6ParamsWithTimeout

func NewGetUsingGET6ParamsWithTimeout(timeout time.Duration) *GetUsingGET6Params

NewGetUsingGET6ParamsWithTimeout creates a new GetUsingGET6Params object with the ability to set a timeout on a request.

func (*GetUsingGET6Params) SetAPIVersion

func (o *GetUsingGET6Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get using g e t 6 params

func (*GetUsingGET6Params) SetAuthorization

func (o *GetUsingGET6Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get using g e t 6 params

func (*GetUsingGET6Params) SetContext

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

SetContext adds the context to the get using g e t 6 params

func (*GetUsingGET6Params) SetDefaults

func (o *GetUsingGET6Params) SetDefaults()

SetDefaults hydrates default values in the get using g e t 6 params (not the query body).

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

func (*GetUsingGET6Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get using g e t 6 params

func (*GetUsingGET6Params) SetName

func (o *GetUsingGET6Params) SetName(name string)

SetName adds the name to the get using g e t 6 params

func (*GetUsingGET6Params) SetProject

func (o *GetUsingGET6Params) SetProject(project string)

SetProject adds the project to the get using g e t 6 params

func (*GetUsingGET6Params) SetTimeout

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

SetTimeout adds the timeout to the get using g e t 6 params

func (*GetUsingGET6Params) WithAPIVersion

func (o *GetUsingGET6Params) WithAPIVersion(aPIVersion string) *GetUsingGET6Params

WithAPIVersion adds the aPIVersion to the get using g e t 6 params

func (*GetUsingGET6Params) WithAuthorization

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

WithAuthorization adds the authorization to the get using g e t 6 params

func (*GetUsingGET6Params) WithContext

WithContext adds the context to the get using g e t 6 params

func (*GetUsingGET6Params) WithDefaults

func (o *GetUsingGET6Params) WithDefaults() *GetUsingGET6Params

WithDefaults hydrates default values in the get using g e t 6 params (not the query body).

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

func (*GetUsingGET6Params) WithHTTPClient

func (o *GetUsingGET6Params) WithHTTPClient(client *http.Client) *GetUsingGET6Params

WithHTTPClient adds the HTTPClient to the get using g e t 6 params

func (*GetUsingGET6Params) WithName

func (o *GetUsingGET6Params) WithName(name string) *GetUsingGET6Params

WithName adds the name to the get using g e t 6 params

func (*GetUsingGET6Params) WithProject

func (o *GetUsingGET6Params) WithProject(project string) *GetUsingGET6Params

WithProject adds the project to the get using g e t 6 params

func (*GetUsingGET6Params) WithTimeout

func (o *GetUsingGET6Params) WithTimeout(timeout time.Duration) *GetUsingGET6Params

WithTimeout adds the timeout to the get using g e t 6 params

func (*GetUsingGET6Params) WriteToRequest

func (o *GetUsingGET6Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUsingGET6Reader

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

GetUsingGET6Reader is a Reader for the GetUsingGET6 structure.

func (*GetUsingGET6Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsingGET6Unauthorized

type GetUsingGET6Unauthorized struct {
}
GetUsingGET6Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewGetUsingGET6Unauthorized

func NewGetUsingGET6Unauthorized() *GetUsingGET6Unauthorized

NewGetUsingGET6Unauthorized creates a GetUsingGET6Unauthorized with default headers values

func (*GetUsingGET6Unauthorized) Error

func (o *GetUsingGET6Unauthorized) Error() string

type UpdateUsingPUT4Forbidden

type UpdateUsingPUT4Forbidden struct {
}
UpdateUsingPUT4Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateUsingPUT4Forbidden

func NewUpdateUsingPUT4Forbidden() *UpdateUsingPUT4Forbidden

NewUpdateUsingPUT4Forbidden creates a UpdateUsingPUT4Forbidden with default headers values

func (*UpdateUsingPUT4Forbidden) Error

func (o *UpdateUsingPUT4Forbidden) Error() string

type UpdateUsingPUT4InternalServerError

type UpdateUsingPUT4InternalServerError struct {
}
UpdateUsingPUT4InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewUpdateUsingPUT4InternalServerError

func NewUpdateUsingPUT4InternalServerError() *UpdateUsingPUT4InternalServerError

NewUpdateUsingPUT4InternalServerError creates a UpdateUsingPUT4InternalServerError with default headers values

func (*UpdateUsingPUT4InternalServerError) Error

type UpdateUsingPUT4NotFound

type UpdateUsingPUT4NotFound struct {
	Payload *models.Error
}
UpdateUsingPUT4NotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateUsingPUT4NotFound

func NewUpdateUsingPUT4NotFound() *UpdateUsingPUT4NotFound

NewUpdateUsingPUT4NotFound creates a UpdateUsingPUT4NotFound with default headers values

func (*UpdateUsingPUT4NotFound) Error

func (o *UpdateUsingPUT4NotFound) Error() string

func (*UpdateUsingPUT4NotFound) GetPayload

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

type UpdateUsingPUT4OK

type UpdateUsingPUT4OK struct {
	Payload *models.Variable
}
UpdateUsingPUT4OK describes a response with status code 200, with default header values.

'Success' with the updated Variable

func NewUpdateUsingPUT4OK

func NewUpdateUsingPUT4OK() *UpdateUsingPUT4OK

NewUpdateUsingPUT4OK creates a UpdateUsingPUT4OK with default headers values

func (*UpdateUsingPUT4OK) Error

func (o *UpdateUsingPUT4OK) Error() string

func (*UpdateUsingPUT4OK) GetPayload

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

type UpdateUsingPUT4Params

type UpdateUsingPUT4Params 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
}

UpdateUsingPUT4Params contains all the parameters to send to the API endpoint

for the update using p u t 4 operation.

Typically these are written to a http.Request.

func NewUpdateUsingPUT4Params

func NewUpdateUsingPUT4Params() *UpdateUsingPUT4Params

NewUpdateUsingPUT4Params creates a new UpdateUsingPUT4Params 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 NewUpdateUsingPUT4ParamsWithContext

func NewUpdateUsingPUT4ParamsWithContext(ctx context.Context) *UpdateUsingPUT4Params

NewUpdateUsingPUT4ParamsWithContext creates a new UpdateUsingPUT4Params object with the ability to set a context for a request.

func NewUpdateUsingPUT4ParamsWithHTTPClient

func NewUpdateUsingPUT4ParamsWithHTTPClient(client *http.Client) *UpdateUsingPUT4Params

NewUpdateUsingPUT4ParamsWithHTTPClient creates a new UpdateUsingPUT4Params object with the ability to set a custom HTTPClient for a request.

func NewUpdateUsingPUT4ParamsWithTimeout

func NewUpdateUsingPUT4ParamsWithTimeout(timeout time.Duration) *UpdateUsingPUT4Params

NewUpdateUsingPUT4ParamsWithTimeout creates a new UpdateUsingPUT4Params object with the ability to set a timeout on a request.

func (*UpdateUsingPUT4Params) SetAPIVersion

func (o *UpdateUsingPUT4Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the update using p u t 4 params

func (*UpdateUsingPUT4Params) SetAuthorization

func (o *UpdateUsingPUT4Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the update using p u t 4 params

func (*UpdateUsingPUT4Params) SetBody

func (o *UpdateUsingPUT4Params) SetBody(body models.VariableSpec)

SetBody adds the body to the update using p u t 4 params

func (*UpdateUsingPUT4Params) SetContext

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

SetContext adds the context to the update using p u t 4 params

func (*UpdateUsingPUT4Params) SetDefaults

func (o *UpdateUsingPUT4Params) SetDefaults()

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

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

func (*UpdateUsingPUT4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update using p u t 4 params

func (*UpdateUsingPUT4Params) SetID

func (o *UpdateUsingPUT4Params) SetID(id string)

SetID adds the id to the update using p u t 4 params

func (*UpdateUsingPUT4Params) SetTimeout

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

SetTimeout adds the timeout to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithAPIVersion

func (o *UpdateUsingPUT4Params) WithAPIVersion(aPIVersion string) *UpdateUsingPUT4Params

WithAPIVersion adds the aPIVersion to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithAuthorization

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

WithAuthorization adds the authorization to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithBody

WithBody adds the body to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithContext

WithContext adds the context to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithDefaults

func (o *UpdateUsingPUT4Params) WithDefaults() *UpdateUsingPUT4Params

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

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

func (*UpdateUsingPUT4Params) WithHTTPClient

func (o *UpdateUsingPUT4Params) WithHTTPClient(client *http.Client) *UpdateUsingPUT4Params

WithHTTPClient adds the HTTPClient to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithID

WithID adds the id to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WithTimeout

func (o *UpdateUsingPUT4Params) WithTimeout(timeout time.Duration) *UpdateUsingPUT4Params

WithTimeout adds the timeout to the update using p u t 4 params

func (*UpdateUsingPUT4Params) WriteToRequest

func (o *UpdateUsingPUT4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateUsingPUT4Reader

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

UpdateUsingPUT4Reader is a Reader for the UpdateUsingPUT4 structure.

func (*UpdateUsingPUT4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUsingPUT4Unauthorized

type UpdateUsingPUT4Unauthorized struct {
}
UpdateUsingPUT4Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewUpdateUsingPUT4Unauthorized

func NewUpdateUsingPUT4Unauthorized() *UpdateUsingPUT4Unauthorized

NewUpdateUsingPUT4Unauthorized creates a UpdateUsingPUT4Unauthorized with default headers values

func (*UpdateUsingPUT4Unauthorized) Error

type UpdateUsingPUT5Forbidden

type UpdateUsingPUT5Forbidden struct {
}
UpdateUsingPUT5Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateUsingPUT5Forbidden

func NewUpdateUsingPUT5Forbidden() *UpdateUsingPUT5Forbidden

NewUpdateUsingPUT5Forbidden creates a UpdateUsingPUT5Forbidden with default headers values

func (*UpdateUsingPUT5Forbidden) Error

func (o *UpdateUsingPUT5Forbidden) Error() string

type UpdateUsingPUT5InternalServerError

type UpdateUsingPUT5InternalServerError struct {
}
UpdateUsingPUT5InternalServerError describes a response with status code 500, with default header values.

Server Error

func NewUpdateUsingPUT5InternalServerError

func NewUpdateUsingPUT5InternalServerError() *UpdateUsingPUT5InternalServerError

NewUpdateUsingPUT5InternalServerError creates a UpdateUsingPUT5InternalServerError with default headers values

func (*UpdateUsingPUT5InternalServerError) Error

type UpdateUsingPUT5NotFound

type UpdateUsingPUT5NotFound struct {
	Payload *models.Error
}
UpdateUsingPUT5NotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateUsingPUT5NotFound

func NewUpdateUsingPUT5NotFound() *UpdateUsingPUT5NotFound

NewUpdateUsingPUT5NotFound creates a UpdateUsingPUT5NotFound with default headers values

func (*UpdateUsingPUT5NotFound) Error

func (o *UpdateUsingPUT5NotFound) Error() string

func (*UpdateUsingPUT5NotFound) GetPayload

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

type UpdateUsingPUT5OK

type UpdateUsingPUT5OK struct {
	Payload *models.Variable
}
UpdateUsingPUT5OK describes a response with status code 200, with default header values.

'Success' with updated Variable

func NewUpdateUsingPUT5OK

func NewUpdateUsingPUT5OK() *UpdateUsingPUT5OK

NewUpdateUsingPUT5OK creates a UpdateUsingPUT5OK with default headers values

func (*UpdateUsingPUT5OK) Error

func (o *UpdateUsingPUT5OK) Error() string

func (*UpdateUsingPUT5OK) GetPayload

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

type UpdateUsingPUT5Params

type UpdateUsingPUT5Params 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
}

UpdateUsingPUT5Params contains all the parameters to send to the API endpoint

for the update using p u t 5 operation.

Typically these are written to a http.Request.

func NewUpdateUsingPUT5Params

func NewUpdateUsingPUT5Params() *UpdateUsingPUT5Params

NewUpdateUsingPUT5Params creates a new UpdateUsingPUT5Params 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 NewUpdateUsingPUT5ParamsWithContext

func NewUpdateUsingPUT5ParamsWithContext(ctx context.Context) *UpdateUsingPUT5Params

NewUpdateUsingPUT5ParamsWithContext creates a new UpdateUsingPUT5Params object with the ability to set a context for a request.

func NewUpdateUsingPUT5ParamsWithHTTPClient

func NewUpdateUsingPUT5ParamsWithHTTPClient(client *http.Client) *UpdateUsingPUT5Params

NewUpdateUsingPUT5ParamsWithHTTPClient creates a new UpdateUsingPUT5Params object with the ability to set a custom HTTPClient for a request.

func NewUpdateUsingPUT5ParamsWithTimeout

func NewUpdateUsingPUT5ParamsWithTimeout(timeout time.Duration) *UpdateUsingPUT5Params

NewUpdateUsingPUT5ParamsWithTimeout creates a new UpdateUsingPUT5Params object with the ability to set a timeout on a request.

func (*UpdateUsingPUT5Params) SetAPIVersion

func (o *UpdateUsingPUT5Params) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetAuthorization

func (o *UpdateUsingPUT5Params) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetBody

func (o *UpdateUsingPUT5Params) SetBody(body models.VariableSpec)

SetBody adds the body to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetContext

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

SetContext adds the context to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetDefaults

func (o *UpdateUsingPUT5Params) SetDefaults()

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

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

func (*UpdateUsingPUT5Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetName

func (o *UpdateUsingPUT5Params) SetName(name string)

SetName adds the name to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetProject

func (o *UpdateUsingPUT5Params) SetProject(project string)

SetProject adds the project to the update using p u t 5 params

func (*UpdateUsingPUT5Params) SetTimeout

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

SetTimeout adds the timeout to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithAPIVersion

func (o *UpdateUsingPUT5Params) WithAPIVersion(aPIVersion string) *UpdateUsingPUT5Params

WithAPIVersion adds the aPIVersion to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithAuthorization

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

WithAuthorization adds the authorization to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithBody

WithBody adds the body to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithContext

WithContext adds the context to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithDefaults

func (o *UpdateUsingPUT5Params) WithDefaults() *UpdateUsingPUT5Params

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

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

func (*UpdateUsingPUT5Params) WithHTTPClient

func (o *UpdateUsingPUT5Params) WithHTTPClient(client *http.Client) *UpdateUsingPUT5Params

WithHTTPClient adds the HTTPClient to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithName

WithName adds the name to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithProject

func (o *UpdateUsingPUT5Params) WithProject(project string) *UpdateUsingPUT5Params

WithProject adds the project to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WithTimeout

func (o *UpdateUsingPUT5Params) WithTimeout(timeout time.Duration) *UpdateUsingPUT5Params

WithTimeout adds the timeout to the update using p u t 5 params

func (*UpdateUsingPUT5Params) WriteToRequest

func (o *UpdateUsingPUT5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateUsingPUT5Reader

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

UpdateUsingPUT5Reader is a Reader for the UpdateUsingPUT5 structure.

func (*UpdateUsingPUT5Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUsingPUT5Unauthorized

type UpdateUsingPUT5Unauthorized struct {
}
UpdateUsingPUT5Unauthorized describes a response with status code 401, with default header values.

Unauthorized Request

func NewUpdateUsingPUT5Unauthorized

func NewUpdateUsingPUT5Unauthorized() *UpdateUsingPUT5Unauthorized

NewUpdateUsingPUT5Unauthorized creates a UpdateUsingPUT5Unauthorized with default headers values

func (*UpdateUsingPUT5Unauthorized) Error

Jump to

Keyboard shortcuts

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