Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateVariableUsingPOST(params *CreateVariableUsingPOSTParams, opts ...ClientOption) (*CreateVariableUsingPOSTOK, error)
- func (a *Client) DeleteVariableByIDUsingDELETE(params *DeleteVariableByIDUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByIDUsingDELETEOK, error)
- func (a *Client) DeleteVariableByNameUsingDELETE(params *DeleteVariableByNameUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByNameUsingDELETEOK, error)
- func (a *Client) GetAllVariablesUsingGET(params *GetAllVariablesUsingGETParams, opts ...ClientOption) (*GetAllVariablesUsingGETOK, error)
- func (a *Client) GetVariableByIDUsingGET(params *GetVariableByIDUsingGETParams, opts ...ClientOption) (*GetVariableByIDUsingGETOK, error)
- func (a *Client) GetVariableByNameUsingGET(params *GetVariableByNameUsingGETParams, opts ...ClientOption) (*GetVariableByNameUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVariableByIDUsingPUT(params *UpdateVariableByIDUsingPUTParams, opts ...ClientOption) (*UpdateVariableByIDUsingPUTOK, error)
- func (a *Client) UpdateVariableByNameUsingPUT(params *UpdateVariableByNameUsingPUTParams, opts ...ClientOption) (*UpdateVariableByNameUsingPUTOK, error)
- type ClientOption
- type ClientService
- type CreateVariableUsingPOSTForbidden
- func (o *CreateVariableUsingPOSTForbidden) Error() string
- func (o *CreateVariableUsingPOSTForbidden) IsClientError() bool
- func (o *CreateVariableUsingPOSTForbidden) IsCode(code int) bool
- func (o *CreateVariableUsingPOSTForbidden) IsRedirect() bool
- func (o *CreateVariableUsingPOSTForbidden) IsServerError() bool
- func (o *CreateVariableUsingPOSTForbidden) IsSuccess() bool
- func (o *CreateVariableUsingPOSTForbidden) String() string
- type CreateVariableUsingPOSTInternalServerError
- func (o *CreateVariableUsingPOSTInternalServerError) Error() string
- func (o *CreateVariableUsingPOSTInternalServerError) IsClientError() bool
- func (o *CreateVariableUsingPOSTInternalServerError) IsCode(code int) bool
- func (o *CreateVariableUsingPOSTInternalServerError) IsRedirect() bool
- func (o *CreateVariableUsingPOSTInternalServerError) IsServerError() bool
- func (o *CreateVariableUsingPOSTInternalServerError) IsSuccess() bool
- func (o *CreateVariableUsingPOSTInternalServerError) String() string
- type CreateVariableUsingPOSTNotFound
- func (o *CreateVariableUsingPOSTNotFound) Error() string
- func (o *CreateVariableUsingPOSTNotFound) GetPayload() *models.Error
- func (o *CreateVariableUsingPOSTNotFound) IsClientError() bool
- func (o *CreateVariableUsingPOSTNotFound) IsCode(code int) bool
- func (o *CreateVariableUsingPOSTNotFound) IsRedirect() bool
- func (o *CreateVariableUsingPOSTNotFound) IsServerError() bool
- func (o *CreateVariableUsingPOSTNotFound) IsSuccess() bool
- func (o *CreateVariableUsingPOSTNotFound) String() string
- type CreateVariableUsingPOSTOK
- func (o *CreateVariableUsingPOSTOK) Error() string
- func (o *CreateVariableUsingPOSTOK) GetPayload() *models.Variable
- func (o *CreateVariableUsingPOSTOK) IsClientError() bool
- func (o *CreateVariableUsingPOSTOK) IsCode(code int) bool
- func (o *CreateVariableUsingPOSTOK) IsRedirect() bool
- func (o *CreateVariableUsingPOSTOK) IsServerError() bool
- func (o *CreateVariableUsingPOSTOK) IsSuccess() bool
- func (o *CreateVariableUsingPOSTOK) String() string
- type CreateVariableUsingPOSTParams
- func NewCreateVariableUsingPOSTParams() *CreateVariableUsingPOSTParams
- func NewCreateVariableUsingPOSTParamsWithContext(ctx context.Context) *CreateVariableUsingPOSTParams
- func NewCreateVariableUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateVariableUsingPOSTParams
- func NewCreateVariableUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) SetAPIVersion(aPIVersion string)
- func (o *CreateVariableUsingPOSTParams) SetAuthorization(authorization string)
- func (o *CreateVariableUsingPOSTParams) SetBody(body models.VariableSpec)
- func (o *CreateVariableUsingPOSTParams) SetContext(ctx context.Context)
- func (o *CreateVariableUsingPOSTParams) SetDefaults()
- func (o *CreateVariableUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *CreateVariableUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *CreateVariableUsingPOSTParams) WithAPIVersion(aPIVersion string) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WithAuthorization(authorization string) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WithBody(body models.VariableSpec) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WithContext(ctx context.Context) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WithDefaults() *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateVariableUsingPOSTParams
- func (o *CreateVariableUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVariableUsingPOSTReader
- type CreateVariableUsingPOSTUnauthorized
- func (o *CreateVariableUsingPOSTUnauthorized) Error() string
- func (o *CreateVariableUsingPOSTUnauthorized) IsClientError() bool
- func (o *CreateVariableUsingPOSTUnauthorized) IsCode(code int) bool
- func (o *CreateVariableUsingPOSTUnauthorized) IsRedirect() bool
- func (o *CreateVariableUsingPOSTUnauthorized) IsServerError() bool
- func (o *CreateVariableUsingPOSTUnauthorized) IsSuccess() bool
- func (o *CreateVariableUsingPOSTUnauthorized) String() string
- type DeleteVariableByIDUsingDELETEForbidden
- func (o *DeleteVariableByIDUsingDELETEForbidden) Error() string
- func (o *DeleteVariableByIDUsingDELETEForbidden) IsClientError() bool
- func (o *DeleteVariableByIDUsingDELETEForbidden) IsCode(code int) bool
- func (o *DeleteVariableByIDUsingDELETEForbidden) IsRedirect() bool
- func (o *DeleteVariableByIDUsingDELETEForbidden) IsServerError() bool
- func (o *DeleteVariableByIDUsingDELETEForbidden) IsSuccess() bool
- func (o *DeleteVariableByIDUsingDELETEForbidden) String() string
- type DeleteVariableByIDUsingDELETEInternalServerError
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) Error() string
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsClientError() bool
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsCode(code int) bool
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsRedirect() bool
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsServerError() bool
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsSuccess() bool
- func (o *DeleteVariableByIDUsingDELETEInternalServerError) String() string
- type DeleteVariableByIDUsingDELETENotFound
- func (o *DeleteVariableByIDUsingDELETENotFound) Error() string
- func (o *DeleteVariableByIDUsingDELETENotFound) GetPayload() *models.Error
- func (o *DeleteVariableByIDUsingDELETENotFound) IsClientError() bool
- func (o *DeleteVariableByIDUsingDELETENotFound) IsCode(code int) bool
- func (o *DeleteVariableByIDUsingDELETENotFound) IsRedirect() bool
- func (o *DeleteVariableByIDUsingDELETENotFound) IsServerError() bool
- func (o *DeleteVariableByIDUsingDELETENotFound) IsSuccess() bool
- func (o *DeleteVariableByIDUsingDELETENotFound) String() string
- type DeleteVariableByIDUsingDELETEOK
- func (o *DeleteVariableByIDUsingDELETEOK) Error() string
- func (o *DeleteVariableByIDUsingDELETEOK) GetPayload() *models.Variable
- func (o *DeleteVariableByIDUsingDELETEOK) IsClientError() bool
- func (o *DeleteVariableByIDUsingDELETEOK) IsCode(code int) bool
- func (o *DeleteVariableByIDUsingDELETEOK) IsRedirect() bool
- func (o *DeleteVariableByIDUsingDELETEOK) IsServerError() bool
- func (o *DeleteVariableByIDUsingDELETEOK) IsSuccess() bool
- func (o *DeleteVariableByIDUsingDELETEOK) String() string
- type DeleteVariableByIDUsingDELETEParams
- func NewDeleteVariableByIDUsingDELETEParams() *DeleteVariableByIDUsingDELETEParams
- func NewDeleteVariableByIDUsingDELETEParamsWithContext(ctx context.Context) *DeleteVariableByIDUsingDELETEParams
- func NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteVariableByIDUsingDELETEParams
- func NewDeleteVariableByIDUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) SetAPIVersion(aPIVersion string)
- func (o *DeleteVariableByIDUsingDELETEParams) SetAuthorization(authorization string)
- func (o *DeleteVariableByIDUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteVariableByIDUsingDELETEParams) SetDefaults()
- func (o *DeleteVariableByIDUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVariableByIDUsingDELETEParams) SetID(id string)
- func (o *DeleteVariableByIDUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVariableByIDUsingDELETEParams) WithAPIVersion(aPIVersion string) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WithAuthorization(authorization string) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WithContext(ctx context.Context) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WithDefaults() *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WithID(id string) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteVariableByIDUsingDELETEParams
- func (o *DeleteVariableByIDUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVariableByIDUsingDELETEReader
- type DeleteVariableByIDUsingDELETEUnauthorized
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) Error() string
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsClientError() bool
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsCode(code int) bool
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsRedirect() bool
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsServerError() bool
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsSuccess() bool
- func (o *DeleteVariableByIDUsingDELETEUnauthorized) String() string
- type DeleteVariableByNameUsingDELETEForbidden
- func (o *DeleteVariableByNameUsingDELETEForbidden) Error() string
- func (o *DeleteVariableByNameUsingDELETEForbidden) IsClientError() bool
- func (o *DeleteVariableByNameUsingDELETEForbidden) IsCode(code int) bool
- func (o *DeleteVariableByNameUsingDELETEForbidden) IsRedirect() bool
- func (o *DeleteVariableByNameUsingDELETEForbidden) IsServerError() bool
- func (o *DeleteVariableByNameUsingDELETEForbidden) IsSuccess() bool
- func (o *DeleteVariableByNameUsingDELETEForbidden) String() string
- type DeleteVariableByNameUsingDELETEInternalServerError
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) Error() string
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsClientError() bool
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsCode(code int) bool
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsRedirect() bool
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsServerError() bool
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsSuccess() bool
- func (o *DeleteVariableByNameUsingDELETEInternalServerError) String() string
- type DeleteVariableByNameUsingDELETENotFound
- func (o *DeleteVariableByNameUsingDELETENotFound) Error() string
- func (o *DeleteVariableByNameUsingDELETENotFound) GetPayload() *models.Error
- func (o *DeleteVariableByNameUsingDELETENotFound) IsClientError() bool
- func (o *DeleteVariableByNameUsingDELETENotFound) IsCode(code int) bool
- func (o *DeleteVariableByNameUsingDELETENotFound) IsRedirect() bool
- func (o *DeleteVariableByNameUsingDELETENotFound) IsServerError() bool
- func (o *DeleteVariableByNameUsingDELETENotFound) IsSuccess() bool
- func (o *DeleteVariableByNameUsingDELETENotFound) String() string
- type DeleteVariableByNameUsingDELETEOK
- func (o *DeleteVariableByNameUsingDELETEOK) Error() string
- func (o *DeleteVariableByNameUsingDELETEOK) GetPayload() *models.Variable
- func (o *DeleteVariableByNameUsingDELETEOK) IsClientError() bool
- func (o *DeleteVariableByNameUsingDELETEOK) IsCode(code int) bool
- func (o *DeleteVariableByNameUsingDELETEOK) IsRedirect() bool
- func (o *DeleteVariableByNameUsingDELETEOK) IsServerError() bool
- func (o *DeleteVariableByNameUsingDELETEOK) IsSuccess() bool
- func (o *DeleteVariableByNameUsingDELETEOK) String() string
- type DeleteVariableByNameUsingDELETEParams
- func NewDeleteVariableByNameUsingDELETEParams() *DeleteVariableByNameUsingDELETEParams
- func NewDeleteVariableByNameUsingDELETEParamsWithContext(ctx context.Context) *DeleteVariableByNameUsingDELETEParams
- func NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteVariableByNameUsingDELETEParams
- func NewDeleteVariableByNameUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) SetAPIVersion(aPIVersion string)
- func (o *DeleteVariableByNameUsingDELETEParams) SetAuthorization(authorization string)
- func (o *DeleteVariableByNameUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteVariableByNameUsingDELETEParams) SetDefaults()
- func (o *DeleteVariableByNameUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVariableByNameUsingDELETEParams) SetName(name string)
- func (o *DeleteVariableByNameUsingDELETEParams) SetProject(project string)
- func (o *DeleteVariableByNameUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVariableByNameUsingDELETEParams) WithAPIVersion(aPIVersion string) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithAuthorization(authorization string) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithContext(ctx context.Context) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithDefaults() *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithName(name string) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithProject(project string) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteVariableByNameUsingDELETEParams
- func (o *DeleteVariableByNameUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVariableByNameUsingDELETEReader
- type DeleteVariableByNameUsingDELETEUnauthorized
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) Error() string
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsClientError() bool
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsCode(code int) bool
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsRedirect() bool
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsServerError() bool
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsSuccess() bool
- func (o *DeleteVariableByNameUsingDELETEUnauthorized) String() string
- type GetAllVariablesUsingGETForbidden
- func (o *GetAllVariablesUsingGETForbidden) Error() string
- func (o *GetAllVariablesUsingGETForbidden) IsClientError() bool
- func (o *GetAllVariablesUsingGETForbidden) IsCode(code int) bool
- func (o *GetAllVariablesUsingGETForbidden) IsRedirect() bool
- func (o *GetAllVariablesUsingGETForbidden) IsServerError() bool
- func (o *GetAllVariablesUsingGETForbidden) IsSuccess() bool
- func (o *GetAllVariablesUsingGETForbidden) String() string
- type GetAllVariablesUsingGETInternalServerError
- func (o *GetAllVariablesUsingGETInternalServerError) Error() string
- func (o *GetAllVariablesUsingGETInternalServerError) IsClientError() bool
- func (o *GetAllVariablesUsingGETInternalServerError) IsCode(code int) bool
- func (o *GetAllVariablesUsingGETInternalServerError) IsRedirect() bool
- func (o *GetAllVariablesUsingGETInternalServerError) IsServerError() bool
- func (o *GetAllVariablesUsingGETInternalServerError) IsSuccess() bool
- func (o *GetAllVariablesUsingGETInternalServerError) String() string
- type GetAllVariablesUsingGETNotFound
- func (o *GetAllVariablesUsingGETNotFound) Error() string
- func (o *GetAllVariablesUsingGETNotFound) GetPayload() *models.Error
- func (o *GetAllVariablesUsingGETNotFound) IsClientError() bool
- func (o *GetAllVariablesUsingGETNotFound) IsCode(code int) bool
- func (o *GetAllVariablesUsingGETNotFound) IsRedirect() bool
- func (o *GetAllVariablesUsingGETNotFound) IsServerError() bool
- func (o *GetAllVariablesUsingGETNotFound) IsSuccess() bool
- func (o *GetAllVariablesUsingGETNotFound) String() string
- type GetAllVariablesUsingGETOK
- func (o *GetAllVariablesUsingGETOK) Error() string
- func (o *GetAllVariablesUsingGETOK) GetPayload() models.Variables
- func (o *GetAllVariablesUsingGETOK) IsClientError() bool
- func (o *GetAllVariablesUsingGETOK) IsCode(code int) bool
- func (o *GetAllVariablesUsingGETOK) IsRedirect() bool
- func (o *GetAllVariablesUsingGETOK) IsServerError() bool
- func (o *GetAllVariablesUsingGETOK) IsSuccess() bool
- func (o *GetAllVariablesUsingGETOK) String() string
- type GetAllVariablesUsingGETParams
- func NewGetAllVariablesUsingGETParams() *GetAllVariablesUsingGETParams
- func NewGetAllVariablesUsingGETParamsWithContext(ctx context.Context) *GetAllVariablesUsingGETParams
- func NewGetAllVariablesUsingGETParamsWithHTTPClient(client *http.Client) *GetAllVariablesUsingGETParams
- func NewGetAllVariablesUsingGETParamsWithTimeout(timeout time.Duration) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) SetAPIVersion(aPIVersion string)
- func (o *GetAllVariablesUsingGETParams) SetAuthorization(authorization string)
- func (o *GetAllVariablesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetAllVariablesUsingGETParams) SetDefaults()
- func (o *GetAllVariablesUsingGETParams) SetDollarFilter(dollarFilter *string)
- func (o *GetAllVariablesUsingGETParams) SetDollarOrderby(dollarOrderby *string)
- func (o *GetAllVariablesUsingGETParams) SetDollarSkip(dollarSkip *string)
- func (o *GetAllVariablesUsingGETParams) SetDollarTop(dollarTop *string)
- func (o *GetAllVariablesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetAllVariablesUsingGETParams) SetPage(page *string)
- func (o *GetAllVariablesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetAllVariablesUsingGETParams) WithAPIVersion(aPIVersion string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithAuthorization(authorization string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithContext(ctx context.Context) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithDefaults() *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithDollarFilter(dollarFilter *string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithDollarOrderby(dollarOrderby *string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithDollarSkip(dollarSkip *string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithDollarTop(dollarTop *string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithHTTPClient(client *http.Client) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithPage(page *string) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WithTimeout(timeout time.Duration) *GetAllVariablesUsingGETParams
- func (o *GetAllVariablesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllVariablesUsingGETReader
- type GetAllVariablesUsingGETUnauthorized
- func (o *GetAllVariablesUsingGETUnauthorized) Error() string
- func (o *GetAllVariablesUsingGETUnauthorized) IsClientError() bool
- func (o *GetAllVariablesUsingGETUnauthorized) IsCode(code int) bool
- func (o *GetAllVariablesUsingGETUnauthorized) IsRedirect() bool
- func (o *GetAllVariablesUsingGETUnauthorized) IsServerError() bool
- func (o *GetAllVariablesUsingGETUnauthorized) IsSuccess() bool
- func (o *GetAllVariablesUsingGETUnauthorized) String() string
- type GetVariableByIDUsingGETForbidden
- func (o *GetVariableByIDUsingGETForbidden) Error() string
- func (o *GetVariableByIDUsingGETForbidden) IsClientError() bool
- func (o *GetVariableByIDUsingGETForbidden) IsCode(code int) bool
- func (o *GetVariableByIDUsingGETForbidden) IsRedirect() bool
- func (o *GetVariableByIDUsingGETForbidden) IsServerError() bool
- func (o *GetVariableByIDUsingGETForbidden) IsSuccess() bool
- func (o *GetVariableByIDUsingGETForbidden) String() string
- type GetVariableByIDUsingGETInternalServerError
- func (o *GetVariableByIDUsingGETInternalServerError) Error() string
- func (o *GetVariableByIDUsingGETInternalServerError) IsClientError() bool
- func (o *GetVariableByIDUsingGETInternalServerError) IsCode(code int) bool
- func (o *GetVariableByIDUsingGETInternalServerError) IsRedirect() bool
- func (o *GetVariableByIDUsingGETInternalServerError) IsServerError() bool
- func (o *GetVariableByIDUsingGETInternalServerError) IsSuccess() bool
- func (o *GetVariableByIDUsingGETInternalServerError) String() string
- type GetVariableByIDUsingGETNotFound
- func (o *GetVariableByIDUsingGETNotFound) Error() string
- func (o *GetVariableByIDUsingGETNotFound) GetPayload() *models.Error
- func (o *GetVariableByIDUsingGETNotFound) IsClientError() bool
- func (o *GetVariableByIDUsingGETNotFound) IsCode(code int) bool
- func (o *GetVariableByIDUsingGETNotFound) IsRedirect() bool
- func (o *GetVariableByIDUsingGETNotFound) IsServerError() bool
- func (o *GetVariableByIDUsingGETNotFound) IsSuccess() bool
- func (o *GetVariableByIDUsingGETNotFound) String() string
- type GetVariableByIDUsingGETOK
- func (o *GetVariableByIDUsingGETOK) Error() string
- func (o *GetVariableByIDUsingGETOK) GetPayload() *models.Variable
- func (o *GetVariableByIDUsingGETOK) IsClientError() bool
- func (o *GetVariableByIDUsingGETOK) IsCode(code int) bool
- func (o *GetVariableByIDUsingGETOK) IsRedirect() bool
- func (o *GetVariableByIDUsingGETOK) IsServerError() bool
- func (o *GetVariableByIDUsingGETOK) IsSuccess() bool
- func (o *GetVariableByIDUsingGETOK) String() string
- type GetVariableByIDUsingGETParams
- func NewGetVariableByIDUsingGETParams() *GetVariableByIDUsingGETParams
- func NewGetVariableByIDUsingGETParamsWithContext(ctx context.Context) *GetVariableByIDUsingGETParams
- func NewGetVariableByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetVariableByIDUsingGETParams
- func NewGetVariableByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) SetAPIVersion(aPIVersion string)
- func (o *GetVariableByIDUsingGETParams) SetAuthorization(authorization string)
- func (o *GetVariableByIDUsingGETParams) SetContext(ctx context.Context)
- func (o *GetVariableByIDUsingGETParams) SetDefaults()
- func (o *GetVariableByIDUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetVariableByIDUsingGETParams) SetID(id string)
- func (o *GetVariableByIDUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetVariableByIDUsingGETParams) WithAPIVersion(aPIVersion string) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WithAuthorization(authorization string) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WithContext(ctx context.Context) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WithDefaults() *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WithHTTPClient(client *http.Client) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WithID(id string) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WithTimeout(timeout time.Duration) *GetVariableByIDUsingGETParams
- func (o *GetVariableByIDUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVariableByIDUsingGETReader
- type GetVariableByIDUsingGETUnauthorized
- func (o *GetVariableByIDUsingGETUnauthorized) Error() string
- func (o *GetVariableByIDUsingGETUnauthorized) IsClientError() bool
- func (o *GetVariableByIDUsingGETUnauthorized) IsCode(code int) bool
- func (o *GetVariableByIDUsingGETUnauthorized) IsRedirect() bool
- func (o *GetVariableByIDUsingGETUnauthorized) IsServerError() bool
- func (o *GetVariableByIDUsingGETUnauthorized) IsSuccess() bool
- func (o *GetVariableByIDUsingGETUnauthorized) String() string
- type GetVariableByNameUsingGETForbidden
- func (o *GetVariableByNameUsingGETForbidden) Error() string
- func (o *GetVariableByNameUsingGETForbidden) IsClientError() bool
- func (o *GetVariableByNameUsingGETForbidden) IsCode(code int) bool
- func (o *GetVariableByNameUsingGETForbidden) IsRedirect() bool
- func (o *GetVariableByNameUsingGETForbidden) IsServerError() bool
- func (o *GetVariableByNameUsingGETForbidden) IsSuccess() bool
- func (o *GetVariableByNameUsingGETForbidden) String() string
- type GetVariableByNameUsingGETInternalServerError
- func (o *GetVariableByNameUsingGETInternalServerError) Error() string
- func (o *GetVariableByNameUsingGETInternalServerError) IsClientError() bool
- func (o *GetVariableByNameUsingGETInternalServerError) IsCode(code int) bool
- func (o *GetVariableByNameUsingGETInternalServerError) IsRedirect() bool
- func (o *GetVariableByNameUsingGETInternalServerError) IsServerError() bool
- func (o *GetVariableByNameUsingGETInternalServerError) IsSuccess() bool
- func (o *GetVariableByNameUsingGETInternalServerError) String() string
- type GetVariableByNameUsingGETNotFound
- func (o *GetVariableByNameUsingGETNotFound) Error() string
- func (o *GetVariableByNameUsingGETNotFound) GetPayload() *models.Error
- func (o *GetVariableByNameUsingGETNotFound) IsClientError() bool
- func (o *GetVariableByNameUsingGETNotFound) IsCode(code int) bool
- func (o *GetVariableByNameUsingGETNotFound) IsRedirect() bool
- func (o *GetVariableByNameUsingGETNotFound) IsServerError() bool
- func (o *GetVariableByNameUsingGETNotFound) IsSuccess() bool
- func (o *GetVariableByNameUsingGETNotFound) String() string
- type GetVariableByNameUsingGETOK
- func (o *GetVariableByNameUsingGETOK) Error() string
- func (o *GetVariableByNameUsingGETOK) GetPayload() *models.Variable
- func (o *GetVariableByNameUsingGETOK) IsClientError() bool
- func (o *GetVariableByNameUsingGETOK) IsCode(code int) bool
- func (o *GetVariableByNameUsingGETOK) IsRedirect() bool
- func (o *GetVariableByNameUsingGETOK) IsServerError() bool
- func (o *GetVariableByNameUsingGETOK) IsSuccess() bool
- func (o *GetVariableByNameUsingGETOK) String() string
- type GetVariableByNameUsingGETParams
- func NewGetVariableByNameUsingGETParams() *GetVariableByNameUsingGETParams
- func NewGetVariableByNameUsingGETParamsWithContext(ctx context.Context) *GetVariableByNameUsingGETParams
- func NewGetVariableByNameUsingGETParamsWithHTTPClient(client *http.Client) *GetVariableByNameUsingGETParams
- func NewGetVariableByNameUsingGETParamsWithTimeout(timeout time.Duration) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) SetAPIVersion(aPIVersion string)
- func (o *GetVariableByNameUsingGETParams) SetAuthorization(authorization string)
- func (o *GetVariableByNameUsingGETParams) SetContext(ctx context.Context)
- func (o *GetVariableByNameUsingGETParams) SetDefaults()
- func (o *GetVariableByNameUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetVariableByNameUsingGETParams) SetName(name string)
- func (o *GetVariableByNameUsingGETParams) SetProject(project string)
- func (o *GetVariableByNameUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetVariableByNameUsingGETParams) WithAPIVersion(aPIVersion string) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithAuthorization(authorization string) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithContext(ctx context.Context) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithDefaults() *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithHTTPClient(client *http.Client) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithName(name string) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithProject(project string) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WithTimeout(timeout time.Duration) *GetVariableByNameUsingGETParams
- func (o *GetVariableByNameUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVariableByNameUsingGETReader
- type GetVariableByNameUsingGETUnauthorized
- func (o *GetVariableByNameUsingGETUnauthorized) Error() string
- func (o *GetVariableByNameUsingGETUnauthorized) IsClientError() bool
- func (o *GetVariableByNameUsingGETUnauthorized) IsCode(code int) bool
- func (o *GetVariableByNameUsingGETUnauthorized) IsRedirect() bool
- func (o *GetVariableByNameUsingGETUnauthorized) IsServerError() bool
- func (o *GetVariableByNameUsingGETUnauthorized) IsSuccess() bool
- func (o *GetVariableByNameUsingGETUnauthorized) String() string
- type UpdateVariableByIDUsingPUTForbidden
- func (o *UpdateVariableByIDUsingPUTForbidden) Error() string
- func (o *UpdateVariableByIDUsingPUTForbidden) IsClientError() bool
- func (o *UpdateVariableByIDUsingPUTForbidden) IsCode(code int) bool
- func (o *UpdateVariableByIDUsingPUTForbidden) IsRedirect() bool
- func (o *UpdateVariableByIDUsingPUTForbidden) IsServerError() bool
- func (o *UpdateVariableByIDUsingPUTForbidden) IsSuccess() bool
- func (o *UpdateVariableByIDUsingPUTForbidden) String() string
- type UpdateVariableByIDUsingPUTInternalServerError
- func (o *UpdateVariableByIDUsingPUTInternalServerError) Error() string
- func (o *UpdateVariableByIDUsingPUTInternalServerError) IsClientError() bool
- func (o *UpdateVariableByIDUsingPUTInternalServerError) IsCode(code int) bool
- func (o *UpdateVariableByIDUsingPUTInternalServerError) IsRedirect() bool
- func (o *UpdateVariableByIDUsingPUTInternalServerError) IsServerError() bool
- func (o *UpdateVariableByIDUsingPUTInternalServerError) IsSuccess() bool
- func (o *UpdateVariableByIDUsingPUTInternalServerError) String() string
- type UpdateVariableByIDUsingPUTNotFound
- func (o *UpdateVariableByIDUsingPUTNotFound) Error() string
- func (o *UpdateVariableByIDUsingPUTNotFound) GetPayload() *models.Error
- func (o *UpdateVariableByIDUsingPUTNotFound) IsClientError() bool
- func (o *UpdateVariableByIDUsingPUTNotFound) IsCode(code int) bool
- func (o *UpdateVariableByIDUsingPUTNotFound) IsRedirect() bool
- func (o *UpdateVariableByIDUsingPUTNotFound) IsServerError() bool
- func (o *UpdateVariableByIDUsingPUTNotFound) IsSuccess() bool
- func (o *UpdateVariableByIDUsingPUTNotFound) String() string
- type UpdateVariableByIDUsingPUTOK
- func (o *UpdateVariableByIDUsingPUTOK) Error() string
- func (o *UpdateVariableByIDUsingPUTOK) GetPayload() *models.Variable
- func (o *UpdateVariableByIDUsingPUTOK) IsClientError() bool
- func (o *UpdateVariableByIDUsingPUTOK) IsCode(code int) bool
- func (o *UpdateVariableByIDUsingPUTOK) IsRedirect() bool
- func (o *UpdateVariableByIDUsingPUTOK) IsServerError() bool
- func (o *UpdateVariableByIDUsingPUTOK) IsSuccess() bool
- func (o *UpdateVariableByIDUsingPUTOK) String() string
- type UpdateVariableByIDUsingPUTParams
- func NewUpdateVariableByIDUsingPUTParams() *UpdateVariableByIDUsingPUTParams
- func NewUpdateVariableByIDUsingPUTParamsWithContext(ctx context.Context) *UpdateVariableByIDUsingPUTParams
- func NewUpdateVariableByIDUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateVariableByIDUsingPUTParams
- func NewUpdateVariableByIDUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) SetAPIVersion(aPIVersion string)
- func (o *UpdateVariableByIDUsingPUTParams) SetAuthorization(authorization string)
- func (o *UpdateVariableByIDUsingPUTParams) SetBody(body models.VariableSpec)
- func (o *UpdateVariableByIDUsingPUTParams) SetContext(ctx context.Context)
- func (o *UpdateVariableByIDUsingPUTParams) SetDefaults()
- func (o *UpdateVariableByIDUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVariableByIDUsingPUTParams) SetID(id string)
- func (o *UpdateVariableByIDUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVariableByIDUsingPUTParams) WithAPIVersion(aPIVersion string) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithAuthorization(authorization string) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithBody(body models.VariableSpec) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithContext(ctx context.Context) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithDefaults() *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithHTTPClient(client *http.Client) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithID(id string) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WithTimeout(timeout time.Duration) *UpdateVariableByIDUsingPUTParams
- func (o *UpdateVariableByIDUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVariableByIDUsingPUTReader
- type UpdateVariableByIDUsingPUTUnauthorized
- func (o *UpdateVariableByIDUsingPUTUnauthorized) Error() string
- func (o *UpdateVariableByIDUsingPUTUnauthorized) IsClientError() bool
- func (o *UpdateVariableByIDUsingPUTUnauthorized) IsCode(code int) bool
- func (o *UpdateVariableByIDUsingPUTUnauthorized) IsRedirect() bool
- func (o *UpdateVariableByIDUsingPUTUnauthorized) IsServerError() bool
- func (o *UpdateVariableByIDUsingPUTUnauthorized) IsSuccess() bool
- func (o *UpdateVariableByIDUsingPUTUnauthorized) String() string
- type UpdateVariableByNameUsingPUTForbidden
- func (o *UpdateVariableByNameUsingPUTForbidden) Error() string
- func (o *UpdateVariableByNameUsingPUTForbidden) IsClientError() bool
- func (o *UpdateVariableByNameUsingPUTForbidden) IsCode(code int) bool
- func (o *UpdateVariableByNameUsingPUTForbidden) IsRedirect() bool
- func (o *UpdateVariableByNameUsingPUTForbidden) IsServerError() bool
- func (o *UpdateVariableByNameUsingPUTForbidden) IsSuccess() bool
- func (o *UpdateVariableByNameUsingPUTForbidden) String() string
- type UpdateVariableByNameUsingPUTInternalServerError
- func (o *UpdateVariableByNameUsingPUTInternalServerError) Error() string
- func (o *UpdateVariableByNameUsingPUTInternalServerError) IsClientError() bool
- func (o *UpdateVariableByNameUsingPUTInternalServerError) IsCode(code int) bool
- func (o *UpdateVariableByNameUsingPUTInternalServerError) IsRedirect() bool
- func (o *UpdateVariableByNameUsingPUTInternalServerError) IsServerError() bool
- func (o *UpdateVariableByNameUsingPUTInternalServerError) IsSuccess() bool
- func (o *UpdateVariableByNameUsingPUTInternalServerError) String() string
- type UpdateVariableByNameUsingPUTNotFound
- func (o *UpdateVariableByNameUsingPUTNotFound) Error() string
- func (o *UpdateVariableByNameUsingPUTNotFound) GetPayload() *models.Error
- func (o *UpdateVariableByNameUsingPUTNotFound) IsClientError() bool
- func (o *UpdateVariableByNameUsingPUTNotFound) IsCode(code int) bool
- func (o *UpdateVariableByNameUsingPUTNotFound) IsRedirect() bool
- func (o *UpdateVariableByNameUsingPUTNotFound) IsServerError() bool
- func (o *UpdateVariableByNameUsingPUTNotFound) IsSuccess() bool
- func (o *UpdateVariableByNameUsingPUTNotFound) String() string
- type UpdateVariableByNameUsingPUTOK
- func (o *UpdateVariableByNameUsingPUTOK) Error() string
- func (o *UpdateVariableByNameUsingPUTOK) GetPayload() *models.Variable
- func (o *UpdateVariableByNameUsingPUTOK) IsClientError() bool
- func (o *UpdateVariableByNameUsingPUTOK) IsCode(code int) bool
- func (o *UpdateVariableByNameUsingPUTOK) IsRedirect() bool
- func (o *UpdateVariableByNameUsingPUTOK) IsServerError() bool
- func (o *UpdateVariableByNameUsingPUTOK) IsSuccess() bool
- func (o *UpdateVariableByNameUsingPUTOK) String() string
- type UpdateVariableByNameUsingPUTParams
- func NewUpdateVariableByNameUsingPUTParams() *UpdateVariableByNameUsingPUTParams
- func NewUpdateVariableByNameUsingPUTParamsWithContext(ctx context.Context) *UpdateVariableByNameUsingPUTParams
- func NewUpdateVariableByNameUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateVariableByNameUsingPUTParams
- func NewUpdateVariableByNameUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) SetAPIVersion(aPIVersion string)
- func (o *UpdateVariableByNameUsingPUTParams) SetAuthorization(authorization string)
- func (o *UpdateVariableByNameUsingPUTParams) SetBody(body models.VariableSpec)
- func (o *UpdateVariableByNameUsingPUTParams) SetContext(ctx context.Context)
- func (o *UpdateVariableByNameUsingPUTParams) SetDefaults()
- func (o *UpdateVariableByNameUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVariableByNameUsingPUTParams) SetName(name string)
- func (o *UpdateVariableByNameUsingPUTParams) SetProject(project string)
- func (o *UpdateVariableByNameUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVariableByNameUsingPUTParams) WithAPIVersion(aPIVersion string) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithAuthorization(authorization string) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithBody(body models.VariableSpec) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithContext(ctx context.Context) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithDefaults() *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithHTTPClient(client *http.Client) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithName(name string) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithProject(project string) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WithTimeout(timeout time.Duration) *UpdateVariableByNameUsingPUTParams
- func (o *UpdateVariableByNameUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVariableByNameUsingPUTReader
- type UpdateVariableByNameUsingPUTUnauthorized
- func (o *UpdateVariableByNameUsingPUTUnauthorized) Error() string
- func (o *UpdateVariableByNameUsingPUTUnauthorized) IsClientError() bool
- func (o *UpdateVariableByNameUsingPUTUnauthorized) IsCode(code int) bool
- func (o *UpdateVariableByNameUsingPUTUnauthorized) IsRedirect() bool
- func (o *UpdateVariableByNameUsingPUTUnauthorized) IsServerError() bool
- func (o *UpdateVariableByNameUsingPUTUnauthorized) IsSuccess() bool
- func (o *UpdateVariableByNameUsingPUTUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for variables API
func (*Client) CreateVariableUsingPOST ¶ added in v0.4.0
func (a *Client) CreateVariableUsingPOST(params *CreateVariableUsingPOSTParams, opts ...ClientOption) (*CreateVariableUsingPOSTOK, error)
CreateVariableUsingPOST creates a variable
Creates a Variable based on project name
func (*Client) DeleteVariableByIDUsingDELETE ¶ added in v0.4.0
func (a *Client) DeleteVariableByIDUsingDELETE(params *DeleteVariableByIDUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByIDUsingDELETEOK, error)
DeleteVariableByIDUsingDELETE deletes a variable by Id
Deletes a Variable with the given Id
func (*Client) DeleteVariableByNameUsingDELETE ¶ added in v0.4.0
func (a *Client) DeleteVariableByNameUsingDELETE(params *DeleteVariableByNameUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByNameUsingDELETEOK, error)
DeleteVariableByNameUsingDELETE deletes a variable by project and name
Deletes a Variable with the given name
func (*Client) GetAllVariablesUsingGET ¶ added in v0.4.0
func (a *Client) GetAllVariablesUsingGET(params *GetAllVariablesUsingGETParams, opts ...ClientOption) (*GetAllVariablesUsingGETOK, error)
GetAllVariablesUsingGET gets all variables
Get all Variables with specified paging and filter parameters.
func (*Client) GetVariableByIDUsingGET ¶ added in v0.4.0
func (a *Client) GetVariableByIDUsingGET(params *GetVariableByIDUsingGETParams, opts ...ClientOption) (*GetVariableByIDUsingGETOK, error)
GetVariableByIDUsingGET gets a variable
Gets a Variable with the given id
func (*Client) GetVariableByNameUsingGET ¶ added in v0.4.0
func (a *Client) GetVariableByNameUsingGET(params *GetVariableByNameUsingGETParams, opts ...ClientOption) (*GetVariableByNameUsingGETOK, error)
GetVariableByNameUsingGET gets a variable by project and name
Get an Variable with the given project and name
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVariableByIDUsingPUT ¶ added in v0.4.0
func (a *Client) UpdateVariableByIDUsingPUT(params *UpdateVariableByIDUsingPUTParams, opts ...ClientOption) (*UpdateVariableByIDUsingPUTOK, error)
UpdateVariableByIDUsingPUT updates a variable by id
Updates a Variable with the given id
func (*Client) UpdateVariableByNameUsingPUT ¶ added in v0.4.0
func (a *Client) UpdateVariableByNameUsingPUT(params *UpdateVariableByNameUsingPUTParams, opts ...ClientOption) (*UpdateVariableByNameUsingPUTOK, error)
UpdateVariableByNameUsingPUT updates a variable by project and name
Update an Variable with the given project and name
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateVariableUsingPOST(params *CreateVariableUsingPOSTParams, opts ...ClientOption) (*CreateVariableUsingPOSTOK, error) DeleteVariableByIDUsingDELETE(params *DeleteVariableByIDUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByIDUsingDELETEOK, error) DeleteVariableByNameUsingDELETE(params *DeleteVariableByNameUsingDELETEParams, opts ...ClientOption) (*DeleteVariableByNameUsingDELETEOK, error) GetAllVariablesUsingGET(params *GetAllVariablesUsingGETParams, opts ...ClientOption) (*GetAllVariablesUsingGETOK, error) GetVariableByIDUsingGET(params *GetVariableByIDUsingGETParams, opts ...ClientOption) (*GetVariableByIDUsingGETOK, error) GetVariableByNameUsingGET(params *GetVariableByNameUsingGETParams, opts ...ClientOption) (*GetVariableByNameUsingGETOK, error) UpdateVariableByIDUsingPUT(params *UpdateVariableByIDUsingPUTParams, opts ...ClientOption) (*UpdateVariableByIDUsingPUTOK, error) UpdateVariableByNameUsingPUT(params *UpdateVariableByNameUsingPUTParams, opts ...ClientOption) (*UpdateVariableByNameUsingPUTOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new variables API client.
type CreateVariableUsingPOSTForbidden ¶ added in v0.4.0
type CreateVariableUsingPOSTForbidden struct { }
CreateVariableUsingPOSTForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateVariableUsingPOSTForbidden ¶ added in v0.4.0
func NewCreateVariableUsingPOSTForbidden() *CreateVariableUsingPOSTForbidden
NewCreateVariableUsingPOSTForbidden creates a CreateVariableUsingPOSTForbidden with default headers values
func (*CreateVariableUsingPOSTForbidden) Error ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTForbidden) Error() string
func (*CreateVariableUsingPOSTForbidden) IsClientError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTForbidden) IsClientError() bool
IsClientError returns true when this create variable using p o s t forbidden response has a 4xx status code
func (*CreateVariableUsingPOSTForbidden) IsCode ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTForbidden) IsCode(code int) bool
IsCode returns true when this create variable using p o s t forbidden response a status code equal to that given
func (*CreateVariableUsingPOSTForbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTForbidden) IsRedirect() bool
IsRedirect returns true when this create variable using p o s t forbidden response has a 3xx status code
func (*CreateVariableUsingPOSTForbidden) IsServerError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTForbidden) IsServerError() bool
IsServerError returns true when this create variable using p o s t forbidden response has a 5xx status code
func (*CreateVariableUsingPOSTForbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTForbidden) IsSuccess() bool
IsSuccess returns true when this create variable using p o s t forbidden response has a 2xx status code
func (*CreateVariableUsingPOSTForbidden) String ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTForbidden) String() string
type CreateVariableUsingPOSTInternalServerError ¶ added in v0.4.0
type CreateVariableUsingPOSTInternalServerError struct { }
CreateVariableUsingPOSTInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewCreateVariableUsingPOSTInternalServerError ¶ added in v0.4.0
func NewCreateVariableUsingPOSTInternalServerError() *CreateVariableUsingPOSTInternalServerError
NewCreateVariableUsingPOSTInternalServerError creates a CreateVariableUsingPOSTInternalServerError with default headers values
func (*CreateVariableUsingPOSTInternalServerError) Error ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTInternalServerError) Error() string
func (*CreateVariableUsingPOSTInternalServerError) IsClientError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTInternalServerError) IsClientError() bool
IsClientError returns true when this create variable using p o s t internal server error response has a 4xx status code
func (*CreateVariableUsingPOSTInternalServerError) IsCode ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTInternalServerError) IsCode(code int) bool
IsCode returns true when this create variable using p o s t internal server error response a status code equal to that given
func (*CreateVariableUsingPOSTInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTInternalServerError) IsRedirect() bool
IsRedirect returns true when this create variable using p o s t internal server error response has a 3xx status code
func (*CreateVariableUsingPOSTInternalServerError) IsServerError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTInternalServerError) IsServerError() bool
IsServerError returns true when this create variable using p o s t internal server error response has a 5xx status code
func (*CreateVariableUsingPOSTInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTInternalServerError) IsSuccess() bool
IsSuccess returns true when this create variable using p o s t internal server error response has a 2xx status code
func (*CreateVariableUsingPOSTInternalServerError) String ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTInternalServerError) String() string
type CreateVariableUsingPOSTNotFound ¶ added in v0.4.0
CreateVariableUsingPOSTNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateVariableUsingPOSTNotFound ¶ added in v0.4.0
func NewCreateVariableUsingPOSTNotFound() *CreateVariableUsingPOSTNotFound
NewCreateVariableUsingPOSTNotFound creates a CreateVariableUsingPOSTNotFound with default headers values
func (*CreateVariableUsingPOSTNotFound) Error ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTNotFound) Error() string
func (*CreateVariableUsingPOSTNotFound) GetPayload ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTNotFound) GetPayload() *models.Error
func (*CreateVariableUsingPOSTNotFound) IsClientError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTNotFound) IsClientError() bool
IsClientError returns true when this create variable using p o s t not found response has a 4xx status code
func (*CreateVariableUsingPOSTNotFound) IsCode ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTNotFound) IsCode(code int) bool
IsCode returns true when this create variable using p o s t not found response a status code equal to that given
func (*CreateVariableUsingPOSTNotFound) IsRedirect ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTNotFound) IsRedirect() bool
IsRedirect returns true when this create variable using p o s t not found response has a 3xx status code
func (*CreateVariableUsingPOSTNotFound) IsServerError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTNotFound) IsServerError() bool
IsServerError returns true when this create variable using p o s t not found response has a 5xx status code
func (*CreateVariableUsingPOSTNotFound) IsSuccess ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTNotFound) IsSuccess() bool
IsSuccess returns true when this create variable using p o s t not found response has a 2xx status code
func (*CreateVariableUsingPOSTNotFound) String ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTNotFound) String() string
type CreateVariableUsingPOSTOK ¶ added in v0.4.0
CreateVariableUsingPOSTOK describes a response with status code 200, with default header values.
'Success' with Variable creation
func NewCreateVariableUsingPOSTOK ¶ added in v0.4.0
func NewCreateVariableUsingPOSTOK() *CreateVariableUsingPOSTOK
NewCreateVariableUsingPOSTOK creates a CreateVariableUsingPOSTOK with default headers values
func (*CreateVariableUsingPOSTOK) Error ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTOK) Error() string
func (*CreateVariableUsingPOSTOK) GetPayload ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTOK) GetPayload() *models.Variable
func (*CreateVariableUsingPOSTOK) IsClientError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTOK) IsClientError() bool
IsClientError returns true when this create variable using p o s t o k response has a 4xx status code
func (*CreateVariableUsingPOSTOK) IsCode ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTOK) IsCode(code int) bool
IsCode returns true when this create variable using p o s t o k response a status code equal to that given
func (*CreateVariableUsingPOSTOK) IsRedirect ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTOK) IsRedirect() bool
IsRedirect returns true when this create variable using p o s t o k response has a 3xx status code
func (*CreateVariableUsingPOSTOK) IsServerError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTOK) IsServerError() bool
IsServerError returns true when this create variable using p o s t o k response has a 5xx status code
func (*CreateVariableUsingPOSTOK) IsSuccess ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTOK) IsSuccess() bool
IsSuccess returns true when this create variable using p o s t o k response has a 2xx status code
func (*CreateVariableUsingPOSTOK) String ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTOK) String() string
type CreateVariableUsingPOSTParams ¶ added in v0.4.0
type CreateVariableUsingPOSTParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* Body. Variable specification */ Body models.VariableSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVariableUsingPOSTParams contains all the parameters to send to the API endpoint
for the create variable using p o s t operation. Typically these are written to a http.Request.
func NewCreateVariableUsingPOSTParams ¶ added in v0.4.0
func NewCreateVariableUsingPOSTParams() *CreateVariableUsingPOSTParams
NewCreateVariableUsingPOSTParams creates a new CreateVariableUsingPOSTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateVariableUsingPOSTParamsWithContext ¶ added in v0.4.0
func NewCreateVariableUsingPOSTParamsWithContext(ctx context.Context) *CreateVariableUsingPOSTParams
NewCreateVariableUsingPOSTParamsWithContext creates a new CreateVariableUsingPOSTParams object with the ability to set a context for a request.
func NewCreateVariableUsingPOSTParamsWithHTTPClient ¶ added in v0.4.0
func NewCreateVariableUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateVariableUsingPOSTParams
NewCreateVariableUsingPOSTParamsWithHTTPClient creates a new CreateVariableUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVariableUsingPOSTParamsWithTimeout ¶ added in v0.4.0
func NewCreateVariableUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateVariableUsingPOSTParams
NewCreateVariableUsingPOSTParamsWithTimeout creates a new CreateVariableUsingPOSTParams object with the ability to set a timeout on a request.
func (*CreateVariableUsingPOSTParams) SetAPIVersion ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) SetAuthorization ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) SetBody ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetBody(body models.VariableSpec)
SetBody adds the body to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) SetContext ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) SetDefaults ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the create variable using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVariableUsingPOSTParams) SetHTTPClient ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) SetTimeout ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WithAPIVersion ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithAPIVersion(aPIVersion string) *CreateVariableUsingPOSTParams
WithAPIVersion adds the aPIVersion to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WithAuthorization ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithAuthorization(authorization string) *CreateVariableUsingPOSTParams
WithAuthorization adds the authorization to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WithBody ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithBody(body models.VariableSpec) *CreateVariableUsingPOSTParams
WithBody adds the body to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WithContext ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithContext(ctx context.Context) *CreateVariableUsingPOSTParams
WithContext adds the context to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WithDefaults ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithDefaults() *CreateVariableUsingPOSTParams
WithDefaults hydrates default values in the create variable using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVariableUsingPOSTParams) WithHTTPClient ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateVariableUsingPOSTParams
WithHTTPClient adds the HTTPClient to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WithTimeout ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateVariableUsingPOSTParams
WithTimeout adds the timeout to the create variable using p o s t params
func (*CreateVariableUsingPOSTParams) WriteToRequest ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVariableUsingPOSTReader ¶ added in v0.4.0
type CreateVariableUsingPOSTReader struct {
// contains filtered or unexported fields
}
CreateVariableUsingPOSTReader is a Reader for the CreateVariableUsingPOST structure.
func (*CreateVariableUsingPOSTReader) ReadResponse ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVariableUsingPOSTUnauthorized ¶ added in v0.4.0
type CreateVariableUsingPOSTUnauthorized struct { }
CreateVariableUsingPOSTUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewCreateVariableUsingPOSTUnauthorized ¶ added in v0.4.0
func NewCreateVariableUsingPOSTUnauthorized() *CreateVariableUsingPOSTUnauthorized
NewCreateVariableUsingPOSTUnauthorized creates a CreateVariableUsingPOSTUnauthorized with default headers values
func (*CreateVariableUsingPOSTUnauthorized) Error ¶ added in v0.4.0
func (o *CreateVariableUsingPOSTUnauthorized) Error() string
func (*CreateVariableUsingPOSTUnauthorized) IsClientError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTUnauthorized) IsClientError() bool
IsClientError returns true when this create variable using p o s t unauthorized response has a 4xx status code
func (*CreateVariableUsingPOSTUnauthorized) IsCode ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTUnauthorized) IsCode(code int) bool
IsCode returns true when this create variable using p o s t unauthorized response a status code equal to that given
func (*CreateVariableUsingPOSTUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTUnauthorized) IsRedirect() bool
IsRedirect returns true when this create variable using p o s t unauthorized response has a 3xx status code
func (*CreateVariableUsingPOSTUnauthorized) IsServerError ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTUnauthorized) IsServerError() bool
IsServerError returns true when this create variable using p o s t unauthorized response has a 5xx status code
func (*CreateVariableUsingPOSTUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTUnauthorized) IsSuccess() bool
IsSuccess returns true when this create variable using p o s t unauthorized response has a 2xx status code
func (*CreateVariableUsingPOSTUnauthorized) String ¶ added in v0.5.0
func (o *CreateVariableUsingPOSTUnauthorized) String() string
type DeleteVariableByIDUsingDELETEForbidden ¶ added in v0.4.0
type DeleteVariableByIDUsingDELETEForbidden struct { }
DeleteVariableByIDUsingDELETEForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteVariableByIDUsingDELETEForbidden ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEForbidden() *DeleteVariableByIDUsingDELETEForbidden
NewDeleteVariableByIDUsingDELETEForbidden creates a DeleteVariableByIDUsingDELETEForbidden with default headers values
func (*DeleteVariableByIDUsingDELETEForbidden) Error ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEForbidden) Error() string
func (*DeleteVariableByIDUsingDELETEForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEForbidden) IsClientError() bool
IsClientError returns true when this delete variable by Id using d e l e t e forbidden response has a 4xx status code
func (*DeleteVariableByIDUsingDELETEForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEForbidden) IsCode(code int) bool
IsCode returns true when this delete variable by Id using d e l e t e forbidden response a status code equal to that given
func (*DeleteVariableByIDUsingDELETEForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEForbidden) IsRedirect() bool
IsRedirect returns true when this delete variable by Id using d e l e t e forbidden response has a 3xx status code
func (*DeleteVariableByIDUsingDELETEForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEForbidden) IsServerError() bool
IsServerError returns true when this delete variable by Id using d e l e t e forbidden response has a 5xx status code
func (*DeleteVariableByIDUsingDELETEForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEForbidden) IsSuccess() bool
IsSuccess returns true when this delete variable by Id using d e l e t e forbidden response has a 2xx status code
func (*DeleteVariableByIDUsingDELETEForbidden) String ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEForbidden) String() string
type DeleteVariableByIDUsingDELETEInternalServerError ¶ added in v0.4.0
type DeleteVariableByIDUsingDELETEInternalServerError struct { }
DeleteVariableByIDUsingDELETEInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewDeleteVariableByIDUsingDELETEInternalServerError ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEInternalServerError() *DeleteVariableByIDUsingDELETEInternalServerError
NewDeleteVariableByIDUsingDELETEInternalServerError creates a DeleteVariableByIDUsingDELETEInternalServerError with default headers values
func (*DeleteVariableByIDUsingDELETEInternalServerError) Error ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) Error() string
func (*DeleteVariableByIDUsingDELETEInternalServerError) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsClientError() bool
IsClientError returns true when this delete variable by Id using d e l e t e internal server error response has a 4xx status code
func (*DeleteVariableByIDUsingDELETEInternalServerError) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsCode(code int) bool
IsCode returns true when this delete variable by Id using d e l e t e internal server error response a status code equal to that given
func (*DeleteVariableByIDUsingDELETEInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete variable by Id using d e l e t e internal server error response has a 3xx status code
func (*DeleteVariableByIDUsingDELETEInternalServerError) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsServerError() bool
IsServerError returns true when this delete variable by Id using d e l e t e internal server error response has a 5xx status code
func (*DeleteVariableByIDUsingDELETEInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete variable by Id using d e l e t e internal server error response has a 2xx status code
func (*DeleteVariableByIDUsingDELETEInternalServerError) String ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEInternalServerError) String() string
type DeleteVariableByIDUsingDELETENotFound ¶ added in v0.4.0
DeleteVariableByIDUsingDELETENotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteVariableByIDUsingDELETENotFound ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETENotFound() *DeleteVariableByIDUsingDELETENotFound
NewDeleteVariableByIDUsingDELETENotFound creates a DeleteVariableByIDUsingDELETENotFound with default headers values
func (*DeleteVariableByIDUsingDELETENotFound) Error ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETENotFound) Error() string
func (*DeleteVariableByIDUsingDELETENotFound) GetPayload ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETENotFound) GetPayload() *models.Error
func (*DeleteVariableByIDUsingDELETENotFound) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETENotFound) IsClientError() bool
IsClientError returns true when this delete variable by Id using d e l e t e not found response has a 4xx status code
func (*DeleteVariableByIDUsingDELETENotFound) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETENotFound) IsCode(code int) bool
IsCode returns true when this delete variable by Id using d e l e t e not found response a status code equal to that given
func (*DeleteVariableByIDUsingDELETENotFound) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETENotFound) IsRedirect() bool
IsRedirect returns true when this delete variable by Id using d e l e t e not found response has a 3xx status code
func (*DeleteVariableByIDUsingDELETENotFound) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETENotFound) IsServerError() bool
IsServerError returns true when this delete variable by Id using d e l e t e not found response has a 5xx status code
func (*DeleteVariableByIDUsingDELETENotFound) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETENotFound) IsSuccess() bool
IsSuccess returns true when this delete variable by Id using d e l e t e not found response has a 2xx status code
func (*DeleteVariableByIDUsingDELETENotFound) String ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETENotFound) String() string
type DeleteVariableByIDUsingDELETEOK ¶ added in v0.4.0
DeleteVariableByIDUsingDELETEOK describes a response with status code 200, with default header values.
'Success' with deleted Variable
func NewDeleteVariableByIDUsingDELETEOK ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEOK() *DeleteVariableByIDUsingDELETEOK
NewDeleteVariableByIDUsingDELETEOK creates a DeleteVariableByIDUsingDELETEOK with default headers values
func (*DeleteVariableByIDUsingDELETEOK) Error ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEOK) Error() string
func (*DeleteVariableByIDUsingDELETEOK) GetPayload ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEOK) GetPayload() *models.Variable
func (*DeleteVariableByIDUsingDELETEOK) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEOK) IsClientError() bool
IsClientError returns true when this delete variable by Id using d e l e t e o k response has a 4xx status code
func (*DeleteVariableByIDUsingDELETEOK) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEOK) IsCode(code int) bool
IsCode returns true when this delete variable by Id using d e l e t e o k response a status code equal to that given
func (*DeleteVariableByIDUsingDELETEOK) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEOK) IsRedirect() bool
IsRedirect returns true when this delete variable by Id using d e l e t e o k response has a 3xx status code
func (*DeleteVariableByIDUsingDELETEOK) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEOK) IsServerError() bool
IsServerError returns true when this delete variable by Id using d e l e t e o k response has a 5xx status code
func (*DeleteVariableByIDUsingDELETEOK) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEOK) IsSuccess() bool
IsSuccess returns true when this delete variable by Id using d e l e t e o k response has a 2xx status code
func (*DeleteVariableByIDUsingDELETEOK) String ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEOK) String() string
type DeleteVariableByIDUsingDELETEParams ¶ added in v0.4.0
type DeleteVariableByIDUsingDELETEParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* ID. The ID of the Variable */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVariableByIDUsingDELETEParams contains all the parameters to send to the API endpoint
for the delete variable by Id using d e l e t e operation. Typically these are written to a http.Request.
func NewDeleteVariableByIDUsingDELETEParams ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEParams() *DeleteVariableByIDUsingDELETEParams
NewDeleteVariableByIDUsingDELETEParams creates a new DeleteVariableByIDUsingDELETEParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteVariableByIDUsingDELETEParamsWithContext ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEParamsWithContext(ctx context.Context) *DeleteVariableByIDUsingDELETEParams
NewDeleteVariableByIDUsingDELETEParamsWithContext creates a new DeleteVariableByIDUsingDELETEParams object with the ability to set a context for a request.
func NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteVariableByIDUsingDELETEParams
NewDeleteVariableByIDUsingDELETEParamsWithHTTPClient creates a new DeleteVariableByIDUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVariableByIDUsingDELETEParamsWithTimeout ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteVariableByIDUsingDELETEParams
NewDeleteVariableByIDUsingDELETEParamsWithTimeout creates a new DeleteVariableByIDUsingDELETEParams object with the ability to set a timeout on a request.
func (*DeleteVariableByIDUsingDELETEParams) SetAPIVersion ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) SetAuthorization ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) SetContext ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) SetDefaults ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the delete variable by Id using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVariableByIDUsingDELETEParams) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) SetID ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetID(id string)
SetID adds the id to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) SetTimeout ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WithAPIVersion ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithAPIVersion(aPIVersion string) *DeleteVariableByIDUsingDELETEParams
WithAPIVersion adds the aPIVersion to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WithAuthorization ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithAuthorization(authorization string) *DeleteVariableByIDUsingDELETEParams
WithAuthorization adds the authorization to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WithContext ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithContext(ctx context.Context) *DeleteVariableByIDUsingDELETEParams
WithContext adds the context to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WithDefaults ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithDefaults() *DeleteVariableByIDUsingDELETEParams
WithDefaults hydrates default values in the delete variable by Id using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVariableByIDUsingDELETEParams) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteVariableByIDUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WithID ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithID(id string) *DeleteVariableByIDUsingDELETEParams
WithID adds the id to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WithTimeout ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteVariableByIDUsingDELETEParams
WithTimeout adds the timeout to the delete variable by Id using d e l e t e params
func (*DeleteVariableByIDUsingDELETEParams) WriteToRequest ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVariableByIDUsingDELETEReader ¶ added in v0.4.0
type DeleteVariableByIDUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteVariableByIDUsingDELETEReader is a Reader for the DeleteVariableByIDUsingDELETE structure.
func (*DeleteVariableByIDUsingDELETEReader) ReadResponse ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVariableByIDUsingDELETEUnauthorized ¶ added in v0.4.0
type DeleteVariableByIDUsingDELETEUnauthorized struct { }
DeleteVariableByIDUsingDELETEUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewDeleteVariableByIDUsingDELETEUnauthorized ¶ added in v0.4.0
func NewDeleteVariableByIDUsingDELETEUnauthorized() *DeleteVariableByIDUsingDELETEUnauthorized
NewDeleteVariableByIDUsingDELETEUnauthorized creates a DeleteVariableByIDUsingDELETEUnauthorized with default headers values
func (*DeleteVariableByIDUsingDELETEUnauthorized) Error ¶ added in v0.4.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) Error() string
func (*DeleteVariableByIDUsingDELETEUnauthorized) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsClientError() bool
IsClientError returns true when this delete variable by Id using d e l e t e unauthorized response has a 4xx status code
func (*DeleteVariableByIDUsingDELETEUnauthorized) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsCode(code int) bool
IsCode returns true when this delete variable by Id using d e l e t e unauthorized response a status code equal to that given
func (*DeleteVariableByIDUsingDELETEUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete variable by Id using d e l e t e unauthorized response has a 3xx status code
func (*DeleteVariableByIDUsingDELETEUnauthorized) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsServerError() bool
IsServerError returns true when this delete variable by Id using d e l e t e unauthorized response has a 5xx status code
func (*DeleteVariableByIDUsingDELETEUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete variable by Id using d e l e t e unauthorized response has a 2xx status code
func (*DeleteVariableByIDUsingDELETEUnauthorized) String ¶ added in v0.5.0
func (o *DeleteVariableByIDUsingDELETEUnauthorized) String() string
type DeleteVariableByNameUsingDELETEForbidden ¶ added in v0.4.0
type DeleteVariableByNameUsingDELETEForbidden struct { }
DeleteVariableByNameUsingDELETEForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteVariableByNameUsingDELETEForbidden ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEForbidden() *DeleteVariableByNameUsingDELETEForbidden
NewDeleteVariableByNameUsingDELETEForbidden creates a DeleteVariableByNameUsingDELETEForbidden with default headers values
func (*DeleteVariableByNameUsingDELETEForbidden) Error ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEForbidden) Error() string
func (*DeleteVariableByNameUsingDELETEForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEForbidden) IsClientError() bool
IsClientError returns true when this delete variable by name using d e l e t e forbidden response has a 4xx status code
func (*DeleteVariableByNameUsingDELETEForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEForbidden) IsCode(code int) bool
IsCode returns true when this delete variable by name using d e l e t e forbidden response a status code equal to that given
func (*DeleteVariableByNameUsingDELETEForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEForbidden) IsRedirect() bool
IsRedirect returns true when this delete variable by name using d e l e t e forbidden response has a 3xx status code
func (*DeleteVariableByNameUsingDELETEForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEForbidden) IsServerError() bool
IsServerError returns true when this delete variable by name using d e l e t e forbidden response has a 5xx status code
func (*DeleteVariableByNameUsingDELETEForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEForbidden) IsSuccess() bool
IsSuccess returns true when this delete variable by name using d e l e t e forbidden response has a 2xx status code
func (*DeleteVariableByNameUsingDELETEForbidden) String ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEForbidden) String() string
type DeleteVariableByNameUsingDELETEInternalServerError ¶ added in v0.4.0
type DeleteVariableByNameUsingDELETEInternalServerError struct { }
DeleteVariableByNameUsingDELETEInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewDeleteVariableByNameUsingDELETEInternalServerError ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEInternalServerError() *DeleteVariableByNameUsingDELETEInternalServerError
NewDeleteVariableByNameUsingDELETEInternalServerError creates a DeleteVariableByNameUsingDELETEInternalServerError with default headers values
func (*DeleteVariableByNameUsingDELETEInternalServerError) Error ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) Error() string
func (*DeleteVariableByNameUsingDELETEInternalServerError) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsClientError() bool
IsClientError returns true when this delete variable by name using d e l e t e internal server error response has a 4xx status code
func (*DeleteVariableByNameUsingDELETEInternalServerError) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsCode(code int) bool
IsCode returns true when this delete variable by name using d e l e t e internal server error response a status code equal to that given
func (*DeleteVariableByNameUsingDELETEInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete variable by name using d e l e t e internal server error response has a 3xx status code
func (*DeleteVariableByNameUsingDELETEInternalServerError) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsServerError() bool
IsServerError returns true when this delete variable by name using d e l e t e internal server error response has a 5xx status code
func (*DeleteVariableByNameUsingDELETEInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete variable by name using d e l e t e internal server error response has a 2xx status code
func (*DeleteVariableByNameUsingDELETEInternalServerError) String ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEInternalServerError) String() string
type DeleteVariableByNameUsingDELETENotFound ¶ added in v0.4.0
DeleteVariableByNameUsingDELETENotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteVariableByNameUsingDELETENotFound ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETENotFound() *DeleteVariableByNameUsingDELETENotFound
NewDeleteVariableByNameUsingDELETENotFound creates a DeleteVariableByNameUsingDELETENotFound with default headers values
func (*DeleteVariableByNameUsingDELETENotFound) Error ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETENotFound) Error() string
func (*DeleteVariableByNameUsingDELETENotFound) GetPayload ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETENotFound) GetPayload() *models.Error
func (*DeleteVariableByNameUsingDELETENotFound) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETENotFound) IsClientError() bool
IsClientError returns true when this delete variable by name using d e l e t e not found response has a 4xx status code
func (*DeleteVariableByNameUsingDELETENotFound) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETENotFound) IsCode(code int) bool
IsCode returns true when this delete variable by name using d e l e t e not found response a status code equal to that given
func (*DeleteVariableByNameUsingDELETENotFound) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETENotFound) IsRedirect() bool
IsRedirect returns true when this delete variable by name using d e l e t e not found response has a 3xx status code
func (*DeleteVariableByNameUsingDELETENotFound) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETENotFound) IsServerError() bool
IsServerError returns true when this delete variable by name using d e l e t e not found response has a 5xx status code
func (*DeleteVariableByNameUsingDELETENotFound) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETENotFound) IsSuccess() bool
IsSuccess returns true when this delete variable by name using d e l e t e not found response has a 2xx status code
func (*DeleteVariableByNameUsingDELETENotFound) String ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETENotFound) String() string
type DeleteVariableByNameUsingDELETEOK ¶ added in v0.4.0
DeleteVariableByNameUsingDELETEOK describes a response with status code 200, with default header values.
'Success' with deleted Variable
func NewDeleteVariableByNameUsingDELETEOK ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEOK() *DeleteVariableByNameUsingDELETEOK
NewDeleteVariableByNameUsingDELETEOK creates a DeleteVariableByNameUsingDELETEOK with default headers values
func (*DeleteVariableByNameUsingDELETEOK) Error ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEOK) Error() string
func (*DeleteVariableByNameUsingDELETEOK) GetPayload ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEOK) GetPayload() *models.Variable
func (*DeleteVariableByNameUsingDELETEOK) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEOK) IsClientError() bool
IsClientError returns true when this delete variable by name using d e l e t e o k response has a 4xx status code
func (*DeleteVariableByNameUsingDELETEOK) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEOK) IsCode(code int) bool
IsCode returns true when this delete variable by name using d e l e t e o k response a status code equal to that given
func (*DeleteVariableByNameUsingDELETEOK) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEOK) IsRedirect() bool
IsRedirect returns true when this delete variable by name using d e l e t e o k response has a 3xx status code
func (*DeleteVariableByNameUsingDELETEOK) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEOK) IsServerError() bool
IsServerError returns true when this delete variable by name using d e l e t e o k response has a 5xx status code
func (*DeleteVariableByNameUsingDELETEOK) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEOK) IsSuccess() bool
IsSuccess returns true when this delete variable by name using d e l e t e o k response has a 2xx status code
func (*DeleteVariableByNameUsingDELETEOK) String ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEOK) String() string
type DeleteVariableByNameUsingDELETEParams ¶ added in v0.4.0
type DeleteVariableByNameUsingDELETEParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* Name. The name of the Variable */ Name string /* Project. The project the Variable belongs to */ Project string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVariableByNameUsingDELETEParams contains all the parameters to send to the API endpoint
for the delete variable by name using d e l e t e operation. Typically these are written to a http.Request.
func NewDeleteVariableByNameUsingDELETEParams ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEParams() *DeleteVariableByNameUsingDELETEParams
NewDeleteVariableByNameUsingDELETEParams creates a new DeleteVariableByNameUsingDELETEParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteVariableByNameUsingDELETEParamsWithContext ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEParamsWithContext(ctx context.Context) *DeleteVariableByNameUsingDELETEParams
NewDeleteVariableByNameUsingDELETEParamsWithContext creates a new DeleteVariableByNameUsingDELETEParams object with the ability to set a context for a request.
func NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteVariableByNameUsingDELETEParams
NewDeleteVariableByNameUsingDELETEParamsWithHTTPClient creates a new DeleteVariableByNameUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVariableByNameUsingDELETEParamsWithTimeout ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteVariableByNameUsingDELETEParams
NewDeleteVariableByNameUsingDELETEParamsWithTimeout creates a new DeleteVariableByNameUsingDELETEParams object with the ability to set a timeout on a request.
func (*DeleteVariableByNameUsingDELETEParams) SetAPIVersion ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) SetAuthorization ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) SetContext ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) SetDefaults ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the delete variable by name using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVariableByNameUsingDELETEParams) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) SetName ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetName(name string)
SetName adds the name to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) SetProject ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetProject(project string)
SetProject adds the project to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) SetTimeout ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithAPIVersion ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithAPIVersion(aPIVersion string) *DeleteVariableByNameUsingDELETEParams
WithAPIVersion adds the aPIVersion to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithAuthorization ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithAuthorization(authorization string) *DeleteVariableByNameUsingDELETEParams
WithAuthorization adds the authorization to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithContext ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithContext(ctx context.Context) *DeleteVariableByNameUsingDELETEParams
WithContext adds the context to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithDefaults ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithDefaults() *DeleteVariableByNameUsingDELETEParams
WithDefaults hydrates default values in the delete variable by name using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVariableByNameUsingDELETEParams) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteVariableByNameUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithName ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithName(name string) *DeleteVariableByNameUsingDELETEParams
WithName adds the name to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithProject ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithProject(project string) *DeleteVariableByNameUsingDELETEParams
WithProject adds the project to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WithTimeout ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteVariableByNameUsingDELETEParams
WithTimeout adds the timeout to the delete variable by name using d e l e t e params
func (*DeleteVariableByNameUsingDELETEParams) WriteToRequest ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVariableByNameUsingDELETEReader ¶ added in v0.4.0
type DeleteVariableByNameUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteVariableByNameUsingDELETEReader is a Reader for the DeleteVariableByNameUsingDELETE structure.
func (*DeleteVariableByNameUsingDELETEReader) ReadResponse ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVariableByNameUsingDELETEUnauthorized ¶ added in v0.4.0
type DeleteVariableByNameUsingDELETEUnauthorized struct { }
DeleteVariableByNameUsingDELETEUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewDeleteVariableByNameUsingDELETEUnauthorized ¶ added in v0.4.0
func NewDeleteVariableByNameUsingDELETEUnauthorized() *DeleteVariableByNameUsingDELETEUnauthorized
NewDeleteVariableByNameUsingDELETEUnauthorized creates a DeleteVariableByNameUsingDELETEUnauthorized with default headers values
func (*DeleteVariableByNameUsingDELETEUnauthorized) Error ¶ added in v0.4.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) Error() string
func (*DeleteVariableByNameUsingDELETEUnauthorized) IsClientError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsClientError() bool
IsClientError returns true when this delete variable by name using d e l e t e unauthorized response has a 4xx status code
func (*DeleteVariableByNameUsingDELETEUnauthorized) IsCode ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsCode(code int) bool
IsCode returns true when this delete variable by name using d e l e t e unauthorized response a status code equal to that given
func (*DeleteVariableByNameUsingDELETEUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete variable by name using d e l e t e unauthorized response has a 3xx status code
func (*DeleteVariableByNameUsingDELETEUnauthorized) IsServerError ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsServerError() bool
IsServerError returns true when this delete variable by name using d e l e t e unauthorized response has a 5xx status code
func (*DeleteVariableByNameUsingDELETEUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete variable by name using d e l e t e unauthorized response has a 2xx status code
func (*DeleteVariableByNameUsingDELETEUnauthorized) String ¶ added in v0.5.0
func (o *DeleteVariableByNameUsingDELETEUnauthorized) String() string
type GetAllVariablesUsingGETForbidden ¶ added in v0.4.0
type GetAllVariablesUsingGETForbidden struct { }
GetAllVariablesUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAllVariablesUsingGETForbidden ¶ added in v0.4.0
func NewGetAllVariablesUsingGETForbidden() *GetAllVariablesUsingGETForbidden
NewGetAllVariablesUsingGETForbidden creates a GetAllVariablesUsingGETForbidden with default headers values
func (*GetAllVariablesUsingGETForbidden) Error ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETForbidden) Error() string
func (*GetAllVariablesUsingGETForbidden) IsClientError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETForbidden) IsClientError() bool
IsClientError returns true when this get all variables using g e t forbidden response has a 4xx status code
func (*GetAllVariablesUsingGETForbidden) IsCode ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this get all variables using g e t forbidden response a status code equal to that given
func (*GetAllVariablesUsingGETForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this get all variables using g e t forbidden response has a 3xx status code
func (*GetAllVariablesUsingGETForbidden) IsServerError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETForbidden) IsServerError() bool
IsServerError returns true when this get all variables using g e t forbidden response has a 5xx status code
func (*GetAllVariablesUsingGETForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this get all variables using g e t forbidden response has a 2xx status code
func (*GetAllVariablesUsingGETForbidden) String ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETForbidden) String() string
type GetAllVariablesUsingGETInternalServerError ¶ added in v0.4.0
type GetAllVariablesUsingGETInternalServerError struct { }
GetAllVariablesUsingGETInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetAllVariablesUsingGETInternalServerError ¶ added in v0.4.0
func NewGetAllVariablesUsingGETInternalServerError() *GetAllVariablesUsingGETInternalServerError
NewGetAllVariablesUsingGETInternalServerError creates a GetAllVariablesUsingGETInternalServerError with default headers values
func (*GetAllVariablesUsingGETInternalServerError) Error ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETInternalServerError) Error() string
func (*GetAllVariablesUsingGETInternalServerError) IsClientError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETInternalServerError) IsClientError() bool
IsClientError returns true when this get all variables using g e t internal server error response has a 4xx status code
func (*GetAllVariablesUsingGETInternalServerError) IsCode ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETInternalServerError) IsCode(code int) bool
IsCode returns true when this get all variables using g e t internal server error response a status code equal to that given
func (*GetAllVariablesUsingGETInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETInternalServerError) IsRedirect() bool
IsRedirect returns true when this get all variables using g e t internal server error response has a 3xx status code
func (*GetAllVariablesUsingGETInternalServerError) IsServerError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETInternalServerError) IsServerError() bool
IsServerError returns true when this get all variables using g e t internal server error response has a 5xx status code
func (*GetAllVariablesUsingGETInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETInternalServerError) IsSuccess() bool
IsSuccess returns true when this get all variables using g e t internal server error response has a 2xx status code
func (*GetAllVariablesUsingGETInternalServerError) String ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETInternalServerError) String() string
type GetAllVariablesUsingGETNotFound ¶ added in v0.4.0
GetAllVariablesUsingGETNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAllVariablesUsingGETNotFound ¶ added in v0.4.0
func NewGetAllVariablesUsingGETNotFound() *GetAllVariablesUsingGETNotFound
NewGetAllVariablesUsingGETNotFound creates a GetAllVariablesUsingGETNotFound with default headers values
func (*GetAllVariablesUsingGETNotFound) Error ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETNotFound) Error() string
func (*GetAllVariablesUsingGETNotFound) GetPayload ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETNotFound) GetPayload() *models.Error
func (*GetAllVariablesUsingGETNotFound) IsClientError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETNotFound) IsClientError() bool
IsClientError returns true when this get all variables using g e t not found response has a 4xx status code
func (*GetAllVariablesUsingGETNotFound) IsCode ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETNotFound) IsCode(code int) bool
IsCode returns true when this get all variables using g e t not found response a status code equal to that given
func (*GetAllVariablesUsingGETNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETNotFound) IsRedirect() bool
IsRedirect returns true when this get all variables using g e t not found response has a 3xx status code
func (*GetAllVariablesUsingGETNotFound) IsServerError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETNotFound) IsServerError() bool
IsServerError returns true when this get all variables using g e t not found response has a 5xx status code
func (*GetAllVariablesUsingGETNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETNotFound) IsSuccess() bool
IsSuccess returns true when this get all variables using g e t not found response has a 2xx status code
func (*GetAllVariablesUsingGETNotFound) String ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETNotFound) String() string
type GetAllVariablesUsingGETOK ¶ added in v0.4.0
GetAllVariablesUsingGETOK describes a response with status code 200, with default header values.
'Success' with Variables on pages
func NewGetAllVariablesUsingGETOK ¶ added in v0.4.0
func NewGetAllVariablesUsingGETOK() *GetAllVariablesUsingGETOK
NewGetAllVariablesUsingGETOK creates a GetAllVariablesUsingGETOK with default headers values
func (*GetAllVariablesUsingGETOK) Error ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETOK) Error() string
func (*GetAllVariablesUsingGETOK) GetPayload ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETOK) GetPayload() models.Variables
func (*GetAllVariablesUsingGETOK) IsClientError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETOK) IsClientError() bool
IsClientError returns true when this get all variables using g e t o k response has a 4xx status code
func (*GetAllVariablesUsingGETOK) IsCode ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETOK) IsCode(code int) bool
IsCode returns true when this get all variables using g e t o k response a status code equal to that given
func (*GetAllVariablesUsingGETOK) IsRedirect ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETOK) IsRedirect() bool
IsRedirect returns true when this get all variables using g e t o k response has a 3xx status code
func (*GetAllVariablesUsingGETOK) IsServerError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETOK) IsServerError() bool
IsServerError returns true when this get all variables using g e t o k response has a 5xx status code
func (*GetAllVariablesUsingGETOK) IsSuccess ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETOK) IsSuccess() bool
IsSuccess returns true when this get all variables using g e t o k response has a 2xx status code
func (*GetAllVariablesUsingGETOK) String ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETOK) String() string
type GetAllVariablesUsingGETParams ¶ added in v0.4.0
type GetAllVariablesUsingGETParams struct { /* DollarFilter. To list Variables with OData like filter */ DollarFilter *string /* DollarOrderby. Order by attribute Default: "name desc" */ DollarOrderby *string /* DollarSkip. To skip 'n' Variables for listing Default: "0" */ DollarSkip *string /* DollarTop. To list top 'n' Variables for listing Default: "25" */ DollarTop *string /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* Page. To select 'n'th page for listing Default: "0" */ Page *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllVariablesUsingGETParams contains all the parameters to send to the API endpoint
for the get all variables using g e t operation. Typically these are written to a http.Request.
func NewGetAllVariablesUsingGETParams ¶ added in v0.4.0
func NewGetAllVariablesUsingGETParams() *GetAllVariablesUsingGETParams
NewGetAllVariablesUsingGETParams creates a new GetAllVariablesUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAllVariablesUsingGETParamsWithContext ¶ added in v0.4.0
func NewGetAllVariablesUsingGETParamsWithContext(ctx context.Context) *GetAllVariablesUsingGETParams
NewGetAllVariablesUsingGETParamsWithContext creates a new GetAllVariablesUsingGETParams object with the ability to set a context for a request.
func NewGetAllVariablesUsingGETParamsWithHTTPClient ¶ added in v0.4.0
func NewGetAllVariablesUsingGETParamsWithHTTPClient(client *http.Client) *GetAllVariablesUsingGETParams
NewGetAllVariablesUsingGETParamsWithHTTPClient creates a new GetAllVariablesUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetAllVariablesUsingGETParamsWithTimeout ¶ added in v0.4.0
func NewGetAllVariablesUsingGETParamsWithTimeout(timeout time.Duration) *GetAllVariablesUsingGETParams
NewGetAllVariablesUsingGETParamsWithTimeout creates a new GetAllVariablesUsingGETParams object with the ability to set a timeout on a request.
func (*GetAllVariablesUsingGETParams) SetAPIVersion ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetAuthorization ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetContext ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetDefaults ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get all variables using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllVariablesUsingGETParams) SetDollarFilter ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetDollarOrderby ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetDollarSkip ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetDollarTop ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetDollarTop(dollarTop *string)
SetDollarTop adds the dollarTop to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetPage ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetPage(page *string)
SetPage adds the page to the get all variables using get params
func (*GetAllVariablesUsingGETParams) SetTimeout ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithAPIVersion ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithAPIVersion(aPIVersion string) *GetAllVariablesUsingGETParams
WithAPIVersion adds the aPIVersion to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithAuthorization ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithAuthorization(authorization string) *GetAllVariablesUsingGETParams
WithAuthorization adds the authorization to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithContext ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithContext(ctx context.Context) *GetAllVariablesUsingGETParams
WithContext adds the context to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithDefaults ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithDefaults() *GetAllVariablesUsingGETParams
WithDefaults hydrates default values in the get all variables using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllVariablesUsingGETParams) WithDollarFilter ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithDollarFilter(dollarFilter *string) *GetAllVariablesUsingGETParams
WithDollarFilter adds the dollarFilter to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithDollarOrderby ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithDollarOrderby(dollarOrderby *string) *GetAllVariablesUsingGETParams
WithDollarOrderby adds the dollarOrderby to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithDollarSkip ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithDollarSkip(dollarSkip *string) *GetAllVariablesUsingGETParams
WithDollarSkip adds the dollarSkip to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithDollarTop ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithDollarTop(dollarTop *string) *GetAllVariablesUsingGETParams
WithDollarTop adds the dollarTop to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithHTTPClient(client *http.Client) *GetAllVariablesUsingGETParams
WithHTTPClient adds the HTTPClient to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithPage ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithPage(page *string) *GetAllVariablesUsingGETParams
WithPage adds the page to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WithTimeout ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WithTimeout(timeout time.Duration) *GetAllVariablesUsingGETParams
WithTimeout adds the timeout to the get all variables using get params
func (*GetAllVariablesUsingGETParams) WriteToRequest ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllVariablesUsingGETReader ¶ added in v0.4.0
type GetAllVariablesUsingGETReader struct {
// contains filtered or unexported fields
}
GetAllVariablesUsingGETReader is a Reader for the GetAllVariablesUsingGET structure.
func (*GetAllVariablesUsingGETReader) ReadResponse ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllVariablesUsingGETUnauthorized ¶ added in v0.4.0
type GetAllVariablesUsingGETUnauthorized struct { }
GetAllVariablesUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewGetAllVariablesUsingGETUnauthorized ¶ added in v0.4.0
func NewGetAllVariablesUsingGETUnauthorized() *GetAllVariablesUsingGETUnauthorized
NewGetAllVariablesUsingGETUnauthorized creates a GetAllVariablesUsingGETUnauthorized with default headers values
func (*GetAllVariablesUsingGETUnauthorized) Error ¶ added in v0.4.0
func (o *GetAllVariablesUsingGETUnauthorized) Error() string
func (*GetAllVariablesUsingGETUnauthorized) IsClientError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETUnauthorized) IsClientError() bool
IsClientError returns true when this get all variables using g e t unauthorized response has a 4xx status code
func (*GetAllVariablesUsingGETUnauthorized) IsCode ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETUnauthorized) IsCode(code int) bool
IsCode returns true when this get all variables using g e t unauthorized response a status code equal to that given
func (*GetAllVariablesUsingGETUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETUnauthorized) IsRedirect() bool
IsRedirect returns true when this get all variables using g e t unauthorized response has a 3xx status code
func (*GetAllVariablesUsingGETUnauthorized) IsServerError ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETUnauthorized) IsServerError() bool
IsServerError returns true when this get all variables using g e t unauthorized response has a 5xx status code
func (*GetAllVariablesUsingGETUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETUnauthorized) IsSuccess() bool
IsSuccess returns true when this get all variables using g e t unauthorized response has a 2xx status code
func (*GetAllVariablesUsingGETUnauthorized) String ¶ added in v0.5.0
func (o *GetAllVariablesUsingGETUnauthorized) String() string
type GetVariableByIDUsingGETForbidden ¶ added in v0.4.0
type GetVariableByIDUsingGETForbidden struct { }
GetVariableByIDUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetVariableByIDUsingGETForbidden ¶ added in v0.4.0
func NewGetVariableByIDUsingGETForbidden() *GetVariableByIDUsingGETForbidden
NewGetVariableByIDUsingGETForbidden creates a GetVariableByIDUsingGETForbidden with default headers values
func (*GetVariableByIDUsingGETForbidden) Error ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETForbidden) Error() string
func (*GetVariableByIDUsingGETForbidden) IsClientError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETForbidden) IsClientError() bool
IsClientError returns true when this get variable by Id using g e t forbidden response has a 4xx status code
func (*GetVariableByIDUsingGETForbidden) IsCode ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this get variable by Id using g e t forbidden response a status code equal to that given
func (*GetVariableByIDUsingGETForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this get variable by Id using g e t forbidden response has a 3xx status code
func (*GetVariableByIDUsingGETForbidden) IsServerError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETForbidden) IsServerError() bool
IsServerError returns true when this get variable by Id using g e t forbidden response has a 5xx status code
func (*GetVariableByIDUsingGETForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this get variable by Id using g e t forbidden response has a 2xx status code
func (*GetVariableByIDUsingGETForbidden) String ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETForbidden) String() string
type GetVariableByIDUsingGETInternalServerError ¶ added in v0.4.0
type GetVariableByIDUsingGETInternalServerError struct { }
GetVariableByIDUsingGETInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetVariableByIDUsingGETInternalServerError ¶ added in v0.4.0
func NewGetVariableByIDUsingGETInternalServerError() *GetVariableByIDUsingGETInternalServerError
NewGetVariableByIDUsingGETInternalServerError creates a GetVariableByIDUsingGETInternalServerError with default headers values
func (*GetVariableByIDUsingGETInternalServerError) Error ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETInternalServerError) Error() string
func (*GetVariableByIDUsingGETInternalServerError) IsClientError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETInternalServerError) IsClientError() bool
IsClientError returns true when this get variable by Id using g e t internal server error response has a 4xx status code
func (*GetVariableByIDUsingGETInternalServerError) IsCode ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETInternalServerError) IsCode(code int) bool
IsCode returns true when this get variable by Id using g e t internal server error response a status code equal to that given
func (*GetVariableByIDUsingGETInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETInternalServerError) IsRedirect() bool
IsRedirect returns true when this get variable by Id using g e t internal server error response has a 3xx status code
func (*GetVariableByIDUsingGETInternalServerError) IsServerError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETInternalServerError) IsServerError() bool
IsServerError returns true when this get variable by Id using g e t internal server error response has a 5xx status code
func (*GetVariableByIDUsingGETInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETInternalServerError) IsSuccess() bool
IsSuccess returns true when this get variable by Id using g e t internal server error response has a 2xx status code
func (*GetVariableByIDUsingGETInternalServerError) String ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETInternalServerError) String() string
type GetVariableByIDUsingGETNotFound ¶ added in v0.4.0
GetVariableByIDUsingGETNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetVariableByIDUsingGETNotFound ¶ added in v0.4.0
func NewGetVariableByIDUsingGETNotFound() *GetVariableByIDUsingGETNotFound
NewGetVariableByIDUsingGETNotFound creates a GetVariableByIDUsingGETNotFound with default headers values
func (*GetVariableByIDUsingGETNotFound) Error ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETNotFound) Error() string
func (*GetVariableByIDUsingGETNotFound) GetPayload ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETNotFound) GetPayload() *models.Error
func (*GetVariableByIDUsingGETNotFound) IsClientError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETNotFound) IsClientError() bool
IsClientError returns true when this get variable by Id using g e t not found response has a 4xx status code
func (*GetVariableByIDUsingGETNotFound) IsCode ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETNotFound) IsCode(code int) bool
IsCode returns true when this get variable by Id using g e t not found response a status code equal to that given
func (*GetVariableByIDUsingGETNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETNotFound) IsRedirect() bool
IsRedirect returns true when this get variable by Id using g e t not found response has a 3xx status code
func (*GetVariableByIDUsingGETNotFound) IsServerError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETNotFound) IsServerError() bool
IsServerError returns true when this get variable by Id using g e t not found response has a 5xx status code
func (*GetVariableByIDUsingGETNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETNotFound) IsSuccess() bool
IsSuccess returns true when this get variable by Id using g e t not found response has a 2xx status code
func (*GetVariableByIDUsingGETNotFound) String ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETNotFound) String() string
type GetVariableByIDUsingGETOK ¶ added in v0.4.0
GetVariableByIDUsingGETOK describes a response with status code 200, with default header values.
'Success' with the requested Variable
func NewGetVariableByIDUsingGETOK ¶ added in v0.4.0
func NewGetVariableByIDUsingGETOK() *GetVariableByIDUsingGETOK
NewGetVariableByIDUsingGETOK creates a GetVariableByIDUsingGETOK with default headers values
func (*GetVariableByIDUsingGETOK) Error ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETOK) Error() string
func (*GetVariableByIDUsingGETOK) GetPayload ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETOK) GetPayload() *models.Variable
func (*GetVariableByIDUsingGETOK) IsClientError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETOK) IsClientError() bool
IsClientError returns true when this get variable by Id using g e t o k response has a 4xx status code
func (*GetVariableByIDUsingGETOK) IsCode ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETOK) IsCode(code int) bool
IsCode returns true when this get variable by Id using g e t o k response a status code equal to that given
func (*GetVariableByIDUsingGETOK) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETOK) IsRedirect() bool
IsRedirect returns true when this get variable by Id using g e t o k response has a 3xx status code
func (*GetVariableByIDUsingGETOK) IsServerError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETOK) IsServerError() bool
IsServerError returns true when this get variable by Id using g e t o k response has a 5xx status code
func (*GetVariableByIDUsingGETOK) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETOK) IsSuccess() bool
IsSuccess returns true when this get variable by Id using g e t o k response has a 2xx status code
func (*GetVariableByIDUsingGETOK) String ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETOK) String() string
type GetVariableByIDUsingGETParams ¶ added in v0.4.0
type GetVariableByIDUsingGETParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* ID. The ID of the Variable */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVariableByIDUsingGETParams contains all the parameters to send to the API endpoint
for the get variable by Id using g e t operation. Typically these are written to a http.Request.
func NewGetVariableByIDUsingGETParams ¶ added in v0.4.0
func NewGetVariableByIDUsingGETParams() *GetVariableByIDUsingGETParams
NewGetVariableByIDUsingGETParams creates a new GetVariableByIDUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVariableByIDUsingGETParamsWithContext ¶ added in v0.4.0
func NewGetVariableByIDUsingGETParamsWithContext(ctx context.Context) *GetVariableByIDUsingGETParams
NewGetVariableByIDUsingGETParamsWithContext creates a new GetVariableByIDUsingGETParams object with the ability to set a context for a request.
func NewGetVariableByIDUsingGETParamsWithHTTPClient ¶ added in v0.4.0
func NewGetVariableByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetVariableByIDUsingGETParams
NewGetVariableByIDUsingGETParamsWithHTTPClient creates a new GetVariableByIDUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetVariableByIDUsingGETParamsWithTimeout ¶ added in v0.4.0
func NewGetVariableByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetVariableByIDUsingGETParams
NewGetVariableByIDUsingGETParamsWithTimeout creates a new GetVariableByIDUsingGETParams object with the ability to set a timeout on a request.
func (*GetVariableByIDUsingGETParams) SetAPIVersion ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) SetAuthorization ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) SetContext ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) SetDefaults ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get variable by Id using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetVariableByIDUsingGETParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) SetID ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetID(id string)
SetID adds the id to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) SetTimeout ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WithAPIVersion ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithAPIVersion(aPIVersion string) *GetVariableByIDUsingGETParams
WithAPIVersion adds the aPIVersion to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WithAuthorization ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithAuthorization(authorization string) *GetVariableByIDUsingGETParams
WithAuthorization adds the authorization to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WithContext ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithContext(ctx context.Context) *GetVariableByIDUsingGETParams
WithContext adds the context to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WithDefaults ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithDefaults() *GetVariableByIDUsingGETParams
WithDefaults hydrates default values in the get variable by Id using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetVariableByIDUsingGETParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithHTTPClient(client *http.Client) *GetVariableByIDUsingGETParams
WithHTTPClient adds the HTTPClient to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WithID ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithID(id string) *GetVariableByIDUsingGETParams
WithID adds the id to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WithTimeout ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WithTimeout(timeout time.Duration) *GetVariableByIDUsingGETParams
WithTimeout adds the timeout to the get variable by Id using get params
func (*GetVariableByIDUsingGETParams) WriteToRequest ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVariableByIDUsingGETReader ¶ added in v0.4.0
type GetVariableByIDUsingGETReader struct {
// contains filtered or unexported fields
}
GetVariableByIDUsingGETReader is a Reader for the GetVariableByIDUsingGET structure.
func (*GetVariableByIDUsingGETReader) ReadResponse ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVariableByIDUsingGETUnauthorized ¶ added in v0.4.0
type GetVariableByIDUsingGETUnauthorized struct { }
GetVariableByIDUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewGetVariableByIDUsingGETUnauthorized ¶ added in v0.4.0
func NewGetVariableByIDUsingGETUnauthorized() *GetVariableByIDUsingGETUnauthorized
NewGetVariableByIDUsingGETUnauthorized creates a GetVariableByIDUsingGETUnauthorized with default headers values
func (*GetVariableByIDUsingGETUnauthorized) Error ¶ added in v0.4.0
func (o *GetVariableByIDUsingGETUnauthorized) Error() string
func (*GetVariableByIDUsingGETUnauthorized) IsClientError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETUnauthorized) IsClientError() bool
IsClientError returns true when this get variable by Id using g e t unauthorized response has a 4xx status code
func (*GetVariableByIDUsingGETUnauthorized) IsCode ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETUnauthorized) IsCode(code int) bool
IsCode returns true when this get variable by Id using g e t unauthorized response a status code equal to that given
func (*GetVariableByIDUsingGETUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETUnauthorized) IsRedirect() bool
IsRedirect returns true when this get variable by Id using g e t unauthorized response has a 3xx status code
func (*GetVariableByIDUsingGETUnauthorized) IsServerError ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETUnauthorized) IsServerError() bool
IsServerError returns true when this get variable by Id using g e t unauthorized response has a 5xx status code
func (*GetVariableByIDUsingGETUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETUnauthorized) IsSuccess() bool
IsSuccess returns true when this get variable by Id using g e t unauthorized response has a 2xx status code
func (*GetVariableByIDUsingGETUnauthorized) String ¶ added in v0.5.0
func (o *GetVariableByIDUsingGETUnauthorized) String() string
type GetVariableByNameUsingGETForbidden ¶ added in v0.4.0
type GetVariableByNameUsingGETForbidden struct { }
GetVariableByNameUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetVariableByNameUsingGETForbidden ¶ added in v0.4.0
func NewGetVariableByNameUsingGETForbidden() *GetVariableByNameUsingGETForbidden
NewGetVariableByNameUsingGETForbidden creates a GetVariableByNameUsingGETForbidden with default headers values
func (*GetVariableByNameUsingGETForbidden) Error ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETForbidden) Error() string
func (*GetVariableByNameUsingGETForbidden) IsClientError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETForbidden) IsClientError() bool
IsClientError returns true when this get variable by name using g e t forbidden response has a 4xx status code
func (*GetVariableByNameUsingGETForbidden) IsCode ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this get variable by name using g e t forbidden response a status code equal to that given
func (*GetVariableByNameUsingGETForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this get variable by name using g e t forbidden response has a 3xx status code
func (*GetVariableByNameUsingGETForbidden) IsServerError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETForbidden) IsServerError() bool
IsServerError returns true when this get variable by name using g e t forbidden response has a 5xx status code
func (*GetVariableByNameUsingGETForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this get variable by name using g e t forbidden response has a 2xx status code
func (*GetVariableByNameUsingGETForbidden) String ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETForbidden) String() string
type GetVariableByNameUsingGETInternalServerError ¶ added in v0.4.0
type GetVariableByNameUsingGETInternalServerError struct { }
GetVariableByNameUsingGETInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetVariableByNameUsingGETInternalServerError ¶ added in v0.4.0
func NewGetVariableByNameUsingGETInternalServerError() *GetVariableByNameUsingGETInternalServerError
NewGetVariableByNameUsingGETInternalServerError creates a GetVariableByNameUsingGETInternalServerError with default headers values
func (*GetVariableByNameUsingGETInternalServerError) Error ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETInternalServerError) Error() string
func (*GetVariableByNameUsingGETInternalServerError) IsClientError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETInternalServerError) IsClientError() bool
IsClientError returns true when this get variable by name using g e t internal server error response has a 4xx status code
func (*GetVariableByNameUsingGETInternalServerError) IsCode ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETInternalServerError) IsCode(code int) bool
IsCode returns true when this get variable by name using g e t internal server error response a status code equal to that given
func (*GetVariableByNameUsingGETInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETInternalServerError) IsRedirect() bool
IsRedirect returns true when this get variable by name using g e t internal server error response has a 3xx status code
func (*GetVariableByNameUsingGETInternalServerError) IsServerError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETInternalServerError) IsServerError() bool
IsServerError returns true when this get variable by name using g e t internal server error response has a 5xx status code
func (*GetVariableByNameUsingGETInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETInternalServerError) IsSuccess() bool
IsSuccess returns true when this get variable by name using g e t internal server error response has a 2xx status code
func (*GetVariableByNameUsingGETInternalServerError) String ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETInternalServerError) String() string
type GetVariableByNameUsingGETNotFound ¶ added in v0.4.0
GetVariableByNameUsingGETNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetVariableByNameUsingGETNotFound ¶ added in v0.4.0
func NewGetVariableByNameUsingGETNotFound() *GetVariableByNameUsingGETNotFound
NewGetVariableByNameUsingGETNotFound creates a GetVariableByNameUsingGETNotFound with default headers values
func (*GetVariableByNameUsingGETNotFound) Error ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETNotFound) Error() string
func (*GetVariableByNameUsingGETNotFound) GetPayload ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETNotFound) GetPayload() *models.Error
func (*GetVariableByNameUsingGETNotFound) IsClientError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETNotFound) IsClientError() bool
IsClientError returns true when this get variable by name using g e t not found response has a 4xx status code
func (*GetVariableByNameUsingGETNotFound) IsCode ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETNotFound) IsCode(code int) bool
IsCode returns true when this get variable by name using g e t not found response a status code equal to that given
func (*GetVariableByNameUsingGETNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETNotFound) IsRedirect() bool
IsRedirect returns true when this get variable by name using g e t not found response has a 3xx status code
func (*GetVariableByNameUsingGETNotFound) IsServerError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETNotFound) IsServerError() bool
IsServerError returns true when this get variable by name using g e t not found response has a 5xx status code
func (*GetVariableByNameUsingGETNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETNotFound) IsSuccess() bool
IsSuccess returns true when this get variable by name using g e t not found response has a 2xx status code
func (*GetVariableByNameUsingGETNotFound) String ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETNotFound) String() string
type GetVariableByNameUsingGETOK ¶ added in v0.4.0
GetVariableByNameUsingGETOK describes a response with status code 200, with default header values.
'Success' with the requested Variable
func NewGetVariableByNameUsingGETOK ¶ added in v0.4.0
func NewGetVariableByNameUsingGETOK() *GetVariableByNameUsingGETOK
NewGetVariableByNameUsingGETOK creates a GetVariableByNameUsingGETOK with default headers values
func (*GetVariableByNameUsingGETOK) Error ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETOK) Error() string
func (*GetVariableByNameUsingGETOK) GetPayload ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETOK) GetPayload() *models.Variable
func (*GetVariableByNameUsingGETOK) IsClientError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETOK) IsClientError() bool
IsClientError returns true when this get variable by name using g e t o k response has a 4xx status code
func (*GetVariableByNameUsingGETOK) IsCode ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETOK) IsCode(code int) bool
IsCode returns true when this get variable by name using g e t o k response a status code equal to that given
func (*GetVariableByNameUsingGETOK) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETOK) IsRedirect() bool
IsRedirect returns true when this get variable by name using g e t o k response has a 3xx status code
func (*GetVariableByNameUsingGETOK) IsServerError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETOK) IsServerError() bool
IsServerError returns true when this get variable by name using g e t o k response has a 5xx status code
func (*GetVariableByNameUsingGETOK) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETOK) IsSuccess() bool
IsSuccess returns true when this get variable by name using g e t o k response has a 2xx status code
func (*GetVariableByNameUsingGETOK) String ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETOK) String() string
type GetVariableByNameUsingGETParams ¶ added in v0.4.0
type GetVariableByNameUsingGETParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* Name. The name of the Variable */ Name string /* Project. The project the Variable belongs to */ Project string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVariableByNameUsingGETParams contains all the parameters to send to the API endpoint
for the get variable by name using g e t operation. Typically these are written to a http.Request.
func NewGetVariableByNameUsingGETParams ¶ added in v0.4.0
func NewGetVariableByNameUsingGETParams() *GetVariableByNameUsingGETParams
NewGetVariableByNameUsingGETParams creates a new GetVariableByNameUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVariableByNameUsingGETParamsWithContext ¶ added in v0.4.0
func NewGetVariableByNameUsingGETParamsWithContext(ctx context.Context) *GetVariableByNameUsingGETParams
NewGetVariableByNameUsingGETParamsWithContext creates a new GetVariableByNameUsingGETParams object with the ability to set a context for a request.
func NewGetVariableByNameUsingGETParamsWithHTTPClient ¶ added in v0.4.0
func NewGetVariableByNameUsingGETParamsWithHTTPClient(client *http.Client) *GetVariableByNameUsingGETParams
NewGetVariableByNameUsingGETParamsWithHTTPClient creates a new GetVariableByNameUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetVariableByNameUsingGETParamsWithTimeout ¶ added in v0.4.0
func NewGetVariableByNameUsingGETParamsWithTimeout(timeout time.Duration) *GetVariableByNameUsingGETParams
NewGetVariableByNameUsingGETParamsWithTimeout creates a new GetVariableByNameUsingGETParams object with the ability to set a timeout on a request.
func (*GetVariableByNameUsingGETParams) SetAPIVersion ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) SetAuthorization ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) SetContext ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) SetDefaults ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get variable by name using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetVariableByNameUsingGETParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) SetName ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetName(name string)
SetName adds the name to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) SetProject ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetProject(project string)
SetProject adds the project to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) SetTimeout ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithAPIVersion ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithAPIVersion(aPIVersion string) *GetVariableByNameUsingGETParams
WithAPIVersion adds the aPIVersion to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithAuthorization ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithAuthorization(authorization string) *GetVariableByNameUsingGETParams
WithAuthorization adds the authorization to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithContext ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithContext(ctx context.Context) *GetVariableByNameUsingGETParams
WithContext adds the context to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithDefaults ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithDefaults() *GetVariableByNameUsingGETParams
WithDefaults hydrates default values in the get variable by name using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetVariableByNameUsingGETParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithHTTPClient(client *http.Client) *GetVariableByNameUsingGETParams
WithHTTPClient adds the HTTPClient to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithName ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithName(name string) *GetVariableByNameUsingGETParams
WithName adds the name to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithProject ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithProject(project string) *GetVariableByNameUsingGETParams
WithProject adds the project to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WithTimeout ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WithTimeout(timeout time.Duration) *GetVariableByNameUsingGETParams
WithTimeout adds the timeout to the get variable by name using get params
func (*GetVariableByNameUsingGETParams) WriteToRequest ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVariableByNameUsingGETReader ¶ added in v0.4.0
type GetVariableByNameUsingGETReader struct {
// contains filtered or unexported fields
}
GetVariableByNameUsingGETReader is a Reader for the GetVariableByNameUsingGET structure.
func (*GetVariableByNameUsingGETReader) ReadResponse ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVariableByNameUsingGETUnauthorized ¶ added in v0.4.0
type GetVariableByNameUsingGETUnauthorized struct { }
GetVariableByNameUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewGetVariableByNameUsingGETUnauthorized ¶ added in v0.4.0
func NewGetVariableByNameUsingGETUnauthorized() *GetVariableByNameUsingGETUnauthorized
NewGetVariableByNameUsingGETUnauthorized creates a GetVariableByNameUsingGETUnauthorized with default headers values
func (*GetVariableByNameUsingGETUnauthorized) Error ¶ added in v0.4.0
func (o *GetVariableByNameUsingGETUnauthorized) Error() string
func (*GetVariableByNameUsingGETUnauthorized) IsClientError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETUnauthorized) IsClientError() bool
IsClientError returns true when this get variable by name using g e t unauthorized response has a 4xx status code
func (*GetVariableByNameUsingGETUnauthorized) IsCode ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETUnauthorized) IsCode(code int) bool
IsCode returns true when this get variable by name using g e t unauthorized response a status code equal to that given
func (*GetVariableByNameUsingGETUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETUnauthorized) IsRedirect() bool
IsRedirect returns true when this get variable by name using g e t unauthorized response has a 3xx status code
func (*GetVariableByNameUsingGETUnauthorized) IsServerError ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETUnauthorized) IsServerError() bool
IsServerError returns true when this get variable by name using g e t unauthorized response has a 5xx status code
func (*GetVariableByNameUsingGETUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETUnauthorized) IsSuccess() bool
IsSuccess returns true when this get variable by name using g e t unauthorized response has a 2xx status code
func (*GetVariableByNameUsingGETUnauthorized) String ¶ added in v0.5.0
func (o *GetVariableByNameUsingGETUnauthorized) String() string
type UpdateVariableByIDUsingPUTForbidden ¶ added in v0.4.0
type UpdateVariableByIDUsingPUTForbidden struct { }
UpdateVariableByIDUsingPUTForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateVariableByIDUsingPUTForbidden ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTForbidden() *UpdateVariableByIDUsingPUTForbidden
NewUpdateVariableByIDUsingPUTForbidden creates a UpdateVariableByIDUsingPUTForbidden with default headers values
func (*UpdateVariableByIDUsingPUTForbidden) Error ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTForbidden) Error() string
func (*UpdateVariableByIDUsingPUTForbidden) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTForbidden) IsClientError() bool
IsClientError returns true when this update variable by Id using p u t forbidden response has a 4xx status code
func (*UpdateVariableByIDUsingPUTForbidden) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTForbidden) IsCode(code int) bool
IsCode returns true when this update variable by Id using p u t forbidden response a status code equal to that given
func (*UpdateVariableByIDUsingPUTForbidden) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTForbidden) IsRedirect() bool
IsRedirect returns true when this update variable by Id using p u t forbidden response has a 3xx status code
func (*UpdateVariableByIDUsingPUTForbidden) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTForbidden) IsServerError() bool
IsServerError returns true when this update variable by Id using p u t forbidden response has a 5xx status code
func (*UpdateVariableByIDUsingPUTForbidden) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTForbidden) IsSuccess() bool
IsSuccess returns true when this update variable by Id using p u t forbidden response has a 2xx status code
func (*UpdateVariableByIDUsingPUTForbidden) String ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTForbidden) String() string
type UpdateVariableByIDUsingPUTInternalServerError ¶ added in v0.4.0
type UpdateVariableByIDUsingPUTInternalServerError struct { }
UpdateVariableByIDUsingPUTInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewUpdateVariableByIDUsingPUTInternalServerError ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTInternalServerError() *UpdateVariableByIDUsingPUTInternalServerError
NewUpdateVariableByIDUsingPUTInternalServerError creates a UpdateVariableByIDUsingPUTInternalServerError with default headers values
func (*UpdateVariableByIDUsingPUTInternalServerError) Error ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) Error() string
func (*UpdateVariableByIDUsingPUTInternalServerError) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) IsClientError() bool
IsClientError returns true when this update variable by Id using p u t internal server error response has a 4xx status code
func (*UpdateVariableByIDUsingPUTInternalServerError) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) IsCode(code int) bool
IsCode returns true when this update variable by Id using p u t internal server error response a status code equal to that given
func (*UpdateVariableByIDUsingPUTInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) IsRedirect() bool
IsRedirect returns true when this update variable by Id using p u t internal server error response has a 3xx status code
func (*UpdateVariableByIDUsingPUTInternalServerError) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) IsServerError() bool
IsServerError returns true when this update variable by Id using p u t internal server error response has a 5xx status code
func (*UpdateVariableByIDUsingPUTInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) IsSuccess() bool
IsSuccess returns true when this update variable by Id using p u t internal server error response has a 2xx status code
func (*UpdateVariableByIDUsingPUTInternalServerError) String ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTInternalServerError) String() string
type UpdateVariableByIDUsingPUTNotFound ¶ added in v0.4.0
UpdateVariableByIDUsingPUTNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateVariableByIDUsingPUTNotFound ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTNotFound() *UpdateVariableByIDUsingPUTNotFound
NewUpdateVariableByIDUsingPUTNotFound creates a UpdateVariableByIDUsingPUTNotFound with default headers values
func (*UpdateVariableByIDUsingPUTNotFound) Error ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTNotFound) Error() string
func (*UpdateVariableByIDUsingPUTNotFound) GetPayload ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTNotFound) GetPayload() *models.Error
func (*UpdateVariableByIDUsingPUTNotFound) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTNotFound) IsClientError() bool
IsClientError returns true when this update variable by Id using p u t not found response has a 4xx status code
func (*UpdateVariableByIDUsingPUTNotFound) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTNotFound) IsCode(code int) bool
IsCode returns true when this update variable by Id using p u t not found response a status code equal to that given
func (*UpdateVariableByIDUsingPUTNotFound) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTNotFound) IsRedirect() bool
IsRedirect returns true when this update variable by Id using p u t not found response has a 3xx status code
func (*UpdateVariableByIDUsingPUTNotFound) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTNotFound) IsServerError() bool
IsServerError returns true when this update variable by Id using p u t not found response has a 5xx status code
func (*UpdateVariableByIDUsingPUTNotFound) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTNotFound) IsSuccess() bool
IsSuccess returns true when this update variable by Id using p u t not found response has a 2xx status code
func (*UpdateVariableByIDUsingPUTNotFound) String ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTNotFound) String() string
type UpdateVariableByIDUsingPUTOK ¶ added in v0.4.0
UpdateVariableByIDUsingPUTOK describes a response with status code 200, with default header values.
'Success' with the updated Variable
func NewUpdateVariableByIDUsingPUTOK ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTOK() *UpdateVariableByIDUsingPUTOK
NewUpdateVariableByIDUsingPUTOK creates a UpdateVariableByIDUsingPUTOK with default headers values
func (*UpdateVariableByIDUsingPUTOK) Error ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTOK) Error() string
func (*UpdateVariableByIDUsingPUTOK) GetPayload ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTOK) GetPayload() *models.Variable
func (*UpdateVariableByIDUsingPUTOK) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTOK) IsClientError() bool
IsClientError returns true when this update variable by Id using p u t o k response has a 4xx status code
func (*UpdateVariableByIDUsingPUTOK) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTOK) IsCode(code int) bool
IsCode returns true when this update variable by Id using p u t o k response a status code equal to that given
func (*UpdateVariableByIDUsingPUTOK) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTOK) IsRedirect() bool
IsRedirect returns true when this update variable by Id using p u t o k response has a 3xx status code
func (*UpdateVariableByIDUsingPUTOK) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTOK) IsServerError() bool
IsServerError returns true when this update variable by Id using p u t o k response has a 5xx status code
func (*UpdateVariableByIDUsingPUTOK) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTOK) IsSuccess() bool
IsSuccess returns true when this update variable by Id using p u t o k response has a 2xx status code
func (*UpdateVariableByIDUsingPUTOK) String ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTOK) String() string
type UpdateVariableByIDUsingPUTParams ¶ added in v0.4.0
type UpdateVariableByIDUsingPUTParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* Body. Variable specification */ Body models.VariableSpec /* ID. The ID of the Variable */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVariableByIDUsingPUTParams contains all the parameters to send to the API endpoint
for the update variable by Id using p u t operation. Typically these are written to a http.Request.
func NewUpdateVariableByIDUsingPUTParams ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTParams() *UpdateVariableByIDUsingPUTParams
NewUpdateVariableByIDUsingPUTParams creates a new UpdateVariableByIDUsingPUTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateVariableByIDUsingPUTParamsWithContext ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTParamsWithContext(ctx context.Context) *UpdateVariableByIDUsingPUTParams
NewUpdateVariableByIDUsingPUTParamsWithContext creates a new UpdateVariableByIDUsingPUTParams object with the ability to set a context for a request.
func NewUpdateVariableByIDUsingPUTParamsWithHTTPClient ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateVariableByIDUsingPUTParams
NewUpdateVariableByIDUsingPUTParamsWithHTTPClient creates a new UpdateVariableByIDUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVariableByIDUsingPUTParamsWithTimeout ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateVariableByIDUsingPUTParams
NewUpdateVariableByIDUsingPUTParamsWithTimeout creates a new UpdateVariableByIDUsingPUTParams object with the ability to set a timeout on a request.
func (*UpdateVariableByIDUsingPUTParams) SetAPIVersion ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) SetAuthorization ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) SetBody ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetBody(body models.VariableSpec)
SetBody adds the body to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) SetContext ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) SetDefaults ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the update variable by Id using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVariableByIDUsingPUTParams) SetHTTPClient ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) SetID ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetID(id string)
SetID adds the id to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) SetTimeout ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithAPIVersion ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithAPIVersion(aPIVersion string) *UpdateVariableByIDUsingPUTParams
WithAPIVersion adds the aPIVersion to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithAuthorization ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithAuthorization(authorization string) *UpdateVariableByIDUsingPUTParams
WithAuthorization adds the authorization to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithBody ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithBody(body models.VariableSpec) *UpdateVariableByIDUsingPUTParams
WithBody adds the body to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithContext ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithContext(ctx context.Context) *UpdateVariableByIDUsingPUTParams
WithContext adds the context to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithDefaults ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithDefaults() *UpdateVariableByIDUsingPUTParams
WithDefaults hydrates default values in the update variable by Id using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVariableByIDUsingPUTParams) WithHTTPClient ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithHTTPClient(client *http.Client) *UpdateVariableByIDUsingPUTParams
WithHTTPClient adds the HTTPClient to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithID ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithID(id string) *UpdateVariableByIDUsingPUTParams
WithID adds the id to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WithTimeout ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WithTimeout(timeout time.Duration) *UpdateVariableByIDUsingPUTParams
WithTimeout adds the timeout to the update variable by Id using p u t params
func (*UpdateVariableByIDUsingPUTParams) WriteToRequest ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVariableByIDUsingPUTReader ¶ added in v0.4.0
type UpdateVariableByIDUsingPUTReader struct {
// contains filtered or unexported fields
}
UpdateVariableByIDUsingPUTReader is a Reader for the UpdateVariableByIDUsingPUT structure.
func (*UpdateVariableByIDUsingPUTReader) ReadResponse ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVariableByIDUsingPUTUnauthorized ¶ added in v0.4.0
type UpdateVariableByIDUsingPUTUnauthorized struct { }
UpdateVariableByIDUsingPUTUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewUpdateVariableByIDUsingPUTUnauthorized ¶ added in v0.4.0
func NewUpdateVariableByIDUsingPUTUnauthorized() *UpdateVariableByIDUsingPUTUnauthorized
NewUpdateVariableByIDUsingPUTUnauthorized creates a UpdateVariableByIDUsingPUTUnauthorized with default headers values
func (*UpdateVariableByIDUsingPUTUnauthorized) Error ¶ added in v0.4.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) Error() string
func (*UpdateVariableByIDUsingPUTUnauthorized) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) IsClientError() bool
IsClientError returns true when this update variable by Id using p u t unauthorized response has a 4xx status code
func (*UpdateVariableByIDUsingPUTUnauthorized) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) IsCode(code int) bool
IsCode returns true when this update variable by Id using p u t unauthorized response a status code equal to that given
func (*UpdateVariableByIDUsingPUTUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) IsRedirect() bool
IsRedirect returns true when this update variable by Id using p u t unauthorized response has a 3xx status code
func (*UpdateVariableByIDUsingPUTUnauthorized) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) IsServerError() bool
IsServerError returns true when this update variable by Id using p u t unauthorized response has a 5xx status code
func (*UpdateVariableByIDUsingPUTUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) IsSuccess() bool
IsSuccess returns true when this update variable by Id using p u t unauthorized response has a 2xx status code
func (*UpdateVariableByIDUsingPUTUnauthorized) String ¶ added in v0.5.0
func (o *UpdateVariableByIDUsingPUTUnauthorized) String() string
type UpdateVariableByNameUsingPUTForbidden ¶ added in v0.4.0
type UpdateVariableByNameUsingPUTForbidden struct { }
UpdateVariableByNameUsingPUTForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateVariableByNameUsingPUTForbidden ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTForbidden() *UpdateVariableByNameUsingPUTForbidden
NewUpdateVariableByNameUsingPUTForbidden creates a UpdateVariableByNameUsingPUTForbidden with default headers values
func (*UpdateVariableByNameUsingPUTForbidden) Error ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTForbidden) Error() string
func (*UpdateVariableByNameUsingPUTForbidden) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTForbidden) IsClientError() bool
IsClientError returns true when this update variable by name using p u t forbidden response has a 4xx status code
func (*UpdateVariableByNameUsingPUTForbidden) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTForbidden) IsCode(code int) bool
IsCode returns true when this update variable by name using p u t forbidden response a status code equal to that given
func (*UpdateVariableByNameUsingPUTForbidden) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTForbidden) IsRedirect() bool
IsRedirect returns true when this update variable by name using p u t forbidden response has a 3xx status code
func (*UpdateVariableByNameUsingPUTForbidden) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTForbidden) IsServerError() bool
IsServerError returns true when this update variable by name using p u t forbidden response has a 5xx status code
func (*UpdateVariableByNameUsingPUTForbidden) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTForbidden) IsSuccess() bool
IsSuccess returns true when this update variable by name using p u t forbidden response has a 2xx status code
func (*UpdateVariableByNameUsingPUTForbidden) String ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTForbidden) String() string
type UpdateVariableByNameUsingPUTInternalServerError ¶ added in v0.4.0
type UpdateVariableByNameUsingPUTInternalServerError struct { }
UpdateVariableByNameUsingPUTInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewUpdateVariableByNameUsingPUTInternalServerError ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTInternalServerError() *UpdateVariableByNameUsingPUTInternalServerError
NewUpdateVariableByNameUsingPUTInternalServerError creates a UpdateVariableByNameUsingPUTInternalServerError with default headers values
func (*UpdateVariableByNameUsingPUTInternalServerError) Error ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) Error() string
func (*UpdateVariableByNameUsingPUTInternalServerError) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) IsClientError() bool
IsClientError returns true when this update variable by name using p u t internal server error response has a 4xx status code
func (*UpdateVariableByNameUsingPUTInternalServerError) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) IsCode(code int) bool
IsCode returns true when this update variable by name using p u t internal server error response a status code equal to that given
func (*UpdateVariableByNameUsingPUTInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) IsRedirect() bool
IsRedirect returns true when this update variable by name using p u t internal server error response has a 3xx status code
func (*UpdateVariableByNameUsingPUTInternalServerError) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) IsServerError() bool
IsServerError returns true when this update variable by name using p u t internal server error response has a 5xx status code
func (*UpdateVariableByNameUsingPUTInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) IsSuccess() bool
IsSuccess returns true when this update variable by name using p u t internal server error response has a 2xx status code
func (*UpdateVariableByNameUsingPUTInternalServerError) String ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTInternalServerError) String() string
type UpdateVariableByNameUsingPUTNotFound ¶ added in v0.4.0
UpdateVariableByNameUsingPUTNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateVariableByNameUsingPUTNotFound ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTNotFound() *UpdateVariableByNameUsingPUTNotFound
NewUpdateVariableByNameUsingPUTNotFound creates a UpdateVariableByNameUsingPUTNotFound with default headers values
func (*UpdateVariableByNameUsingPUTNotFound) Error ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTNotFound) Error() string
func (*UpdateVariableByNameUsingPUTNotFound) GetPayload ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTNotFound) GetPayload() *models.Error
func (*UpdateVariableByNameUsingPUTNotFound) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTNotFound) IsClientError() bool
IsClientError returns true when this update variable by name using p u t not found response has a 4xx status code
func (*UpdateVariableByNameUsingPUTNotFound) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTNotFound) IsCode(code int) bool
IsCode returns true when this update variable by name using p u t not found response a status code equal to that given
func (*UpdateVariableByNameUsingPUTNotFound) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTNotFound) IsRedirect() bool
IsRedirect returns true when this update variable by name using p u t not found response has a 3xx status code
func (*UpdateVariableByNameUsingPUTNotFound) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTNotFound) IsServerError() bool
IsServerError returns true when this update variable by name using p u t not found response has a 5xx status code
func (*UpdateVariableByNameUsingPUTNotFound) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTNotFound) IsSuccess() bool
IsSuccess returns true when this update variable by name using p u t not found response has a 2xx status code
func (*UpdateVariableByNameUsingPUTNotFound) String ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTNotFound) String() string
type UpdateVariableByNameUsingPUTOK ¶ added in v0.4.0
UpdateVariableByNameUsingPUTOK describes a response with status code 200, with default header values.
'Success' with updated Variable
func NewUpdateVariableByNameUsingPUTOK ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTOK() *UpdateVariableByNameUsingPUTOK
NewUpdateVariableByNameUsingPUTOK creates a UpdateVariableByNameUsingPUTOK with default headers values
func (*UpdateVariableByNameUsingPUTOK) Error ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTOK) Error() string
func (*UpdateVariableByNameUsingPUTOK) GetPayload ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTOK) GetPayload() *models.Variable
func (*UpdateVariableByNameUsingPUTOK) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTOK) IsClientError() bool
IsClientError returns true when this update variable by name using p u t o k response has a 4xx status code
func (*UpdateVariableByNameUsingPUTOK) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTOK) IsCode(code int) bool
IsCode returns true when this update variable by name using p u t o k response a status code equal to that given
func (*UpdateVariableByNameUsingPUTOK) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTOK) IsRedirect() bool
IsRedirect returns true when this update variable by name using p u t o k response has a 3xx status code
func (*UpdateVariableByNameUsingPUTOK) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTOK) IsServerError() bool
IsServerError returns true when this update variable by name using p u t o k response has a 5xx status code
func (*UpdateVariableByNameUsingPUTOK) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTOK) IsSuccess() bool
IsSuccess returns true when this update variable by name using p u t o k response has a 2xx status code
func (*UpdateVariableByNameUsingPUTOK) String ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTOK) String() string
type UpdateVariableByNameUsingPUTParams ¶ added in v0.4.0
type UpdateVariableByNameUsingPUTParams struct { /* Authorization. Bearer token */ Authorization string /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about */ APIVersion string /* Body. Variable specification */ Body models.VariableSpec /* Name. The name of the Variable */ Name string /* Project. The project the Variable belongs to */ Project string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVariableByNameUsingPUTParams contains all the parameters to send to the API endpoint
for the update variable by name using p u t operation. Typically these are written to a http.Request.
func NewUpdateVariableByNameUsingPUTParams ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTParams() *UpdateVariableByNameUsingPUTParams
NewUpdateVariableByNameUsingPUTParams creates a new UpdateVariableByNameUsingPUTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateVariableByNameUsingPUTParamsWithContext ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTParamsWithContext(ctx context.Context) *UpdateVariableByNameUsingPUTParams
NewUpdateVariableByNameUsingPUTParamsWithContext creates a new UpdateVariableByNameUsingPUTParams object with the ability to set a context for a request.
func NewUpdateVariableByNameUsingPUTParamsWithHTTPClient ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateVariableByNameUsingPUTParams
NewUpdateVariableByNameUsingPUTParamsWithHTTPClient creates a new UpdateVariableByNameUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVariableByNameUsingPUTParamsWithTimeout ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateVariableByNameUsingPUTParams
NewUpdateVariableByNameUsingPUTParamsWithTimeout creates a new UpdateVariableByNameUsingPUTParams object with the ability to set a timeout on a request.
func (*UpdateVariableByNameUsingPUTParams) SetAPIVersion ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetAuthorization ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetBody ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetBody(body models.VariableSpec)
SetBody adds the body to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetContext ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetDefaults ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the update variable by name using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVariableByNameUsingPUTParams) SetHTTPClient ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetName ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetName(name string)
SetName adds the name to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetProject ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetProject(project string)
SetProject adds the project to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) SetTimeout ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithAPIVersion ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithAPIVersion(aPIVersion string) *UpdateVariableByNameUsingPUTParams
WithAPIVersion adds the aPIVersion to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithAuthorization ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithAuthorization(authorization string) *UpdateVariableByNameUsingPUTParams
WithAuthorization adds the authorization to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithBody ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithBody(body models.VariableSpec) *UpdateVariableByNameUsingPUTParams
WithBody adds the body to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithContext ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithContext(ctx context.Context) *UpdateVariableByNameUsingPUTParams
WithContext adds the context to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithDefaults ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithDefaults() *UpdateVariableByNameUsingPUTParams
WithDefaults hydrates default values in the update variable by name using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVariableByNameUsingPUTParams) WithHTTPClient ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithHTTPClient(client *http.Client) *UpdateVariableByNameUsingPUTParams
WithHTTPClient adds the HTTPClient to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithName ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithName(name string) *UpdateVariableByNameUsingPUTParams
WithName adds the name to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithProject ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithProject(project string) *UpdateVariableByNameUsingPUTParams
WithProject adds the project to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WithTimeout ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WithTimeout(timeout time.Duration) *UpdateVariableByNameUsingPUTParams
WithTimeout adds the timeout to the update variable by name using p u t params
func (*UpdateVariableByNameUsingPUTParams) WriteToRequest ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVariableByNameUsingPUTReader ¶ added in v0.4.0
type UpdateVariableByNameUsingPUTReader struct {
// contains filtered or unexported fields
}
UpdateVariableByNameUsingPUTReader is a Reader for the UpdateVariableByNameUsingPUT structure.
func (*UpdateVariableByNameUsingPUTReader) ReadResponse ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVariableByNameUsingPUTUnauthorized ¶ added in v0.4.0
type UpdateVariableByNameUsingPUTUnauthorized struct { }
UpdateVariableByNameUsingPUTUnauthorized describes a response with status code 401, with default header values.
Unauthorized Request
func NewUpdateVariableByNameUsingPUTUnauthorized ¶ added in v0.4.0
func NewUpdateVariableByNameUsingPUTUnauthorized() *UpdateVariableByNameUsingPUTUnauthorized
NewUpdateVariableByNameUsingPUTUnauthorized creates a UpdateVariableByNameUsingPUTUnauthorized with default headers values
func (*UpdateVariableByNameUsingPUTUnauthorized) Error ¶ added in v0.4.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) Error() string
func (*UpdateVariableByNameUsingPUTUnauthorized) IsClientError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) IsClientError() bool
IsClientError returns true when this update variable by name using p u t unauthorized response has a 4xx status code
func (*UpdateVariableByNameUsingPUTUnauthorized) IsCode ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) IsCode(code int) bool
IsCode returns true when this update variable by name using p u t unauthorized response a status code equal to that given
func (*UpdateVariableByNameUsingPUTUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) IsRedirect() bool
IsRedirect returns true when this update variable by name using p u t unauthorized response has a 3xx status code
func (*UpdateVariableByNameUsingPUTUnauthorized) IsServerError ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) IsServerError() bool
IsServerError returns true when this update variable by name using p u t unauthorized response has a 5xx status code
func (*UpdateVariableByNameUsingPUTUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) IsSuccess() bool
IsSuccess returns true when this update variable by name using p u t unauthorized response has a 2xx status code
func (*UpdateVariableByNameUsingPUTUnauthorized) String ¶ added in v0.5.0
func (o *UpdateVariableByNameUsingPUTUnauthorized) String() string
Source Files
¶
- create_variable_using_post_parameters.go
- create_variable_using_post_responses.go
- delete_variable_by_id_using_delete_parameters.go
- delete_variable_by_id_using_delete_responses.go
- delete_variable_by_name_using_delete_parameters.go
- delete_variable_by_name_using_delete_responses.go
- get_all_variables_using_get_parameters.go
- get_all_variables_using_get_responses.go
- get_variable_by_id_using_get_parameters.go
- get_variable_by_id_using_get_responses.go
- get_variable_by_name_using_get_parameters.go
- get_variable_by_name_using_get_responses.go
- update_variable_by_id_using_put_parameters.go
- update_variable_by_id_using_put_responses.go
- update_variable_by_name_using_put_parameters.go
- update_variable_by_name_using_put_responses.go
- variables_client.go