Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVariable(params *CreateVariableParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVariableCreated, error)
- func (a *Client) DeleteVariable(params *DeleteVariableParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteVariableOK, error)
- func (a *Client) ListVariable(params *ListVariableParams, authInfo runtime.ClientAuthInfoWriter) (*ListVariableOK, error)
- func (a *Client) MultiDeleteVariable(params *MultiDeleteVariableParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteVariableOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVariable(params *UpdateVariableParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateVariableOK, error)
- type ClientService
- type CreateVariableBadRequest
- type CreateVariableConflict
- type CreateVariableCreated
- type CreateVariableForbidden
- type CreateVariableInternalServerError
- type CreateVariableNotFound
- type CreateVariableParams
- func NewCreateVariableParams() *CreateVariableParams
- func NewCreateVariableParamsWithContext(ctx context.Context) *CreateVariableParams
- func NewCreateVariableParamsWithHTTPClient(client *http.Client) *CreateVariableParams
- func NewCreateVariableParamsWithTimeout(timeout time.Duration) *CreateVariableParams
- func (o *CreateVariableParams) SetContext(ctx context.Context)
- func (o *CreateVariableParams) SetHTTPClient(client *http.Client)
- func (o *CreateVariableParams) SetResource(resource *models.Variable)
- func (o *CreateVariableParams) SetTimeout(timeout time.Duration)
- func (o *CreateVariableParams) WithContext(ctx context.Context) *CreateVariableParams
- func (o *CreateVariableParams) WithHTTPClient(client *http.Client) *CreateVariableParams
- func (o *CreateVariableParams) WithResource(resource *models.Variable) *CreateVariableParams
- func (o *CreateVariableParams) WithTimeout(timeout time.Duration) *CreateVariableParams
- func (o *CreateVariableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVariableReader
- type CreateVariableUnauthorized
- type DeleteVariableBadRequest
- type DeleteVariableConflict
- type DeleteVariableForbidden
- type DeleteVariableInternalServerError
- type DeleteVariableNotFound
- type DeleteVariableOK
- type DeleteVariableParams
- func NewDeleteVariableParams() *DeleteVariableParams
- func NewDeleteVariableParamsWithContext(ctx context.Context) *DeleteVariableParams
- func NewDeleteVariableParamsWithHTTPClient(client *http.Client) *DeleteVariableParams
- func NewDeleteVariableParamsWithTimeout(timeout time.Duration) *DeleteVariableParams
- func (o *DeleteVariableParams) SetContext(ctx context.Context)
- func (o *DeleteVariableParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVariableParams) SetID(id int64)
- func (o *DeleteVariableParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVariableParams) WithContext(ctx context.Context) *DeleteVariableParams
- func (o *DeleteVariableParams) WithHTTPClient(client *http.Client) *DeleteVariableParams
- func (o *DeleteVariableParams) WithID(id int64) *DeleteVariableParams
- func (o *DeleteVariableParams) WithTimeout(timeout time.Duration) *DeleteVariableParams
- func (o *DeleteVariableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVariableReader
- type DeleteVariableUnauthorized
- type ListVariableBadRequest
- type ListVariableConflict
- type ListVariableForbidden
- type ListVariableInternalServerError
- type ListVariableNotFound
- type ListVariableOK
- type ListVariableParams
- func (o *ListVariableParams) SetContext(ctx context.Context)
- func (o *ListVariableParams) SetFields(fields *string)
- func (o *ListVariableParams) SetHTTPClient(client *http.Client)
- func (o *ListVariableParams) SetLimit(limit *int32)
- func (o *ListVariableParams) SetOrderby(orderby *string)
- func (o *ListVariableParams) SetQ(q *string)
- func (o *ListVariableParams) SetStart(start *int32)
- func (o *ListVariableParams) SetTimeout(timeout time.Duration)
- func (o *ListVariableParams) WithContext(ctx context.Context) *ListVariableParams
- func (o *ListVariableParams) WithFields(fields *string) *ListVariableParams
- func (o *ListVariableParams) WithHTTPClient(client *http.Client) *ListVariableParams
- func (o *ListVariableParams) WithLimit(limit *int32) *ListVariableParams
- func (o *ListVariableParams) WithOrderby(orderby *string) *ListVariableParams
- func (o *ListVariableParams) WithQ(q *string) *ListVariableParams
- func (o *ListVariableParams) WithStart(start *int32) *ListVariableParams
- func (o *ListVariableParams) WithTimeout(timeout time.Duration) *ListVariableParams
- func (o *ListVariableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVariableReader
- type ListVariableUnauthorized
- type MultiDeleteVariableBadRequest
- type MultiDeleteVariableConflict
- type MultiDeleteVariableForbidden
- type MultiDeleteVariableInternalServerError
- type MultiDeleteVariableNotFound
- type MultiDeleteVariableOK
- type MultiDeleteVariableParams
- func NewMultiDeleteVariableParams() *MultiDeleteVariableParams
- func NewMultiDeleteVariableParamsWithContext(ctx context.Context) *MultiDeleteVariableParams
- func NewMultiDeleteVariableParamsWithHTTPClient(client *http.Client) *MultiDeleteVariableParams
- func NewMultiDeleteVariableParamsWithTimeout(timeout time.Duration) *MultiDeleteVariableParams
- func (o *MultiDeleteVariableParams) SetContext(ctx context.Context)
- func (o *MultiDeleteVariableParams) SetHTTPClient(client *http.Client)
- func (o *MultiDeleteVariableParams) SetIds(ids string)
- func (o *MultiDeleteVariableParams) SetTimeout(timeout time.Duration)
- func (o *MultiDeleteVariableParams) WithContext(ctx context.Context) *MultiDeleteVariableParams
- func (o *MultiDeleteVariableParams) WithHTTPClient(client *http.Client) *MultiDeleteVariableParams
- func (o *MultiDeleteVariableParams) WithIds(ids string) *MultiDeleteVariableParams
- func (o *MultiDeleteVariableParams) WithTimeout(timeout time.Duration) *MultiDeleteVariableParams
- func (o *MultiDeleteVariableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MultiDeleteVariableReader
- type MultiDeleteVariableUnauthorized
- type UpdateVariableBadRequest
- type UpdateVariableConflict
- type UpdateVariableForbidden
- type UpdateVariableInternalServerError
- type UpdateVariableNotFound
- type UpdateVariableOK
- type UpdateVariableParams
- func NewUpdateVariableParams() *UpdateVariableParams
- func NewUpdateVariableParamsWithContext(ctx context.Context) *UpdateVariableParams
- func NewUpdateVariableParamsWithHTTPClient(client *http.Client) *UpdateVariableParams
- func NewUpdateVariableParamsWithTimeout(timeout time.Duration) *UpdateVariableParams
- func (o *UpdateVariableParams) SetContext(ctx context.Context)
- func (o *UpdateVariableParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVariableParams) SetID(id int64)
- func (o *UpdateVariableParams) SetResource(resource *models.Variable)
- func (o *UpdateVariableParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVariableParams) WithContext(ctx context.Context) *UpdateVariableParams
- func (o *UpdateVariableParams) WithHTTPClient(client *http.Client) *UpdateVariableParams
- func (o *UpdateVariableParams) WithID(id int64) *UpdateVariableParams
- func (o *UpdateVariableParams) WithResource(resource *models.Variable) *UpdateVariableParams
- func (o *UpdateVariableParams) WithTimeout(timeout time.Duration) *UpdateVariableParams
- func (o *UpdateVariableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVariableReader
- type UpdateVariableUnauthorized
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 ¶
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 ¶
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 ¶
func (o *CreateVariableCreated) GetPayload() *models.APIResultVariable
type CreateVariableForbidden ¶
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 ¶
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 (o *CreateVariableInternalServerError) Error() string
func (*CreateVariableInternalServerError) GetPayload ¶
func (o *CreateVariableInternalServerError) GetPayload() *models.APIResult
type CreateVariableNotFound ¶
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 ¶
func (o *CreateVariableParams) WithContext(ctx context.Context) *CreateVariableParams
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 {
}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 (o *CreateVariableUnauthorized) Error() string
func (*CreateVariableUnauthorized) GetPayload ¶
func (o *CreateVariableUnauthorized) GetPayload() *models.APIResult
type DeleteVariableBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *DeleteVariableInternalServerError) Error() string
func (*DeleteVariableInternalServerError) GetPayload ¶
func (o *DeleteVariableInternalServerError) GetPayload() *models.APIResult
type DeleteVariableNotFound ¶
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 ¶
func (o *DeleteVariableParams) WithContext(ctx context.Context) *DeleteVariableParams
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 ¶
func (o *DeleteVariableParams) WithID(id int64) *DeleteVariableParams
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 {
}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 (o *DeleteVariableUnauthorized) Error() string
func (*DeleteVariableUnauthorized) GetPayload ¶
func (o *DeleteVariableUnauthorized) GetPayload() *models.APIResult
type ListVariableBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *ListVariableInternalServerError) Error() string
func (*ListVariableInternalServerError) GetPayload ¶
func (o *ListVariableInternalServerError) GetPayload() *models.APIResult
type ListVariableNotFound ¶
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 ¶
func (o *ListVariableParams) WithContext(ctx context.Context) *ListVariableParams
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 ¶
func (o *ListVariableParams) WithQ(q *string) *ListVariableParams
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 {
}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 ¶
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 (o *MultiDeleteVariableBadRequest) Error() string
func (*MultiDeleteVariableBadRequest) GetPayload ¶
func (o *MultiDeleteVariableBadRequest) GetPayload() *models.APIResult
type MultiDeleteVariableConflict ¶
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 (o *MultiDeleteVariableConflict) Error() string
func (*MultiDeleteVariableConflict) GetPayload ¶
func (o *MultiDeleteVariableConflict) GetPayload() *models.APIResult
type MultiDeleteVariableForbidden ¶
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 (o *MultiDeleteVariableForbidden) Error() string
func (*MultiDeleteVariableForbidden) GetPayload ¶
func (o *MultiDeleteVariableForbidden) GetPayload() *models.APIResult
type MultiDeleteVariableInternalServerError ¶
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 (o *MultiDeleteVariableInternalServerError) Error() string
func (*MultiDeleteVariableInternalServerError) GetPayload ¶
func (o *MultiDeleteVariableInternalServerError) GetPayload() *models.APIResult
type MultiDeleteVariableNotFound ¶
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 (o *MultiDeleteVariableNotFound) Error() string
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 ¶
func (o *MultiDeleteVariableParams) WithContext(ctx context.Context) *MultiDeleteVariableParams
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 ¶
func (o *MultiDeleteVariableParams) WithIds(ids string) *MultiDeleteVariableParams
WithIds adds the ids to the multi delete variable params
func (*MultiDeleteVariableParams) WithTimeout ¶
func (o *MultiDeleteVariableParams) WithTimeout(timeout time.Duration) *MultiDeleteVariableParams
WithTimeout adds the timeout to the multi delete variable params
func (*MultiDeleteVariableParams) WriteToRequest ¶
func (o *MultiDeleteVariableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *MultiDeleteVariableUnauthorized) Error() string
func (*MultiDeleteVariableUnauthorized) GetPayload ¶
func (o *MultiDeleteVariableUnauthorized) GetPayload() *models.APIResult
type UpdateVariableBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *UpdateVariableInternalServerError) Error() string
func (*UpdateVariableInternalServerError) GetPayload ¶
func (o *UpdateVariableInternalServerError) GetPayload() *models.APIResult
type UpdateVariableNotFound ¶
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 ¶
func (o *UpdateVariableParams) WithContext(ctx context.Context) *UpdateVariableParams
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 ¶
func (o *UpdateVariableParams) WithID(id int64) *UpdateVariableParams
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 {
}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 (o *UpdateVariableUnauthorized) Error() string
func (*UpdateVariableUnauthorized) GetPayload ¶
func (o *UpdateVariableUnauthorized) GetPayload() *models.APIResult
Source Files ¶
- create_variable_parameters.go
- create_variable_responses.go
- delete_variable_parameters.go
- delete_variable_responses.go
- list_variable_parameters.go
- list_variable_responses.go
- multi_delete_variable_parameters.go
- multi_delete_variable_responses.go
- update_variable_parameters.go
- update_variable_responses.go
- variable_controller_client.go