Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePlan(params *CreatePlanParams, opts ...ClientOption) (*CreatePlanOK, error)
- func (a *Client) DeletePlanByID(params *DeletePlanByIDParams, opts ...ClientOption) (*DeletePlanByIDOK, error)
- func (a *Client) GetPlanByID(params *GetPlanByIDParams, opts ...ClientOption) (*GetPlanByIDOK, error)
- func (a *Client) QueryPlans(params *QueryPlansParams, opts ...ClientOption) (*QueryPlansOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePlanByID(params *UpdatePlanByIDParams, opts ...ClientOption) (*UpdatePlanByIDOK, error)
- type ClientOption
- type ClientService
- type CreatePlanOK
- func (o *CreatePlanOK) Error() string
- func (o *CreatePlanOK) GetPayload() *models.OnboardingPlanResponse
- func (o *CreatePlanOK) IsClientError() bool
- func (o *CreatePlanOK) IsCode(code int) bool
- func (o *CreatePlanOK) IsRedirect() bool
- func (o *CreatePlanOK) IsServerError() bool
- func (o *CreatePlanOK) IsSuccess() bool
- func (o *CreatePlanOK) String() string
- type CreatePlanParams
- func (o *CreatePlanParams) SetBody(body *models.OnboardingPlanRequest)
- func (o *CreatePlanParams) SetContext(ctx context.Context)
- func (o *CreatePlanParams) SetDefaults()
- func (o *CreatePlanParams) SetHTTPClient(client *http.Client)
- func (o *CreatePlanParams) SetTimeout(timeout time.Duration)
- func (o *CreatePlanParams) WithBody(body *models.OnboardingPlanRequest) *CreatePlanParams
- func (o *CreatePlanParams) WithContext(ctx context.Context) *CreatePlanParams
- func (o *CreatePlanParams) WithDefaults() *CreatePlanParams
- func (o *CreatePlanParams) WithHTTPClient(client *http.Client) *CreatePlanParams
- func (o *CreatePlanParams) WithTimeout(timeout time.Duration) *CreatePlanParams
- func (o *CreatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePlanReader
- type CreatePlanUnauthorized
- func (o *CreatePlanUnauthorized) Error() string
- func (o *CreatePlanUnauthorized) IsClientError() bool
- func (o *CreatePlanUnauthorized) IsCode(code int) bool
- func (o *CreatePlanUnauthorized) IsRedirect() bool
- func (o *CreatePlanUnauthorized) IsServerError() bool
- func (o *CreatePlanUnauthorized) IsSuccess() bool
- func (o *CreatePlanUnauthorized) String() string
- type DeletePlanByIDOK
- func (o *DeletePlanByIDOK) Error() string
- func (o *DeletePlanByIDOK) IsClientError() bool
- func (o *DeletePlanByIDOK) IsCode(code int) bool
- func (o *DeletePlanByIDOK) IsRedirect() bool
- func (o *DeletePlanByIDOK) IsServerError() bool
- func (o *DeletePlanByIDOK) IsSuccess() bool
- func (o *DeletePlanByIDOK) String() string
- type DeletePlanByIDParams
- func NewDeletePlanByIDParams() *DeletePlanByIDParams
- func NewDeletePlanByIDParamsWithContext(ctx context.Context) *DeletePlanByIDParams
- func NewDeletePlanByIDParamsWithHTTPClient(client *http.Client) *DeletePlanByIDParams
- func NewDeletePlanByIDParamsWithTimeout(timeout time.Duration) *DeletePlanByIDParams
- func (o *DeletePlanByIDParams) SetContext(ctx context.Context)
- func (o *DeletePlanByIDParams) SetDefaults()
- func (o *DeletePlanByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeletePlanByIDParams) SetID(id string)
- func (o *DeletePlanByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeletePlanByIDParams) WithContext(ctx context.Context) *DeletePlanByIDParams
- func (o *DeletePlanByIDParams) WithDefaults() *DeletePlanByIDParams
- func (o *DeletePlanByIDParams) WithHTTPClient(client *http.Client) *DeletePlanByIDParams
- func (o *DeletePlanByIDParams) WithID(id string) *DeletePlanByIDParams
- func (o *DeletePlanByIDParams) WithTimeout(timeout time.Duration) *DeletePlanByIDParams
- func (o *DeletePlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePlanByIDReader
- type DeletePlanByIDUnauthorized
- func (o *DeletePlanByIDUnauthorized) Error() string
- func (o *DeletePlanByIDUnauthorized) IsClientError() bool
- func (o *DeletePlanByIDUnauthorized) IsCode(code int) bool
- func (o *DeletePlanByIDUnauthorized) IsRedirect() bool
- func (o *DeletePlanByIDUnauthorized) IsServerError() bool
- func (o *DeletePlanByIDUnauthorized) IsSuccess() bool
- func (o *DeletePlanByIDUnauthorized) String() string
- type GetPlanByIDOK
- func (o *GetPlanByIDOK) Error() string
- func (o *GetPlanByIDOK) GetPayload() *models.OnboardingPlanResponse
- func (o *GetPlanByIDOK) IsClientError() bool
- func (o *GetPlanByIDOK) IsCode(code int) bool
- func (o *GetPlanByIDOK) IsRedirect() bool
- func (o *GetPlanByIDOK) IsServerError() bool
- func (o *GetPlanByIDOK) IsSuccess() bool
- func (o *GetPlanByIDOK) String() string
- type GetPlanByIDParams
- func (o *GetPlanByIDParams) SetContext(ctx context.Context)
- func (o *GetPlanByIDParams) SetDefaults()
- func (o *GetPlanByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPlanByIDParams) SetID(id string)
- func (o *GetPlanByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPlanByIDParams) WithContext(ctx context.Context) *GetPlanByIDParams
- func (o *GetPlanByIDParams) WithDefaults() *GetPlanByIDParams
- func (o *GetPlanByIDParams) WithHTTPClient(client *http.Client) *GetPlanByIDParams
- func (o *GetPlanByIDParams) WithID(id string) *GetPlanByIDParams
- func (o *GetPlanByIDParams) WithTimeout(timeout time.Duration) *GetPlanByIDParams
- func (o *GetPlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlanByIDReader
- type GetPlanByIDUnauthorized
- func (o *GetPlanByIDUnauthorized) Error() string
- func (o *GetPlanByIDUnauthorized) IsClientError() bool
- func (o *GetPlanByIDUnauthorized) IsCode(code int) bool
- func (o *GetPlanByIDUnauthorized) IsRedirect() bool
- func (o *GetPlanByIDUnauthorized) IsServerError() bool
- func (o *GetPlanByIDUnauthorized) IsSuccess() bool
- func (o *GetPlanByIDUnauthorized) String() string
- type QueryPlansOK
- func (o *QueryPlansOK) Error() string
- func (o *QueryPlansOK) GetPayload() *models.ServiceDocumentQueryResult
- func (o *QueryPlansOK) IsClientError() bool
- func (o *QueryPlansOK) IsCode(code int) bool
- func (o *QueryPlansOK) IsRedirect() bool
- func (o *QueryPlansOK) IsServerError() bool
- func (o *QueryPlansOK) IsSuccess() bool
- func (o *QueryPlansOK) String() string
- type QueryPlansParams
- func (o *QueryPlansParams) SetContext(ctx context.Context)
- func (o *QueryPlansParams) SetDefaults()
- func (o *QueryPlansParams) SetDollarExpand(dollarExpand *bool)
- func (o *QueryPlansParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryPlansParams) SetDollarLimit(dollarLimit *int64)
- func (o *QueryPlansParams) SetDollarSelect(dollarSelect *string)
- func (o *QueryPlansParams) SetHTTPClient(client *http.Client)
- func (o *QueryPlansParams) SetTimeout(timeout time.Duration)
- func (o *QueryPlansParams) WithContext(ctx context.Context) *QueryPlansParams
- func (o *QueryPlansParams) WithDefaults() *QueryPlansParams
- func (o *QueryPlansParams) WithDollarExpand(dollarExpand *bool) *QueryPlansParams
- func (o *QueryPlansParams) WithDollarFilter(dollarFilter *string) *QueryPlansParams
- func (o *QueryPlansParams) WithDollarLimit(dollarLimit *int64) *QueryPlansParams
- func (o *QueryPlansParams) WithDollarSelect(dollarSelect *string) *QueryPlansParams
- func (o *QueryPlansParams) WithHTTPClient(client *http.Client) *QueryPlansParams
- func (o *QueryPlansParams) WithTimeout(timeout time.Duration) *QueryPlansParams
- func (o *QueryPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryPlansReader
- type QueryPlansUnauthorized
- func (o *QueryPlansUnauthorized) Error() string
- func (o *QueryPlansUnauthorized) IsClientError() bool
- func (o *QueryPlansUnauthorized) IsCode(code int) bool
- func (o *QueryPlansUnauthorized) IsRedirect() bool
- func (o *QueryPlansUnauthorized) IsServerError() bool
- func (o *QueryPlansUnauthorized) IsSuccess() bool
- func (o *QueryPlansUnauthorized) String() string
- type UpdatePlanByIDOK
- func (o *UpdatePlanByIDOK) Error() string
- func (o *UpdatePlanByIDOK) IsClientError() bool
- func (o *UpdatePlanByIDOK) IsCode(code int) bool
- func (o *UpdatePlanByIDOK) IsRedirect() bool
- func (o *UpdatePlanByIDOK) IsServerError() bool
- func (o *UpdatePlanByIDOK) IsSuccess() bool
- func (o *UpdatePlanByIDOK) String() string
- type UpdatePlanByIDParams
- func NewUpdatePlanByIDParams() *UpdatePlanByIDParams
- func NewUpdatePlanByIDParamsWithContext(ctx context.Context) *UpdatePlanByIDParams
- func NewUpdatePlanByIDParamsWithHTTPClient(client *http.Client) *UpdatePlanByIDParams
- func NewUpdatePlanByIDParamsWithTimeout(timeout time.Duration) *UpdatePlanByIDParams
- func (o *UpdatePlanByIDParams) SetContext(ctx context.Context)
- func (o *UpdatePlanByIDParams) SetDefaults()
- func (o *UpdatePlanByIDParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePlanByIDParams) SetID(id string)
- func (o *UpdatePlanByIDParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePlanByIDParams) WithContext(ctx context.Context) *UpdatePlanByIDParams
- func (o *UpdatePlanByIDParams) WithDefaults() *UpdatePlanByIDParams
- func (o *UpdatePlanByIDParams) WithHTTPClient(client *http.Client) *UpdatePlanByIDParams
- func (o *UpdatePlanByIDParams) WithID(id string) *UpdatePlanByIDParams
- func (o *UpdatePlanByIDParams) WithTimeout(timeout time.Duration) *UpdatePlanByIDParams
- func (o *UpdatePlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePlanByIDReader
- type UpdatePlanByIDUnauthorized
- func (o *UpdatePlanByIDUnauthorized) Error() string
- func (o *UpdatePlanByIDUnauthorized) IsClientError() bool
- func (o *UpdatePlanByIDUnauthorized) IsCode(code int) bool
- func (o *UpdatePlanByIDUnauthorized) IsRedirect() bool
- func (o *UpdatePlanByIDUnauthorized) IsServerError() bool
- func (o *UpdatePlanByIDUnauthorized) IsSuccess() bool
- func (o *UpdatePlanByIDUnauthorized) 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 onboarding plans API
func (*Client) CreatePlan ¶
func (a *Client) CreatePlan(params *CreatePlanParams, opts ...ClientOption) (*CreatePlanOK, error)
CreatePlan creates an onboarding plan
func (*Client) DeletePlanByID ¶
func (a *Client) DeletePlanByID(params *DeletePlanByIDParams, opts ...ClientOption) (*DeletePlanByIDOK, error)
DeletePlanByID deletes the selected onboarding plan
func (*Client) GetPlanByID ¶
func (a *Client) GetPlanByID(params *GetPlanByIDParams, opts ...ClientOption) (*GetPlanByIDOK, error)
GetPlanByID gets the selected onboarding plan
func (*Client) QueryPlans ¶
func (a *Client) QueryPlans(params *QueryPlansParams, opts ...ClientOption) (*QueryPlansOK, error)
QueryPlans queries for onboarding plans
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePlanByID ¶
func (a *Client) UpdatePlanByID(params *UpdatePlanByIDParams, opts ...ClientOption) (*UpdatePlanByIDOK, error)
UpdatePlanByID updates the selected onboarding plan
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePlan(params *CreatePlanParams, opts ...ClientOption) (*CreatePlanOK, error) DeletePlanByID(params *DeletePlanByIDParams, opts ...ClientOption) (*DeletePlanByIDOK, error) GetPlanByID(params *GetPlanByIDParams, opts ...ClientOption) (*GetPlanByIDOK, error) QueryPlans(params *QueryPlansParams, opts ...ClientOption) (*QueryPlansOK, error) UpdatePlanByID(params *UpdatePlanByIDParams, opts ...ClientOption) (*UpdatePlanByIDOK, 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 onboarding plans API client.
type CreatePlanOK ¶
type CreatePlanOK struct {
Payload *models.OnboardingPlanResponse
}
CreatePlanOK describes a response with status code 200, with default header values.
Success
func NewCreatePlanOK ¶
func NewCreatePlanOK() *CreatePlanOK
NewCreatePlanOK creates a CreatePlanOK with default headers values
func (*CreatePlanOK) Error ¶
func (o *CreatePlanOK) Error() string
func (*CreatePlanOK) GetPayload ¶
func (o *CreatePlanOK) GetPayload() *models.OnboardingPlanResponse
func (*CreatePlanOK) IsClientError ¶
func (o *CreatePlanOK) IsClientError() bool
IsClientError returns true when this create plan o k response has a 4xx status code
func (*CreatePlanOK) IsCode ¶
func (o *CreatePlanOK) IsCode(code int) bool
IsCode returns true when this create plan o k response a status code equal to that given
func (*CreatePlanOK) IsRedirect ¶
func (o *CreatePlanOK) IsRedirect() bool
IsRedirect returns true when this create plan o k response has a 3xx status code
func (*CreatePlanOK) IsServerError ¶
func (o *CreatePlanOK) IsServerError() bool
IsServerError returns true when this create plan o k response has a 5xx status code
func (*CreatePlanOK) IsSuccess ¶
func (o *CreatePlanOK) IsSuccess() bool
IsSuccess returns true when this create plan o k response has a 2xx status code
func (*CreatePlanOK) String ¶
func (o *CreatePlanOK) String() string
type CreatePlanParams ¶
type CreatePlanParams struct { // Body. Body *models.OnboardingPlanRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePlanParams contains all the parameters to send to the API endpoint
for the create plan operation. Typically these are written to a http.Request.
func NewCreatePlanParams ¶
func NewCreatePlanParams() *CreatePlanParams
NewCreatePlanParams creates a new CreatePlanParams 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 NewCreatePlanParamsWithContext ¶
func NewCreatePlanParamsWithContext(ctx context.Context) *CreatePlanParams
NewCreatePlanParamsWithContext creates a new CreatePlanParams object with the ability to set a context for a request.
func NewCreatePlanParamsWithHTTPClient ¶
func NewCreatePlanParamsWithHTTPClient(client *http.Client) *CreatePlanParams
NewCreatePlanParamsWithHTTPClient creates a new CreatePlanParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePlanParamsWithTimeout ¶
func NewCreatePlanParamsWithTimeout(timeout time.Duration) *CreatePlanParams
NewCreatePlanParamsWithTimeout creates a new CreatePlanParams object with the ability to set a timeout on a request.
func (*CreatePlanParams) SetBody ¶
func (o *CreatePlanParams) SetBody(body *models.OnboardingPlanRequest)
SetBody adds the body to the create plan params
func (*CreatePlanParams) SetContext ¶
func (o *CreatePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the create plan params
func (*CreatePlanParams) SetDefaults ¶
func (o *CreatePlanParams) SetDefaults()
SetDefaults hydrates default values in the create plan params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePlanParams) SetHTTPClient ¶
func (o *CreatePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create plan params
func (*CreatePlanParams) SetTimeout ¶
func (o *CreatePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create plan params
func (*CreatePlanParams) WithBody ¶
func (o *CreatePlanParams) WithBody(body *models.OnboardingPlanRequest) *CreatePlanParams
WithBody adds the body to the create plan params
func (*CreatePlanParams) WithContext ¶
func (o *CreatePlanParams) WithContext(ctx context.Context) *CreatePlanParams
WithContext adds the context to the create plan params
func (*CreatePlanParams) WithDefaults ¶
func (o *CreatePlanParams) WithDefaults() *CreatePlanParams
WithDefaults hydrates default values in the create plan params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePlanParams) WithHTTPClient ¶
func (o *CreatePlanParams) WithHTTPClient(client *http.Client) *CreatePlanParams
WithHTTPClient adds the HTTPClient to the create plan params
func (*CreatePlanParams) WithTimeout ¶
func (o *CreatePlanParams) WithTimeout(timeout time.Duration) *CreatePlanParams
WithTimeout adds the timeout to the create plan params
func (*CreatePlanParams) WriteToRequest ¶
func (o *CreatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePlanReader ¶
type CreatePlanReader struct {
// contains filtered or unexported fields
}
CreatePlanReader is a Reader for the CreatePlan structure.
func (*CreatePlanReader) ReadResponse ¶
func (o *CreatePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePlanUnauthorized ¶
type CreatePlanUnauthorized struct { }
CreatePlanUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreatePlanUnauthorized ¶
func NewCreatePlanUnauthorized() *CreatePlanUnauthorized
NewCreatePlanUnauthorized creates a CreatePlanUnauthorized with default headers values
func (*CreatePlanUnauthorized) Error ¶
func (o *CreatePlanUnauthorized) Error() string
func (*CreatePlanUnauthorized) IsClientError ¶
func (o *CreatePlanUnauthorized) IsClientError() bool
IsClientError returns true when this create plan unauthorized response has a 4xx status code
func (*CreatePlanUnauthorized) IsCode ¶
func (o *CreatePlanUnauthorized) IsCode(code int) bool
IsCode returns true when this create plan unauthorized response a status code equal to that given
func (*CreatePlanUnauthorized) IsRedirect ¶
func (o *CreatePlanUnauthorized) IsRedirect() bool
IsRedirect returns true when this create plan unauthorized response has a 3xx status code
func (*CreatePlanUnauthorized) IsServerError ¶
func (o *CreatePlanUnauthorized) IsServerError() bool
IsServerError returns true when this create plan unauthorized response has a 5xx status code
func (*CreatePlanUnauthorized) IsSuccess ¶
func (o *CreatePlanUnauthorized) IsSuccess() bool
IsSuccess returns true when this create plan unauthorized response has a 2xx status code
func (*CreatePlanUnauthorized) String ¶
func (o *CreatePlanUnauthorized) String() string
type DeletePlanByIDOK ¶
type DeletePlanByIDOK struct { }
DeletePlanByIDOK describes a response with status code 200, with default header values.
Success
func NewDeletePlanByIDOK ¶
func NewDeletePlanByIDOK() *DeletePlanByIDOK
NewDeletePlanByIDOK creates a DeletePlanByIDOK with default headers values
func (*DeletePlanByIDOK) Error ¶
func (o *DeletePlanByIDOK) Error() string
func (*DeletePlanByIDOK) IsClientError ¶
func (o *DeletePlanByIDOK) IsClientError() bool
IsClientError returns true when this delete plan by Id o k response has a 4xx status code
func (*DeletePlanByIDOK) IsCode ¶
func (o *DeletePlanByIDOK) IsCode(code int) bool
IsCode returns true when this delete plan by Id o k response a status code equal to that given
func (*DeletePlanByIDOK) IsRedirect ¶
func (o *DeletePlanByIDOK) IsRedirect() bool
IsRedirect returns true when this delete plan by Id o k response has a 3xx status code
func (*DeletePlanByIDOK) IsServerError ¶
func (o *DeletePlanByIDOK) IsServerError() bool
IsServerError returns true when this delete plan by Id o k response has a 5xx status code
func (*DeletePlanByIDOK) IsSuccess ¶
func (o *DeletePlanByIDOK) IsSuccess() bool
IsSuccess returns true when this delete plan by Id o k response has a 2xx status code
func (*DeletePlanByIDOK) String ¶
func (o *DeletePlanByIDOK) String() string
type DeletePlanByIDParams ¶
type DeletePlanByIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePlanByIDParams contains all the parameters to send to the API endpoint
for the delete plan by Id operation. Typically these are written to a http.Request.
func NewDeletePlanByIDParams ¶
func NewDeletePlanByIDParams() *DeletePlanByIDParams
NewDeletePlanByIDParams creates a new DeletePlanByIDParams 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 NewDeletePlanByIDParamsWithContext ¶
func NewDeletePlanByIDParamsWithContext(ctx context.Context) *DeletePlanByIDParams
NewDeletePlanByIDParamsWithContext creates a new DeletePlanByIDParams object with the ability to set a context for a request.
func NewDeletePlanByIDParamsWithHTTPClient ¶
func NewDeletePlanByIDParamsWithHTTPClient(client *http.Client) *DeletePlanByIDParams
NewDeletePlanByIDParamsWithHTTPClient creates a new DeletePlanByIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePlanByIDParamsWithTimeout ¶
func NewDeletePlanByIDParamsWithTimeout(timeout time.Duration) *DeletePlanByIDParams
NewDeletePlanByIDParamsWithTimeout creates a new DeletePlanByIDParams object with the ability to set a timeout on a request.
func (*DeletePlanByIDParams) SetContext ¶
func (o *DeletePlanByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete plan by Id params
func (*DeletePlanByIDParams) SetDefaults ¶
func (o *DeletePlanByIDParams) SetDefaults()
SetDefaults hydrates default values in the delete plan by Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePlanByIDParams) SetHTTPClient ¶
func (o *DeletePlanByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete plan by Id params
func (*DeletePlanByIDParams) SetID ¶
func (o *DeletePlanByIDParams) SetID(id string)
SetID adds the id to the delete plan by Id params
func (*DeletePlanByIDParams) SetTimeout ¶
func (o *DeletePlanByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete plan by Id params
func (*DeletePlanByIDParams) WithContext ¶
func (o *DeletePlanByIDParams) WithContext(ctx context.Context) *DeletePlanByIDParams
WithContext adds the context to the delete plan by Id params
func (*DeletePlanByIDParams) WithDefaults ¶
func (o *DeletePlanByIDParams) WithDefaults() *DeletePlanByIDParams
WithDefaults hydrates default values in the delete plan by Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePlanByIDParams) WithHTTPClient ¶
func (o *DeletePlanByIDParams) WithHTTPClient(client *http.Client) *DeletePlanByIDParams
WithHTTPClient adds the HTTPClient to the delete plan by Id params
func (*DeletePlanByIDParams) WithID ¶
func (o *DeletePlanByIDParams) WithID(id string) *DeletePlanByIDParams
WithID adds the id to the delete plan by Id params
func (*DeletePlanByIDParams) WithTimeout ¶
func (o *DeletePlanByIDParams) WithTimeout(timeout time.Duration) *DeletePlanByIDParams
WithTimeout adds the timeout to the delete plan by Id params
func (*DeletePlanByIDParams) WriteToRequest ¶
func (o *DeletePlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePlanByIDReader ¶
type DeletePlanByIDReader struct {
// contains filtered or unexported fields
}
DeletePlanByIDReader is a Reader for the DeletePlanByID structure.
func (*DeletePlanByIDReader) ReadResponse ¶
func (o *DeletePlanByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePlanByIDUnauthorized ¶
type DeletePlanByIDUnauthorized struct { }
DeletePlanByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeletePlanByIDUnauthorized ¶
func NewDeletePlanByIDUnauthorized() *DeletePlanByIDUnauthorized
NewDeletePlanByIDUnauthorized creates a DeletePlanByIDUnauthorized with default headers values
func (*DeletePlanByIDUnauthorized) Error ¶
func (o *DeletePlanByIDUnauthorized) Error() string
func (*DeletePlanByIDUnauthorized) IsClientError ¶
func (o *DeletePlanByIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete plan by Id unauthorized response has a 4xx status code
func (*DeletePlanByIDUnauthorized) IsCode ¶
func (o *DeletePlanByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete plan by Id unauthorized response a status code equal to that given
func (*DeletePlanByIDUnauthorized) IsRedirect ¶
func (o *DeletePlanByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete plan by Id unauthorized response has a 3xx status code
func (*DeletePlanByIDUnauthorized) IsServerError ¶
func (o *DeletePlanByIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete plan by Id unauthorized response has a 5xx status code
func (*DeletePlanByIDUnauthorized) IsSuccess ¶
func (o *DeletePlanByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete plan by Id unauthorized response has a 2xx status code
func (*DeletePlanByIDUnauthorized) String ¶
func (o *DeletePlanByIDUnauthorized) String() string
type GetPlanByIDOK ¶
type GetPlanByIDOK struct {
Payload *models.OnboardingPlanResponse
}
GetPlanByIDOK describes a response with status code 200, with default header values.
Success
func NewGetPlanByIDOK ¶
func NewGetPlanByIDOK() *GetPlanByIDOK
NewGetPlanByIDOK creates a GetPlanByIDOK with default headers values
func (*GetPlanByIDOK) Error ¶
func (o *GetPlanByIDOK) Error() string
func (*GetPlanByIDOK) GetPayload ¶
func (o *GetPlanByIDOK) GetPayload() *models.OnboardingPlanResponse
func (*GetPlanByIDOK) IsClientError ¶
func (o *GetPlanByIDOK) IsClientError() bool
IsClientError returns true when this get plan by Id o k response has a 4xx status code
func (*GetPlanByIDOK) IsCode ¶
func (o *GetPlanByIDOK) IsCode(code int) bool
IsCode returns true when this get plan by Id o k response a status code equal to that given
func (*GetPlanByIDOK) IsRedirect ¶
func (o *GetPlanByIDOK) IsRedirect() bool
IsRedirect returns true when this get plan by Id o k response has a 3xx status code
func (*GetPlanByIDOK) IsServerError ¶
func (o *GetPlanByIDOK) IsServerError() bool
IsServerError returns true when this get plan by Id o k response has a 5xx status code
func (*GetPlanByIDOK) IsSuccess ¶
func (o *GetPlanByIDOK) IsSuccess() bool
IsSuccess returns true when this get plan by Id o k response has a 2xx status code
func (*GetPlanByIDOK) String ¶
func (o *GetPlanByIDOK) String() string
type GetPlanByIDParams ¶
type GetPlanByIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPlanByIDParams contains all the parameters to send to the API endpoint
for the get plan by Id operation. Typically these are written to a http.Request.
func NewGetPlanByIDParams ¶
func NewGetPlanByIDParams() *GetPlanByIDParams
NewGetPlanByIDParams creates a new GetPlanByIDParams 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 NewGetPlanByIDParamsWithContext ¶
func NewGetPlanByIDParamsWithContext(ctx context.Context) *GetPlanByIDParams
NewGetPlanByIDParamsWithContext creates a new GetPlanByIDParams object with the ability to set a context for a request.
func NewGetPlanByIDParamsWithHTTPClient ¶
func NewGetPlanByIDParamsWithHTTPClient(client *http.Client) *GetPlanByIDParams
NewGetPlanByIDParamsWithHTTPClient creates a new GetPlanByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetPlanByIDParamsWithTimeout ¶
func NewGetPlanByIDParamsWithTimeout(timeout time.Duration) *GetPlanByIDParams
NewGetPlanByIDParamsWithTimeout creates a new GetPlanByIDParams object with the ability to set a timeout on a request.
func (*GetPlanByIDParams) SetContext ¶
func (o *GetPlanByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get plan by Id params
func (*GetPlanByIDParams) SetDefaults ¶
func (o *GetPlanByIDParams) SetDefaults()
SetDefaults hydrates default values in the get plan by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlanByIDParams) SetHTTPClient ¶
func (o *GetPlanByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get plan by Id params
func (*GetPlanByIDParams) SetID ¶
func (o *GetPlanByIDParams) SetID(id string)
SetID adds the id to the get plan by Id params
func (*GetPlanByIDParams) SetTimeout ¶
func (o *GetPlanByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get plan by Id params
func (*GetPlanByIDParams) WithContext ¶
func (o *GetPlanByIDParams) WithContext(ctx context.Context) *GetPlanByIDParams
WithContext adds the context to the get plan by Id params
func (*GetPlanByIDParams) WithDefaults ¶
func (o *GetPlanByIDParams) WithDefaults() *GetPlanByIDParams
WithDefaults hydrates default values in the get plan by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlanByIDParams) WithHTTPClient ¶
func (o *GetPlanByIDParams) WithHTTPClient(client *http.Client) *GetPlanByIDParams
WithHTTPClient adds the HTTPClient to the get plan by Id params
func (*GetPlanByIDParams) WithID ¶
func (o *GetPlanByIDParams) WithID(id string) *GetPlanByIDParams
WithID adds the id to the get plan by Id params
func (*GetPlanByIDParams) WithTimeout ¶
func (o *GetPlanByIDParams) WithTimeout(timeout time.Duration) *GetPlanByIDParams
WithTimeout adds the timeout to the get plan by Id params
func (*GetPlanByIDParams) WriteToRequest ¶
func (o *GetPlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlanByIDReader ¶
type GetPlanByIDReader struct {
// contains filtered or unexported fields
}
GetPlanByIDReader is a Reader for the GetPlanByID structure.
func (*GetPlanByIDReader) ReadResponse ¶
func (o *GetPlanByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlanByIDUnauthorized ¶
type GetPlanByIDUnauthorized struct { }
GetPlanByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPlanByIDUnauthorized ¶
func NewGetPlanByIDUnauthorized() *GetPlanByIDUnauthorized
NewGetPlanByIDUnauthorized creates a GetPlanByIDUnauthorized with default headers values
func (*GetPlanByIDUnauthorized) Error ¶
func (o *GetPlanByIDUnauthorized) Error() string
func (*GetPlanByIDUnauthorized) IsClientError ¶
func (o *GetPlanByIDUnauthorized) IsClientError() bool
IsClientError returns true when this get plan by Id unauthorized response has a 4xx status code
func (*GetPlanByIDUnauthorized) IsCode ¶
func (o *GetPlanByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get plan by Id unauthorized response a status code equal to that given
func (*GetPlanByIDUnauthorized) IsRedirect ¶
func (o *GetPlanByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get plan by Id unauthorized response has a 3xx status code
func (*GetPlanByIDUnauthorized) IsServerError ¶
func (o *GetPlanByIDUnauthorized) IsServerError() bool
IsServerError returns true when this get plan by Id unauthorized response has a 5xx status code
func (*GetPlanByIDUnauthorized) IsSuccess ¶
func (o *GetPlanByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get plan by Id unauthorized response has a 2xx status code
func (*GetPlanByIDUnauthorized) String ¶
func (o *GetPlanByIDUnauthorized) String() string
type QueryPlansOK ¶
type QueryPlansOK struct {
Payload *models.ServiceDocumentQueryResult
}
QueryPlansOK describes a response with status code 200, with default header values.
Success
func NewQueryPlansOK ¶
func NewQueryPlansOK() *QueryPlansOK
NewQueryPlansOK creates a QueryPlansOK with default headers values
func (*QueryPlansOK) Error ¶
func (o *QueryPlansOK) Error() string
func (*QueryPlansOK) GetPayload ¶
func (o *QueryPlansOK) GetPayload() *models.ServiceDocumentQueryResult
func (*QueryPlansOK) IsClientError ¶
func (o *QueryPlansOK) IsClientError() bool
IsClientError returns true when this query plans o k response has a 4xx status code
func (*QueryPlansOK) IsCode ¶
func (o *QueryPlansOK) IsCode(code int) bool
IsCode returns true when this query plans o k response a status code equal to that given
func (*QueryPlansOK) IsRedirect ¶
func (o *QueryPlansOK) IsRedirect() bool
IsRedirect returns true when this query plans o k response has a 3xx status code
func (*QueryPlansOK) IsServerError ¶
func (o *QueryPlansOK) IsServerError() bool
IsServerError returns true when this query plans o k response has a 5xx status code
func (*QueryPlansOK) IsSuccess ¶
func (o *QueryPlansOK) IsSuccess() bool
IsSuccess returns true when this query plans o k response has a 2xx status code
func (*QueryPlansOK) String ¶
func (o *QueryPlansOK) String() string
type QueryPlansParams ¶
type QueryPlansParams struct { /* DollarExpand. Expand document contents */ DollarExpand *bool /* DollarFilter. OData filter expression */ DollarFilter *string /* DollarLimit. Set maximum number of documents to return in this query */ DollarLimit *int64 /* DollarSelect. Comma-separated list of fields to populate in query result */ DollarSelect *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryPlansParams contains all the parameters to send to the API endpoint
for the query plans operation. Typically these are written to a http.Request.
func NewQueryPlansParams ¶
func NewQueryPlansParams() *QueryPlansParams
NewQueryPlansParams creates a new QueryPlansParams 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 NewQueryPlansParamsWithContext ¶
func NewQueryPlansParamsWithContext(ctx context.Context) *QueryPlansParams
NewQueryPlansParamsWithContext creates a new QueryPlansParams object with the ability to set a context for a request.
func NewQueryPlansParamsWithHTTPClient ¶
func NewQueryPlansParamsWithHTTPClient(client *http.Client) *QueryPlansParams
NewQueryPlansParamsWithHTTPClient creates a new QueryPlansParams object with the ability to set a custom HTTPClient for a request.
func NewQueryPlansParamsWithTimeout ¶
func NewQueryPlansParamsWithTimeout(timeout time.Duration) *QueryPlansParams
NewQueryPlansParamsWithTimeout creates a new QueryPlansParams object with the ability to set a timeout on a request.
func (*QueryPlansParams) SetContext ¶
func (o *QueryPlansParams) SetContext(ctx context.Context)
SetContext adds the context to the query plans params
func (*QueryPlansParams) SetDefaults ¶
func (o *QueryPlansParams) SetDefaults()
SetDefaults hydrates default values in the query plans params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPlansParams) SetDollarExpand ¶
func (o *QueryPlansParams) SetDollarExpand(dollarExpand *bool)
SetDollarExpand adds the dollarExpand to the query plans params
func (*QueryPlansParams) SetDollarFilter ¶
func (o *QueryPlansParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the query plans params
func (*QueryPlansParams) SetDollarLimit ¶
func (o *QueryPlansParams) SetDollarLimit(dollarLimit *int64)
SetDollarLimit adds the dollarLimit to the query plans params
func (*QueryPlansParams) SetDollarSelect ¶
func (o *QueryPlansParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the query plans params
func (*QueryPlansParams) SetHTTPClient ¶
func (o *QueryPlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query plans params
func (*QueryPlansParams) SetTimeout ¶
func (o *QueryPlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query plans params
func (*QueryPlansParams) WithContext ¶
func (o *QueryPlansParams) WithContext(ctx context.Context) *QueryPlansParams
WithContext adds the context to the query plans params
func (*QueryPlansParams) WithDefaults ¶
func (o *QueryPlansParams) WithDefaults() *QueryPlansParams
WithDefaults hydrates default values in the query plans params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPlansParams) WithDollarExpand ¶
func (o *QueryPlansParams) WithDollarExpand(dollarExpand *bool) *QueryPlansParams
WithDollarExpand adds the dollarExpand to the query plans params
func (*QueryPlansParams) WithDollarFilter ¶
func (o *QueryPlansParams) WithDollarFilter(dollarFilter *string) *QueryPlansParams
WithDollarFilter adds the dollarFilter to the query plans params
func (*QueryPlansParams) WithDollarLimit ¶
func (o *QueryPlansParams) WithDollarLimit(dollarLimit *int64) *QueryPlansParams
WithDollarLimit adds the dollarLimit to the query plans params
func (*QueryPlansParams) WithDollarSelect ¶
func (o *QueryPlansParams) WithDollarSelect(dollarSelect *string) *QueryPlansParams
WithDollarSelect adds the dollarSelect to the query plans params
func (*QueryPlansParams) WithHTTPClient ¶
func (o *QueryPlansParams) WithHTTPClient(client *http.Client) *QueryPlansParams
WithHTTPClient adds the HTTPClient to the query plans params
func (*QueryPlansParams) WithTimeout ¶
func (o *QueryPlansParams) WithTimeout(timeout time.Duration) *QueryPlansParams
WithTimeout adds the timeout to the query plans params
func (*QueryPlansParams) WriteToRequest ¶
func (o *QueryPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryPlansReader ¶
type QueryPlansReader struct {
// contains filtered or unexported fields
}
QueryPlansReader is a Reader for the QueryPlans structure.
func (*QueryPlansReader) ReadResponse ¶
func (o *QueryPlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryPlansUnauthorized ¶
type QueryPlansUnauthorized struct { }
QueryPlansUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewQueryPlansUnauthorized ¶
func NewQueryPlansUnauthorized() *QueryPlansUnauthorized
NewQueryPlansUnauthorized creates a QueryPlansUnauthorized with default headers values
func (*QueryPlansUnauthorized) Error ¶
func (o *QueryPlansUnauthorized) Error() string
func (*QueryPlansUnauthorized) IsClientError ¶
func (o *QueryPlansUnauthorized) IsClientError() bool
IsClientError returns true when this query plans unauthorized response has a 4xx status code
func (*QueryPlansUnauthorized) IsCode ¶
func (o *QueryPlansUnauthorized) IsCode(code int) bool
IsCode returns true when this query plans unauthorized response a status code equal to that given
func (*QueryPlansUnauthorized) IsRedirect ¶
func (o *QueryPlansUnauthorized) IsRedirect() bool
IsRedirect returns true when this query plans unauthorized response has a 3xx status code
func (*QueryPlansUnauthorized) IsServerError ¶
func (o *QueryPlansUnauthorized) IsServerError() bool
IsServerError returns true when this query plans unauthorized response has a 5xx status code
func (*QueryPlansUnauthorized) IsSuccess ¶
func (o *QueryPlansUnauthorized) IsSuccess() bool
IsSuccess returns true when this query plans unauthorized response has a 2xx status code
func (*QueryPlansUnauthorized) String ¶
func (o *QueryPlansUnauthorized) String() string
type UpdatePlanByIDOK ¶
type UpdatePlanByIDOK struct { }
UpdatePlanByIDOK describes a response with status code 200, with default header values.
Success
func NewUpdatePlanByIDOK ¶
func NewUpdatePlanByIDOK() *UpdatePlanByIDOK
NewUpdatePlanByIDOK creates a UpdatePlanByIDOK with default headers values
func (*UpdatePlanByIDOK) Error ¶
func (o *UpdatePlanByIDOK) Error() string
func (*UpdatePlanByIDOK) IsClientError ¶
func (o *UpdatePlanByIDOK) IsClientError() bool
IsClientError returns true when this update plan by Id o k response has a 4xx status code
func (*UpdatePlanByIDOK) IsCode ¶
func (o *UpdatePlanByIDOK) IsCode(code int) bool
IsCode returns true when this update plan by Id o k response a status code equal to that given
func (*UpdatePlanByIDOK) IsRedirect ¶
func (o *UpdatePlanByIDOK) IsRedirect() bool
IsRedirect returns true when this update plan by Id o k response has a 3xx status code
func (*UpdatePlanByIDOK) IsServerError ¶
func (o *UpdatePlanByIDOK) IsServerError() bool
IsServerError returns true when this update plan by Id o k response has a 5xx status code
func (*UpdatePlanByIDOK) IsSuccess ¶
func (o *UpdatePlanByIDOK) IsSuccess() bool
IsSuccess returns true when this update plan by Id o k response has a 2xx status code
func (*UpdatePlanByIDOK) String ¶
func (o *UpdatePlanByIDOK) String() string
type UpdatePlanByIDParams ¶
type UpdatePlanByIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePlanByIDParams contains all the parameters to send to the API endpoint
for the update plan by Id operation. Typically these are written to a http.Request.
func NewUpdatePlanByIDParams ¶
func NewUpdatePlanByIDParams() *UpdatePlanByIDParams
NewUpdatePlanByIDParams creates a new UpdatePlanByIDParams 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 NewUpdatePlanByIDParamsWithContext ¶
func NewUpdatePlanByIDParamsWithContext(ctx context.Context) *UpdatePlanByIDParams
NewUpdatePlanByIDParamsWithContext creates a new UpdatePlanByIDParams object with the ability to set a context for a request.
func NewUpdatePlanByIDParamsWithHTTPClient ¶
func NewUpdatePlanByIDParamsWithHTTPClient(client *http.Client) *UpdatePlanByIDParams
NewUpdatePlanByIDParamsWithHTTPClient creates a new UpdatePlanByIDParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePlanByIDParamsWithTimeout ¶
func NewUpdatePlanByIDParamsWithTimeout(timeout time.Duration) *UpdatePlanByIDParams
NewUpdatePlanByIDParamsWithTimeout creates a new UpdatePlanByIDParams object with the ability to set a timeout on a request.
func (*UpdatePlanByIDParams) SetContext ¶
func (o *UpdatePlanByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the update plan by Id params
func (*UpdatePlanByIDParams) SetDefaults ¶
func (o *UpdatePlanByIDParams) SetDefaults()
SetDefaults hydrates default values in the update plan by Id params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePlanByIDParams) SetHTTPClient ¶
func (o *UpdatePlanByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update plan by Id params
func (*UpdatePlanByIDParams) SetID ¶
func (o *UpdatePlanByIDParams) SetID(id string)
SetID adds the id to the update plan by Id params
func (*UpdatePlanByIDParams) SetTimeout ¶
func (o *UpdatePlanByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update plan by Id params
func (*UpdatePlanByIDParams) WithContext ¶
func (o *UpdatePlanByIDParams) WithContext(ctx context.Context) *UpdatePlanByIDParams
WithContext adds the context to the update plan by Id params
func (*UpdatePlanByIDParams) WithDefaults ¶
func (o *UpdatePlanByIDParams) WithDefaults() *UpdatePlanByIDParams
WithDefaults hydrates default values in the update plan by Id params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePlanByIDParams) WithHTTPClient ¶
func (o *UpdatePlanByIDParams) WithHTTPClient(client *http.Client) *UpdatePlanByIDParams
WithHTTPClient adds the HTTPClient to the update plan by Id params
func (*UpdatePlanByIDParams) WithID ¶
func (o *UpdatePlanByIDParams) WithID(id string) *UpdatePlanByIDParams
WithID adds the id to the update plan by Id params
func (*UpdatePlanByIDParams) WithTimeout ¶
func (o *UpdatePlanByIDParams) WithTimeout(timeout time.Duration) *UpdatePlanByIDParams
WithTimeout adds the timeout to the update plan by Id params
func (*UpdatePlanByIDParams) WriteToRequest ¶
func (o *UpdatePlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePlanByIDReader ¶
type UpdatePlanByIDReader struct {
// contains filtered or unexported fields
}
UpdatePlanByIDReader is a Reader for the UpdatePlanByID structure.
func (*UpdatePlanByIDReader) ReadResponse ¶
func (o *UpdatePlanByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePlanByIDUnauthorized ¶
type UpdatePlanByIDUnauthorized struct { }
UpdatePlanByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdatePlanByIDUnauthorized ¶
func NewUpdatePlanByIDUnauthorized() *UpdatePlanByIDUnauthorized
NewUpdatePlanByIDUnauthorized creates a UpdatePlanByIDUnauthorized with default headers values
func (*UpdatePlanByIDUnauthorized) Error ¶
func (o *UpdatePlanByIDUnauthorized) Error() string
func (*UpdatePlanByIDUnauthorized) IsClientError ¶
func (o *UpdatePlanByIDUnauthorized) IsClientError() bool
IsClientError returns true when this update plan by Id unauthorized response has a 4xx status code
func (*UpdatePlanByIDUnauthorized) IsCode ¶
func (o *UpdatePlanByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this update plan by Id unauthorized response a status code equal to that given
func (*UpdatePlanByIDUnauthorized) IsRedirect ¶
func (o *UpdatePlanByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this update plan by Id unauthorized response has a 3xx status code
func (*UpdatePlanByIDUnauthorized) IsServerError ¶
func (o *UpdatePlanByIDUnauthorized) IsServerError() bool
IsServerError returns true when this update plan by Id unauthorized response has a 5xx status code
func (*UpdatePlanByIDUnauthorized) IsSuccess ¶
func (o *UpdatePlanByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this update plan by Id unauthorized response has a 2xx status code
func (*UpdatePlanByIDUnauthorized) String ¶
func (o *UpdatePlanByIDUnauthorized) String() string
Source Files ¶
- create_plan_parameters.go
- create_plan_responses.go
- delete_plan_by_id_parameters.go
- delete_plan_by_id_responses.go
- get_plan_by_id_parameters.go
- get_plan_by_id_responses.go
- onboarding_plans_client.go
- query_plans_parameters.go
- query_plans_responses.go
- update_plan_by_id_parameters.go
- update_plan_by_id_responses.go