Documentation ¶
Index ¶
- type ActivityForTimeSheetGetForTimeSheetOK
- type ActivityForTimeSheetGetForTimeSheetParams
- func NewActivityForTimeSheetGetForTimeSheetParams() *ActivityForTimeSheetGetForTimeSheetParams
- func NewActivityForTimeSheetGetForTimeSheetParamsWithContext(ctx context.Context) *ActivityForTimeSheetGetForTimeSheetParams
- func NewActivityForTimeSheetGetForTimeSheetParamsWithHTTPClient(client *http.Client) *ActivityForTimeSheetGetForTimeSheetParams
- func NewActivityForTimeSheetGetForTimeSheetParamsWithTimeout(timeout time.Duration) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetContext(ctx context.Context)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetCount(count *int64)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetDate(date *string)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetEmployeeID(employeeID *int32)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetFields(fields *string)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetFrom(from *int64)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetHTTPClient(client *http.Client)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetProjectID(projectID int32)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetSorting(sorting *string)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) SetTimeout(timeout time.Duration)
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithContext(ctx context.Context) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithCount(count *int64) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithDate(date *string) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithEmployeeID(employeeID *int32) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithFields(fields *string) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithFrom(from *int64) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithHTTPClient(client *http.Client) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithProjectID(projectID int32) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithSorting(sorting *string) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WithTimeout(timeout time.Duration) *ActivityForTimeSheetGetForTimeSheetParams
- func (o *ActivityForTimeSheetGetForTimeSheetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivityForTimeSheetGetForTimeSheetReader
- type ActivityGetOK
- type ActivityGetParams
- func (o *ActivityGetParams) SetContext(ctx context.Context)
- func (o *ActivityGetParams) SetFields(fields *string)
- func (o *ActivityGetParams) SetHTTPClient(client *http.Client)
- func (o *ActivityGetParams) SetID(id int32)
- func (o *ActivityGetParams) SetTimeout(timeout time.Duration)
- func (o *ActivityGetParams) WithContext(ctx context.Context) *ActivityGetParams
- func (o *ActivityGetParams) WithFields(fields *string) *ActivityGetParams
- func (o *ActivityGetParams) WithHTTPClient(client *http.Client) *ActivityGetParams
- func (o *ActivityGetParams) WithID(id int32) *ActivityGetParams
- func (o *ActivityGetParams) WithTimeout(timeout time.Duration) *ActivityGetParams
- func (o *ActivityGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivityGetReader
- type ActivityListPostListCreated
- type ActivityListPostListParams
- func NewActivityListPostListParams() *ActivityListPostListParams
- func NewActivityListPostListParamsWithContext(ctx context.Context) *ActivityListPostListParams
- func NewActivityListPostListParamsWithHTTPClient(client *http.Client) *ActivityListPostListParams
- func NewActivityListPostListParamsWithTimeout(timeout time.Duration) *ActivityListPostListParams
- func (o *ActivityListPostListParams) SetBody(body []*models.Activity)
- func (o *ActivityListPostListParams) SetContext(ctx context.Context)
- func (o *ActivityListPostListParams) SetHTTPClient(client *http.Client)
- func (o *ActivityListPostListParams) SetTimeout(timeout time.Duration)
- func (o *ActivityListPostListParams) WithBody(body []*models.Activity) *ActivityListPostListParams
- func (o *ActivityListPostListParams) WithContext(ctx context.Context) *ActivityListPostListParams
- func (o *ActivityListPostListParams) WithHTTPClient(client *http.Client) *ActivityListPostListParams
- func (o *ActivityListPostListParams) WithTimeout(timeout time.Duration) *ActivityListPostListParams
- func (o *ActivityListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivityListPostListReader
- type ActivityPostCreated
- type ActivityPostParams
- func (o *ActivityPostParams) SetBody(body *models.Activity)
- func (o *ActivityPostParams) SetContext(ctx context.Context)
- func (o *ActivityPostParams) SetHTTPClient(client *http.Client)
- func (o *ActivityPostParams) SetTimeout(timeout time.Duration)
- func (o *ActivityPostParams) WithBody(body *models.Activity) *ActivityPostParams
- func (o *ActivityPostParams) WithContext(ctx context.Context) *ActivityPostParams
- func (o *ActivityPostParams) WithHTTPClient(client *http.Client) *ActivityPostParams
- func (o *ActivityPostParams) WithTimeout(timeout time.Duration) *ActivityPostParams
- func (o *ActivityPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivityPostReader
- type ActivitySearchOK
- type ActivitySearchParams
- func NewActivitySearchParams() *ActivitySearchParams
- func NewActivitySearchParamsWithContext(ctx context.Context) *ActivitySearchParams
- func NewActivitySearchParamsWithHTTPClient(client *http.Client) *ActivitySearchParams
- func NewActivitySearchParamsWithTimeout(timeout time.Duration) *ActivitySearchParams
- func (o *ActivitySearchParams) SetContext(ctx context.Context)
- func (o *ActivitySearchParams) SetCount(count *int64)
- func (o *ActivitySearchParams) SetDescription(description *string)
- func (o *ActivitySearchParams) SetFields(fields *string)
- func (o *ActivitySearchParams) SetFrom(from *int64)
- func (o *ActivitySearchParams) SetHTTPClient(client *http.Client)
- func (o *ActivitySearchParams) SetID(id *string)
- func (o *ActivitySearchParams) SetIsChargeable(isChargeable *bool)
- func (o *ActivitySearchParams) SetIsGeneral(isGeneral *bool)
- func (o *ActivitySearchParams) SetIsInactive(isInactive *bool)
- func (o *ActivitySearchParams) SetIsProjectActivity(isProjectActivity *bool)
- func (o *ActivitySearchParams) SetIsTask(isTask *bool)
- func (o *ActivitySearchParams) SetName(name *string)
- func (o *ActivitySearchParams) SetNumber(number *string)
- func (o *ActivitySearchParams) SetSorting(sorting *string)
- func (o *ActivitySearchParams) SetTimeout(timeout time.Duration)
- func (o *ActivitySearchParams) WithContext(ctx context.Context) *ActivitySearchParams
- func (o *ActivitySearchParams) WithCount(count *int64) *ActivitySearchParams
- func (o *ActivitySearchParams) WithDescription(description *string) *ActivitySearchParams
- func (o *ActivitySearchParams) WithFields(fields *string) *ActivitySearchParams
- func (o *ActivitySearchParams) WithFrom(from *int64) *ActivitySearchParams
- func (o *ActivitySearchParams) WithHTTPClient(client *http.Client) *ActivitySearchParams
- func (o *ActivitySearchParams) WithID(id *string) *ActivitySearchParams
- func (o *ActivitySearchParams) WithIsChargeable(isChargeable *bool) *ActivitySearchParams
- func (o *ActivitySearchParams) WithIsGeneral(isGeneral *bool) *ActivitySearchParams
- func (o *ActivitySearchParams) WithIsInactive(isInactive *bool) *ActivitySearchParams
- func (o *ActivitySearchParams) WithIsProjectActivity(isProjectActivity *bool) *ActivitySearchParams
- func (o *ActivitySearchParams) WithIsTask(isTask *bool) *ActivitySearchParams
- func (o *ActivitySearchParams) WithName(name *string) *ActivitySearchParams
- func (o *ActivitySearchParams) WithNumber(number *string) *ActivitySearchParams
- func (o *ActivitySearchParams) WithSorting(sorting *string) *ActivitySearchParams
- func (o *ActivitySearchParams) WithTimeout(timeout time.Duration) *ActivitySearchParams
- func (o *ActivitySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivitySearchReader
- type Client
- func (a *Client) ActivityForTimeSheetGetForTimeSheet(params *ActivityForTimeSheetGetForTimeSheetParams, ...) (*ActivityForTimeSheetGetForTimeSheetOK, error)
- func (a *Client) ActivityGet(params *ActivityGetParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityGetOK, error)
- func (a *Client) ActivityListPostList(params *ActivityListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityListPostListCreated, error)
- func (a *Client) ActivityPost(params *ActivityPostParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityPostCreated, error)
- func (a *Client) ActivitySearch(params *ActivitySearchParams, authInfo runtime.ClientAuthInfoWriter) (*ActivitySearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
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 (o *ActivityForTimeSheetGetForTimeSheetOK) Error() string
func (*ActivityForTimeSheetGetForTimeSheetOK) GetPayload ¶
func (o *ActivityForTimeSheetGetForTimeSheetOK) GetPayload() *models.ListResponseActivity
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 ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) SetContext(ctx context.Context)
SetContext adds the context to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) SetCount ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) SetCount(count *int64)
SetCount adds the count to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) SetDate ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) SetDate(date *string)
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 ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) SetFrom(from *int64)
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 ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithContext ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithContext(ctx context.Context) *ActivityForTimeSheetGetForTimeSheetParams
WithContext adds the context to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithCount ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithCount(count *int64) *ActivityForTimeSheetGetForTimeSheetParams
WithCount adds the count to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithDate ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithDate(date *string) *ActivityForTimeSheetGetForTimeSheetParams
WithDate adds the date to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithEmployeeID ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithEmployeeID(employeeID *int32) *ActivityForTimeSheetGetForTimeSheetParams
WithEmployeeID adds the employeeID to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithFields ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithFields(fields *string) *ActivityForTimeSheetGetForTimeSheetParams
WithFields adds the fields to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithFrom ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithFrom(from *int64) *ActivityForTimeSheetGetForTimeSheetParams
WithFrom adds the from to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithHTTPClient ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithHTTPClient(client *http.Client) *ActivityForTimeSheetGetForTimeSheetParams
WithHTTPClient adds the HTTPClient to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithProjectID ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithProjectID(projectID int32) *ActivityForTimeSheetGetForTimeSheetParams
WithProjectID adds the projectID to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithSorting ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithSorting(sorting *string) *ActivityForTimeSheetGetForTimeSheetParams
WithSorting adds the sorting to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WithTimeout ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WithTimeout(timeout time.Duration) *ActivityForTimeSheetGetForTimeSheetParams
WithTimeout adds the timeout to the activity for time sheet get for time sheet params
func (*ActivityForTimeSheetGetForTimeSheetParams) WriteToRequest ¶
func (o *ActivityForTimeSheetGetForTimeSheetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ActivityListPostListCreated) Error() string
func (*ActivityListPostListCreated) GetPayload ¶
func (o *ActivityListPostListCreated) GetPayload() *models.ListResponseActivity
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 ¶
func (o *ActivityListPostListParams) WithBody(body []*models.Activity) *ActivityListPostListParams
WithBody adds the body to the activity list post list params
func (*ActivityListPostListParams) WithContext ¶
func (o *ActivityListPostListParams) WithContext(ctx context.Context) *ActivityListPostListParams
WithContext adds the context to the activity list post list params
func (*ActivityListPostListParams) WithHTTPClient ¶
func (o *ActivityListPostListParams) WithHTTPClient(client *http.Client) *ActivityListPostListParams
WithHTTPClient adds the HTTPClient to the activity list post list params
func (*ActivityListPostListParams) WithTimeout ¶
func (o *ActivityListPostListParams) WithTimeout(timeout time.Duration) *ActivityListPostListParams
WithTimeout adds the timeout to the activity list post list params
func (*ActivityListPostListParams) WriteToRequest ¶
func (o *ActivityListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ActivityPostCreated) GetPayload() *models.ResponseWrapperActivity
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 ¶
func (o *ActivityPostParams) WithBody(body *models.Activity) *ActivityPostParams
WithBody adds the body to the activity post params
func (*ActivityPostParams) WithContext ¶
func (o *ActivityPostParams) WithContext(ctx context.Context) *ActivityPostParams
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 ¶
func (o *ActivitySearchParams) WithContext(ctx context.Context) *ActivitySearchParams
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 ¶
func (o *ActivitySearchParams) WithID(id *string) *ActivitySearchParams
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 ¶
func (a *Client) ActivityForTimeSheetGetForTimeSheet(params *ActivityForTimeSheetGetForTimeSheetParams, authInfo runtime.ClientAuthInfoWriter) (*ActivityForTimeSheetGetForTimeSheetOK, error)
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.
Source Files ¶
- activity_client.go
- activity_for_time_sheet_get_for_time_sheet_parameters.go
- activity_for_time_sheet_get_for_time_sheet_responses.go
- activity_get_parameters.go
- activity_get_responses.go
- activity_list_post_list_parameters.go
- activity_list_post_list_responses.go
- activity_post_parameters.go
- activity_post_responses.go
- activity_search_parameters.go
- activity_search_responses.go