participant

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 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 participant API

func (*Client) ProjectParticipantGet

func (a *Client) ProjectParticipantGet(params *ProjectParticipantGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectParticipantGetOK, error)

ProjectParticipantGet bs e t a find project participant by ID

func (*Client) ProjectParticipantListDeleteByIds

func (a *Client) ProjectParticipantListDeleteByIds(params *ProjectParticipantListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

ProjectParticipantListDeleteByIds bs e t a delete project participants

func (*Client) ProjectParticipantListPostList

ProjectParticipantListPostList bs e t a add new project participant multiple project participants can be sent in the same request

func (*Client) ProjectParticipantPost

ProjectParticipantPost bs e t a add new project participant

func (*Client) ProjectParticipantPut

func (a *Client) ProjectParticipantPut(params *ProjectParticipantPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectParticipantPutOK, error)

ProjectParticipantPut bs e t a update project participant

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ProjectParticipantListDeleteByIds(params *ProjectParticipantListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	ProjectParticipantListPostList(params *ProjectParticipantListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectParticipantListPostListCreated, error)

	ProjectParticipantGet(params *ProjectParticipantGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectParticipantGetOK, error)

	ProjectParticipantPost(params *ProjectParticipantPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectParticipantPostCreated, error)

	ProjectParticipantPut(params *ProjectParticipantPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectParticipantPutOK, 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 participant API client.

type ProjectParticipantGetOK

type ProjectParticipantGetOK struct {
	Payload *models.ResponseWrapperProjectParticipant
}

ProjectParticipantGetOK handles this case with default header values.

successful operation

func NewProjectParticipantGetOK

func NewProjectParticipantGetOK() *ProjectParticipantGetOK

NewProjectParticipantGetOK creates a ProjectParticipantGetOK with default headers values

func (*ProjectParticipantGetOK) Error

func (o *ProjectParticipantGetOK) Error() string

func (*ProjectParticipantGetOK) GetPayload

type ProjectParticipantGetParams

type ProjectParticipantGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

ProjectParticipantGetParams contains all the parameters to send to the API endpoint for the project participant get operation typically these are written to a http.Request

func NewProjectParticipantGetParams

func NewProjectParticipantGetParams() *ProjectParticipantGetParams

NewProjectParticipantGetParams creates a new ProjectParticipantGetParams object with the default values initialized.

func NewProjectParticipantGetParamsWithContext

func NewProjectParticipantGetParamsWithContext(ctx context.Context) *ProjectParticipantGetParams

NewProjectParticipantGetParamsWithContext creates a new ProjectParticipantGetParams object with the default values initialized, and the ability to set a context for a request

func NewProjectParticipantGetParamsWithHTTPClient

func NewProjectParticipantGetParamsWithHTTPClient(client *http.Client) *ProjectParticipantGetParams

NewProjectParticipantGetParamsWithHTTPClient creates a new ProjectParticipantGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectParticipantGetParamsWithTimeout

func NewProjectParticipantGetParamsWithTimeout(timeout time.Duration) *ProjectParticipantGetParams

NewProjectParticipantGetParamsWithTimeout creates a new ProjectParticipantGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectParticipantGetParams) SetContext

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

SetContext adds the context to the project participant get params

func (*ProjectParticipantGetParams) SetFields

func (o *ProjectParticipantGetParams) SetFields(fields *string)

SetFields adds the fields to the project participant get params

func (*ProjectParticipantGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project participant get params

func (*ProjectParticipantGetParams) SetID

func (o *ProjectParticipantGetParams) SetID(id int32)

SetID adds the id to the project participant get params

func (*ProjectParticipantGetParams) SetTimeout

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

SetTimeout adds the timeout to the project participant get params

func (*ProjectParticipantGetParams) WithContext

WithContext adds the context to the project participant get params

func (*ProjectParticipantGetParams) WithFields

WithFields adds the fields to the project participant get params

func (*ProjectParticipantGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project participant get params

func (*ProjectParticipantGetParams) WithID

WithID adds the id to the project participant get params

func (*ProjectParticipantGetParams) WithTimeout

WithTimeout adds the timeout to the project participant get params

func (*ProjectParticipantGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectParticipantGetReader

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

ProjectParticipantGetReader is a Reader for the ProjectParticipantGet structure.

func (*ProjectParticipantGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectParticipantListDeleteByIdsDefault

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

ProjectParticipantListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewProjectParticipantListDeleteByIdsDefault

func NewProjectParticipantListDeleteByIdsDefault(code int) *ProjectParticipantListDeleteByIdsDefault

NewProjectParticipantListDeleteByIdsDefault creates a ProjectParticipantListDeleteByIdsDefault with default headers values

func (*ProjectParticipantListDeleteByIdsDefault) Code

Code gets the status code for the project participant list delete by ids default response

func (*ProjectParticipantListDeleteByIdsDefault) Error

type ProjectParticipantListDeleteByIdsParams

type ProjectParticipantListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

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

ProjectParticipantListDeleteByIdsParams contains all the parameters to send to the API endpoint for the project participant list delete by ids operation typically these are written to a http.Request

func NewProjectParticipantListDeleteByIdsParams

func NewProjectParticipantListDeleteByIdsParams() *ProjectParticipantListDeleteByIdsParams

NewProjectParticipantListDeleteByIdsParams creates a new ProjectParticipantListDeleteByIdsParams object with the default values initialized.

func NewProjectParticipantListDeleteByIdsParamsWithContext

func NewProjectParticipantListDeleteByIdsParamsWithContext(ctx context.Context) *ProjectParticipantListDeleteByIdsParams

NewProjectParticipantListDeleteByIdsParamsWithContext creates a new ProjectParticipantListDeleteByIdsParams object with the default values initialized, and the ability to set a context for a request

func NewProjectParticipantListDeleteByIdsParamsWithHTTPClient

func NewProjectParticipantListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProjectParticipantListDeleteByIdsParams

NewProjectParticipantListDeleteByIdsParamsWithHTTPClient creates a new ProjectParticipantListDeleteByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectParticipantListDeleteByIdsParamsWithTimeout

func NewProjectParticipantListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProjectParticipantListDeleteByIdsParams

NewProjectParticipantListDeleteByIdsParamsWithTimeout creates a new ProjectParticipantListDeleteByIdsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectParticipantListDeleteByIdsParams) SetContext

SetContext adds the context to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) SetIds

SetIds adds the ids to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) SetTimeout

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

SetTimeout adds the timeout to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) WithContext

WithContext adds the context to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) WithIds

WithIds adds the ids to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) WithTimeout

