operations

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 13 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 operations API

func (*Client) CreatePlan

func (a *Client) CreatePlan(params *CreatePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePlanCreated, error)

CreatePlan create plan API

func (*Client) CreatePlanRevision

func (a *Client) CreatePlanRevision(params *CreatePlanRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePlanRevisionOK, error)

CreatePlanRevision create plan revision API

func (*Client) CreateProject

func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)

CreateProject create project API

func (*Client) DeletePlan

func (a *Client) DeletePlan(params *DeletePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePlanNoContent, error)

DeletePlan Delete this plan and all of the revisions associated with it

func (*Client) DeleteProject

func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectNoContent, error)

DeleteProject delete project API

func (*Client) GetAuthConfig

func (a *Client) GetAuthConfig(params *GetAuthConfigParams, opts ...ClientOption) (*GetAuthConfigOK, error)

GetAuthConfig get auth config API

func (*Client) GetPlan

func (a *Client) GetPlan(params *GetPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanOK, error)

GetPlan get plan API

func (*Client) GetPlanRevision

func (a *Client) GetPlanRevision(params *GetPlanRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanRevisionOK, error)

GetPlanRevision get plan revision API

func (*Client) GetPlanRevisionPracticeResponses

func (a *Client) GetPlanRevisionPracticeResponses(params *GetPlanRevisionPracticeResponsesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanRevisionPracticeResponsesOK, error)

GetPlanRevisionPracticeResponses get plan revision practice responses API

func (*Client) GetPlanVersions

func (a *Client) GetPlanVersions(params *GetPlanVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanVersionsOK, error)

GetPlanVersions get plan versions API

func (*Client) GetPractices

func (a *Client) GetPractices(params *GetPracticesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPracticesOK, error)

GetPractices get practices API

func (*Client) GetProject

func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

GetProject get project API

func (*Client) ListPracticesVersions

func (a *Client) ListPracticesVersions(params *ListPracticesVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPracticesVersionsOK, error)

ListPracticesVersions list practices versions API

func (*Client) ListProjects

func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)

ListProjects list projects API

func (*Client) LoggedIn

func (a *Client) LoggedIn(params *LoggedInParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoggedInOK, error)

LoggedIn Used to trigger one-time events like requesting access. Clients should hit this once after obtaining an ID token, and can use or ignore the response.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateProject

func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error)

UpdateProject update project API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreatePlan(params *CreatePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePlanCreated, error)

	CreatePlanRevision(params *CreatePlanRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePlanRevisionOK, error)

	CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)

	DeletePlan(params *DeletePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePlanNoContent, error)

	DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectNoContent, error)

	GetAuthConfig(params *GetAuthConfigParams, opts ...ClientOption) (*GetAuthConfigOK, error)

	GetPlan(params *GetPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanOK, error)

	GetPlanRevision(params *GetPlanRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanRevisionOK, error)

	GetPlanRevisionPracticeResponses(params *GetPlanRevisionPracticeResponsesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanRevisionPracticeResponsesOK, error)

	GetPlanVersions(params *GetPlanVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanVersionsOK, error)

	GetPractices(params *GetPracticesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPracticesOK, error)

	GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

	ListPracticesVersions(params *ListPracticesVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPracticesVersionsOK, error)

	ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)

	LoggedIn(params *LoggedInParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoggedInOK, error)

	UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, 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 operations API client.

type CreatePlanBody

type CreatePlanBody struct {

	// details
	// Required: true
	Details *lib.PlanDetails `json:"details"`

	// responses
	// Required: true
	Responses *lib.PlanResponses `json:"responses"`
}

CreatePlanBody create plan body swagger:model CreatePlanBody

func (*CreatePlanBody) ContextValidate

