project_activity

package
v2.0.1 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 project activity API

func (*Client) ProjectProjectActivityDelete

func (a *Client) ProjectProjectActivityDelete(params *ProjectProjectActivityDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

ProjectProjectActivityDelete deletes project activity

func (*Client) ProjectProjectActivityGet

func (a *Client) ProjectProjectActivityGet(params *ProjectProjectActivityGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectProjectActivityGetOK, error)

ProjectProjectActivityGet finds project activity by id

func (*Client) ProjectProjectActivityListDeleteByIds

func (a *Client) ProjectProjectActivityListDeleteByIds(params *ProjectProjectActivityListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

ProjectProjectActivityListDeleteByIds deletes project activities

func (*Client) ProjectProjectActivityPost

ProjectProjectActivityPost adds project activity

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ProjectProjectActivityListDeleteByIds(params *ProjectProjectActivityListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	ProjectProjectActivityDelete(params *ProjectProjectActivityDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	ProjectProjectActivityGet(params *ProjectProjectActivityGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectProjectActivityGetOK, error)

	ProjectProjectActivityPost(params *ProjectProjectActivityPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectProjectActivityPostCreated, 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 project activity API client.

type ProjectProjectActivityDeleteDefault

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

ProjectProjectActivityDeleteDefault handles this case with default header values.

successful operation

func NewProjectProjectActivityDeleteDefault

func NewProjectProjectActivityDeleteDefault(code int) *ProjectProjectActivityDeleteDefault

NewProjectProjectActivityDeleteDefault creates a ProjectProjectActivityDeleteDefault with default headers values

func (*ProjectProjectActivityDeleteDefault) Code

Code gets the status code for the project project activity delete default response

func (*ProjectProjectActivityDeleteDefault) Error

type ProjectProjectActivityDeleteParams

type ProjectProjectActivityDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

ProjectProjectActivityDeleteParams contains all the parameters to send to the API endpoint for the project project activity delete operation typically these are written to a http.Request

func NewProjectProjectActivityDeleteParams

func NewProjectProjectActivityDeleteParams() *ProjectProjectActivityDeleteParams

NewProjectProjectActivityDeleteParams creates a new ProjectProjectActivityDeleteParams object with the default values initialized.

func NewProjectProjectActivityDeleteParamsWithContext

func NewProjectProjectActivityDeleteParamsWithContext(ctx context.Context) *ProjectProjectActivityDeleteParams

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

func NewProjectProjectActivityDeleteParamsWithHTTPClient

func NewProjectProjectActivityDeleteParamsWithHTTPClient(client *http.Client) *ProjectProjectActivityDeleteParams

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

func NewProjectProjectActivityDeleteParamsWithTimeout

func NewProjectProjectActivityDeleteParamsWithTimeout(timeout time.Duration) *ProjectProjectActivityDeleteParams

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

func (*ProjectProjectActivityDeleteParams) SetContext

SetContext adds the context to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) SetID

SetID adds the id to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) WithContext

WithContext adds the context to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) WithID

WithID adds the id to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) WithTimeout

WithTimeout adds the timeout to the project project activity delete params

func (*ProjectProjectActivityDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectProjectActivityDeleteReader

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

ProjectProjectActivityDeleteReader is a Reader for the ProjectProjectActivityDelete structure.

func (*ProjectProjectActivityDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectProjectActivityGetOK

type ProjectProjectActivityGetOK struct {
	Payload *models.ResponseWrapperProjectActivity
}

ProjectProjectActivityGetOK handles this case with default header values.

successful operation

func NewProjectProjectActivityGetOK

func NewProjectProjectActivityGetOK() *ProjectProjectActivityGetOK

NewProjectProjectActivityGetOK creates a ProjectProjectActivityGetOK with default headers values

func (*ProjectProjectActivityGetOK) Error

func (*ProjectProjectActivityGetOK) GetPayload

type ProjectProjectActivityGetParams

type ProjectProjectActivityGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewProjectProjectActivityGetParams

func NewProjectProjectActivityGetParams() *ProjectProjectActivityGetParams

NewProjectProjectActivityGetParams creates a new ProjectProjectActivityGetParams object with the default values initialized.

func NewProjectProjectActivityGetParamsWithContext

func NewProjectProjectActivityGetParamsWithContext(ctx context.Context) *ProjectProjectActivityGetParams

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

func NewProjectProjectActivityGetParamsWithHTTPClient

func NewProjectProjectActivityGetParamsWithHTTPClient(client *http.Client) *ProjectProjectActivityGetParams

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

func NewProjectProjectActivityGetParamsWithTimeout

func NewProjectProjectActivityGetParamsWithTimeout(timeout time.Duration) *ProjectProjectActivityGetParams

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

func (*ProjectProjectActivityGetParams) SetContext

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

SetContext adds the context to the project project activity get params

func (*ProjectProjectActivityGetParams) SetFields

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

SetFields adds the fields to the project project activity get params

func (*ProjectProjectActivityGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project project activity get params

func (*ProjectProjectActivityGetParams) SetID

SetID adds the id to the project project activity get params

func (*ProjectProjectActivityGetParams) SetTimeout

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

SetTimeout adds the timeout to the project project activity get params

func (*ProjectProjectActivityGetParams) WithContext

WithContext adds the context to the project project activity get params

func (*ProjectProjectActivityGetParams) WithFields

WithFields adds the fields to the project project activity get params

func (*ProjectProjectActivityGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project project activity get params

func (*ProjectProjectActivityGetParams) WithID

WithID adds the id to the project project activity get params

func (*ProjectProjectActivityGetParams) WithTimeout

WithTimeout adds the timeout to the project project activity get params

func (*ProjectProjectActivityGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectProjectActivityGetReader

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

ProjectProjectActivityGetReader is a Reader for the ProjectProjectActivityGet structure.

func (*ProjectProjectActivityGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectProjectActivityListDeleteByIdsDefault

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

ProjectProjectActivityListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewProjectProjectActivityListDeleteByIdsDefault

func NewProjectProjectActivityListDeleteByIdsDefault(code int) *ProjectProjectActivityListDeleteByIdsDefault

NewProjectProjectActivityListDeleteByIdsDefault creates a ProjectProjectActivityListDeleteByIdsDefault with default headers values

func (*ProjectProjectActivityListDeleteByIdsDefault) Code

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

func (*ProjectProjectActivityListDeleteByIdsDefault) Error

type ProjectProjectActivityListDeleteByIdsParams

type ProjectProjectActivityListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

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

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

func NewProjectProjectActivityListDeleteByIdsParams

func NewProjectProjectActivityListDeleteByIdsParams() *ProjectProjectActivityListDeleteByIdsParams

NewProjectProjectActivityListDeleteByIdsParams creates a new ProjectProjectActivityListDeleteByIdsParams object with the default values initialized.

func NewProjectProjectActivityListDeleteByIdsParamsWithContext

func NewProjectProjectActivityListDeleteByIdsParamsWithContext(ctx context.Context) *ProjectProjectActivityListDeleteByIdsParams

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

func NewProjectProjectActivityListDeleteByIdsParamsWithHTTPClient

func NewProjectProjectActivityListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProjectProjectActivityListDeleteByIdsParams

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

func NewProjectProjectActivityListDeleteByIdsParamsWithTimeout

func NewProjectProjectActivityListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProjectProjectActivityListDeleteByIdsParams

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

func (*ProjectProjectActivityListDeleteByIdsParams) SetContext

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

func (*ProjectProjectActivityListDeleteByIdsParams) SetHTTPClient

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

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

func (*ProjectProjectActivityListDeleteByIdsParams) SetIds

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

func (*ProjectProjectActivityListDeleteByIdsParams) SetTimeout

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

func (*ProjectProjectActivityListDeleteByIdsParams) WithContext

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

func (*ProjectProjectActivityListDeleteByIdsParams) WithHTTPClient

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

func (*ProjectProjectActivityListDeleteByIdsParams) WithIds

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

func (*ProjectProjectActivityListDeleteByIdsParams) WithTimeout

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

func (*ProjectProjectActivityListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectProjectActivityListDeleteByIdsReader

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

ProjectProjectActivityListDeleteByIdsReader is a Reader for the ProjectProjectActivityListDeleteByIds structure.

func (*ProjectProjectActivityListDeleteByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectProjectActivityPostCreated

type ProjectProjectActivityPostCreated struct {
	Payload *models.ResponseWrapperProjectActivity
}

ProjectProjectActivityPostCreated handles this case with default header values.

successfully created

func NewProjectProjectActivityPostCreated

func NewProjectProjectActivityPostCreated() *ProjectProjectActivityPostCreated

NewProjectProjectActivityPostCreated creates a ProjectProjectActivityPostCreated with default headers values

func (*ProjectProjectActivityPostCreated) Error

func (*ProjectProjectActivityPostCreated) GetPayload

type ProjectProjectActivityPostParams

type ProjectProjectActivityPostParams struct {

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

	*/
	Body *models.ProjectActivity

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

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

func NewProjectProjectActivityPostParams

func NewProjectProjectActivityPostParams() *ProjectProjectActivityPostParams

NewProjectProjectActivityPostParams creates a new ProjectProjectActivityPostParams object with the default values initialized.

func NewProjectProjectActivityPostParamsWithContext

func NewProjectProjectActivityPostParamsWithContext(ctx context.Context) *ProjectProjectActivityPostParams

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

func NewProjectProjectActivityPostParamsWithHTTPClient

func NewProjectProjectActivityPostParamsWithHTTPClient(client *http.Client) *ProjectProjectActivityPostParams

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

func NewProjectProjectActivityPostParamsWithTimeout

func NewProjectProjectActivityPostParamsWithTimeout(timeout time.Duration) *ProjectProjectActivityPostParams

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

func (*ProjectProjectActivityPostParams) SetBody

SetBody adds the body to the project project activity post params

func (*ProjectProjectActivityPostParams) SetContext

SetContext adds the context to the project project activity post params

func (*ProjectProjectActivityPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project project activity post params

func (*ProjectProjectActivityPostParams) SetTimeout

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

SetTimeout adds the timeout to the project project activity post params

func (*ProjectProjectActivityPostParams) WithBody

WithBody adds the body to the project project activity post params

func (*ProjectProjectActivityPostParams) WithContext

WithContext adds the context to the project project activity post params

func (*ProjectProjectActivityPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project project activity post params

func (*ProjectProjectActivityPostParams) WithTimeout

WithTimeout adds the timeout to the project project activity post params

func (*ProjectProjectActivityPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectProjectActivityPostReader

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

ProjectProjectActivityPostReader is a Reader for the ProjectProjectActivityPost structure.

func (*ProjectProjectActivityPostReader) ReadResponse

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