WithTimeout adds the timeout to the project participant list delete by ids params

func (*ProjectParticipantListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectParticipantListDeleteByIdsReader

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

ProjectParticipantListDeleteByIdsReader is a Reader for the ProjectParticipantListDeleteByIds structure.

func (*ProjectParticipantListDeleteByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectParticipantListPostListCreated

type ProjectParticipantListPostListCreated struct {
	Payload *models.ListResponseProjectParticipant
}

ProjectParticipantListPostListCreated handles this case with default header values.

successfully created

func NewProjectParticipantListPostListCreated

func NewProjectParticipantListPostListCreated() *ProjectParticipantListPostListCreated

NewProjectParticipantListPostListCreated creates a ProjectParticipantListPostListCreated with default headers values

func (*ProjectParticipantListPostListCreated) Error

func (*ProjectParticipantListPostListCreated) GetPayload

type ProjectParticipantListPostListParams

type ProjectParticipantListPostListParams struct {

	/*Body
	  JSON representing a list of new object to be created. Should not have ID and version set.

	*/
	Body []*models.ProjectParticipant

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

ProjectParticipantListPostListParams contains all the parameters to send to the API endpoint for the project participant list post list operation typically these are written to a http.Request

func NewProjectParticipantListPostListParams

func NewProjectParticipantListPostListParams() *ProjectParticipantListPostListParams

NewProjectParticipantListPostListParams creates a new ProjectParticipantListPostListParams object with the default values initialized.

func NewProjectParticipantListPostListParamsWithContext

func NewProjectParticipantListPostListParamsWithContext(ctx context.Context) *ProjectParticipantListPostListParams

NewProjectParticipantListPostListParamsWithContext creates a new ProjectParticipantListPostListParams object with the default values initialized, and the ability to set a context for a request

func NewProjectParticipantListPostListParamsWithHTTPClient

func NewProjectParticipantListPostListParamsWithHTTPClient(client *http.Client) *ProjectParticipantListPostListParams

NewProjectParticipantListPostListParamsWithHTTPClient creates a new ProjectParticipantListPostListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectParticipantListPostListParamsWithTimeout

func NewProjectParticipantListPostListParamsWithTimeout(timeout time.Duration) *ProjectParticipantListPostListParams

NewProjectParticipantListPostListParamsWithTimeout creates a new ProjectParticipantListPostListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectParticipantListPostListParams) SetBody

SetBody adds the body to the project participant list post list params

func (*ProjectParticipantListPostListParams) SetContext

SetContext adds the context to the project participant list post list params

func (*ProjectParticipantListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project participant list post list params

func (*ProjectParticipantListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the project participant list post list params

func (*ProjectParticipantListPostListParams) WithBody

WithBody adds the body to the project participant list post list params

func (*ProjectParticipantListPostListParams) WithContext

WithContext adds the context to the project participant list post list params

func (*ProjectParticipantListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project participant list post list params

func (*ProjectParticipantListPostListParams) WithTimeout

WithTimeout adds the timeout to the project participant list post list params

func (*ProjectParticipantListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectParticipantListPostListReader

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

ProjectParticipantListPostListReader is a Reader for the ProjectParticipantListPostList structure.

func (*ProjectParticipantListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectParticipantPostCreated

type ProjectParticipantPostCreated struct {
	Payload *models.ResponseWrapperProjectParticipant
}

ProjectParticipantPostCreated handles this case with default header values.

successfully created

func NewProjectParticipantPostCreated

func NewProjectParticipantPostCreated() *ProjectParticipantPostCreated

NewProjectParticipantPostCreated creates a ProjectParticipantPostCreated with default headers values

func (*ProjectParticipantPostCreated) Error

func (*ProjectParticipantPostCreated) GetPayload

type ProjectParticipantPostParams

type ProjectParticipantPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.ProjectParticipant

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

ProjectParticipantPostParams contains all the parameters to send to the API endpoint for the project participant post operation typically these are written to a http.Request

func NewProjectParticipantPostParams

func NewProjectParticipantPostParams() *ProjectParticipantPostParams

NewProjectParticipantPostParams creates a new ProjectParticipantPostParams object with the default values initialized.

func NewProjectParticipantPostParamsWithContext

func NewProjectParticipantPostParamsWithContext(ctx context.Context) *ProjectParticipantPostParams

NewProjectParticipantPostParamsWithContext creates a new ProjectParticipantPostParams object with the default values initialized, and the ability to set a context for a request

func NewProjectParticipantPostParamsWithHTTPClient

func NewProjectParticipantPostParamsWithHTTPClient(client *http.Client) *ProjectParticipantPostParams

NewProjectParticipantPostParamsWithHTTPClient creates a new ProjectParticipantPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectParticipantPostParamsWithTimeout

func NewProjectParticipantPostParamsWithTimeout(timeout time.Duration) *ProjectParticipantPostParams

NewProjectParticipantPostParamsWithTimeout creates a new ProjectParticipantPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectParticipantPostParams) SetBody

SetBody adds the body to the project participant post params

func (*ProjectParticipantPostParams) SetContext

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

SetContext adds the context to the project participant post params

func (*ProjectParticipantPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project participant post params

func (*ProjectParticipantPostParams) SetTimeout

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

SetTimeout adds the timeout to the project participant post params

func (*ProjectParticipantPostParams) WithBody

WithBody adds the body to the project participant post params

func (*ProjectParticipantPostParams) WithContext

WithContext adds the context to the project participant post params

func (*ProjectParticipantPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project participant post params

func (*ProjectParticipantPostParams) WithTimeout

WithTimeout adds the timeout to the project participant post params

func (*ProjectParticipantPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectParticipantPostReader

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

ProjectParticipantPostReader is a Reader for the ProjectParticipantPost structure.

func (*ProjectParticipantPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectParticipantPutOK

type ProjectParticipantPutOK struct {
	Payload *models.ResponseWrapperProjectParticipant
}

ProjectParticipantPutOK handles this case with default header values.

successful operation

func NewProjectParticipantPutOK

func NewProjectParticipantPutOK() *ProjectParticipantPutOK

NewProjectParticipantPutOK creates a ProjectParticipantPutOK with default headers values

func (*ProjectParticipantPutOK) Error

func (o *ProjectParticipantPutOK) Error() string

func (*ProjectParticipantPutOK) GetPayload

type ProjectParticipantPutParams

type ProjectParticipantPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.ProjectParticipant
	/*ID
	  Element ID

	*/
	ID int32

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

ProjectParticipantPutParams contains all the parameters to send to the API endpoint for the project participant put operation typically these are written to a http.Request

func NewProjectParticipantPutParams

func NewProjectParticipantPutParams() *ProjectParticipantPutParams

NewProjectParticipantPutParams creates a new ProjectParticipantPutParams object with the default values initialized.

func NewProjectParticipantPutParamsWithContext

func NewProjectParticipantPutParamsWithContext(ctx context.Context) *ProjectParticipantPutParams

NewProjectParticipantPutParamsWithContext creates a new ProjectParticipantPutParams object with the default values initialized, and the ability to set a context for a request

func NewProjectParticipantPutParamsWithHTTPClient

func NewProjectParticipantPutParamsWithHTTPClient(client *http.Client) *ProjectParticipantPutParams

NewProjectParticipantPutParamsWithHTTPClient creates a new ProjectParticipantPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectParticipantPutParamsWithTimeout

func NewProjectParticipantPutParamsWithTimeout(timeout time.Duration) *ProjectParticipantPutParams

NewProjectParticipantPutParamsWithTimeout creates a new ProjectParticipantPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectParticipantPutParams) SetBody

SetBody adds the body to the project participant put params

func (*ProjectParticipantPutParams) SetContext

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

SetContext adds the context to the project participant put params

func (*ProjectParticipantPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project participant put params

func (*ProjectParticipantPutParams) SetID

func (o *ProjectParticipantPutParams) SetID(id int32)

SetID adds the id to the project participant put params

func (*ProjectParticipantPutParams) SetTimeout

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

SetTimeout adds the timeout to the project participant put params

func (*ProjectParticipantPutParams) WithBody

WithBody adds the body to the project participant put params

func (*ProjectParticipantPutParams) WithContext

WithContext adds the context to the project participant put params

func (*ProjectParticipantPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project participant put params

func (*ProjectParticipantPutParams) WithID

WithID adds the id to the project participant put params

func (*ProjectParticipantPutParams) WithTimeout

WithTimeout adds the timeout to the project participant put params

func (*ProjectParticipantPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectParticipantPutReader

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

ProjectParticipantPutReader is a Reader for the ProjectParticipantPut structure.

func (*ProjectParticipantPutReader) ReadResponse

func (o *ProjectParticipantPutReader) 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