func (o *CreatePlanBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create plan body based on the context it is used

func (*CreatePlanBody) MarshalBinary

func (o *CreatePlanBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePlanBody) UnmarshalBinary

func (o *CreatePlanBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePlanBody) Validate

func (o *CreatePlanBody) Validate(formats strfmt.Registry) error

Validate validates this create plan body

type CreatePlanCreated

type CreatePlanCreated struct {
	Payload *CreatePlanCreatedBody
}
CreatePlanCreated describes a response with status code 201, with default header values.

Created

func NewCreatePlanCreated

func NewCreatePlanCreated() *CreatePlanCreated

NewCreatePlanCreated creates a CreatePlanCreated with default headers values

func (*CreatePlanCreated) Error

func (o *CreatePlanCreated) Error() string

func (*CreatePlanCreated) GetPayload

func (o *CreatePlanCreated) GetPayload() *CreatePlanCreatedBody

type CreatePlanCreatedBody

type CreatePlanCreatedBody struct {

	// The ID of the plan
	// Required: true
	PlanID *string `json:"planId"`

	// The revision ID of the initial revision
	// Required: true
	RevisionID *string `json:"revisionId"`
}

CreatePlanCreatedBody create plan created body swagger:model CreatePlanCreatedBody

func (*CreatePlanCreatedBody) ContextValidate

func (o *CreatePlanCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create plan created body based on context it is used

func (*CreatePlanCreatedBody) MarshalBinary

func (o *CreatePlanCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePlanCreatedBody) UnmarshalBinary

func (o *CreatePlanCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePlanCreatedBody) Validate

func (o *CreatePlanCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this create plan created body

type CreatePlanDefault

type CreatePlanDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
CreatePlanDefault describes a response with status code -1, with default header values.

error

func NewCreatePlanDefault

func NewCreatePlanDefault(code int) *CreatePlanDefault

NewCreatePlanDefault creates a CreatePlanDefault with default headers values

func (*CreatePlanDefault) Code

func (o *CreatePlanDefault) Code() int

Code gets the status code for the create plan default response

func (*CreatePlanDefault) Error

func (o *CreatePlanDefault) Error() string

func (*CreatePlanDefault) GetPayload

func (o *CreatePlanDefault) GetPayload() *models.Error

type CreatePlanParams

type CreatePlanParams struct {

	// Body.
	Body CreatePlanBody

	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 CreatePlanBody)

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 CreatePlanRevisionBody

type CreatePlanRevisionBody struct {

	// details
	// Required: true
	Details *lib.PlanDetails `json:"details"`

	// responses
	// Required: true
	Responses *lib.PlanResponses `json:"responses"`
}

CreatePlanRevisionBody create plan revision body swagger:model CreatePlanRevisionBody

func (*CreatePlanRevisionBody) ContextValidate

func (o *CreatePlanRevisionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create plan revision body based on the context it is used

func (*CreatePlanRevisionBody) MarshalBinary

func (o *CreatePlanRevisionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePlanRevisionBody) UnmarshalBinary

func (o *CreatePlanRevisionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePlanRevisionBody) Validate

func (o *CreatePlanRevisionBody) Validate(formats strfmt.Registry) error

Validate validates this create plan revision body

type CreatePlanRevisionDefault

type CreatePlanRevisionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
CreatePlanRevisionDefault describes a response with status code -1, with default header values.

error

func NewCreatePlanRevisionDefault

func NewCreatePlanRevisionDefault(code int) *CreatePlanRevisionDefault

NewCreatePlanRevisionDefault creates a CreatePlanRevisionDefault with default headers values

func (*CreatePlanRevisionDefault) Code

func (o *CreatePlanRevisionDefault) Code() int

Code gets the status code for the create plan revision default response

func (*CreatePlanRevisionDefault) Error

func (o *CreatePlanRevisionDefault) Error() string

func (*CreatePlanRevisionDefault) GetPayload

func (o *CreatePlanRevisionDefault) GetPayload() *models.Error

type CreatePlanRevisionOK

type CreatePlanRevisionOK struct {
	Payload string
}
CreatePlanRevisionOK describes a response with status code 200, with default header values.

OK

func NewCreatePlanRevisionOK

func NewCreatePlanRevisionOK() *CreatePlanRevisionOK

NewCreatePlanRevisionOK creates a CreatePlanRevisionOK with default headers values

func (*CreatePlanRevisionOK) Error

func (o *CreatePlanRevisionOK) Error() string

func (*CreatePlanRevisionOK) GetPayload

func (o *CreatePlanRevisionOK) GetPayload() string

type CreatePlanRevisionParams

type CreatePlanRevisionParams struct {

	// Body.
	Body CreatePlanRevisionBody

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreatePlanRevisionParams contains all the parameters to send to the API endpoint

for the create plan revision operation.

Typically these are written to a http.Request.

func NewCreatePlanRevisionParams

func NewCreatePlanRevisionParams() *CreatePlanRevisionParams

NewCreatePlanRevisionParams creates a new CreatePlanRevisionParams 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 NewCreatePlanRevisionParamsWithContext

func NewCreatePlanRevisionParamsWithContext(ctx context.Context) *CreatePlanRevisionParams

NewCreatePlanRevisionParamsWithContext creates a new CreatePlanRevisionParams object with the ability to set a context for a request.

func NewCreatePlanRevisionParamsWithHTTPClient

func NewCreatePlanRevisionParamsWithHTTPClient(client *http.Client) *CreatePlanRevisionParams

NewCreatePlanRevisionParamsWithHTTPClient creates a new CreatePlanRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePlanRevisionParamsWithTimeout

func NewCreatePlanRevisionParamsWithTimeout(timeout time.Duration) *CreatePlanRevisionParams

NewCreatePlanRevisionParamsWithTimeout creates a new CreatePlanRevisionParams object with the ability to set a timeout on a request.

func (*CreatePlanRevisionParams) SetBody

SetBody adds the body to the create plan revision params

func (*CreatePlanRevisionParams) SetContext

func (o *CreatePlanRevisionParams) SetContext(ctx context.Context)

SetContext adds the context to the create plan revision params

func (*CreatePlanRevisionParams) SetDefaults

func (o *CreatePlanRevisionParams) SetDefaults()

SetDefaults hydrates default values in the create plan revision params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePlanRevisionParams) SetHTTPClient

func (o *CreatePlanRevisionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create plan revision params

func (*CreatePlanRevisionParams) SetID

func (o *CreatePlanRevisionParams) SetID(id string)

SetID adds the id to the create plan revision params

func (*CreatePlanRevisionParams) SetTimeout

func (o *CreatePlanRevisionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create plan revision params

func (*CreatePlanRevisionParams) WithBody

WithBody adds the body to the create plan revision params

func (*CreatePlanRevisionParams) WithContext

WithContext adds the context to the create plan revision params

func (*CreatePlanRevisionParams) WithDefaults

WithDefaults hydrates default values in the create plan revision params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePlanRevisionParams) WithHTTPClient

func (o *CreatePlanRevisionParams) WithHTTPClient(client *http.Client) *CreatePlanRevisionParams

WithHTTPClient adds the HTTPClient to the create plan revision params

func (*CreatePlanRevisionParams) WithID

WithID adds the id to the create plan revision params

func (*CreatePlanRevisionParams) WithTimeout

WithTimeout adds the timeout to the create plan revision params

func (*CreatePlanRevisionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePlanRevisionReader

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

CreatePlanRevisionReader is a Reader for the CreatePlanRevision structure.

func (*CreatePlanRevisionReader) ReadResponse

func (o *CreatePlanRevisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateProjectCreated

type CreateProjectCreated struct {
	Payload string
}
CreateProjectCreated describes a response with status code 201, with default header values.

Created

func NewCreateProjectCreated

func NewCreateProjectCreated() *CreateProjectCreated

NewCreateProjectCreated creates a CreateProjectCreated with default headers values

func (*CreateProjectCreated) Error

func (o *CreateProjectCreated) Error() string

func (*CreateProjectCreated) GetPayload

func (o *CreateProjectCreated) GetPayload() string

type CreateProjectDefault

type CreateProjectDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
CreateProjectDefault describes a response with status code -1, with default header values.

error

func NewCreateProjectDefault

func NewCreateProjectDefault(code int) *CreateProjectDefault

NewCreateProjectDefault creates a CreateProjectDefault with default headers values

func (*CreateProjectDefault) Code

func (o *CreateProjectDefault) Code() int

Code gets the status code for the create project default response

func (*CreateProjectDefault) Error

func (o *CreateProjectDefault) Error() string

func (*CreateProjectDefault) GetPayload

func (o *CreateProjectDefault) GetPayload() *models.Error

type CreateProjectParams

type CreateProjectParams struct {

	// Body.
	Body *models.ProjectDetails

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateProjectParams contains all the parameters to send to the API endpoint

for the create project operation.

Typically these are written to a http.Request.

func NewCreateProjectParams

func NewCreateProjectParams() *CreateProjectParams

NewCreateProjectParams creates a new CreateProjectParams 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 NewCreateProjectParamsWithContext

func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams

NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.

func NewCreateProjectParamsWithHTTPClient

func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams

NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.

func NewCreateProjectParamsWithTimeout

func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams

NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.

func (*CreateProjectParams) SetBody

func (o *CreateProjectParams) SetBody(body *models.ProjectDetails)

SetBody adds the body to the create project params

func (*CreateProjectParams) SetContext

func (o *CreateProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the create project params

func (*CreateProjectParams) SetDefaults

func (o *CreateProjectParams) SetDefaults()

SetDefaults hydrates default values in the create project params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectParams) SetHTTPClient

func (o *CreateProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create project params

func (*CreateProjectParams) SetTimeout

func (o *CreateProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create project params

func (*CreateProjectParams) WithBody

WithBody adds the body to the create project params

func (*CreateProjectParams) WithContext

WithContext adds the context to the create project params

func (*CreateProjectParams) WithDefaults

func (o *CreateProjectParams) WithDefaults() *CreateProjectParams

WithDefaults hydrates default values in the create project params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectParams) WithHTTPClient

func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams

WithHTTPClient adds the HTTPClient to the create project params

func (*CreateProjectParams) WithTimeout

func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams

WithTimeout adds the timeout to the create project params

func (*CreateProjectParams) WriteToRequest

func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateProjectReader

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

CreateProjectReader is a Reader for the CreateProject structure.

func (*CreateProjectReader) ReadResponse

func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeletePlanDefault

type DeletePlanDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
DeletePlanDefault describes a response with status code -1, with default header values.

error

func NewDeletePlanDefault

func NewDeletePlanDefault(code int) *DeletePlanDefault

NewDeletePlanDefault creates a DeletePlanDefault with default headers values

func (*DeletePlanDefault) Code

func (o *DeletePlanDefault) Code() int

Code gets the status code for the delete plan default response

func (*DeletePlanDefault) Error

func (o *DeletePlanDefault) Error() string

func (*DeletePlanDefault) GetPayload

func (o *DeletePlanDefault) GetPayload() *models.Error

type DeletePlanNoContent

type DeletePlanNoContent struct {
}
DeletePlanNoContent describes a response with status code 204, with default header values.

Deleted

func NewDeletePlanNoContent

func NewDeletePlanNoContent() *DeletePlanNoContent

NewDeletePlanNoContent creates a DeletePlanNoContent with default headers values

func (*DeletePlanNoContent) Error

func (o *DeletePlanNoContent) Error() string

type DeletePlanParams

type DeletePlanParams struct {

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePlanParams contains all the parameters to send to the API endpoint

for the delete plan operation.

Typically these are written to a http.Request.

func NewDeletePlanParams

func NewDeletePlanParams() *DeletePlanParams

NewDeletePlanParams creates a new DeletePlanParams 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 NewDeletePlanParamsWithContext

func NewDeletePlanParamsWithContext(ctx context.Context) *DeletePlanParams

NewDeletePlanParamsWithContext creates a new DeletePlanParams object with the ability to set a context for a request.

func NewDeletePlanParamsWithHTTPClient

func NewDeletePlanParamsWithHTTPClient(client *http.Client) *DeletePlanParams

NewDeletePlanParamsWithHTTPClient creates a new DeletePlanParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePlanParamsWithTimeout

func NewDeletePlanParamsWithTimeout(timeout time.Duration) *DeletePlanParams

NewDeletePlanParamsWithTimeout creates a new DeletePlanParams object with the ability to set a timeout on a request.

func (*DeletePlanParams) SetContext

func (o *DeletePlanParams) SetContext(ctx context.Context)

SetContext adds the context to the delete plan params

func (*DeletePlanParams) SetDefaults

func (o *DeletePlanParams) SetDefaults()

SetDefaults hydrates default values in the delete plan params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePlanParams) SetHTTPClient

func (o *DeletePlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete plan params

func (*DeletePlanParams) SetID

func (o *DeletePlanParams) SetID(id string)

SetID adds the id to the delete plan params

func (*DeletePlanParams) SetTimeout

func (o *DeletePlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete plan params

func (*DeletePlanParams) WithContext

func (o *DeletePlanParams) WithContext(ctx context.Context) *DeletePlanParams

WithContext adds the context to the delete plan params

func (*DeletePlanParams) WithDefaults

func (o *DeletePlanParams) WithDefaults() *DeletePlanParams

WithDefaults hydrates default values in the delete plan params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePlanParams) WithHTTPClient

func (o *DeletePlanParams) WithHTTPClient(client *http.Client) *DeletePlanParams

WithHTTPClient adds the HTTPClient to the delete plan params

func (*DeletePlanParams) WithID

func (o *DeletePlanParams) WithID(id string) *DeletePlanParams

WithID adds the id to the delete plan params

func (*DeletePlanParams) WithTimeout

func (o *DeletePlanParams) WithTimeout(timeout time.Duration) *DeletePlanParams

WithTimeout adds the timeout to the delete plan params

func (*DeletePlanParams) WriteToRequest

func (o *DeletePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeletePlanReader

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

DeletePlanReader is a Reader for the DeletePlan structure.

func (*DeletePlanReader) ReadResponse

func (o *DeletePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteProjectDefault

type DeleteProjectDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
DeleteProjectDefault describes a response with status code -1, with default header values.

error

func NewDeleteProjectDefault

func NewDeleteProjectDefault(code int) *DeleteProjectDefault

NewDeleteProjectDefault creates a DeleteProjectDefault with default headers values

func (*DeleteProjectDefault) Code

func (o *DeleteProjectDefault) Code() int

Code gets the status code for the delete project default response

func (*DeleteProjectDefault) Error

func (o *DeleteProjectDefault) Error() string

func (*DeleteProjectDefault) GetPayload

func (o *DeleteProjectDefault) GetPayload() *models.Error

type DeleteProjectNoContent

type DeleteProjectNoContent struct {
}
DeleteProjectNoContent describes a response with status code 204, with default header values.

Deleted

func NewDeleteProjectNoContent

func NewDeleteProjectNoContent() *DeleteProjectNoContent

NewDeleteProjectNoContent creates a DeleteProjectNoContent with default headers values

func (*DeleteProjectNoContent) Error

func (o *DeleteProjectNoContent) Error() string

type DeleteProjectParams

type DeleteProjectParams struct {

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectParams contains all the parameters to send to the API endpoint

for the delete project operation.

Typically these are written to a http.Request.

func NewDeleteProjectParams

func NewDeleteProjectParams() *DeleteProjectParams

NewDeleteProjectParams creates a new DeleteProjectParams 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 NewDeleteProjectParamsWithContext

func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams

NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the ability to set a context for a request.

func NewDeleteProjectParamsWithHTTPClient

func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams

NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectParamsWithTimeout

func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams

NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the ability to set a timeout on a request.

func (*DeleteProjectParams) SetContext

func (o *DeleteProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project params

func (*DeleteProjectParams) SetDefaults

func (o *DeleteProjectParams) SetDefaults()

SetDefaults hydrates default values in the delete project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectParams) SetHTTPClient

func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) SetID

func (o *DeleteProjectParams) SetID(id string)

SetID adds the id to the delete project params

func (*DeleteProjectParams) SetTimeout

func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project params

func (*DeleteProjectParams) WithContext

WithContext adds the context to the delete project params

func (*DeleteProjectParams) WithDefaults

func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams

WithDefaults hydrates default values in the delete project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectParams) WithHTTPClient

func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams

WithHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) WithID

WithID adds the id to the delete project params

func (*DeleteProjectParams) WithTimeout

func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams

WithTimeout adds the timeout to the delete project params

func (*DeleteProjectParams) WriteToRequest

func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteProjectReader

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

DeleteProjectReader is a Reader for the DeleteProject structure.

func (*DeleteProjectReader) ReadResponse

func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAuthConfigDefault

type GetAuthConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetAuthConfigDefault describes a response with status code -1, with default header values.

error

func NewGetAuthConfigDefault

func NewGetAuthConfigDefault(code int) *GetAuthConfigDefault

NewGetAuthConfigDefault creates a GetAuthConfigDefault with default headers values

func (*GetAuthConfigDefault) Code

func (o *GetAuthConfigDefault) Code() int

Code gets the status code for the get auth config default response

func (*GetAuthConfigDefault) Error

func (o *GetAuthConfigDefault) Error() string

func (*GetAuthConfigDefault) GetPayload

func (o *GetAuthConfigDefault) GetPayload() *models.Error

type GetAuthConfigOK

type GetAuthConfigOK struct {
	Payload *models.AuthConfig
}
GetAuthConfigOK describes a response with status code 200, with default header values.

OK

func NewGetAuthConfigOK

func NewGetAuthConfigOK() *GetAuthConfigOK

NewGetAuthConfigOK creates a GetAuthConfigOK with default headers values

func (*GetAuthConfigOK) Error

func (o *GetAuthConfigOK) Error() string

func (*GetAuthConfigOK) GetPayload

func (o *GetAuthConfigOK) GetPayload() *models.AuthConfig

type GetAuthConfigParams

type GetAuthConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAuthConfigParams contains all the parameters to send to the API endpoint

for the get auth config operation.

Typically these are written to a http.Request.

func NewGetAuthConfigParams

func NewGetAuthConfigParams() *GetAuthConfigParams

NewGetAuthConfigParams creates a new GetAuthConfigParams 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 NewGetAuthConfigParamsWithContext

func NewGetAuthConfigParamsWithContext(ctx context.Context) *GetAuthConfigParams

NewGetAuthConfigParamsWithContext creates a new GetAuthConfigParams object with the ability to set a context for a request.

func NewGetAuthConfigParamsWithHTTPClient

func NewGetAuthConfigParamsWithHTTPClient(client *http.Client) *GetAuthConfigParams

NewGetAuthConfigParamsWithHTTPClient creates a new GetAuthConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetAuthConfigParamsWithTimeout

func NewGetAuthConfigParamsWithTimeout(timeout time.Duration) *GetAuthConfigParams

NewGetAuthConfigParamsWithTimeout creates a new GetAuthConfigParams object with the ability to set a timeout on a request.

func (*GetAuthConfigParams) SetContext

func (o *GetAuthConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the get auth config params

func (*GetAuthConfigParams) SetDefaults

func (o *GetAuthConfigParams) SetDefaults()

SetDefaults hydrates default values in the get auth config params (not the query body).

All values with no default are reset to their zero value.

func (*GetAuthConfigParams) SetHTTPClient

func (o *GetAuthConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get auth config params

func (*GetAuthConfigParams) SetTimeout

func (o *GetAuthConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get auth config params

func (*GetAuthConfigParams) WithContext

WithContext adds the context to the get auth config params

func (*GetAuthConfigParams) WithDefaults

func (o *GetAuthConfigParams) WithDefaults() *GetAuthConfigParams

WithDefaults hydrates default values in the get auth config params (not the query body).

All values with no default are reset to their zero value.

func (*GetAuthConfigParams) WithHTTPClient

func (o *GetAuthConfigParams) WithHTTPClient(client *http.Client) *GetAuthConfigParams

WithHTTPClient adds the HTTPClient to the get auth config params

func (*GetAuthConfigParams) WithTimeout

func (o *GetAuthConfigParams) WithTimeout(timeout time.Duration) *GetAuthConfigParams

WithTimeout adds the timeout to the get auth config params

func (*GetAuthConfigParams) WriteToRequest

func (o *GetAuthConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAuthConfigReader

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

GetAuthConfigReader is a Reader for the GetAuthConfig structure.

func (*GetAuthConfigReader) ReadResponse

func (o *GetAuthConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlanDefault

type GetPlanDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetPlanDefault describes a response with status code -1, with default header values.

error

func NewGetPlanDefault

func NewGetPlanDefault(code int) *GetPlanDefault

NewGetPlanDefault creates a GetPlanDefault with default headers values

func (*GetPlanDefault) Code

func (o *GetPlanDefault) Code() int

Code gets the status code for the get plan default response

func (*GetPlanDefault) Error

func (o *GetPlanDefault) Error() string

func (*GetPlanDefault) GetPayload

func (o *GetPlanDefault) GetPayload() *models.Error

type GetPlanOK

type GetPlanOK struct {
	Payload *GetPlanOKBody
}
GetPlanOK describes a response with status code 200, with default header values.

OK

func NewGetPlanOK

func NewGetPlanOK() *GetPlanOK

NewGetPlanOK creates a GetPlanOK with default headers values

func (*GetPlanOK) Error

func (o *GetPlanOK) Error() string

func (*GetPlanOK) GetPayload

func (o *GetPlanOK) GetPayload() *GetPlanOKBody

type GetPlanOKBody

type GetPlanOKBody struct {

	// The ID of the latest revision of this plan
	// Required: true
	LatestRevision *string `json:"latestRevision"`

	// plan
	// Required: true
	Plan *models.Plan `json:"plan"`
}

GetPlanOKBody get plan o k body swagger:model GetPlanOKBody

func (*GetPlanOKBody) ContextValidate

func (o *GetPlanOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get plan o k body based on the context it is used

func (*GetPlanOKBody) MarshalBinary

func (o *GetPlanOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPlanOKBody) UnmarshalBinary

func (o *GetPlanOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPlanOKBody) Validate

func (o *GetPlanOKBody) Validate(formats strfmt.Registry) error

Validate validates this get plan o k body

type GetPlanParams

type GetPlanParams struct {

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlanParams contains all the parameters to send to the API endpoint

for the get plan operation.

Typically these are written to a http.Request.

func NewGetPlanParams

func NewGetPlanParams() *GetPlanParams

NewGetPlanParams creates a new GetPlanParams 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 NewGetPlanParamsWithContext

func NewGetPlanParamsWithContext(ctx context.Context) *GetPlanParams

NewGetPlanParamsWithContext creates a new GetPlanParams object with the ability to set a context for a request.

func NewGetPlanParamsWithHTTPClient

func NewGetPlanParamsWithHTTPClient(client *http.Client) *GetPlanParams

NewGetPlanParamsWithHTTPClient creates a new GetPlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlanParamsWithTimeout

func NewGetPlanParamsWithTimeout(timeout time.Duration) *GetPlanParams

NewGetPlanParamsWithTimeout creates a new GetPlanParams object with the ability to set a timeout on a request.

func (*GetPlanParams) SetContext

func (o *GetPlanParams) SetContext(ctx context.Context)

SetContext adds the context to the get plan params

func (*GetPlanParams) SetDefaults

func (o *GetPlanParams) SetDefaults()

SetDefaults hydrates default values in the get plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanParams) SetHTTPClient

func (o *GetPlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get plan params

func (*GetPlanParams) SetID

func (o *GetPlanParams) SetID(id string)

SetID adds the id to the get plan params

func (*GetPlanParams) SetTimeout

func (o *GetPlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get plan params

func (*GetPlanParams) WithContext

func (o *GetPlanParams) WithContext(ctx context.Context) *GetPlanParams

WithContext adds the context to the get plan params

func (*GetPlanParams) WithDefaults

func (o *GetPlanParams) WithDefaults() *GetPlanParams

WithDefaults hydrates default values in the get plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanParams) WithHTTPClient

func (o *GetPlanParams) WithHTTPClient(client *http.Client) *GetPlanParams

WithHTTPClient adds the HTTPClient to the get plan params

func (*GetPlanParams) WithID

func (o *GetPlanParams) WithID(id string) *GetPlanParams

WithID adds the id to the get plan params

func (*GetPlanParams) WithTimeout

func (o *GetPlanParams) WithTimeout(timeout time.Duration) *GetPlanParams

WithTimeout adds the timeout to the get plan params

func (*GetPlanParams) WriteToRequest

func (o *GetPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPlanReader

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

GetPlanReader is a Reader for the GetPlan structure.

func (*GetPlanReader) ReadResponse

func (o *GetPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlanRevisionDefault

type GetPlanRevisionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetPlanRevisionDefault describes a response with status code -1, with default header values.

error

func NewGetPlanRevisionDefault

func NewGetPlanRevisionDefault(code int) *GetPlanRevisionDefault

NewGetPlanRevisionDefault creates a GetPlanRevisionDefault with default headers values

func (*GetPlanRevisionDefault) Code

func (o *GetPlanRevisionDefault) Code() int

Code gets the status code for the get plan revision default response

func (*GetPlanRevisionDefault) Error

func (o *GetPlanRevisionDefault) Error() string

func (*GetPlanRevisionDefault) GetPayload

func (o *GetPlanRevisionDefault) GetPayload() *models.Error

type GetPlanRevisionOK

type GetPlanRevisionOK struct {
	Payload *lib.PlanDetails
}
GetPlanRevisionOK describes a response with status code 200, with default header values.

OK

func NewGetPlanRevisionOK

func NewGetPlanRevisionOK() *GetPlanRevisionOK

NewGetPlanRevisionOK creates a GetPlanRevisionOK with default headers values

func (*GetPlanRevisionOK) Error

func (o *GetPlanRevisionOK) Error() string

func (*GetPlanRevisionOK) GetPayload

func (o *GetPlanRevisionOK) GetPayload() *lib.PlanDetails

type GetPlanRevisionParams

type GetPlanRevisionParams struct {

	// ID.
	ID string

	// RevID.
	RevID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlanRevisionParams contains all the parameters to send to the API endpoint

for the get plan revision operation.

Typically these are written to a http.Request.

func NewGetPlanRevisionParams

func NewGetPlanRevisionParams() *GetPlanRevisionParams

NewGetPlanRevisionParams creates a new GetPlanRevisionParams 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 NewGetPlanRevisionParamsWithContext

func NewGetPlanRevisionParamsWithContext(ctx context.Context) *GetPlanRevisionParams

NewGetPlanRevisionParamsWithContext creates a new GetPlanRevisionParams object with the ability to set a context for a request.

func NewGetPlanRevisionParamsWithHTTPClient

func NewGetPlanRevisionParamsWithHTTPClient(client *http.Client) *GetPlanRevisionParams

NewGetPlanRevisionParamsWithHTTPClient creates a new GetPlanRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlanRevisionParamsWithTimeout

func NewGetPlanRevisionParamsWithTimeout(timeout time.Duration) *GetPlanRevisionParams

NewGetPlanRevisionParamsWithTimeout creates a new GetPlanRevisionParams object with the ability to set a timeout on a request.

func (*GetPlanRevisionParams) SetContext

func (o *GetPlanRevisionParams) SetContext(ctx context.Context)

SetContext adds the context to the get plan revision params

func (*GetPlanRevisionParams) SetDefaults

func (o *GetPlanRevisionParams) SetDefaults()

SetDefaults hydrates default values in the get plan revision params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanRevisionParams) SetHTTPClient

func (o *GetPlanRevisionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get plan revision params

func (*GetPlanRevisionParams) SetID

func (o *GetPlanRevisionParams) SetID(id string)

SetID adds the id to the get plan revision params

func (*GetPlanRevisionParams) SetRevID

func (o *GetPlanRevisionParams) SetRevID(revID string)

SetRevID adds the revId to the get plan revision params

func (*GetPlanRevisionParams) SetTimeout

func (o *GetPlanRevisionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get plan revision params

func (*GetPlanRevisionParams) WithContext

WithContext adds the context to the get plan revision params

func (*GetPlanRevisionParams) WithDefaults

func (o *GetPlanRevisionParams) WithDefaults() *GetPlanRevisionParams

WithDefaults hydrates default values in the get plan revision params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanRevisionParams) WithHTTPClient

func (o *GetPlanRevisionParams) WithHTTPClient(client *http.Client) *GetPlanRevisionParams

WithHTTPClient adds the HTTPClient to the get plan revision params

func (*GetPlanRevisionParams) WithID

WithID adds the id to the get plan revision params

func (*GetPlanRevisionParams) WithRevID

func (o *GetPlanRevisionParams) WithRevID(revID string) *GetPlanRevisionParams

WithRevID adds the revID to the get plan revision params

func (*GetPlanRevisionParams) WithTimeout

func (o *GetPlanRevisionParams) WithTimeout(timeout time.Duration) *GetPlanRevisionParams

WithTimeout adds the timeout to the get plan revision params

func (*GetPlanRevisionParams) WriteToRequest

func (o *GetPlanRevisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPlanRevisionPracticeResponsesDefault

type GetPlanRevisionPracticeResponsesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetPlanRevisionPracticeResponsesDefault describes a response with status code -1, with default header values.

error

func NewGetPlanRevisionPracticeResponsesDefault

func NewGetPlanRevisionPracticeResponsesDefault(code int) *GetPlanRevisionPracticeResponsesDefault

NewGetPlanRevisionPracticeResponsesDefault creates a GetPlanRevisionPracticeResponsesDefault with default headers values

func (*GetPlanRevisionPracticeResponsesDefault) Code

Code gets the status code for the get plan revision practice responses default response

func (*GetPlanRevisionPracticeResponsesDefault) Error

func (*GetPlanRevisionPracticeResponsesDefault) GetPayload

type GetPlanRevisionPracticeResponsesOK

type GetPlanRevisionPracticeResponsesOK struct {
	Payload *lib.PlanResponses
}
GetPlanRevisionPracticeResponsesOK describes a response with status code 200, with default header values.

OK

func NewGetPlanRevisionPracticeResponsesOK

func NewGetPlanRevisionPracticeResponsesOK() *GetPlanRevisionPracticeResponsesOK

NewGetPlanRevisionPracticeResponsesOK creates a GetPlanRevisionPracticeResponsesOK with default headers values

func (*GetPlanRevisionPracticeResponsesOK) Error

func (*GetPlanRevisionPracticeResponsesOK) GetPayload

type GetPlanRevisionPracticeResponsesParams

type GetPlanRevisionPracticeResponsesParams struct {

	// ID.
	ID string

	// RevID.
	RevID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlanRevisionPracticeResponsesParams contains all the parameters to send to the API endpoint

for the get plan revision practice responses operation.

Typically these are written to a http.Request.

func NewGetPlanRevisionPracticeResponsesParams

func NewGetPlanRevisionPracticeResponsesParams() *GetPlanRevisionPracticeResponsesParams

NewGetPlanRevisionPracticeResponsesParams creates a new GetPlanRevisionPracticeResponsesParams 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 NewGetPlanRevisionPracticeResponsesParamsWithContext

func NewGetPlanRevisionPracticeResponsesParamsWithContext(ctx context.Context) *GetPlanRevisionPracticeResponsesParams

NewGetPlanRevisionPracticeResponsesParamsWithContext creates a new GetPlanRevisionPracticeResponsesParams object with the ability to set a context for a request.

func NewGetPlanRevisionPracticeResponsesParamsWithHTTPClient

func NewGetPlanRevisionPracticeResponsesParamsWithHTTPClient(client *http.Client) *GetPlanRevisionPracticeResponsesParams

NewGetPlanRevisionPracticeResponsesParamsWithHTTPClient creates a new GetPlanRevisionPracticeResponsesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlanRevisionPracticeResponsesParamsWithTimeout

func NewGetPlanRevisionPracticeResponsesParamsWithTimeout(timeout time.Duration) *GetPlanRevisionPracticeResponsesParams

NewGetPlanRevisionPracticeResponsesParamsWithTimeout creates a new GetPlanRevisionPracticeResponsesParams object with the ability to set a timeout on a request.

func (*GetPlanRevisionPracticeResponsesParams) SetContext

SetContext adds the context to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) SetDefaults

func (o *GetPlanRevisionPracticeResponsesParams) SetDefaults()

SetDefaults hydrates default values in the get plan revision practice responses params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanRevisionPracticeResponsesParams) SetHTTPClient

func (o *GetPlanRevisionPracticeResponsesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) SetID

SetID adds the id to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) SetRevID

SetRevID adds the revId to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) SetTimeout

func (o *GetPlanRevisionPracticeResponsesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) WithContext

WithContext adds the context to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) WithDefaults

WithDefaults hydrates default values in the get plan revision practice responses params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanRevisionPracticeResponsesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) WithID

WithID adds the id to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) WithRevID

WithRevID adds the revID to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) WithTimeout

WithTimeout adds the timeout to the get plan revision practice responses params

func (*GetPlanRevisionPracticeResponsesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlanRevisionPracticeResponsesReader

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

GetPlanRevisionPracticeResponsesReader is a Reader for the GetPlanRevisionPracticeResponses structure.

func (*GetPlanRevisionPracticeResponsesReader) ReadResponse

func (o *GetPlanRevisionPracticeResponsesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlanRevisionReader

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

GetPlanRevisionReader is a Reader for the GetPlanRevision structure.

func (*GetPlanRevisionReader) ReadResponse

func (o *GetPlanRevisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlanVersionsDefault

type GetPlanVersionsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetPlanVersionsDefault describes a response with status code -1, with default header values.

error

func NewGetPlanVersionsDefault

func NewGetPlanVersionsDefault(code int) *GetPlanVersionsDefault

NewGetPlanVersionsDefault creates a GetPlanVersionsDefault with default headers values

func (*GetPlanVersionsDefault) Code

func (o *GetPlanVersionsDefault) Code() int

Code gets the status code for the get plan versions default response

func (*GetPlanVersionsDefault) Error

func (o *GetPlanVersionsDefault) Error() string

func (*GetPlanVersionsDefault) GetPayload

func (o *GetPlanVersionsDefault) GetPayload() *models.Error

type GetPlanVersionsOK

type GetPlanVersionsOK struct {
	Payload []*models.RevisionVersion
}
GetPlanVersionsOK describes a response with status code 200, with default header values.

OK

func NewGetPlanVersionsOK

func NewGetPlanVersionsOK() *GetPlanVersionsOK

NewGetPlanVersionsOK creates a GetPlanVersionsOK with default headers values

func (*GetPlanVersionsOK) Error

func (o *GetPlanVersionsOK) Error() string

func (*GetPlanVersionsOK) GetPayload

func (o *GetPlanVersionsOK) GetPayload() []*models.RevisionVersion

type GetPlanVersionsParams

type GetPlanVersionsParams struct {

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlanVersionsParams contains all the parameters to send to the API endpoint

for the get plan versions operation.

Typically these are written to a http.Request.

func NewGetPlanVersionsParams

func NewGetPlanVersionsParams() *GetPlanVersionsParams

NewGetPlanVersionsParams creates a new GetPlanVersionsParams 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 NewGetPlanVersionsParamsWithContext

func NewGetPlanVersionsParamsWithContext(ctx context.Context) *GetPlanVersionsParams

NewGetPlanVersionsParamsWithContext creates a new GetPlanVersionsParams object with the ability to set a context for a request.

func NewGetPlanVersionsParamsWithHTTPClient

func NewGetPlanVersionsParamsWithHTTPClient(client *http.Client) *GetPlanVersionsParams

NewGetPlanVersionsParamsWithHTTPClient creates a new GetPlanVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlanVersionsParamsWithTimeout

func NewGetPlanVersionsParamsWithTimeout(timeout time.Duration) *GetPlanVersionsParams

NewGetPlanVersionsParamsWithTimeout creates a new GetPlanVersionsParams object with the ability to set a timeout on a request.

func (*GetPlanVersionsParams) SetContext

func (o *GetPlanVersionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get plan versions params

func (*GetPlanVersionsParams) SetDefaults

func (o *GetPlanVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get plan versions params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanVersionsParams) SetHTTPClient

func (o *GetPlanVersionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get plan versions params

func (*GetPlanVersionsParams) SetID

func (o *GetPlanVersionsParams) SetID(id string)

SetID adds the id to the get plan versions params

func (*GetPlanVersionsParams) SetTimeout

func (o *GetPlanVersionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get plan versions params

func (*GetPlanVersionsParams) WithContext

WithContext adds the context to the get plan versions params

func (*GetPlanVersionsParams) WithDefaults

func (o *GetPlanVersionsParams) WithDefaults() *GetPlanVersionsParams

WithDefaults hydrates default values in the get plan versions params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlanVersionsParams) WithHTTPClient

func (o *GetPlanVersionsParams) WithHTTPClient(client *http.Client) *GetPlanVersionsParams

WithHTTPClient adds the HTTPClient to the get plan versions params

func (*GetPlanVersionsParams) WithID

WithID adds the id to the get plan versions params

func (*GetPlanVersionsParams) WithTimeout

func (o *GetPlanVersionsParams) WithTimeout(timeout time.Duration) *GetPlanVersionsParams

WithTimeout adds the timeout to the get plan versions params

func (*GetPlanVersionsParams) WriteToRequest

func (o *GetPlanVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPlanVersionsReader

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

GetPlanVersionsReader is a Reader for the GetPlanVersions structure.

func (*GetPlanVersionsReader) ReadResponse

func (o *GetPlanVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPracticesDefault

type GetPracticesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetPracticesDefault describes a response with status code -1, with default header values.

error

func NewGetPracticesDefault

func NewGetPracticesDefault(code int) *GetPracticesDefault

NewGetPracticesDefault creates a GetPracticesDefault with default headers values

func (*GetPracticesDefault) Code

func (o *GetPracticesDefault) Code() int

Code gets the status code for the get practices default response

func (*GetPracticesDefault) Error

func (o *GetPracticesDefault) Error() string

func (*GetPracticesDefault) GetPayload

func (o *GetPracticesDefault) GetPayload() *models.Error

type GetPracticesOK

type GetPracticesOK struct {
	Payload *models.GotPractices
}
GetPracticesOK describes a response with status code 200, with default header values.

OK

func NewGetPracticesOK

func NewGetPracticesOK() *GetPracticesOK

NewGetPracticesOK creates a GetPracticesOK with default headers values

func (*GetPracticesOK) Error

func (o *GetPracticesOK) Error() string

func (*GetPracticesOK) GetPayload

func (o *GetPracticesOK) GetPayload() *models.GotPractices

type GetPracticesParams

type GetPracticesParams struct {

	/* Version.

	   The version, or the special value "latest".
	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPracticesParams contains all the parameters to send to the API endpoint

for the get practices operation.

Typically these are written to a http.Request.

func NewGetPracticesParams

func NewGetPracticesParams() *GetPracticesParams

NewGetPracticesParams creates a new GetPracticesParams 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 NewGetPracticesParamsWithContext

func NewGetPracticesParamsWithContext(ctx context.Context) *GetPracticesParams

NewGetPracticesParamsWithContext creates a new GetPracticesParams object with the ability to set a context for a request.

func NewGetPracticesParamsWithHTTPClient

func NewGetPracticesParamsWithHTTPClient(client *http.Client) *GetPracticesParams

NewGetPracticesParamsWithHTTPClient creates a new GetPracticesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPracticesParamsWithTimeout

func NewGetPracticesParamsWithTimeout(timeout time.Duration) *GetPracticesParams

NewGetPracticesParamsWithTimeout creates a new GetPracticesParams object with the ability to set a timeout on a request.

func (*GetPracticesParams) SetContext

func (o *GetPracticesParams) SetContext(ctx context.Context)

SetContext adds the context to the get practices params

func (*GetPracticesParams) SetDefaults

func (o *GetPracticesParams) SetDefaults()

SetDefaults hydrates default values in the get practices params (not the query body).

All values with no default are reset to their zero value.

func (*GetPracticesParams) SetHTTPClient

func (o *GetPracticesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get practices params

func (*GetPracticesParams) SetTimeout

func (o *GetPracticesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get practices params

func (*GetPracticesParams) SetVersion

func (o *GetPracticesParams) SetVersion(version string)

SetVersion adds the version to the get practices params

func (*GetPracticesParams) WithContext

WithContext adds the context to the get practices params

func (*GetPracticesParams) WithDefaults

func (o *GetPracticesParams) WithDefaults() *GetPracticesParams

WithDefaults hydrates default values in the get practices params (not the query body).

All values with no default are reset to their zero value.

func (*GetPracticesParams) WithHTTPClient

func (o *GetPracticesParams) WithHTTPClient(client *http.Client) *GetPracticesParams

WithHTTPClient adds the HTTPClient to the get practices params

func (*GetPracticesParams) WithTimeout

func (o *GetPracticesParams) WithTimeout(timeout time.Duration) *GetPracticesParams

WithTimeout adds the timeout to the get practices params

func (*GetPracticesParams) WithVersion

func (o *GetPracticesParams) WithVersion(version string) *GetPracticesParams

WithVersion adds the version to the get practices params

func (*GetPracticesParams) WriteToRequest

func (o *GetPracticesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPracticesReader

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

GetPracticesReader is a Reader for the GetPractices structure.

func (*GetPracticesReader) ReadResponse

func (o *GetPracticesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectDefault

type GetProjectDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
GetProjectDefault describes a response with status code -1, with default header values.

error

func NewGetProjectDefault

func NewGetProjectDefault(code int) *GetProjectDefault

NewGetProjectDefault creates a GetProjectDefault with default headers values

func (*GetProjectDefault) Code

func (o *GetProjectDefault) Code() int

Code gets the status code for the get project default response

func (*GetProjectDefault) Error

func (o *GetProjectDefault) Error() string

func (*GetProjectDefault) GetPayload

func (o *GetProjectDefault) GetPayload() *models.Error

type GetProjectOK

type GetProjectOK struct {
	Payload *models.Project
}
GetProjectOK describes a response with status code 200, with default header values.

OK

func NewGetProjectOK

func NewGetProjectOK() *GetProjectOK

NewGetProjectOK creates a GetProjectOK with default headers values

func (*GetProjectOK) Error

func (o *GetProjectOK) Error() string

func (*GetProjectOK) GetPayload

func (o *GetProjectOK) GetPayload() *models.Project

type GetProjectParams

type GetProjectParams struct {

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectParams contains all the parameters to send to the API endpoint

for the get project operation.

Typically these are written to a http.Request.

func NewGetProjectParams

func NewGetProjectParams() *GetProjectParams

NewGetProjectParams creates a new GetProjectParams 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 NewGetProjectParamsWithContext

func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams

NewGetProjectParamsWithContext creates a new GetProjectParams object with the ability to set a context for a request.

func NewGetProjectParamsWithHTTPClient

func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams

NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectParamsWithTimeout

func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams

NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the ability to set a timeout on a request.

func (*GetProjectParams) SetContext

func (o *GetProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the get project params

func (*GetProjectParams) SetDefaults

func (o *GetProjectParams) SetDefaults()

SetDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectParams) SetHTTPClient

func (o *GetProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project params

func (*GetProjectParams) SetID

func (o *GetProjectParams) SetID(id string)

SetID adds the id to the get project params

func (*GetProjectParams) SetTimeout

func (o *GetProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project params

func (*GetProjectParams) WithContext

func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams

WithContext adds the context to the get project params

func (*GetProjectParams) WithDefaults

func (o *GetProjectParams) WithDefaults() *GetProjectParams

WithDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectParams) WithHTTPClient

func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams

WithHTTPClient adds the HTTPClient to the get project params

func (*GetProjectParams) WithID

func (o *GetProjectParams) WithID(id string) *GetProjectParams

WithID adds the id to the get project params

func (*GetProjectParams) WithTimeout

func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams

WithTimeout adds the timeout to the get project params

func (*GetProjectParams) WriteToRequest

func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetProjectReader

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

GetProjectReader is a Reader for the GetProject structure.

func (*GetProjectReader) ReadResponse

func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListPracticesVersionsDefault

type ListPracticesVersionsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
ListPracticesVersionsDefault describes a response with status code -1, with default header values.

error

func NewListPracticesVersionsDefault

func NewListPracticesVersionsDefault(code int) *ListPracticesVersionsDefault

NewListPracticesVersionsDefault creates a ListPracticesVersionsDefault with default headers values

func (*ListPracticesVersionsDefault) Code

Code gets the status code for the list practices versions default response

func (*ListPracticesVersionsDefault) Error

func (*ListPracticesVersionsDefault) GetPayload

func (o *ListPracticesVersionsDefault) GetPayload() *models.Error

type ListPracticesVersionsOK

type ListPracticesVersionsOK struct {
	Payload []string
}
ListPracticesVersionsOK describes a response with status code 200, with default header values.

OK

func NewListPracticesVersionsOK

func NewListPracticesVersionsOK() *ListPracticesVersionsOK

NewListPracticesVersionsOK creates a ListPracticesVersionsOK with default headers values

func (*ListPracticesVersionsOK) Error

func (o *ListPracticesVersionsOK) Error() string

func (*ListPracticesVersionsOK) GetPayload

func (o *ListPracticesVersionsOK) GetPayload() []string

type ListPracticesVersionsParams

type ListPracticesVersionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPracticesVersionsParams contains all the parameters to send to the API endpoint

for the list practices versions operation.

Typically these are written to a http.Request.

func NewListPracticesVersionsParams

func NewListPracticesVersionsParams() *ListPracticesVersionsParams

NewListPracticesVersionsParams creates a new ListPracticesVersionsParams 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 NewListPracticesVersionsParamsWithContext

func NewListPracticesVersionsParamsWithContext(ctx context.Context) *ListPracticesVersionsParams

NewListPracticesVersionsParamsWithContext creates a new ListPracticesVersionsParams object with the ability to set a context for a request.

func NewListPracticesVersionsParamsWithHTTPClient

func NewListPracticesVersionsParamsWithHTTPClient(client *http.Client) *ListPracticesVersionsParams

NewListPracticesVersionsParamsWithHTTPClient creates a new ListPracticesVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewListPracticesVersionsParamsWithTimeout

func NewListPracticesVersionsParamsWithTimeout(timeout time.Duration) *ListPracticesVersionsParams

NewListPracticesVersionsParamsWithTimeout creates a new ListPracticesVersionsParams object with the ability to set a timeout on a request.

func (*ListPracticesVersionsParams) SetContext

func (o *ListPracticesVersionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list practices versions params

func (*ListPracticesVersionsParams) SetDefaults

func (o *ListPracticesVersionsParams) SetDefaults()

SetDefaults hydrates default values in the list practices versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListPracticesVersionsParams) SetHTTPClient

func (o *ListPracticesVersionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list practices versions params

func (*ListPracticesVersionsParams) SetTimeout

func (o *ListPracticesVersionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list practices versions params

func (*ListPracticesVersionsParams) WithContext

WithContext adds the context to the list practices versions params

func (*ListPracticesVersionsParams) WithDefaults

WithDefaults hydrates default values in the list practices versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListPracticesVersionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list practices versions params

func (*ListPracticesVersionsParams) WithTimeout

WithTimeout adds the timeout to the list practices versions params

func (*ListPracticesVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPracticesVersionsReader

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

ListPracticesVersionsReader is a Reader for the ListPracticesVersions structure.

func (*ListPracticesVersionsReader) ReadResponse

func (o *ListPracticesVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProjectsDefault

type ListProjectsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
ListProjectsDefault describes a response with status code -1, with default header values.

error

func NewListProjectsDefault

func NewListProjectsDefault(code int) *ListProjectsDefault

NewListProjectsDefault creates a ListProjectsDefault with default headers values

func (*ListProjectsDefault) Code

func (o *ListProjectsDefault) Code() int

Code gets the status code for the list projects default response

func (*ListProjectsDefault) Error

func (o *ListProjectsDefault) Error() string

func (*ListProjectsDefault) GetPayload

func (o *ListProjectsDefault) GetPayload() *models.Error

type ListProjectsOK

type ListProjectsOK struct {
	Payload []*models.Project
}
ListProjectsOK describes a response with status code 200, with default header values.

OK

func NewListProjectsOK

func NewListProjectsOK() *ListProjectsOK

NewListProjectsOK creates a ListProjectsOK with default headers values

func (*ListProjectsOK) Error

func (o *ListProjectsOK) Error() string

func (*ListProjectsOK) GetPayload

func (o *ListProjectsOK) GetPayload() []*models.Project

type ListProjectsParams

type ListProjectsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectsParams contains all the parameters to send to the API endpoint

for the list projects operation.

Typically these are written to a http.Request.

func NewListProjectsParams

func NewListProjectsParams() *ListProjectsParams

NewListProjectsParams creates a new ListProjectsParams 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 NewListProjectsParamsWithContext

func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams

NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.

func NewListProjectsParamsWithHTTPClient

func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams

NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectsParamsWithTimeout

func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams

NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.

func (*ListProjectsParams) SetContext

func (o *ListProjectsParams) SetContext(ctx context.Context)

SetContext adds the context to the list projects params

func (*ListProjectsParams) SetDefaults

func (o *ListProjectsParams) SetDefaults()

SetDefaults hydrates default values in the list projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectsParams) SetHTTPClient

func (o *ListProjectsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list projects params

func (*ListProjectsParams) SetTimeout

func (o *ListProjectsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list projects params

func (*ListProjectsParams) WithContext

WithContext adds the context to the list projects params

func (*ListProjectsParams) WithDefaults

func (o *ListProjectsParams) WithDefaults() *ListProjectsParams

WithDefaults hydrates default values in the list projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectsParams) WithHTTPClient

func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams

WithHTTPClient adds the HTTPClient to the list projects params

func (*ListProjectsParams) WithTimeout

func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams

WithTimeout adds the timeout to the list projects params

func (*ListProjectsParams) WriteToRequest

func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListProjectsReader

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

ListProjectsReader is a Reader for the ListProjects structure.

func (*ListProjectsReader) ReadResponse

func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type LoggedInDefault

type LoggedInDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
LoggedInDefault describes a response with status code -1, with default header values.

No access, access requested, invalid ID token, or internal error

func NewLoggedInDefault

func NewLoggedInDefault(code int) *LoggedInDefault

NewLoggedInDefault creates a LoggedInDefault with default headers values

func (*LoggedInDefault) Code

func (o *LoggedInDefault) Code() int

Code gets the status code for the logged in default response

func (*LoggedInDefault) Error

func (o *LoggedInDefault) Error() string

func (*LoggedInDefault) GetPayload

func (o *LoggedInDefault) GetPayload() *models.Error

type LoggedInOK

type LoggedInOK struct {
}
LoggedInOK describes a response with status code 200, with default header values.

OK

func NewLoggedInOK

func NewLoggedInOK() *LoggedInOK

NewLoggedInOK creates a LoggedInOK with default headers values

func (*LoggedInOK) Error

func (o *LoggedInOK) Error() string

type LoggedInParams

type LoggedInParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

LoggedInParams contains all the parameters to send to the API endpoint

for the logged in operation.

Typically these are written to a http.Request.

func NewLoggedInParams

func NewLoggedInParams() *LoggedInParams

NewLoggedInParams creates a new LoggedInParams 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 NewLoggedInParamsWithContext

func NewLoggedInParamsWithContext(ctx context.Context) *LoggedInParams

NewLoggedInParamsWithContext creates a new LoggedInParams object with the ability to set a context for a request.

func NewLoggedInParamsWithHTTPClient

func NewLoggedInParamsWithHTTPClient(client *http.Client) *LoggedInParams

NewLoggedInParamsWithHTTPClient creates a new LoggedInParams object with the ability to set a custom HTTPClient for a request.

func NewLoggedInParamsWithTimeout

func NewLoggedInParamsWithTimeout(timeout time.Duration) *LoggedInParams

NewLoggedInParamsWithTimeout creates a new LoggedInParams object with the ability to set a timeout on a request.

func (*LoggedInParams) SetContext

func (o *LoggedInParams) SetContext(ctx context.Context)

SetContext adds the context to the logged in params

func (*LoggedInParams) SetDefaults

func (o *LoggedInParams) SetDefaults()

SetDefaults hydrates default values in the logged in params (not the query body).

All values with no default are reset to their zero value.

func (*LoggedInParams) SetHTTPClient

func (o *LoggedInParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the logged in params

func (*LoggedInParams) SetTimeout

func (o *LoggedInParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the logged in params

func (*LoggedInParams) WithContext

func (o *LoggedInParams) WithContext(ctx context.Context) *LoggedInParams

WithContext adds the context to the logged in params

func (*LoggedInParams) WithDefaults

func (o *LoggedInParams) WithDefaults() *LoggedInParams

WithDefaults hydrates default values in the logged in params (not the query body).

All values with no default are reset to their zero value.

func (*LoggedInParams) WithHTTPClient

func (o *LoggedInParams) WithHTTPClient(client *http.Client) *LoggedInParams

WithHTTPClient adds the HTTPClient to the logged in params

func (*LoggedInParams) WithTimeout

func (o *LoggedInParams) WithTimeout(timeout time.Duration) *LoggedInParams

WithTimeout adds the timeout to the logged in params

func (*LoggedInParams) WriteToRequest

func (o *LoggedInParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LoggedInReader

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

LoggedInReader is a Reader for the LoggedIn structure.

func (*LoggedInReader) ReadResponse

func (o *LoggedInReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateProjectDefault

type UpdateProjectDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}
UpdateProjectDefault describes a response with status code -1, with default header values.

error

func NewUpdateProjectDefault

func NewUpdateProjectDefault(code int) *UpdateProjectDefault

NewUpdateProjectDefault creates a UpdateProjectDefault with default headers values

func (*UpdateProjectDefault) Code

func (o *UpdateProjectDefault) Code() int

Code gets the status code for the update project default response

func (*UpdateProjectDefault) Error

func (o *UpdateProjectDefault) Error() string

func (*UpdateProjectDefault) GetPayload

func (o *UpdateProjectDefault) GetPayload() *models.Error

type UpdateProjectOK

type UpdateProjectOK struct {
}
UpdateProjectOK describes a response with status code 200, with default header values.

OK

func NewUpdateProjectOK

func NewUpdateProjectOK() *UpdateProjectOK

NewUpdateProjectOK creates a UpdateProjectOK with default headers values

func (*UpdateProjectOK) Error

func (o *UpdateProjectOK) Error() string

type UpdateProjectParams

type UpdateProjectParams struct {

	// Body.
	Body *models.ProjectDetails

	// ID.
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateProjectParams contains all the parameters to send to the API endpoint

for the update project operation.

Typically these are written to a http.Request.

func NewUpdateProjectParams

func NewUpdateProjectParams() *UpdateProjectParams

NewUpdateProjectParams creates a new UpdateProjectParams 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 NewUpdateProjectParamsWithContext

func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams

NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the ability to set a context for a request.

func NewUpdateProjectParamsWithHTTPClient

func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams

NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProjectParamsWithTimeout

func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams

NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the ability to set a timeout on a request.

func (*UpdateProjectParams) SetBody

func (o *UpdateProjectParams) SetBody(body *models.ProjectDetails)

SetBody adds the body to the update project params

func (*UpdateProjectParams) SetContext

func (o *UpdateProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the update project params

func (*UpdateProjectParams) SetDefaults

func (o *UpdateProjectParams) SetDefaults()

SetDefaults hydrates default values in the update project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectParams) SetHTTPClient

func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) SetID

func (o *UpdateProjectParams) SetID(id string)

SetID adds the id to the update project params

func (*UpdateProjectParams) SetTimeout

func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update project params

func (*UpdateProjectParams) WithBody

WithBody adds the body to the update project params

func (*UpdateProjectParams) WithContext

WithContext adds the context to the update project params

func (*UpdateProjectParams) WithDefaults

func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams

WithDefaults hydrates default values in the update project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectParams) WithHTTPClient

func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams

WithHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) WithID

WithID adds the id to the update project params

func (*UpdateProjectParams) WithTimeout

func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams

WithTimeout adds the timeout to the update project params

func (*UpdateProjectParams) WriteToRequest

func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateProjectReader

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

UpdateProjectReader is a Reader for the UpdateProject structure.

func (*UpdateProjectReader) ReadResponse

func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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