Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) WorkflowLibraryAddToLibrary(params *WorkflowLibraryAddToLibraryParams, ...) (*WorkflowLibraryAddToLibraryOK, error)
- func (a *Client) WorkflowLibraryGetFromLibrary(params *WorkflowLibraryGetFromLibraryParams, ...) (*WorkflowLibraryGetFromLibraryOK, error)
- func (a *Client) WorkflowLibraryGetFromLibrary2(params *WorkflowLibraryGetFromLibrary2Params, ...) (*WorkflowLibraryGetFromLibrary2OK, error)
- func (a *Client) WorkflowLibraryGetFromLibrary3(params *WorkflowLibraryGetFromLibrary3Params, ...) (*WorkflowLibraryGetFromLibrary3OK, error)
- type ClientOption
- type ClientService
- type WorkflowLibraryAddToLibraryDefault
- func (o *WorkflowLibraryAddToLibraryDefault) Code() int
- func (o *WorkflowLibraryAddToLibraryDefault) Error() string
- func (o *WorkflowLibraryAddToLibraryDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *WorkflowLibraryAddToLibraryDefault) IsClientError() bool
- func (o *WorkflowLibraryAddToLibraryDefault) IsCode(code int) bool
- func (o *WorkflowLibraryAddToLibraryDefault) IsRedirect() bool
- func (o *WorkflowLibraryAddToLibraryDefault) IsServerError() bool
- func (o *WorkflowLibraryAddToLibraryDefault) IsSuccess() bool
- func (o *WorkflowLibraryAddToLibraryDefault) String() string
- type WorkflowLibraryAddToLibraryOK
- func (o *WorkflowLibraryAddToLibraryOK) Code() int
- func (o *WorkflowLibraryAddToLibraryOK) Error() string
- func (o *WorkflowLibraryAddToLibraryOK) GetPayload() *models.HashicorpCloudWaypointAddToLibraryResponse
- func (o *WorkflowLibraryAddToLibraryOK) IsClientError() bool
- func (o *WorkflowLibraryAddToLibraryOK) IsCode(code int) bool
- func (o *WorkflowLibraryAddToLibraryOK) IsRedirect() bool
- func (o *WorkflowLibraryAddToLibraryOK) IsServerError() bool
- func (o *WorkflowLibraryAddToLibraryOK) IsSuccess() bool
- func (o *WorkflowLibraryAddToLibraryOK) String() string
- type WorkflowLibraryAddToLibraryParams
- func NewWorkflowLibraryAddToLibraryParams() *WorkflowLibraryAddToLibraryParams
- func NewWorkflowLibraryAddToLibraryParamsWithContext(ctx context.Context) *WorkflowLibraryAddToLibraryParams
- func NewWorkflowLibraryAddToLibraryParamsWithHTTPClient(client *http.Client) *WorkflowLibraryAddToLibraryParams
- func NewWorkflowLibraryAddToLibraryParamsWithTimeout(timeout time.Duration) *WorkflowLibraryAddToLibraryParams
- func (o *WorkflowLibraryAddToLibraryParams) SetBody(body *models.HashicorpCloudWaypointAddToLibraryRequest)
- func (o *WorkflowLibraryAddToLibraryParams) SetContext(ctx context.Context)
- func (o *WorkflowLibraryAddToLibraryParams) SetDefaults()
- func (o *WorkflowLibraryAddToLibraryParams) SetHTTPClient(client *http.Client)
- func (o *WorkflowLibraryAddToLibraryParams) SetTimeout(timeout time.Duration)
- func (o *WorkflowLibraryAddToLibraryParams) WithBody(body *models.HashicorpCloudWaypointAddToLibraryRequest) *WorkflowLibraryAddToLibraryParams
- func (o *WorkflowLibraryAddToLibraryParams) WithContext(ctx context.Context) *WorkflowLibraryAddToLibraryParams
- func (o *WorkflowLibraryAddToLibraryParams) WithDefaults() *WorkflowLibraryAddToLibraryParams
- func (o *WorkflowLibraryAddToLibraryParams) WithHTTPClient(client *http.Client) *WorkflowLibraryAddToLibraryParams
- func (o *WorkflowLibraryAddToLibraryParams) WithTimeout(timeout time.Duration) *WorkflowLibraryAddToLibraryParams
- func (o *WorkflowLibraryAddToLibraryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WorkflowLibraryAddToLibraryReader
- type WorkflowLibraryGetFromLibrary2Default
- func (o *WorkflowLibraryGetFromLibrary2Default) Code() int
- func (o *WorkflowLibraryGetFromLibrary2Default) Error() string
- func (o *WorkflowLibraryGetFromLibrary2Default) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *WorkflowLibraryGetFromLibrary2Default) IsClientError() bool
- func (o *WorkflowLibraryGetFromLibrary2Default) IsCode(code int) bool
- func (o *WorkflowLibraryGetFromLibrary2Default) IsRedirect() bool
- func (o *WorkflowLibraryGetFromLibrary2Default) IsServerError() bool
- func (o *WorkflowLibraryGetFromLibrary2Default) IsSuccess() bool
- func (o *WorkflowLibraryGetFromLibrary2Default) String() string
- type WorkflowLibraryGetFromLibrary2OK
- func (o *WorkflowLibraryGetFromLibrary2OK) Code() int
- func (o *WorkflowLibraryGetFromLibrary2OK) Error() string
- func (o *WorkflowLibraryGetFromLibrary2OK) GetPayload() *models.HashicorpCloudWaypointGetFromLibraryResponse
- func (o *WorkflowLibraryGetFromLibrary2OK) IsClientError() bool
- func (o *WorkflowLibraryGetFromLibrary2OK) IsCode(code int) bool
- func (o *WorkflowLibraryGetFromLibrary2OK) IsRedirect() bool
- func (o *WorkflowLibraryGetFromLibrary2OK) IsServerError() bool
- func (o *WorkflowLibraryGetFromLibrary2OK) IsSuccess() bool
- func (o *WorkflowLibraryGetFromLibrary2OK) String() string
- type WorkflowLibraryGetFromLibrary2Params
- func NewWorkflowLibraryGetFromLibrary2Params() *WorkflowLibraryGetFromLibrary2Params
- func NewWorkflowLibraryGetFromLibrary2ParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary2Params
- func NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary2Params
- func NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) SetContext(ctx context.Context)
- func (o *WorkflowLibraryGetFromLibrary2Params) SetDefaults()
- func (o *WorkflowLibraryGetFromLibrary2Params) SetHTTPClient(client *http.Client)
- func (o *WorkflowLibraryGetFromLibrary2Params) SetID(id *string)
- func (o *WorkflowLibraryGetFromLibrary2Params) SetName(name string)
- func (o *WorkflowLibraryGetFromLibrary2Params) SetTimeout(timeout time.Duration)
- func (o *WorkflowLibraryGetFromLibrary2Params) WithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) WithDefaults() *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) WithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) WithID(id *string) *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) WithName(name string) *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) WithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary2Params
- func (o *WorkflowLibraryGetFromLibrary2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WorkflowLibraryGetFromLibrary2Reader
- type WorkflowLibraryGetFromLibrary3Default
- func (o *WorkflowLibraryGetFromLibrary3Default) Code() int
- func (o *WorkflowLibraryGetFromLibrary3Default) Error() string
- func (o *WorkflowLibraryGetFromLibrary3Default) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *WorkflowLibraryGetFromLibrary3Default) IsClientError() bool
- func (o *WorkflowLibraryGetFromLibrary3Default) IsCode(code int) bool
- func (o *WorkflowLibraryGetFromLibrary3Default) IsRedirect() bool
- func (o *WorkflowLibraryGetFromLibrary3Default) IsServerError() bool
- func (o *WorkflowLibraryGetFromLibrary3Default) IsSuccess() bool
- func (o *WorkflowLibraryGetFromLibrary3Default) String() string
- type WorkflowLibraryGetFromLibrary3OK
- func (o *WorkflowLibraryGetFromLibrary3OK) Code() int
- func (o *WorkflowLibraryGetFromLibrary3OK) Error() string
- func (o *WorkflowLibraryGetFromLibrary3OK) GetPayload() *models.HashicorpCloudWaypointGetFromLibraryResponse
- func (o *WorkflowLibraryGetFromLibrary3OK) IsClientError() bool
- func (o *WorkflowLibraryGetFromLibrary3OK) IsCode(code int) bool
- func (o *WorkflowLibraryGetFromLibrary3OK) IsRedirect() bool
- func (o *WorkflowLibraryGetFromLibrary3OK) IsServerError() bool
- func (o *WorkflowLibraryGetFromLibrary3OK) IsSuccess() bool
- func (o *WorkflowLibraryGetFromLibrary3OK) String() string
- type WorkflowLibraryGetFromLibrary3Params
- func NewWorkflowLibraryGetFromLibrary3Params() *WorkflowLibraryGetFromLibrary3Params
- func NewWorkflowLibraryGetFromLibrary3ParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary3Params
- func NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary3Params
- func NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) SetContext(ctx context.Context)
- func (o *WorkflowLibraryGetFromLibrary3Params) SetDefaults()
- func (o *WorkflowLibraryGetFromLibrary3Params) SetHTTPClient(client *http.Client)
- func (o *WorkflowLibraryGetFromLibrary3Params) SetID(id *string)
- func (o *WorkflowLibraryGetFromLibrary3Params) SetName(name *string)
- func (o *WorkflowLibraryGetFromLibrary3Params) SetTimeout(timeout time.Duration)
- func (o *WorkflowLibraryGetFromLibrary3Params) WithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) WithDefaults() *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) WithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) WithID(id *string) *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) WithName(name *string) *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) WithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary3Params
- func (o *WorkflowLibraryGetFromLibrary3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WorkflowLibraryGetFromLibrary3Reader
- type WorkflowLibraryGetFromLibraryDefault
- func (o *WorkflowLibraryGetFromLibraryDefault) Code() int
- func (o *WorkflowLibraryGetFromLibraryDefault) Error() string
- func (o *WorkflowLibraryGetFromLibraryDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *WorkflowLibraryGetFromLibraryDefault) IsClientError() bool
- func (o *WorkflowLibraryGetFromLibraryDefault) IsCode(code int) bool
- func (o *WorkflowLibraryGetFromLibraryDefault) IsRedirect() bool
- func (o *WorkflowLibraryGetFromLibraryDefault) IsServerError() bool
- func (o *WorkflowLibraryGetFromLibraryDefault) IsSuccess() bool
- func (o *WorkflowLibraryGetFromLibraryDefault) String() string
- type WorkflowLibraryGetFromLibraryOK
- func (o *WorkflowLibraryGetFromLibraryOK) Code() int
- func (o *WorkflowLibraryGetFromLibraryOK) Error() string
- func (o *WorkflowLibraryGetFromLibraryOK) GetPayload() *models.HashicorpCloudWaypointGetFromLibraryResponse
- func (o *WorkflowLibraryGetFromLibraryOK) IsClientError() bool
- func (o *WorkflowLibraryGetFromLibraryOK) IsCode(code int) bool
- func (o *WorkflowLibraryGetFromLibraryOK) IsRedirect() bool
- func (o *WorkflowLibraryGetFromLibraryOK) IsServerError() bool
- func (o *WorkflowLibraryGetFromLibraryOK) IsSuccess() bool
- func (o *WorkflowLibraryGetFromLibraryOK) String() string
- type WorkflowLibraryGetFromLibraryParams
- func NewWorkflowLibraryGetFromLibraryParams() *WorkflowLibraryGetFromLibraryParams
- func NewWorkflowLibraryGetFromLibraryParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibraryParams
- func NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibraryParams
- func NewWorkflowLibraryGetFromLibraryParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) SetContext(ctx context.Context)
- func (o *WorkflowLibraryGetFromLibraryParams) SetDefaults()
- func (o *WorkflowLibraryGetFromLibraryParams) SetHTTPClient(client *http.Client)
- func (o *WorkflowLibraryGetFromLibraryParams) SetID(id string)
- func (o *WorkflowLibraryGetFromLibraryParams) SetName(name *string)
- func (o *WorkflowLibraryGetFromLibraryParams) SetTimeout(timeout time.Duration)
- func (o *WorkflowLibraryGetFromLibraryParams) WithContext(ctx context.Context) *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) WithDefaults() *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) WithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) WithID(id string) *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) WithName(name *string) *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) WithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibraryParams
- func (o *WorkflowLibraryGetFromLibraryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WorkflowLibraryGetFromLibraryReader
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 workflow library API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) WorkflowLibraryAddToLibrary ¶
func (a *Client) WorkflowLibraryAddToLibrary(params *WorkflowLibraryAddToLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryAddToLibraryOK, error)
WorkflowLibraryAddToLibrary bs e t a add to library adds a workflow program to the organizations library
func (*Client) WorkflowLibraryGetFromLibrary ¶
func (a *Client) WorkflowLibraryGetFromLibrary(params *WorkflowLibraryGetFromLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibraryOK, error)
WorkflowLibraryGetFromLibrary bs e t a get from library returns workflow programs in the library that match the requested fields
func (*Client) WorkflowLibraryGetFromLibrary2 ¶
func (a *Client) WorkflowLibraryGetFromLibrary2(params *WorkflowLibraryGetFromLibrary2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary2OK, error)
WorkflowLibraryGetFromLibrary2 bs e t a get from library returns workflow programs in the library that match the requested fields
func (*Client) WorkflowLibraryGetFromLibrary3 ¶
func (a *Client) WorkflowLibraryGetFromLibrary3(params *WorkflowLibraryGetFromLibrary3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary3OK, error)
WorkflowLibraryGetFromLibrary3 bs e t a get from library returns workflow programs in the library that match the requested fields
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { WorkflowLibraryAddToLibrary(params *WorkflowLibraryAddToLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryAddToLibraryOK, error) WorkflowLibraryGetFromLibrary(params *WorkflowLibraryGetFromLibraryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibraryOK, error) WorkflowLibraryGetFromLibrary2(params *WorkflowLibraryGetFromLibrary2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary2OK, error) WorkflowLibraryGetFromLibrary3(params *WorkflowLibraryGetFromLibrary3Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WorkflowLibraryGetFromLibrary3OK, 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 workflow library API client.
type WorkflowLibraryAddToLibraryDefault ¶
type WorkflowLibraryAddToLibraryDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
WorkflowLibraryAddToLibraryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWorkflowLibraryAddToLibraryDefault ¶
func NewWorkflowLibraryAddToLibraryDefault(code int) *WorkflowLibraryAddToLibraryDefault
NewWorkflowLibraryAddToLibraryDefault creates a WorkflowLibraryAddToLibraryDefault with default headers values
func (*WorkflowLibraryAddToLibraryDefault) Code ¶
func (o *WorkflowLibraryAddToLibraryDefault) Code() int
Code gets the status code for the workflow library add to library default response
func (*WorkflowLibraryAddToLibraryDefault) Error ¶
func (o *WorkflowLibraryAddToLibraryDefault) Error() string
func (*WorkflowLibraryAddToLibraryDefault) GetPayload ¶
func (o *WorkflowLibraryAddToLibraryDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*WorkflowLibraryAddToLibraryDefault) IsClientError ¶
func (o *WorkflowLibraryAddToLibraryDefault) IsClientError() bool
IsClientError returns true when this workflow library add to library default response has a 4xx status code
func (*WorkflowLibraryAddToLibraryDefault) IsCode ¶
func (o *WorkflowLibraryAddToLibraryDefault) IsCode(code int) bool
IsCode returns true when this workflow library add to library default response a status code equal to that given
func (*WorkflowLibraryAddToLibraryDefault) IsRedirect ¶
func (o *WorkflowLibraryAddToLibraryDefault) IsRedirect() bool
IsRedirect returns true when this workflow library add to library default response has a 3xx status code
func (*WorkflowLibraryAddToLibraryDefault) IsServerError ¶
func (o *WorkflowLibraryAddToLibraryDefault) IsServerError() bool
IsServerError returns true when this workflow library add to library default response has a 5xx status code
func (*WorkflowLibraryAddToLibraryDefault) IsSuccess ¶
func (o *WorkflowLibraryAddToLibraryDefault) IsSuccess() bool
IsSuccess returns true when this workflow library add to library default response has a 2xx status code
func (*WorkflowLibraryAddToLibraryDefault) String ¶
func (o *WorkflowLibraryAddToLibraryDefault) String() string
type WorkflowLibraryAddToLibraryOK ¶
type WorkflowLibraryAddToLibraryOK struct {
Payload *models.HashicorpCloudWaypointAddToLibraryResponse
}
WorkflowLibraryAddToLibraryOK describes a response with status code 200, with default header values.
A successful response.
func NewWorkflowLibraryAddToLibraryOK ¶
func NewWorkflowLibraryAddToLibraryOK() *WorkflowLibraryAddToLibraryOK
NewWorkflowLibraryAddToLibraryOK creates a WorkflowLibraryAddToLibraryOK with default headers values
func (*WorkflowLibraryAddToLibraryOK) Code ¶
func (o *WorkflowLibraryAddToLibraryOK) Code() int
Code gets the status code for the workflow library add to library o k response
func (*WorkflowLibraryAddToLibraryOK) Error ¶
func (o *WorkflowLibraryAddToLibraryOK) Error() string
func (*WorkflowLibraryAddToLibraryOK) GetPayload ¶
func (o *WorkflowLibraryAddToLibraryOK) GetPayload() *models.HashicorpCloudWaypointAddToLibraryResponse
func (*WorkflowLibraryAddToLibraryOK) IsClientError ¶
func (o *WorkflowLibraryAddToLibraryOK) IsClientError() bool
IsClientError returns true when this workflow library add to library o k response has a 4xx status code
func (*WorkflowLibraryAddToLibraryOK) IsCode ¶
func (o *WorkflowLibraryAddToLibraryOK) IsCode(code int) bool
IsCode returns true when this workflow library add to library o k response a status code equal to that given
func (*WorkflowLibraryAddToLibraryOK) IsRedirect ¶
func (o *WorkflowLibraryAddToLibraryOK) IsRedirect() bool
IsRedirect returns true when this workflow library add to library o k response has a 3xx status code
func (*WorkflowLibraryAddToLibraryOK) IsServerError ¶
func (o *WorkflowLibraryAddToLibraryOK) IsServerError() bool
IsServerError returns true when this workflow library add to library o k response has a 5xx status code
func (*WorkflowLibraryAddToLibraryOK) IsSuccess ¶
func (o *WorkflowLibraryAddToLibraryOK) IsSuccess() bool
IsSuccess returns true when this workflow library add to library o k response has a 2xx status code
func (*WorkflowLibraryAddToLibraryOK) String ¶
func (o *WorkflowLibraryAddToLibraryOK) String() string
type WorkflowLibraryAddToLibraryParams ¶
type WorkflowLibraryAddToLibraryParams struct { // Body. Body *models.HashicorpCloudWaypointAddToLibraryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WorkflowLibraryAddToLibraryParams contains all the parameters to send to the API endpoint
for the workflow library add to library operation. Typically these are written to a http.Request.
func NewWorkflowLibraryAddToLibraryParams ¶
func NewWorkflowLibraryAddToLibraryParams() *WorkflowLibraryAddToLibraryParams
NewWorkflowLibraryAddToLibraryParams creates a new WorkflowLibraryAddToLibraryParams 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 NewWorkflowLibraryAddToLibraryParamsWithContext ¶
func NewWorkflowLibraryAddToLibraryParamsWithContext(ctx context.Context) *WorkflowLibraryAddToLibraryParams
NewWorkflowLibraryAddToLibraryParamsWithContext creates a new WorkflowLibraryAddToLibraryParams object with the ability to set a context for a request.
func NewWorkflowLibraryAddToLibraryParamsWithHTTPClient ¶
func NewWorkflowLibraryAddToLibraryParamsWithHTTPClient(client *http.Client) *WorkflowLibraryAddToLibraryParams
NewWorkflowLibraryAddToLibraryParamsWithHTTPClient creates a new WorkflowLibraryAddToLibraryParams object with the ability to set a custom HTTPClient for a request.
func NewWorkflowLibraryAddToLibraryParamsWithTimeout ¶
func NewWorkflowLibraryAddToLibraryParamsWithTimeout(timeout time.Duration) *WorkflowLibraryAddToLibraryParams
NewWorkflowLibraryAddToLibraryParamsWithTimeout creates a new WorkflowLibraryAddToLibraryParams object with the ability to set a timeout on a request.
func (*WorkflowLibraryAddToLibraryParams) SetBody ¶
func (o *WorkflowLibraryAddToLibraryParams) SetBody(body *models.HashicorpCloudWaypointAddToLibraryRequest)
SetBody adds the body to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) SetContext ¶
func (o *WorkflowLibraryAddToLibraryParams) SetContext(ctx context.Context)
SetContext adds the context to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) SetDefaults ¶
func (o *WorkflowLibraryAddToLibraryParams) SetDefaults()
SetDefaults hydrates default values in the workflow library add to library params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryAddToLibraryParams) SetHTTPClient ¶
func (o *WorkflowLibraryAddToLibraryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) SetTimeout ¶
func (o *WorkflowLibraryAddToLibraryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) WithBody ¶
func (o *WorkflowLibraryAddToLibraryParams) WithBody(body *models.HashicorpCloudWaypointAddToLibraryRequest) *WorkflowLibraryAddToLibraryParams
WithBody adds the body to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) WithContext ¶
func (o *WorkflowLibraryAddToLibraryParams) WithContext(ctx context.Context) *WorkflowLibraryAddToLibraryParams
WithContext adds the context to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) WithDefaults ¶
func (o *WorkflowLibraryAddToLibraryParams) WithDefaults() *WorkflowLibraryAddToLibraryParams
WithDefaults hydrates default values in the workflow library add to library params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryAddToLibraryParams) WithHTTPClient ¶
func (o *WorkflowLibraryAddToLibraryParams) WithHTTPClient(client *http.Client) *WorkflowLibraryAddToLibraryParams
WithHTTPClient adds the HTTPClient to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) WithTimeout ¶
func (o *WorkflowLibraryAddToLibraryParams) WithTimeout(timeout time.Duration) *WorkflowLibraryAddToLibraryParams
WithTimeout adds the timeout to the workflow library add to library params
func (*WorkflowLibraryAddToLibraryParams) WriteToRequest ¶
func (o *WorkflowLibraryAddToLibraryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WorkflowLibraryAddToLibraryReader ¶
type WorkflowLibraryAddToLibraryReader struct {
// contains filtered or unexported fields
}
WorkflowLibraryAddToLibraryReader is a Reader for the WorkflowLibraryAddToLibrary structure.
func (*WorkflowLibraryAddToLibraryReader) ReadResponse ¶
func (o *WorkflowLibraryAddToLibraryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WorkflowLibraryGetFromLibrary2Default ¶
type WorkflowLibraryGetFromLibrary2Default struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
WorkflowLibraryGetFromLibrary2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewWorkflowLibraryGetFromLibrary2Default ¶
func NewWorkflowLibraryGetFromLibrary2Default(code int) *WorkflowLibraryGetFromLibrary2Default
NewWorkflowLibraryGetFromLibrary2Default creates a WorkflowLibraryGetFromLibrary2Default with default headers values
func (*WorkflowLibraryGetFromLibrary2Default) Code ¶
func (o *WorkflowLibraryGetFromLibrary2Default) Code() int
Code gets the status code for the workflow library get from library2 default response
func (*WorkflowLibraryGetFromLibrary2Default) Error ¶
func (o *WorkflowLibraryGetFromLibrary2Default) Error() string
func (*WorkflowLibraryGetFromLibrary2Default) GetPayload ¶
func (o *WorkflowLibraryGetFromLibrary2Default) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*WorkflowLibraryGetFromLibrary2Default) IsClientError ¶
func (o *WorkflowLibraryGetFromLibrary2Default) IsClientError() bool
IsClientError returns true when this workflow library get from library2 default response has a 4xx status code
func (*WorkflowLibraryGetFromLibrary2Default) IsCode ¶
func (o *WorkflowLibraryGetFromLibrary2Default) IsCode(code int) bool
IsCode returns true when this workflow library get from library2 default response a status code equal to that given
func (*WorkflowLibraryGetFromLibrary2Default) IsRedirect ¶
func (o *WorkflowLibraryGetFromLibrary2Default) IsRedirect() bool
IsRedirect returns true when this workflow library get from library2 default response has a 3xx status code
func (*WorkflowLibraryGetFromLibrary2Default) IsServerError ¶
func (o *WorkflowLibraryGetFromLibrary2Default) IsServerError() bool
IsServerError returns true when this workflow library get from library2 default response has a 5xx status code
func (*WorkflowLibraryGetFromLibrary2Default) IsSuccess ¶
func (o *WorkflowLibraryGetFromLibrary2Default) IsSuccess() bool
IsSuccess returns true when this workflow library get from library2 default response has a 2xx status code
func (*WorkflowLibraryGetFromLibrary2Default) String ¶
func (o *WorkflowLibraryGetFromLibrary2Default) String() string
type WorkflowLibraryGetFromLibrary2OK ¶
type WorkflowLibraryGetFromLibrary2OK struct {
Payload *models.HashicorpCloudWaypointGetFromLibraryResponse
}
WorkflowLibraryGetFromLibrary2OK describes a response with status code 200, with default header values.
A successful response.
func NewWorkflowLibraryGetFromLibrary2OK ¶
func NewWorkflowLibraryGetFromLibrary2OK() *WorkflowLibraryGetFromLibrary2OK
NewWorkflowLibraryGetFromLibrary2OK creates a WorkflowLibraryGetFromLibrary2OK with default headers values
func (*WorkflowLibraryGetFromLibrary2OK) Code ¶
func (o *WorkflowLibraryGetFromLibrary2OK) Code() int
Code gets the status code for the workflow library get from library2 o k response
func (*WorkflowLibraryGetFromLibrary2OK) Error ¶
func (o *WorkflowLibraryGetFromLibrary2OK) Error() string
func (*WorkflowLibraryGetFromLibrary2OK) GetPayload ¶
func (o *WorkflowLibraryGetFromLibrary2OK) GetPayload() *models.HashicorpCloudWaypointGetFromLibraryResponse
func (*WorkflowLibraryGetFromLibrary2OK) IsClientError ¶
func (o *WorkflowLibraryGetFromLibrary2OK) IsClientError() bool
IsClientError returns true when this workflow library get from library2 o k response has a 4xx status code
func (*WorkflowLibraryGetFromLibrary2OK) IsCode ¶
func (o *WorkflowLibraryGetFromLibrary2OK) IsCode(code int) bool
IsCode returns true when this workflow library get from library2 o k response a status code equal to that given
func (*WorkflowLibraryGetFromLibrary2OK) IsRedirect ¶
func (o *WorkflowLibraryGetFromLibrary2OK) IsRedirect() bool
IsRedirect returns true when this workflow library get from library2 o k response has a 3xx status code
func (*WorkflowLibraryGetFromLibrary2OK) IsServerError ¶
func (o *WorkflowLibraryGetFromLibrary2OK) IsServerError() bool
IsServerError returns true when this workflow library get from library2 o k response has a 5xx status code
func (*WorkflowLibraryGetFromLibrary2OK) IsSuccess ¶
func (o *WorkflowLibraryGetFromLibrary2OK) IsSuccess() bool
IsSuccess returns true when this workflow library get from library2 o k response has a 2xx status code
func (*WorkflowLibraryGetFromLibrary2OK) String ¶
func (o *WorkflowLibraryGetFromLibrary2OK) String() string
type WorkflowLibraryGetFromLibrary2Params ¶
type WorkflowLibraryGetFromLibrary2Params struct { // ID. ID *string // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WorkflowLibraryGetFromLibrary2Params contains all the parameters to send to the API endpoint
for the workflow library get from library2 operation. Typically these are written to a http.Request.
func NewWorkflowLibraryGetFromLibrary2Params ¶
func NewWorkflowLibraryGetFromLibrary2Params() *WorkflowLibraryGetFromLibrary2Params
NewWorkflowLibraryGetFromLibrary2Params creates a new WorkflowLibraryGetFromLibrary2Params 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 NewWorkflowLibraryGetFromLibrary2ParamsWithContext ¶
func NewWorkflowLibraryGetFromLibrary2ParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary2Params
NewWorkflowLibraryGetFromLibrary2ParamsWithContext creates a new WorkflowLibraryGetFromLibrary2Params object with the ability to set a context for a request.
func NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient ¶
func NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary2Params
NewWorkflowLibraryGetFromLibrary2ParamsWithHTTPClient creates a new WorkflowLibraryGetFromLibrary2Params object with the ability to set a custom HTTPClient for a request.
func NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout ¶
func NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary2Params
NewWorkflowLibraryGetFromLibrary2ParamsWithTimeout creates a new WorkflowLibraryGetFromLibrary2Params object with the ability to set a timeout on a request.
func (*WorkflowLibraryGetFromLibrary2Params) SetContext ¶
func (o *WorkflowLibraryGetFromLibrary2Params) SetContext(ctx context.Context)
SetContext adds the context to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) SetDefaults ¶
func (o *WorkflowLibraryGetFromLibrary2Params) SetDefaults()
SetDefaults hydrates default values in the workflow library get from library2 params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryGetFromLibrary2Params) SetHTTPClient ¶
func (o *WorkflowLibraryGetFromLibrary2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) SetID ¶
func (o *WorkflowLibraryGetFromLibrary2Params) SetID(id *string)
SetID adds the id to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) SetName ¶
func (o *WorkflowLibraryGetFromLibrary2Params) SetName(name string)
SetName adds the name to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) SetTimeout ¶
func (o *WorkflowLibraryGetFromLibrary2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) WithContext ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary2Params
WithContext adds the context to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) WithDefaults ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WithDefaults() *WorkflowLibraryGetFromLibrary2Params
WithDefaults hydrates default values in the workflow library get from library2 params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryGetFromLibrary2Params) WithHTTPClient ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary2Params
WithHTTPClient adds the HTTPClient to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) WithID ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WithID(id *string) *WorkflowLibraryGetFromLibrary2Params
WithID adds the id to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) WithName ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WithName(name string) *WorkflowLibraryGetFromLibrary2Params
WithName adds the name to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) WithTimeout ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary2Params
WithTimeout adds the timeout to the workflow library get from library2 params
func (*WorkflowLibraryGetFromLibrary2Params) WriteToRequest ¶
func (o *WorkflowLibraryGetFromLibrary2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WorkflowLibraryGetFromLibrary2Reader ¶
type WorkflowLibraryGetFromLibrary2Reader struct {
// contains filtered or unexported fields
}
WorkflowLibraryGetFromLibrary2Reader is a Reader for the WorkflowLibraryGetFromLibrary2 structure.
func (*WorkflowLibraryGetFromLibrary2Reader) ReadResponse ¶
func (o *WorkflowLibraryGetFromLibrary2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WorkflowLibraryGetFromLibrary3Default ¶
type WorkflowLibraryGetFromLibrary3Default struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
WorkflowLibraryGetFromLibrary3Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewWorkflowLibraryGetFromLibrary3Default ¶
func NewWorkflowLibraryGetFromLibrary3Default(code int) *WorkflowLibraryGetFromLibrary3Default
NewWorkflowLibraryGetFromLibrary3Default creates a WorkflowLibraryGetFromLibrary3Default with default headers values
func (*WorkflowLibraryGetFromLibrary3Default) Code ¶
func (o *WorkflowLibraryGetFromLibrary3Default) Code() int
Code gets the status code for the workflow library get from library3 default response
func (*WorkflowLibraryGetFromLibrary3Default) Error ¶
func (o *WorkflowLibraryGetFromLibrary3Default) Error() string
func (*WorkflowLibraryGetFromLibrary3Default) GetPayload ¶
func (o *WorkflowLibraryGetFromLibrary3Default) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*WorkflowLibraryGetFromLibrary3Default) IsClientError ¶
func (o *WorkflowLibraryGetFromLibrary3Default) IsClientError() bool
IsClientError returns true when this workflow library get from library3 default response has a 4xx status code
func (*WorkflowLibraryGetFromLibrary3Default) IsCode ¶
func (o *WorkflowLibraryGetFromLibrary3Default) IsCode(code int) bool
IsCode returns true when this workflow library get from library3 default response a status code equal to that given
func (*WorkflowLibraryGetFromLibrary3Default) IsRedirect ¶
func (o *WorkflowLibraryGetFromLibrary3Default) IsRedirect() bool
IsRedirect returns true when this workflow library get from library3 default response has a 3xx status code
func (*WorkflowLibraryGetFromLibrary3Default) IsServerError ¶
func (o *WorkflowLibraryGetFromLibrary3Default) IsServerError() bool
IsServerError returns true when this workflow library get from library3 default response has a 5xx status code
func (*WorkflowLibraryGetFromLibrary3Default) IsSuccess ¶
func (o *WorkflowLibraryGetFromLibrary3Default) IsSuccess() bool
IsSuccess returns true when this workflow library get from library3 default response has a 2xx status code
func (*WorkflowLibraryGetFromLibrary3Default) String ¶
func (o *WorkflowLibraryGetFromLibrary3Default) String() string
type WorkflowLibraryGetFromLibrary3OK ¶
type WorkflowLibraryGetFromLibrary3OK struct {
Payload *models.HashicorpCloudWaypointGetFromLibraryResponse
}
WorkflowLibraryGetFromLibrary3OK describes a response with status code 200, with default header values.
A successful response.
func NewWorkflowLibraryGetFromLibrary3OK ¶
func NewWorkflowLibraryGetFromLibrary3OK() *WorkflowLibraryGetFromLibrary3OK
NewWorkflowLibraryGetFromLibrary3OK creates a WorkflowLibraryGetFromLibrary3OK with default headers values
func (*WorkflowLibraryGetFromLibrary3OK) Code ¶
func (o *WorkflowLibraryGetFromLibrary3OK) Code() int
Code gets the status code for the workflow library get from library3 o k response
func (*WorkflowLibraryGetFromLibrary3OK) Error ¶
func (o *WorkflowLibraryGetFromLibrary3OK) Error() string
func (*WorkflowLibraryGetFromLibrary3OK) GetPayload ¶
func (o *WorkflowLibraryGetFromLibrary3OK) GetPayload() *models.HashicorpCloudWaypointGetFromLibraryResponse
func (*WorkflowLibraryGetFromLibrary3OK) IsClientError ¶
func (o *WorkflowLibraryGetFromLibrary3OK) IsClientError() bool
IsClientError returns true when this workflow library get from library3 o k response has a 4xx status code
func (*WorkflowLibraryGetFromLibrary3OK) IsCode ¶
func (o *WorkflowLibraryGetFromLibrary3OK) IsCode(code int) bool
IsCode returns true when this workflow library get from library3 o k response a status code equal to that given
func (*WorkflowLibraryGetFromLibrary3OK) IsRedirect ¶
func (o *WorkflowLibraryGetFromLibrary3OK) IsRedirect() bool
IsRedirect returns true when this workflow library get from library3 o k response has a 3xx status code
func (*WorkflowLibraryGetFromLibrary3OK) IsServerError ¶
func (o *WorkflowLibraryGetFromLibrary3OK) IsServerError() bool
IsServerError returns true when this workflow library get from library3 o k response has a 5xx status code
func (*WorkflowLibraryGetFromLibrary3OK) IsSuccess ¶
func (o *WorkflowLibraryGetFromLibrary3OK) IsSuccess() bool
IsSuccess returns true when this workflow library get from library3 o k response has a 2xx status code
func (*WorkflowLibraryGetFromLibrary3OK) String ¶
func (o *WorkflowLibraryGetFromLibrary3OK) String() string
type WorkflowLibraryGetFromLibrary3Params ¶
type WorkflowLibraryGetFromLibrary3Params struct { // ID. ID *string // Name. Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WorkflowLibraryGetFromLibrary3Params contains all the parameters to send to the API endpoint
for the workflow library get from library3 operation. Typically these are written to a http.Request.
func NewWorkflowLibraryGetFromLibrary3Params ¶
func NewWorkflowLibraryGetFromLibrary3Params() *WorkflowLibraryGetFromLibrary3Params
NewWorkflowLibraryGetFromLibrary3Params creates a new WorkflowLibraryGetFromLibrary3Params 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 NewWorkflowLibraryGetFromLibrary3ParamsWithContext ¶
func NewWorkflowLibraryGetFromLibrary3ParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary3Params
NewWorkflowLibraryGetFromLibrary3ParamsWithContext creates a new WorkflowLibraryGetFromLibrary3Params object with the ability to set a context for a request.
func NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient ¶
func NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary3Params
NewWorkflowLibraryGetFromLibrary3ParamsWithHTTPClient creates a new WorkflowLibraryGetFromLibrary3Params object with the ability to set a custom HTTPClient for a request.
func NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout ¶
func NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary3Params
NewWorkflowLibraryGetFromLibrary3ParamsWithTimeout creates a new WorkflowLibraryGetFromLibrary3Params object with the ability to set a timeout on a request.
func (*WorkflowLibraryGetFromLibrary3Params) SetContext ¶
func (o *WorkflowLibraryGetFromLibrary3Params) SetContext(ctx context.Context)
SetContext adds the context to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) SetDefaults ¶
func (o *WorkflowLibraryGetFromLibrary3Params) SetDefaults()
SetDefaults hydrates default values in the workflow library get from library3 params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryGetFromLibrary3Params) SetHTTPClient ¶
func (o *WorkflowLibraryGetFromLibrary3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) SetID ¶
func (o *WorkflowLibraryGetFromLibrary3Params) SetID(id *string)
SetID adds the id to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) SetName ¶
func (o *WorkflowLibraryGetFromLibrary3Params) SetName(name *string)
SetName adds the name to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) SetTimeout ¶
func (o *WorkflowLibraryGetFromLibrary3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) WithContext ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WithContext(ctx context.Context) *WorkflowLibraryGetFromLibrary3Params
WithContext adds the context to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) WithDefaults ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WithDefaults() *WorkflowLibraryGetFromLibrary3Params
WithDefaults hydrates default values in the workflow library get from library3 params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryGetFromLibrary3Params) WithHTTPClient ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibrary3Params
WithHTTPClient adds the HTTPClient to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) WithID ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WithID(id *string) *WorkflowLibraryGetFromLibrary3Params
WithID adds the id to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) WithName ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WithName(name *string) *WorkflowLibraryGetFromLibrary3Params
WithName adds the name to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) WithTimeout ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibrary3Params
WithTimeout adds the timeout to the workflow library get from library3 params
func (*WorkflowLibraryGetFromLibrary3Params) WriteToRequest ¶
func (o *WorkflowLibraryGetFromLibrary3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WorkflowLibraryGetFromLibrary3Reader ¶
type WorkflowLibraryGetFromLibrary3Reader struct {
// contains filtered or unexported fields
}
WorkflowLibraryGetFromLibrary3Reader is a Reader for the WorkflowLibraryGetFromLibrary3 structure.
func (*WorkflowLibraryGetFromLibrary3Reader) ReadResponse ¶
func (o *WorkflowLibraryGetFromLibrary3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WorkflowLibraryGetFromLibraryDefault ¶
type WorkflowLibraryGetFromLibraryDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
WorkflowLibraryGetFromLibraryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWorkflowLibraryGetFromLibraryDefault ¶
func NewWorkflowLibraryGetFromLibraryDefault(code int) *WorkflowLibraryGetFromLibraryDefault
NewWorkflowLibraryGetFromLibraryDefault creates a WorkflowLibraryGetFromLibraryDefault with default headers values
func (*WorkflowLibraryGetFromLibraryDefault) Code ¶
func (o *WorkflowLibraryGetFromLibraryDefault) Code() int
Code gets the status code for the workflow library get from library default response
func (*WorkflowLibraryGetFromLibraryDefault) Error ¶
func (o *WorkflowLibraryGetFromLibraryDefault) Error() string
func (*WorkflowLibraryGetFromLibraryDefault) GetPayload ¶
func (o *WorkflowLibraryGetFromLibraryDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*WorkflowLibraryGetFromLibraryDefault) IsClientError ¶
func (o *WorkflowLibraryGetFromLibraryDefault) IsClientError() bool
IsClientError returns true when this workflow library get from library default response has a 4xx status code
func (*WorkflowLibraryGetFromLibraryDefault) IsCode ¶
func (o *WorkflowLibraryGetFromLibraryDefault) IsCode(code int) bool
IsCode returns true when this workflow library get from library default response a status code equal to that given
func (*WorkflowLibraryGetFromLibraryDefault) IsRedirect ¶
func (o *WorkflowLibraryGetFromLibraryDefault) IsRedirect() bool
IsRedirect returns true when this workflow library get from library default response has a 3xx status code
func (*WorkflowLibraryGetFromLibraryDefault) IsServerError ¶
func (o *WorkflowLibraryGetFromLibraryDefault) IsServerError() bool
IsServerError returns true when this workflow library get from library default response has a 5xx status code
func (*WorkflowLibraryGetFromLibraryDefault) IsSuccess ¶
func (o *WorkflowLibraryGetFromLibraryDefault) IsSuccess() bool
IsSuccess returns true when this workflow library get from library default response has a 2xx status code
func (*WorkflowLibraryGetFromLibraryDefault) String ¶
func (o *WorkflowLibraryGetFromLibraryDefault) String() string
type WorkflowLibraryGetFromLibraryOK ¶
type WorkflowLibraryGetFromLibraryOK struct {
Payload *models.HashicorpCloudWaypointGetFromLibraryResponse
}
WorkflowLibraryGetFromLibraryOK describes a response with status code 200, with default header values.
A successful response.
func NewWorkflowLibraryGetFromLibraryOK ¶
func NewWorkflowLibraryGetFromLibraryOK() *WorkflowLibraryGetFromLibraryOK
NewWorkflowLibraryGetFromLibraryOK creates a WorkflowLibraryGetFromLibraryOK with default headers values
func (*WorkflowLibraryGetFromLibraryOK) Code ¶
func (o *WorkflowLibraryGetFromLibraryOK) Code() int
Code gets the status code for the workflow library get from library o k response
func (*WorkflowLibraryGetFromLibraryOK) Error ¶
func (o *WorkflowLibraryGetFromLibraryOK) Error() string
func (*WorkflowLibraryGetFromLibraryOK) GetPayload ¶
func (o *WorkflowLibraryGetFromLibraryOK) GetPayload() *models.HashicorpCloudWaypointGetFromLibraryResponse
func (*WorkflowLibraryGetFromLibraryOK) IsClientError ¶
func (o *WorkflowLibraryGetFromLibraryOK) IsClientError() bool
IsClientError returns true when this workflow library get from library o k response has a 4xx status code
func (*WorkflowLibraryGetFromLibraryOK) IsCode ¶
func (o *WorkflowLibraryGetFromLibraryOK) IsCode(code int) bool
IsCode returns true when this workflow library get from library o k response a status code equal to that given
func (*WorkflowLibraryGetFromLibraryOK) IsRedirect ¶
func (o *WorkflowLibraryGetFromLibraryOK) IsRedirect() bool
IsRedirect returns true when this workflow library get from library o k response has a 3xx status code
func (*WorkflowLibraryGetFromLibraryOK) IsServerError ¶
func (o *WorkflowLibraryGetFromLibraryOK) IsServerError() bool
IsServerError returns true when this workflow library get from library o k response has a 5xx status code
func (*WorkflowLibraryGetFromLibraryOK) IsSuccess ¶
func (o *WorkflowLibraryGetFromLibraryOK) IsSuccess() bool
IsSuccess returns true when this workflow library get from library o k response has a 2xx status code
func (*WorkflowLibraryGetFromLibraryOK) String ¶
func (o *WorkflowLibraryGetFromLibraryOK) String() string
type WorkflowLibraryGetFromLibraryParams ¶
type WorkflowLibraryGetFromLibraryParams struct { // ID. ID string // Name. Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WorkflowLibraryGetFromLibraryParams contains all the parameters to send to the API endpoint
for the workflow library get from library operation. Typically these are written to a http.Request.
func NewWorkflowLibraryGetFromLibraryParams ¶
func NewWorkflowLibraryGetFromLibraryParams() *WorkflowLibraryGetFromLibraryParams
NewWorkflowLibraryGetFromLibraryParams creates a new WorkflowLibraryGetFromLibraryParams 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 NewWorkflowLibraryGetFromLibraryParamsWithContext ¶
func NewWorkflowLibraryGetFromLibraryParamsWithContext(ctx context.Context) *WorkflowLibraryGetFromLibraryParams
NewWorkflowLibraryGetFromLibraryParamsWithContext creates a new WorkflowLibraryGetFromLibraryParams object with the ability to set a context for a request.
func NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient ¶
func NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibraryParams
NewWorkflowLibraryGetFromLibraryParamsWithHTTPClient creates a new WorkflowLibraryGetFromLibraryParams object with the ability to set a custom HTTPClient for a request.
func NewWorkflowLibraryGetFromLibraryParamsWithTimeout ¶
func NewWorkflowLibraryGetFromLibraryParamsWithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibraryParams
NewWorkflowLibraryGetFromLibraryParamsWithTimeout creates a new WorkflowLibraryGetFromLibraryParams object with the ability to set a timeout on a request.
func (*WorkflowLibraryGetFromLibraryParams) SetContext ¶
func (o *WorkflowLibraryGetFromLibraryParams) SetContext(ctx context.Context)
SetContext adds the context to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) SetDefaults ¶
func (o *WorkflowLibraryGetFromLibraryParams) SetDefaults()
SetDefaults hydrates default values in the workflow library get from library params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryGetFromLibraryParams) SetHTTPClient ¶
func (o *WorkflowLibraryGetFromLibraryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) SetID ¶
func (o *WorkflowLibraryGetFromLibraryParams) SetID(id string)
SetID adds the id to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) SetName ¶
func (o *WorkflowLibraryGetFromLibraryParams) SetName(name *string)
SetName adds the name to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) SetTimeout ¶
func (o *WorkflowLibraryGetFromLibraryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) WithContext ¶
func (o *WorkflowLibraryGetFromLibraryParams) WithContext(ctx context.Context) *WorkflowLibraryGetFromLibraryParams
WithContext adds the context to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) WithDefaults ¶
func (o *WorkflowLibraryGetFromLibraryParams) WithDefaults() *WorkflowLibraryGetFromLibraryParams
WithDefaults hydrates default values in the workflow library get from library params (not the query body).
All values with no default are reset to their zero value.
func (*WorkflowLibraryGetFromLibraryParams) WithHTTPClient ¶
func (o *WorkflowLibraryGetFromLibraryParams) WithHTTPClient(client *http.Client) *WorkflowLibraryGetFromLibraryParams
WithHTTPClient adds the HTTPClient to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) WithID ¶
func (o *WorkflowLibraryGetFromLibraryParams) WithID(id string) *WorkflowLibraryGetFromLibraryParams
WithID adds the id to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) WithName ¶
func (o *WorkflowLibraryGetFromLibraryParams) WithName(name *string) *WorkflowLibraryGetFromLibraryParams
WithName adds the name to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) WithTimeout ¶
func (o *WorkflowLibraryGetFromLibraryParams) WithTimeout(timeout time.Duration) *WorkflowLibraryGetFromLibraryParams
WithTimeout adds the timeout to the workflow library get from library params
func (*WorkflowLibraryGetFromLibraryParams) WriteToRequest ¶
func (o *WorkflowLibraryGetFromLibraryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WorkflowLibraryGetFromLibraryReader ¶
type WorkflowLibraryGetFromLibraryReader struct {
// contains filtered or unexported fields
}
WorkflowLibraryGetFromLibraryReader is a Reader for the WorkflowLibraryGetFromLibrary structure.
func (*WorkflowLibraryGetFromLibraryReader) ReadResponse ¶
func (o *WorkflowLibraryGetFromLibraryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- workflow_library_add_to_library_parameters.go
- workflow_library_add_to_library_responses.go
- workflow_library_client.go
- workflow_library_get_from_library2_parameters.go
- workflow_library_get_from_library2_responses.go
- workflow_library_get_from_library3_parameters.go
- workflow_library_get_from_library3_responses.go
- workflow_library_get_from_library_parameters.go
- workflow_library_get_from_library_responses.go