activity

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 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 ActivityForTimeSheetGetForTimeSheetOK

type ActivityForTimeSheetGetForTimeSheetOK struct {
	Payload *models.ListResponseActivity
}

ActivityForTimeSheetGetForTimeSheetOK handles this case with default header values.

successful operation

func NewActivityForTimeSheetGetForTimeSheetOK

func NewActivityForTimeSheetGetForTimeSheetOK() *ActivityForTimeSheetGetForTimeSheetOK

NewActivityForTimeSheetGetForTimeSheetOK creates a ActivityForTimeSheetGetForTimeSheetOK with default headers values

func (*ActivityForTimeSheetGetForTimeSheetOK) Error

func (*ActivityForTimeSheetGetForTimeSheetOK) GetPayload

type ActivityForTimeSheetGetForTimeSheetParams

type ActivityForTimeSheetGetForTimeSheetParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Date
	  yyyy-MM-dd. Defaults to today.

	*/
	Date *string
	/*EmployeeID
	  Employee ID. Defaults to ID of token owner.

	*/
	EmployeeID *int32
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ProjectID
	  Project ID

	*/
	ProjectID int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

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

func NewActivityForTimeSheetGetForTimeSheetParams

func NewActivityForTimeSheetGetForTimeSheetParams() *ActivityForTimeSheetGetForTimeSheetParams

NewActivityForTimeSheetGetForTimeSheetParams creates a new ActivityForTimeSheetGetForTimeSheetParams object with the default values initialized.

func NewActivityForTimeSheetGetForTimeSheetParamsWithContext

func NewActivityForTimeSheetGetForTimeSheetParamsWithContext(ctx context.Context) *ActivityForTimeSheetGetForTimeSheetParams

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

func NewActivityForTimeSheetGetForTimeSheetParamsWithHTTPClient

func NewActivityForTimeSheetGetForTimeSheetParamsWithHTTPClient(client *http.Client) *ActivityForTimeSheetGetForTimeSheetParams

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

func NewActivityForTimeSheetGetForTimeSheetParamsWithTimeout

func NewActivityForTimeSheetGetForTimeSheetParamsWithTimeout(timeout time.Duration) *ActivityForTimeSheetGetForTimeSheetParams

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

func (*ActivityForTimeSheetGetForTimeSheetParams) SetContext

SetContext adds the context to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetCount

SetCount adds the count to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetDate

SetDate adds the date to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetEmployeeID

func (o *ActivityForTimeSheetGetForTimeSheetParams) SetEmployeeID(employeeID *int32)

SetEmployeeID adds the employeeId to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetFields

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

SetFields adds the fields to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetFrom

SetFrom adds the from to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetProjectID

func (o *ActivityForTimeSheetGetForTimeSheetParams) SetProjectID(projectID int32)

SetProjectID adds the projectId to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetSorting

func (o *ActivityForTimeSheetGetForTimeSheetParams) SetSorting(sorting *string)

SetSorting adds the sorting to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) SetTimeout

SetTimeout adds the timeout to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithContext

WithContext adds the context to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithCount

WithCount adds the count to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithDate

WithDate adds the date to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithEmployeeID

WithEmployeeID adds the employeeID to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithFields

WithFields adds the fields to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithFrom

WithFrom adds the from to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithProjectID

WithProjectID adds the projectID to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithSorting

WithSorting adds the sorting to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WithTimeout

WithTimeout adds the timeout to the activity for time sheet get for time sheet params

