onboarding_plans

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

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 (*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

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 (*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

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

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 (*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

Jump to

Keyboard shortcuts

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