variable_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for variable controller API

func (*Client) CreateVariable

func (a *Client) CreateVariable(params *CreateVariableParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVariableCreated, error)

CreateVariable creates

func (*Client) DeleteVariable

func (a *Client) DeleteVariable(params *DeleteVariableParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteVariableOK, error)

DeleteVariable deletes

func (*Client) ListVariable

func (a *Client) ListVariable(params *ListVariableParams, authInfo runtime.ClientAuthInfoWriter) (*ListVariableOK, error)

ListVariable lists

func (*Client) MultiDeleteVariable

func (a *Client) MultiDeleteVariable(params *MultiDeleteVariableParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteVariableOK, error)

MultiDeleteVariable multis delete

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVariable

func (a *Client) UpdateVariable(params *UpdateVariableParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateVariableOK, error)

UpdateVariable updates

type ClientService

type ClientService interface {
	CreateVariable(params *CreateVariableParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVariableCreated, error)

	DeleteVariable(params *DeleteVariableParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteVariableOK, error)

	ListVariable(params *ListVariableParams, authInfo runtime.ClientAuthInfoWriter) (*ListVariableOK, error)

	MultiDeleteVariable(params *MultiDeleteVariableParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteVariableOK, error)

	UpdateVariable(params *UpdateVariableParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateVariableOK, 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 variable controller API client.

type CreateVariableBadRequest

type CreateVariableBadRequest struct {
	Payload *models.APIResult
}

CreateVariableBadRequest handles this case with default header values.

Bad Request

func NewCreateVariableBadRequest

func NewCreateVariableBadRequest() *CreateVariableBadRequest

NewCreateVariableBadRequest creates a CreateVariableBadRequest with default headers values

func (*CreateVariableBadRequest) Error

func (o *CreateVariableBadRequest) Error() string

func (*CreateVariableBadRequest) GetPayload

func (o *CreateVariableBadRequest) GetPayload() *models.APIResult

type CreateVariableConflict

type CreateVariableConflict struct {
	Payload *models.APIResult
}

CreateVariableConflict handles this case with default header values.

Conflict

func NewCreateVariableConflict

func NewCreateVariableConflict() *CreateVariableConflict

NewCreateVariableConflict creates a CreateVariableConflict with default headers values

func (*CreateVariableConflict) Error

func (o *CreateVariableConflict) Error() string

func (*CreateVariableConflict) GetPayload

func (o *CreateVariableConflict) GetPayload() *models.APIResult

type CreateVariableCreated

type CreateVariableCreated struct {
	Payload *models.APIResultVariable
}

CreateVariableCreated handles this case with default header values.

Created

func NewCreateVariableCreated

func NewCreateVariableCreated() *CreateVariableCreated

NewCreateVariableCreated creates a CreateVariableCreated with default headers values

func (*CreateVariableCreated) Error

func (o *CreateVariableCreated) Error() string

func (*CreateVariableCreated) GetPayload

type CreateVariableForbidden

type CreateVariableForbidden struct {
	Payload *models.APIResult
}

CreateVariableForbidden handles this case with default header values.

Forbidden

func NewCreateVariableForbidden

func NewCreateVariableForbidden() *CreateVariableForbidden

NewCreateVariableForbidden creates a CreateVariableForbidden with default headers values

func (*CreateVariableForbidden) Error

func (o *CreateVariableForbidden) Error() string

func (*CreateVariableForbidden) GetPayload

func (o *CreateVariableForbidden) GetPayload() *models.APIResult

type CreateVariableInternalServerError

type CreateVariableInternalServerError struct {
	Payload *models.APIResult
}

CreateVariableInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateVariableInternalServerError

func NewCreateVariableInternalServerError() *CreateVariableInternalServerError

NewCreateVariableInternalServerError creates a CreateVariableInternalServerError with default headers values

func (*CreateVariableInternalServerError) Error

func (*CreateVariableInternalServerError) GetPayload

type CreateVariableNotFound

type CreateVariableNotFound struct {
	Payload *models.APIResult
}

CreateVariableNotFound handles this case with default header values.

Not Found

func NewCreateVariableNotFound

func NewCreateVariableNotFound() *CreateVariableNotFound

NewCreateVariableNotFound creates a CreateVariableNotFound with default headers values

func (*CreateVariableNotFound) Error

func (o *CreateVariableNotFound) Error() string

func (*CreateVariableNotFound) GetPayload

func (o *CreateVariableNotFound) GetPayload() *models.APIResult

type CreateVariableParams

type CreateVariableParams struct {

	/*Resource
	  resource

	*/
	Resource *models.Variable

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

CreateVariableParams contains all the parameters to send to the API endpoint for the create variable operation typically these are written to a http.Request

func NewCreateVariableParams

func NewCreateVariableParams() *CreateVariableParams

NewCreateVariableParams creates a new CreateVariableParams object with the default values initialized.

func NewCreateVariableParamsWithContext

func NewCreateVariableParamsWithContext(ctx context.Context) *CreateVariableParams

NewCreateVariableParamsWithContext creates a new CreateVariableParams object with the default values initialized, and the ability to set a context for a request

func NewCreateVariableParamsWithHTTPClient

func NewCreateVariableParamsWithHTTPClient(client *http.Client) *CreateVariableParams

NewCreateVariableParamsWithHTTPClient creates a new CreateVariableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateVariableParamsWithTimeout

func NewCreateVariableParamsWithTimeout(timeout time.Duration) *CreateVariableParams

NewCreateVariableParamsWithTimeout creates a new CreateVariableParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateVariableParams) SetContext

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

SetContext adds the context to the create variable params

func (*CreateVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create variable params

func (*CreateVariableParams) SetResource

func (o *CreateVariableParams) SetResource(resource *models.Variable)

SetResource adds the resource to the create variable params

func (*CreateVariableParams) SetTimeout

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

SetTimeout adds the timeout to the create variable params

func (*CreateVariableParams) WithContext

WithContext adds the context to the create variable params

func (*CreateVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create variable params

func (*CreateVariableParams) WithResource

func (o *CreateVariableParams) WithResource(resource *models.Variable) *CreateVariableParams

WithResource adds the resource to the create variable params

func (*CreateVariableParams) WithTimeout

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

WithTimeout adds the timeout to the create variable params

func (*CreateVariableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateVariableReader

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

CreateVariableReader is a Reader for the CreateVariable structure.

func (*CreateVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateVariableUnauthorized

type CreateVariableUnauthorized struct {
	Payload *models.APIResult
}

CreateVariableUnauthorized handles this case with default header values.

Unauthorized

func NewCreateVariableUnauthorized

func NewCreateVariableUnauthorized() *CreateVariableUnauthorized

NewCreateVariableUnauthorized creates a CreateVariableUnauthorized with default headers values

func (*CreateVariableUnauthorized) Error

func (*CreateVariableUnauthorized) GetPayload

func (o *CreateVariableUnauthorized) GetPayload() *models.APIResult

type DeleteVariableBadRequest

type DeleteVariableBadRequest struct {
	Payload *models.APIResult
}

DeleteVariableBadRequest handles this case with default header values.

Bad Request

func NewDeleteVariableBadRequest

func NewDeleteVariableBadRequest() *DeleteVariableBadRequest

NewDeleteVariableBadRequest creates a DeleteVariableBadRequest with default headers values

func (*DeleteVariableBadRequest) Error

func (o *DeleteVariableBadRequest) Error() string

func (*DeleteVariableBadRequest) GetPayload

func (o *DeleteVariableBadRequest) GetPayload() *models.APIResult

type DeleteVariableConflict

type DeleteVariableConflict struct {
	Payload *models.APIResult
}

DeleteVariableConflict handles this case with default header values.

Conflict

func NewDeleteVariableConflict

func NewDeleteVariableConflict() *DeleteVariableConflict

NewDeleteVariableConflict creates a DeleteVariableConflict with default headers values

func (*DeleteVariableConflict) Error

func (o *DeleteVariableConflict) Error() string

func (*DeleteVariableConflict) GetPayload

func (o *DeleteVariableConflict) GetPayload() *models.APIResult

type DeleteVariableForbidden

type DeleteVariableForbidden struct {
	Payload *models.APIResult
}

DeleteVariableForbidden handles this case with default header values.

Forbidden

func NewDeleteVariableForbidden

func NewDeleteVariableForbidden() *DeleteVariableForbidden

NewDeleteVariableForbidden creates a DeleteVariableForbidden with default headers values

func (*DeleteVariableForbidden) Error

func (o *DeleteVariableForbidden) Error() string

func (*DeleteVariableForbidden) GetPayload

func (o *DeleteVariableForbidden) GetPayload() *models.APIResult

type DeleteVariableInternalServerError

type DeleteVariableInternalServerError struct {
	Payload *models.APIResult
}

DeleteVariableInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteVariableInternalServerError

func NewDeleteVariableInternalServerError() *DeleteVariableInternalServerError

NewDeleteVariableInternalServerError creates a DeleteVariableInternalServerError with default headers values

func (*DeleteVariableInternalServerError) Error

func (*DeleteVariableInternalServerError) GetPayload

type DeleteVariableNotFound

type DeleteVariableNotFound struct {
	Payload *models.APIResult
}

DeleteVariableNotFound handles this case with default header values.

Not Found

func NewDeleteVariableNotFound

func NewDeleteVariableNotFound() *DeleteVariableNotFound

NewDeleteVariableNotFound creates a DeleteVariableNotFound with default headers values

func (*DeleteVariableNotFound) Error

func (o *DeleteVariableNotFound) Error() string

func (*DeleteVariableNotFound) GetPayload

func (o *DeleteVariableNotFound) GetPayload() *models.APIResult

type DeleteVariableOK

type DeleteVariableOK struct {
	Payload *models.APIResultVoid
}

DeleteVariableOK handles this case with default header values.

OK

func NewDeleteVariableOK

func NewDeleteVariableOK() *DeleteVariableOK

NewDeleteVariableOK creates a DeleteVariableOK with default headers values

func (*DeleteVariableOK) Error

func (o *DeleteVariableOK) Error() string

func (*DeleteVariableOK) GetPayload

func (o *DeleteVariableOK) GetPayload() *models.APIResultVoid

type DeleteVariableParams

type DeleteVariableParams struct {

	/*ID
	  id

	*/
	ID int64

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

DeleteVariableParams contains all the parameters to send to the API endpoint for the delete variable operation typically these are written to a http.Request

func NewDeleteVariableParams

func NewDeleteVariableParams() *DeleteVariableParams

NewDeleteVariableParams creates a new DeleteVariableParams object with the default values initialized.

func NewDeleteVariableParamsWithContext

func NewDeleteVariableParamsWithContext(ctx context.Context) *DeleteVariableParams

NewDeleteVariableParamsWithContext creates a new DeleteVariableParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteVariableParamsWithHTTPClient

func NewDeleteVariableParamsWithHTTPClient(client *http.Client) *DeleteVariableParams

NewDeleteVariableParamsWithHTTPClient creates a new DeleteVariableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteVariableParamsWithTimeout

func NewDeleteVariableParamsWithTimeout(timeout time.Duration) *DeleteVariableParams

NewDeleteVariableParamsWithTimeout creates a new DeleteVariableParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteVariableParams) SetContext

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

SetContext adds the context to the delete variable params

func (*DeleteVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete variable params

func (*DeleteVariableParams) SetID

func (o *DeleteVariableParams) SetID(id int64)

SetID adds the id to the delete variable params

func (*DeleteVariableParams) SetTimeout

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

SetTimeout adds the timeout to the delete variable params

func (*DeleteVariableParams) WithContext

WithContext adds the context to the delete variable params

func (*DeleteVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete variable params

func (*DeleteVariableParams) WithID

WithID adds the id to the delete variable params

func (*DeleteVariableParams) WithTimeout

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

WithTimeout adds the timeout to the delete variable params

func (*DeleteVariableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteVariableReader

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

DeleteVariableReader is a Reader for the DeleteVariable structure.

func (*DeleteVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVariableUnauthorized

type DeleteVariableUnauthorized struct {
	Payload *models.APIResult
}

DeleteVariableUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteVariableUnauthorized

func NewDeleteVariableUnauthorized() *DeleteVariableUnauthorized

NewDeleteVariableUnauthorized creates a DeleteVariableUnauthorized with default headers values

func (*DeleteVariableUnauthorized) Error

func (*DeleteVariableUnauthorized) GetPayload

func (o *DeleteVariableUnauthorized) GetPayload() *models.APIResult

type ListVariableBadRequest

type ListVariableBadRequest struct {
	Payload *models.APIResult
}

ListVariableBadRequest handles this case with default header values.

Bad Request

func NewListVariableBadRequest

func NewListVariableBadRequest() *ListVariableBadRequest

NewListVariableBadRequest creates a ListVariableBadRequest with default headers values

func (*ListVariableBadRequest) Error

func (o *ListVariableBadRequest) Error() string

func (*ListVariableBadRequest) GetPayload

func (o *ListVariableBadRequest) GetPayload() *models.APIResult

type ListVariableConflict

type ListVariableConflict struct {
	Payload *models.APIResult
}

ListVariableConflict handles this case with default header values.

Conflict

func NewListVariableConflict

func NewListVariableConflict() *ListVariableConflict

NewListVariableConflict creates a ListVariableConflict with default headers values

func (*ListVariableConflict) Error

func (o *ListVariableConflict) Error() string

func (*ListVariableConflict) GetPayload

func (o *ListVariableConflict) GetPayload() *models.APIResult

type ListVariableForbidden

type ListVariableForbidden struct {
	Payload *models.APIResult
}

ListVariableForbidden handles this case with default header values.

Forbidden

func NewListVariableForbidden

func NewListVariableForbidden() *ListVariableForbidden

NewListVariableForbidden creates a ListVariableForbidden with default headers values

func (*ListVariableForbidden) Error

func (o *ListVariableForbidden) Error() string

func (*ListVariableForbidden) GetPayload

func (o *ListVariableForbidden) GetPayload() *models.APIResult

type ListVariableInternalServerError

type ListVariableInternalServerError struct {
	Payload *models.APIResult
}

ListVariableInternalServerError handles this case with default header values.

Internal Server Error

func NewListVariableInternalServerError

func NewListVariableInternalServerError() *ListVariableInternalServerError

NewListVariableInternalServerError creates a ListVariableInternalServerError with default headers values

func (*ListVariableInternalServerError) Error

func (*ListVariableInternalServerError) GetPayload

type ListVariableNotFound

type ListVariableNotFound struct {
	Payload *models.APIResult
}

ListVariableNotFound handles this case with default header values.

Not Found

func NewListVariableNotFound

func NewListVariableNotFound() *ListVariableNotFound

NewListVariableNotFound creates a ListVariableNotFound with default headers values

func (*ListVariableNotFound) Error

func (o *ListVariableNotFound) Error() string

func (*ListVariableNotFound) GetPayload

func (o *ListVariableNotFound) GetPayload() *models.APIResult

type ListVariableOK

type ListVariableOK struct {
	Payload *models.APIResultListVariable
}

ListVariableOK handles this case with default header values.

OK

func NewListVariableOK

func NewListVariableOK() *ListVariableOK

NewListVariableOK creates a ListVariableOK with default headers values

func (*ListVariableOK) Error

func (o *ListVariableOK) Error() string

func (*ListVariableOK) GetPayload

func (o *ListVariableOK) GetPayload() *models.APIResultListVariable

type ListVariableParams

type ListVariableParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*Limit
	  A maximum number of returned objects in listing, if '-1' or '0' no limit is applied

	*/
	Limit *int32
	/*Orderby
	  Fields to order by

	*/
	Orderby *string
	/*Q
	  A search query

	*/
	Q *string
	/*Start
	  A start offset in object listing

	*/
	Start *int32

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

ListVariableParams contains all the parameters to send to the API endpoint for the list variable operation typically these are written to a http.Request

func NewListVariableParams

func NewListVariableParams() *ListVariableParams

NewListVariableParams creates a new ListVariableParams object with the default values initialized.

func NewListVariableParamsWithContext

func NewListVariableParamsWithContext(ctx context.Context) *ListVariableParams

NewListVariableParamsWithContext creates a new ListVariableParams object with the default values initialized, and the ability to set a context for a request

func NewListVariableParamsWithHTTPClient

func NewListVariableParamsWithHTTPClient(client *http.Client) *ListVariableParams

NewListVariableParamsWithHTTPClient creates a new ListVariableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListVariableParamsWithTimeout

func NewListVariableParamsWithTimeout(timeout time.Duration) *ListVariableParams

NewListVariableParamsWithTimeout creates a new ListVariableParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListVariableParams) SetContext

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

SetContext adds the context to the list variable params

func (*ListVariableParams) SetFields

func (o *ListVariableParams) SetFields(fields *string)

SetFields adds the fields to the list variable params

func (*ListVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list variable params

func (*ListVariableParams) SetLimit

func (o *ListVariableParams) SetLimit(limit *int32)

SetLimit adds the limit to the list variable params

func (*ListVariableParams) SetOrderby

func (o *ListVariableParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the list variable params

func (*ListVariableParams) SetQ

func (o *ListVariableParams) SetQ(q *string)

SetQ adds the q to the list variable params

func (*ListVariableParams) SetStart

func (o *ListVariableParams) SetStart(start *int32)

SetStart adds the start to the list variable params

func (*ListVariableParams) SetTimeout

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

SetTimeout adds the timeout to the list variable params

func (*ListVariableParams) WithContext

WithContext adds the context to the list variable params

func (*ListVariableParams) WithFields

func (o *ListVariableParams) WithFields(fields *string) *ListVariableParams

WithFields adds the fields to the list variable params

func (*ListVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list variable params

func (*ListVariableParams) WithLimit

func (o *ListVariableParams) WithLimit(limit *int32) *ListVariableParams

WithLimit adds the limit to the list variable params

func (*ListVariableParams) WithOrderby

func (o *ListVariableParams) WithOrderby(orderby *string) *ListVariableParams

WithOrderby adds the orderby to the list variable params

func (*ListVariableParams) WithQ

WithQ adds the q to the list variable params

func (*ListVariableParams) WithStart

func (o *ListVariableParams) WithStart(start *int32) *ListVariableParams

WithStart adds the start to the list variable params

func (*ListVariableParams) WithTimeout

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

WithTimeout adds the timeout to the list variable params

func (*ListVariableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListVariableReader

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

ListVariableReader is a Reader for the ListVariable structure.

func (*ListVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVariableUnauthorized

type ListVariableUnauthorized struct {
	Payload *models.APIResult
}

ListVariableUnauthorized handles this case with default header values.

Unauthorized

func NewListVariableUnauthorized

func NewListVariableUnauthorized() *ListVariableUnauthorized

NewListVariableUnauthorized creates a ListVariableUnauthorized with default headers values

func (*ListVariableUnauthorized) Error

func (o *ListVariableUnauthorized) Error() string

func (*ListVariableUnauthorized) GetPayload

func (o *ListVariableUnauthorized) GetPayload() *models.APIResult

type MultiDeleteVariableBadRequest

type MultiDeleteVariableBadRequest struct {
	Payload *models.APIResult
}

MultiDeleteVariableBadRequest handles this case with default header values.

Bad Request

func NewMultiDeleteVariableBadRequest

func NewMultiDeleteVariableBadRequest() *MultiDeleteVariableBadRequest

NewMultiDeleteVariableBadRequest creates a MultiDeleteVariableBadRequest with default headers values

func (*MultiDeleteVariableBadRequest) Error

func (*MultiDeleteVariableBadRequest) GetPayload

type MultiDeleteVariableConflict

type MultiDeleteVariableConflict struct {
	Payload *models.APIResult
}

MultiDeleteVariableConflict handles this case with default header values.

Conflict

func NewMultiDeleteVariableConflict

func NewMultiDeleteVariableConflict() *MultiDeleteVariableConflict

NewMultiDeleteVariableConflict creates a MultiDeleteVariableConflict with default headers values

func (*MultiDeleteVariableConflict) Error

func (*MultiDeleteVariableConflict) GetPayload

func (o *MultiDeleteVariableConflict) GetPayload() *models.APIResult

type MultiDeleteVariableForbidden

type MultiDeleteVariableForbidden struct {
	Payload *models.APIResult
}

MultiDeleteVariableForbidden handles this case with default header values.

Forbidden

func NewMultiDeleteVariableForbidden

func NewMultiDeleteVariableForbidden() *MultiDeleteVariableForbidden

NewMultiDeleteVariableForbidden creates a MultiDeleteVariableForbidden with default headers values

func (*MultiDeleteVariableForbidden) Error

func (*MultiDeleteVariableForbidden) GetPayload

type MultiDeleteVariableInternalServerError

type MultiDeleteVariableInternalServerError struct {
	Payload *models.APIResult
}

MultiDeleteVariableInternalServerError handles this case with default header values.

Internal Server Error

func NewMultiDeleteVariableInternalServerError

func NewMultiDeleteVariableInternalServerError() *MultiDeleteVariableInternalServerError

NewMultiDeleteVariableInternalServerError creates a MultiDeleteVariableInternalServerError with default headers values

func (*MultiDeleteVariableInternalServerError) Error

func (*MultiDeleteVariableInternalServerError) GetPayload

type MultiDeleteVariableNotFound

type MultiDeleteVariableNotFound struct {
	Payload *models.APIResult
}

MultiDeleteVariableNotFound handles this case with default header values.

Not Found

func NewMultiDeleteVariableNotFound

func NewMultiDeleteVariableNotFound() *MultiDeleteVariableNotFound

NewMultiDeleteVariableNotFound creates a MultiDeleteVariableNotFound with default headers values

func (*MultiDeleteVariableNotFound) Error

func (*MultiDeleteVariableNotFound) GetPayload

func (o *MultiDeleteVariableNotFound) GetPayload() *models.APIResult

type MultiDeleteVariableOK

type MultiDeleteVariableOK struct {
	Payload *models.APIResultVoid
}

MultiDeleteVariableOK handles this case with default header values.

OK

func NewMultiDeleteVariableOK

func NewMultiDeleteVariableOK() *MultiDeleteVariableOK

NewMultiDeleteVariableOK creates a MultiDeleteVariableOK with default headers values

func (*MultiDeleteVariableOK) Error

func (o *MultiDeleteVariableOK) Error() string

func (*MultiDeleteVariableOK) GetPayload

func (o *MultiDeleteVariableOK) GetPayload() *models.APIResultVoid

type MultiDeleteVariableParams

type MultiDeleteVariableParams struct {

	/*Ids
	  A comma-separated list of resource identifiers

	*/
	Ids string

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

MultiDeleteVariableParams contains all the parameters to send to the API endpoint for the multi delete variable operation typically these are written to a http.Request

func NewMultiDeleteVariableParams

func NewMultiDeleteVariableParams() *MultiDeleteVariableParams

NewMultiDeleteVariableParams creates a new MultiDeleteVariableParams object with the default values initialized.

func NewMultiDeleteVariableParamsWithContext

func NewMultiDeleteVariableParamsWithContext(ctx context.Context) *MultiDeleteVariableParams

NewMultiDeleteVariableParamsWithContext creates a new MultiDeleteVariableParams object with the default values initialized, and the ability to set a context for a request

func NewMultiDeleteVariableParamsWithHTTPClient

func NewMultiDeleteVariableParamsWithHTTPClient(client *http.Client) *MultiDeleteVariableParams

NewMultiDeleteVariableParamsWithHTTPClient creates a new MultiDeleteVariableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMultiDeleteVariableParamsWithTimeout

func NewMultiDeleteVariableParamsWithTimeout(timeout time.Duration) *MultiDeleteVariableParams

NewMultiDeleteVariableParamsWithTimeout creates a new MultiDeleteVariableParams object with the default values initialized, and the ability to set a timeout on a request

func (*MultiDeleteVariableParams) SetContext

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

SetContext adds the context to the multi delete variable params

func (*MultiDeleteVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the multi delete variable params

func (*MultiDeleteVariableParams) SetIds

func (o *MultiDeleteVariableParams) SetIds(ids string)

SetIds adds the ids to the multi delete variable params

func (*MultiDeleteVariableParams) SetTimeout

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

SetTimeout adds the timeout to the multi delete variable params

func (*MultiDeleteVariableParams) WithContext

WithContext adds the context to the multi delete variable params

func (*MultiDeleteVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the multi delete variable params

func (*MultiDeleteVariableParams) WithIds

WithIds adds the ids to the multi delete variable params

func (*MultiDeleteVariableParams) WithTimeout

WithTimeout adds the timeout to the multi delete variable params

func (*MultiDeleteVariableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MultiDeleteVariableReader

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

MultiDeleteVariableReader is a Reader for the MultiDeleteVariable structure.

func (*MultiDeleteVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MultiDeleteVariableUnauthorized

type MultiDeleteVariableUnauthorized struct {
	Payload *models.APIResult
}

MultiDeleteVariableUnauthorized handles this case with default header values.

Unauthorized

func NewMultiDeleteVariableUnauthorized

func NewMultiDeleteVariableUnauthorized() *MultiDeleteVariableUnauthorized

NewMultiDeleteVariableUnauthorized creates a MultiDeleteVariableUnauthorized with default headers values

func (*MultiDeleteVariableUnauthorized) Error

func (*MultiDeleteVariableUnauthorized) GetPayload

type UpdateVariableBadRequest

type UpdateVariableBadRequest struct {
	Payload *models.APIResult
}

UpdateVariableBadRequest handles this case with default header values.

Bad Request

func NewUpdateVariableBadRequest

func NewUpdateVariableBadRequest() *UpdateVariableBadRequest

NewUpdateVariableBadRequest creates a UpdateVariableBadRequest with default headers values

func (*UpdateVariableBadRequest) Error

func (o *UpdateVariableBadRequest) Error() string

func (*UpdateVariableBadRequest) GetPayload

func (o *UpdateVariableBadRequest) GetPayload() *models.APIResult

type UpdateVariableConflict

type UpdateVariableConflict struct {
	Payload *models.APIResult
}

UpdateVariableConflict handles this case with default header values.

Conflict

func NewUpdateVariableConflict

func NewUpdateVariableConflict() *UpdateVariableConflict

NewUpdateVariableConflict creates a UpdateVariableConflict with default headers values

func (*UpdateVariableConflict) Error

func (o *UpdateVariableConflict) Error() string

func (*UpdateVariableConflict) GetPayload

func (o *UpdateVariableConflict) GetPayload() *models.APIResult

type UpdateVariableForbidden

type UpdateVariableForbidden struct {
	Payload *models.APIResult
}

UpdateVariableForbidden handles this case with default header values.

Forbidden

func NewUpdateVariableForbidden

func NewUpdateVariableForbidden() *UpdateVariableForbidden

NewUpdateVariableForbidden creates a UpdateVariableForbidden with default headers values

func (*UpdateVariableForbidden) Error

func (o *UpdateVariableForbidden) Error() string

func (*UpdateVariableForbidden) GetPayload

func (o *UpdateVariableForbidden) GetPayload() *models.APIResult

type UpdateVariableInternalServerError

type UpdateVariableInternalServerError struct {
	Payload *models.APIResult
}

UpdateVariableInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateVariableInternalServerError

func NewUpdateVariableInternalServerError() *UpdateVariableInternalServerError

NewUpdateVariableInternalServerError creates a UpdateVariableInternalServerError with default headers values

func (*UpdateVariableInternalServerError) Error

func (*UpdateVariableInternalServerError) GetPayload

type UpdateVariableNotFound

type UpdateVariableNotFound struct {
	Payload *models.APIResult
}

UpdateVariableNotFound handles this case with default header values.

Not Found

func NewUpdateVariableNotFound

func NewUpdateVariableNotFound() *UpdateVariableNotFound

NewUpdateVariableNotFound creates a UpdateVariableNotFound with default headers values

func (*UpdateVariableNotFound) Error

func (o *UpdateVariableNotFound) Error() string

func (*UpdateVariableNotFound) GetPayload

func (o *UpdateVariableNotFound) GetPayload() *models.APIResult

type UpdateVariableOK

type UpdateVariableOK struct {
	Payload *models.APIResultVariable
}

UpdateVariableOK handles this case with default header values.

OK

func NewUpdateVariableOK

func NewUpdateVariableOK() *UpdateVariableOK

NewUpdateVariableOK creates a UpdateVariableOK with default headers values

func (*UpdateVariableOK) Error

func (o *UpdateVariableOK) Error() string

func (*UpdateVariableOK) GetPayload

func (o *UpdateVariableOK) GetPayload() *models.APIResultVariable

type UpdateVariableParams

type UpdateVariableParams struct {

	/*ID
	  id

	*/
	ID int64
	/*Resource
	  resource

	*/
	Resource *models.Variable

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

UpdateVariableParams contains all the parameters to send to the API endpoint for the update variable operation typically these are written to a http.Request

func NewUpdateVariableParams

func NewUpdateVariableParams() *UpdateVariableParams

NewUpdateVariableParams creates a new UpdateVariableParams object with the default values initialized.

func NewUpdateVariableParamsWithContext

func NewUpdateVariableParamsWithContext(ctx context.Context) *UpdateVariableParams

NewUpdateVariableParamsWithContext creates a new UpdateVariableParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateVariableParamsWithHTTPClient

func NewUpdateVariableParamsWithHTTPClient(client *http.Client) *UpdateVariableParams

NewUpdateVariableParamsWithHTTPClient creates a new UpdateVariableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateVariableParamsWithTimeout

func NewUpdateVariableParamsWithTimeout(timeout time.Duration) *UpdateVariableParams

NewUpdateVariableParamsWithTimeout creates a new UpdateVariableParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateVariableParams) SetContext

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

SetContext adds the context to the update variable params

func (*UpdateVariableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update variable params

func (*UpdateVariableParams) SetID

func (o *UpdateVariableParams) SetID(id int64)

SetID adds the id to the update variable params

func (*UpdateVariableParams) SetResource

func (o *UpdateVariableParams) SetResource(resource *models.Variable)

SetResource adds the resource to the update variable params

func (*UpdateVariableParams) SetTimeout

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

SetTimeout adds the timeout to the update variable params

func (*UpdateVariableParams) WithContext

WithContext adds the context to the update variable params

func (*UpdateVariableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update variable params

func (*UpdateVariableParams) WithID

WithID adds the id to the update variable params

func (*UpdateVariableParams) WithResource

func (o *UpdateVariableParams) WithResource(resource *models.Variable) *UpdateVariableParams

WithResource adds the resource to the update variable params

func (*UpdateVariableParams) WithTimeout

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

WithTimeout adds the timeout to the update variable params

func (*UpdateVariableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateVariableReader

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

UpdateVariableReader is a Reader for the UpdateVariable structure.

func (*UpdateVariableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateVariableUnauthorized

type UpdateVariableUnauthorized struct {
	Payload *models.APIResult
}

UpdateVariableUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateVariableUnauthorized

func NewUpdateVariableUnauthorized() *UpdateVariableUnauthorized

NewUpdateVariableUnauthorized creates a UpdateVariableUnauthorized with default headers values

func (*UpdateVariableUnauthorized) Error

func (*UpdateVariableUnauthorized) GetPayload

func (o *UpdateVariableUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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