func (*ActivityForTimeSheetGetForTimeSheetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ActivityForTimeSheetGetForTimeSheetReader

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

ActivityForTimeSheetGetForTimeSheetReader is a Reader for the ActivityForTimeSheetGetForTimeSheet structure.

func (*ActivityForTimeSheetGetForTimeSheetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ActivityGetOK

type ActivityGetOK struct {
	Payload *models.ResponseWrapperActivity
}

ActivityGetOK handles this case with default header values.

successful operation

func NewActivityGetOK

func NewActivityGetOK() *ActivityGetOK

NewActivityGetOK creates a ActivityGetOK with default headers values

func (*ActivityGetOK) Error

func (o *ActivityGetOK) Error() string

func (*ActivityGetOK) GetPayload

func (o *ActivityGetOK) GetPayload() *models.ResponseWrapperActivity

type ActivityGetParams

type ActivityGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewActivityGetParams

func NewActivityGetParams() *ActivityGetParams

NewActivityGetParams creates a new ActivityGetParams object with the default values initialized.

func NewActivityGetParamsWithContext

func NewActivityGetParamsWithContext(ctx context.Context) *ActivityGetParams

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

func NewActivityGetParamsWithHTTPClient

func NewActivityGetParamsWithHTTPClient(client *http.Client) *ActivityGetParams

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

func NewActivityGetParamsWithTimeout

func NewActivityGetParamsWithTimeout(timeout time.Duration) *ActivityGetParams

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

func (*ActivityGetParams) SetContext

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

SetContext adds the context to the activity get params

func (*ActivityGetParams) SetFields

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

SetFields adds the fields to the activity get params

func (*ActivityGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activity get params

func (*ActivityGetParams) SetID

func (o *ActivityGetParams) SetID(id int32)

SetID adds the id to the activity get params

func (*ActivityGetParams) SetTimeout

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

SetTimeout adds the timeout to the activity get params

func (*ActivityGetParams) WithContext

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

WithContext adds the context to the activity get params

func (*ActivityGetParams) WithFields

func (o *ActivityGetParams) WithFields(fields *string) *ActivityGetParams

WithFields adds the fields to the activity get params

func (*ActivityGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the activity get params

func (*ActivityGetParams) WithID

func (o *ActivityGetParams) WithID(id int32) *ActivityGetParams

WithID adds the id to the activity get params

func (*ActivityGetParams) WithTimeout

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

WithTimeout adds the timeout to the activity get params

func (*ActivityGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ActivityGetReader

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

ActivityGetReader is a Reader for the ActivityGet structure.

func (*ActivityGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ActivityListPostListCreated

type ActivityListPostListCreated struct {
	Payload *models.ListResponseActivity
}

ActivityListPostListCreated handles this case with default header values.

successfully created

func NewActivityListPostListCreated

func NewActivityListPostListCreated() *ActivityListPostListCreated

NewActivityListPostListCreated creates a ActivityListPostListCreated with default headers values

func (*ActivityListPostListCreated) Error

func (*ActivityListPostListCreated) GetPayload

type ActivityListPostListParams

type ActivityListPostListParams struct {

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

	*/
	Body []*models.Activity

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

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

func NewActivityListPostListParams

func NewActivityListPostListParams() *ActivityListPostListParams

NewActivityListPostListParams creates a new ActivityListPostListParams object with the default values initialized.

func NewActivityListPostListParamsWithContext

func NewActivityListPostListParamsWithContext(ctx context.Context) *ActivityListPostListParams

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

func NewActivityListPostListParamsWithHTTPClient

func NewActivityListPostListParamsWithHTTPClient(client *http.Client) *ActivityListPostListParams

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

func NewActivityListPostListParamsWithTimeout

func NewActivityListPostListParamsWithTimeout(timeout time.Duration) *ActivityListPostListParams

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

func (*ActivityListPostListParams) SetBody

func (o *ActivityListPostListParams) SetBody(body []*models.Activity)

SetBody adds the body to the activity list post list params

func (*ActivityListPostListParams) SetContext

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

SetContext adds the context to the activity list post list params

func (*ActivityListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activity list post list params

func (*ActivityListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the activity list post list params

func (*ActivityListPostListParams) WithBody

WithBody adds the body to the activity list post list params

func (*ActivityListPostListParams) WithContext

WithContext adds the context to the activity list post list params

func (*ActivityListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the activity list post list params

func (*ActivityListPostListParams) WithTimeout

WithTimeout adds the timeout to the activity list post list params

func (*ActivityListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ActivityListPostListReader

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

ActivityListPostListReader is a Reader for the ActivityListPostList structure.

func (*ActivityListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ActivityPostCreated

type ActivityPostCreated struct {
	Payload *models.ResponseWrapperActivity
}

ActivityPostCreated handles this case with default header values.

successfully created

func NewActivityPostCreated

func NewActivityPostCreated() *ActivityPostCreated

NewActivityPostCreated creates a ActivityPostCreated with default headers values

func (*ActivityPostCreated) Error

func (o *ActivityPostCreated) Error() string

func (*ActivityPostCreated) GetPayload

type ActivityPostParams

type ActivityPostParams struct {

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

	*/
	Body *models.Activity

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

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

func NewActivityPostParams

func NewActivityPostParams() *ActivityPostParams

NewActivityPostParams creates a new ActivityPostParams object with the default values initialized.

func NewActivityPostParamsWithContext

func NewActivityPostParamsWithContext(ctx context.Context) *ActivityPostParams

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

func NewActivityPostParamsWithHTTPClient

func NewActivityPostParamsWithHTTPClient(client *http.Client) *ActivityPostParams

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

func NewActivityPostParamsWithTimeout

func NewActivityPostParamsWithTimeout(timeout time.Duration) *ActivityPostParams

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

func (*ActivityPostParams) SetBody

func (o *ActivityPostParams) SetBody(body *models.Activity)

SetBody adds the body to the activity post params

func (*ActivityPostParams) SetContext

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

SetContext adds the context to the activity post params

func (*ActivityPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activity post params

func (*ActivityPostParams) SetTimeout

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

SetTimeout adds the timeout to the activity post params

func (*ActivityPostParams) WithBody

WithBody adds the body to the activity post params

func (*ActivityPostParams) WithContext

WithContext adds the context to the activity post params

func (*ActivityPostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the activity post params

func (*ActivityPostParams) WithTimeout

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

WithTimeout adds the timeout to the activity post params

func (*ActivityPostParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ActivityPostReader

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

ActivityPostReader is a Reader for the ActivityPost structure.

func (*ActivityPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ActivitySearchOK

type ActivitySearchOK struct {
	Payload *models.ListResponseActivity
}

ActivitySearchOK handles this case with default header values.

successful operation

func NewActivitySearchOK

func NewActivitySearchOK() *ActivitySearchOK

NewActivitySearchOK creates a ActivitySearchOK with default headers values

func (*ActivitySearchOK) Error

func (o *ActivitySearchOK) Error() string

func (*ActivitySearchOK) GetPayload

func (o *ActivitySearchOK) GetPayload() *models.ListResponseActivity

type ActivitySearchParams

type ActivitySearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Description
	  Containing

	*/
	Description *string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*IsChargeable
	  Equals

	*/
	IsChargeable *bool
	/*IsGeneral
	  Equals

	*/
	IsGeneral *bool
	/*IsInactive
	  Equals

	*/
	IsInactive *bool
	/*IsProjectActivity
	  Equals

	*/
	IsProjectActivity *bool
	/*IsTask
	  Equals

	*/
	IsTask *bool
	/*Name
	  Containing

	*/
	Name *string
	/*Number
	  Equals

	*/
	Number *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

ActivitySearchParams contains all the parameters to send to the API endpoint for the activity search operation typically these are written to a http.Request

func NewActivitySearchParams

func NewActivitySearchParams() *ActivitySearchParams

NewActivitySearchParams creates a new ActivitySearchParams object with the default values initialized.

func NewActivitySearchParamsWithContext

func NewActivitySearchParamsWithContext(ctx context.Context) *ActivitySearchParams

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

func NewActivitySearchParamsWithHTTPClient

func NewActivitySearchParamsWithHTTPClient(client *http.Client) *ActivitySearchParams

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

func NewActivitySearchParamsWithTimeout

func NewActivitySearchParamsWithTimeout(timeout time.Duration) *ActivitySearchParams

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

func (*ActivitySearchParams) SetContext

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

SetContext adds the context to the activity search params

func (*ActivitySearchParams) SetCount

func (o *ActivitySearchParams) SetCount(count *int64)

SetCount adds the count to the activity search params

func (*ActivitySearchParams) SetDescription

func (o *ActivitySearchParams) SetDescription(description *string)

SetDescription adds the description to the activity search params

func (*ActivitySearchParams) SetFields

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

SetFields adds the fields to the activity search params

func (*ActivitySearchParams) SetFrom

func (o *ActivitySearchParams) SetFrom(from *int64)

SetFrom adds the from to the activity search params

func (*ActivitySearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activity search params

func (*ActivitySearchParams) SetID

func (o *ActivitySearchParams) SetID(id *string)

SetID adds the id to the activity search params

func (*ActivitySearchParams) SetIsChargeable

func (o *ActivitySearchParams) SetIsChargeable(isChargeable *bool)

SetIsChargeable adds the isChargeable to the activity search params

func (*ActivitySearchParams) SetIsGeneral

func (o *ActivitySearchParams) SetIsGeneral(isGeneral *bool)

SetIsGeneral adds the isGeneral to the activity search params

func (*ActivitySearchParams) SetIsInactive

func (o *ActivitySearchParams) SetIsInactive(isInactive *bool)

SetIsInactive adds the isInactive to the activity search params

func (*ActivitySearchParams) SetIsProjectActivity

func (o *ActivitySearchParams) SetIsProjectActivity(isProjectActivity *bool)

SetIsProjectActivity adds the isProjectActivity to the activity search params

func (*ActivitySearchParams) SetIsTask

func (o *ActivitySearchParams) SetIsTask(isTask *bool)

SetIsTask adds the isTask to the activity search params

func (*ActivitySearchParams) SetName

func (o *ActivitySearchParams) SetName(name *string)

SetName adds the name to the activity search params

func (*ActivitySearchParams) SetNumber

func (o *ActivitySearchParams) SetNumber(number *string)

SetNumber adds the number to the activity search params

func (*ActivitySearchParams) SetSorting

func (o *ActivitySearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the activity search params

func (*ActivitySearchParams) SetTimeout

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

SetTimeout adds the timeout to the activity search params

func (*ActivitySearchParams) WithContext

WithContext adds the context to the activity search params

func (*ActivitySearchParams) WithCount

func (o *ActivitySearchParams) WithCount(count *int64) *ActivitySearchParams

WithCount adds the count to the activity search params

func (*ActivitySearchParams) WithDescription

func (o *ActivitySearchParams) WithDescription(description *string) *ActivitySearchParams

WithDescription adds the description to the activity search params

func (*ActivitySearchParams) WithFields

func (o *ActivitySearchParams) WithFields(fields *string) *ActivitySearchParams

WithFields adds the fields to the activity search params

func (*ActivitySearchParams) WithFrom

func (o *ActivitySearchParams) WithFrom(from *int64) *ActivitySearchParams

WithFrom adds the from to the activity search params

func (*ActivitySearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the activity search params

func (*ActivitySearchParams) WithID

WithID adds the id to the activity search params

func (*ActivitySearchParams) WithIsChargeable

func (o *ActivitySearchParams) WithIsChargeable(isChargeable *bool) *ActivitySearchParams

WithIsChargeable adds the isChargeable to the activity search params

func (*ActivitySearchParams) WithIsGeneral

func (o *ActivitySearchParams) WithIsGeneral(isGeneral *bool) *ActivitySearchParams

WithIsGeneral adds the isGeneral to the activity search params

func (*ActivitySearchParams) WithIsInactive

func (o *ActivitySearchParams) WithIsInactive(isInactive *bool) *ActivitySearchParams

WithIsInactive adds the isInactive to the activity search params

func (*ActivitySearchParams) WithIsProjectActivity

func (o *ActivitySearchParams) WithIsProjectActivity(isProjectActivity *bool) *ActivitySearchParams

WithIsProjectActivity adds the isProjectActivity to the activity search params

func (*ActivitySearchParams) WithIsTask

func (o *ActivitySearchParams) WithIsTask(isTask *bool) *ActivitySearchParams

WithIsTask adds the isTask to the activity search params

func (*ActivitySearchParams) WithName

func (o *ActivitySearchParams) WithName(name *string) *ActivitySearchParams

WithName adds the name to the activity search params

func (*ActivitySearchParams) WithNumber

func (o *ActivitySearchParams) WithNumber(number *string) *ActivitySearchParams

WithNumber adds the number to the activity search params

func (*ActivitySearchParams) WithSorting

func (o *ActivitySearchParams) WithSorting(sorting *string) *ActivitySearchParams

WithSorting adds the sorting to the activity search params

func (*ActivitySearchParams) WithTimeout

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

WithTimeout adds the timeout to the activity search params

func (*ActivitySearchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ActivitySearchReader

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

ActivitySearchReader is a Reader for the ActivitySearch structure.

func (*ActivitySearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for activity API

func (*Client) ActivityForTimeSheetGetForTimeSheet

ActivityForTimeSheetGetForTimeSheet finds applicable time sheet activities for an employee on a specific day

func (*Client) ActivityGet

func (a *Client) ActivityGet(params *ActivityGetParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityGetOK, error)

ActivityGet finds activity by ID

func (*Client) ActivityListPostList

func (a *Client) ActivityListPostList(params *ActivityListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityListPostListCreated, error)

ActivityListPostList adds multiple activities

func (*Client) ActivityPost

func (a *Client) ActivityPost(params *ActivityPostParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityPostCreated, error)

ActivityPost adds activity

func (*Client) ActivitySearch

func (a *Client) ActivitySearch(params *ActivitySearchParams, authInfo runtime.ClientAuthInfoWriter) (*ActivitySearchOK, error)

ActivitySearch finds activities corresponding with sent data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ActivityForTimeSheetGetForTimeSheet(params *ActivityForTimeSheetGetForTimeSheetParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityForTimeSheetGetForTimeSheetOK, error)

	ActivityListPostList(params *ActivityListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityListPostListCreated, error)

	ActivityGet(params *ActivityGetParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityGetOK, error)

	ActivityPost(params *ActivityPostParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityPostCreated, error)

	ActivitySearch(params *ActivitySearchParams, authInfo runtime.ClientAuthInfoWriter) (*ActivitySearchOK, 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 activity API client.

Jump to

Keyboard shortcuts

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