Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPITeamsID(params *DeleteAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPITeamsIDNoContent, error)
- func (a *Client) DeleteAPITeamsIDActivitiesActivityID(params *DeleteAPITeamsIDActivitiesActivityIDParams, ...) (*DeleteAPITeamsIDActivitiesActivityIDOK, error)
- func (a *Client) DeleteAPITeamsIDCustomersCustomerID(params *DeleteAPITeamsIDCustomersCustomerIDParams, ...) (*DeleteAPITeamsIDCustomersCustomerIDOK, error)
- func (a *Client) DeleteAPITeamsIDMembersUserID(params *DeleteAPITeamsIDMembersUserIDParams, ...) (*DeleteAPITeamsIDMembersUserIDOK, error)
- func (a *Client) DeleteAPITeamsIDProjectsProjectID(params *DeleteAPITeamsIDProjectsProjectIDParams, ...) (*DeleteAPITeamsIDProjectsProjectIDOK, error)
- func (a *Client) GetAPITeams(params *GetAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPITeamsOK, error)
- func (a *Client) GetAPITeamsID(params *GetAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPITeamsIDOK, error)
- func (a *Client) PatchAPITeamsID(params *PatchAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPITeamsIDOK, error)
- func (a *Client) PostAPITeams(params *PostAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPITeamsOK, error)
- func (a *Client) PostAPITeamsIDActivitiesActivityID(params *PostAPITeamsIDActivitiesActivityIDParams, ...) (*PostAPITeamsIDActivitiesActivityIDOK, error)
- func (a *Client) PostAPITeamsIDCustomersCustomerID(params *PostAPITeamsIDCustomersCustomerIDParams, ...) (*PostAPITeamsIDCustomersCustomerIDOK, error)
- func (a *Client) PostAPITeamsIDMembersUserID(params *PostAPITeamsIDMembersUserIDParams, ...) (*PostAPITeamsIDMembersUserIDOK, error)
- func (a *Client) PostAPITeamsIDProjectsProjectID(params *PostAPITeamsIDProjectsProjectIDParams, ...) (*PostAPITeamsIDProjectsProjectIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPITeamsIDActivitiesActivityIDOK
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) Error() string
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) GetPayload() *models.Team
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsClientError() bool
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsCode(code int) bool
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsRedirect() bool
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsServerError() bool
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsSuccess() bool
- func (o *DeleteAPITeamsIDActivitiesActivityIDOK) String() string
- type DeleteAPITeamsIDActivitiesActivityIDParams
- func NewDeleteAPITeamsIDActivitiesActivityIDParams() *DeleteAPITeamsIDActivitiesActivityIDParams
- func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDActivitiesActivityIDParams
- func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDActivitiesActivityIDParams
- func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetActivityID(activityID int64)
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetDefaults()
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetID(id int64)
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithActivityID(activityID int64) *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithDefaults() *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithID(id int64) *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDActivitiesActivityIDParams
- func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPITeamsIDActivitiesActivityIDReader
- type DeleteAPITeamsIDCustomersCustomerIDOK
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) Error() string
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) GetPayload() *models.Team
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsClientError() bool
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsCode(code int) bool
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsRedirect() bool
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsServerError() bool
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsSuccess() bool
- func (o *DeleteAPITeamsIDCustomersCustomerIDOK) String() string
- type DeleteAPITeamsIDCustomersCustomerIDParams
- func NewDeleteAPITeamsIDCustomersCustomerIDParams() *DeleteAPITeamsIDCustomersCustomerIDParams
- func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDCustomersCustomerIDParams
- func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDCustomersCustomerIDParams
- func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetCustomerID(customerID int64)
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetDefaults()
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetID(id int64)
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithCustomerID(customerID int64) *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithDefaults() *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithID(id int64) *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDCustomersCustomerIDParams
- func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPITeamsIDCustomersCustomerIDReader
- type DeleteAPITeamsIDMembersUserIDOK
- func (o *DeleteAPITeamsIDMembersUserIDOK) Error() string
- func (o *DeleteAPITeamsIDMembersUserIDOK) GetPayload() *models.Team
- func (o *DeleteAPITeamsIDMembersUserIDOK) IsClientError() bool
- func (o *DeleteAPITeamsIDMembersUserIDOK) IsCode(code int) bool
- func (o *DeleteAPITeamsIDMembersUserIDOK) IsRedirect() bool
- func (o *DeleteAPITeamsIDMembersUserIDOK) IsServerError() bool
- func (o *DeleteAPITeamsIDMembersUserIDOK) IsSuccess() bool
- func (o *DeleteAPITeamsIDMembersUserIDOK) String() string
- type DeleteAPITeamsIDMembersUserIDParams
- func NewDeleteAPITeamsIDMembersUserIDParams() *DeleteAPITeamsIDMembersUserIDParams
- func NewDeleteAPITeamsIDMembersUserIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDMembersUserIDParams
- func NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDMembersUserIDParams
- func NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPITeamsIDMembersUserIDParams) SetDefaults()
- func (o *DeleteAPITeamsIDMembersUserIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPITeamsIDMembersUserIDParams) SetID(id int64)
- func (o *DeleteAPITeamsIDMembersUserIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPITeamsIDMembersUserIDParams) SetUserID(userID int64)
- func (o *DeleteAPITeamsIDMembersUserIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) WithDefaults() *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) WithID(id int64) *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) WithUserID(userID int64) *DeleteAPITeamsIDMembersUserIDParams
- func (o *DeleteAPITeamsIDMembersUserIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPITeamsIDMembersUserIDReader
- type DeleteAPITeamsIDNoContent
- func (o *DeleteAPITeamsIDNoContent) Error() string
- func (o *DeleteAPITeamsIDNoContent) IsClientError() bool
- func (o *DeleteAPITeamsIDNoContent) IsCode(code int) bool
- func (o *DeleteAPITeamsIDNoContent) IsRedirect() bool
- func (o *DeleteAPITeamsIDNoContent) IsServerError() bool
- func (o *DeleteAPITeamsIDNoContent) IsSuccess() bool
- func (o *DeleteAPITeamsIDNoContent) String() string
- type DeleteAPITeamsIDParams
- func NewDeleteAPITeamsIDParams() *DeleteAPITeamsIDParams
- func NewDeleteAPITeamsIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDParams
- func NewDeleteAPITeamsIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDParams
- func NewDeleteAPITeamsIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDParams
- func (o *DeleteAPITeamsIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPITeamsIDParams) SetDefaults()
- func (o *DeleteAPITeamsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPITeamsIDParams) SetID(id int64)
- func (o *DeleteAPITeamsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPITeamsIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDParams
- func (o *DeleteAPITeamsIDParams) WithDefaults() *DeleteAPITeamsIDParams
- func (o *DeleteAPITeamsIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDParams
- func (o *DeleteAPITeamsIDParams) WithID(id int64) *DeleteAPITeamsIDParams
- func (o *DeleteAPITeamsIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDParams
- func (o *DeleteAPITeamsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPITeamsIDProjectsProjectIDOK
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) Error() string
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) GetPayload() *models.Team
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsClientError() bool
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsCode(code int) bool
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsRedirect() bool
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsServerError() bool
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsSuccess() bool
- func (o *DeleteAPITeamsIDProjectsProjectIDOK) String() string
- type DeleteAPITeamsIDProjectsProjectIDParams
- func NewDeleteAPITeamsIDProjectsProjectIDParams() *DeleteAPITeamsIDProjectsProjectIDParams
- func NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDProjectsProjectIDParams
- func NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDProjectsProjectIDParams
- func NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetDefaults()
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetID(id int64)
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetProjectID(projectID int64)
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithDefaults() *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithID(id int64) *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithProjectID(projectID int64) *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDProjectsProjectIDParams
- func (o *DeleteAPITeamsIDProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPITeamsIDProjectsProjectIDReader
- type DeleteAPITeamsIDReader
- type GetAPITeamsIDOK
- func (o *GetAPITeamsIDOK) Error() string
- func (o *GetAPITeamsIDOK) GetPayload() *models.Team
- func (o *GetAPITeamsIDOK) IsClientError() bool
- func (o *GetAPITeamsIDOK) IsCode(code int) bool
- func (o *GetAPITeamsIDOK) IsRedirect() bool
- func (o *GetAPITeamsIDOK) IsServerError() bool
- func (o *GetAPITeamsIDOK) IsSuccess() bool
- func (o *GetAPITeamsIDOK) String() string
- type GetAPITeamsIDParams
- func (o *GetAPITeamsIDParams) SetContext(ctx context.Context)
- func (o *GetAPITeamsIDParams) SetDefaults()
- func (o *GetAPITeamsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPITeamsIDParams) SetID(id string)
- func (o *GetAPITeamsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPITeamsIDParams) WithContext(ctx context.Context) *GetAPITeamsIDParams
- func (o *GetAPITeamsIDParams) WithDefaults() *GetAPITeamsIDParams
- func (o *GetAPITeamsIDParams) WithHTTPClient(client *http.Client) *GetAPITeamsIDParams
- func (o *GetAPITeamsIDParams) WithID(id string) *GetAPITeamsIDParams
- func (o *GetAPITeamsIDParams) WithTimeout(timeout time.Duration) *GetAPITeamsIDParams
- func (o *GetAPITeamsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPITeamsIDReader
- type GetAPITeamsOK
- func (o *GetAPITeamsOK) Error() string
- func (o *GetAPITeamsOK) GetPayload() []*models.TeamCollection
- func (o *GetAPITeamsOK) IsClientError() bool
- func (o *GetAPITeamsOK) IsCode(code int) bool
- func (o *GetAPITeamsOK) IsRedirect() bool
- func (o *GetAPITeamsOK) IsServerError() bool
- func (o *GetAPITeamsOK) IsSuccess() bool
- func (o *GetAPITeamsOK) String() string
- type GetAPITeamsParams
- func (o *GetAPITeamsParams) SetContext(ctx context.Context)
- func (o *GetAPITeamsParams) SetDefaults()
- func (o *GetAPITeamsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPITeamsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPITeamsParams) WithContext(ctx context.Context) *GetAPITeamsParams
- func (o *GetAPITeamsParams) WithDefaults() *GetAPITeamsParams
- func (o *GetAPITeamsParams) WithHTTPClient(client *http.Client) *GetAPITeamsParams
- func (o *GetAPITeamsParams) WithTimeout(timeout time.Duration) *GetAPITeamsParams
- func (o *GetAPITeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPITeamsReader
- type PatchAPITeamsIDOK
- func (o *PatchAPITeamsIDOK) Error() string
- func (o *PatchAPITeamsIDOK) GetPayload() *models.Team
- func (o *PatchAPITeamsIDOK) IsClientError() bool
- func (o *PatchAPITeamsIDOK) IsCode(code int) bool
- func (o *PatchAPITeamsIDOK) IsRedirect() bool
- func (o *PatchAPITeamsIDOK) IsServerError() bool
- func (o *PatchAPITeamsIDOK) IsSuccess() bool
- func (o *PatchAPITeamsIDOK) String() string
- type PatchAPITeamsIDParams
- func NewPatchAPITeamsIDParams() *PatchAPITeamsIDParams
- func NewPatchAPITeamsIDParamsWithContext(ctx context.Context) *PatchAPITeamsIDParams
- func NewPatchAPITeamsIDParamsWithHTTPClient(client *http.Client) *PatchAPITeamsIDParams
- func NewPatchAPITeamsIDParamsWithTimeout(timeout time.Duration) *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) SetBody(body *models.TeamEditForm)
- func (o *PatchAPITeamsIDParams) SetContext(ctx context.Context)
- func (o *PatchAPITeamsIDParams) SetDefaults()
- func (o *PatchAPITeamsIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPITeamsIDParams) SetID(id int64)
- func (o *PatchAPITeamsIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPITeamsIDParams) WithBody(body *models.TeamEditForm) *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) WithContext(ctx context.Context) *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) WithDefaults() *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) WithHTTPClient(client *http.Client) *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) WithID(id int64) *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) WithTimeout(timeout time.Duration) *PatchAPITeamsIDParams
- func (o *PatchAPITeamsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPITeamsIDReader
- type PostAPITeamsIDActivitiesActivityIDOK
- func (o *PostAPITeamsIDActivitiesActivityIDOK) Error() string
- func (o *PostAPITeamsIDActivitiesActivityIDOK) GetPayload() *models.Team
- func (o *PostAPITeamsIDActivitiesActivityIDOK) IsClientError() bool
- func (o *PostAPITeamsIDActivitiesActivityIDOK) IsCode(code int) bool
- func (o *PostAPITeamsIDActivitiesActivityIDOK) IsRedirect() bool
- func (o *PostAPITeamsIDActivitiesActivityIDOK) IsServerError() bool
- func (o *PostAPITeamsIDActivitiesActivityIDOK) IsSuccess() bool
- func (o *PostAPITeamsIDActivitiesActivityIDOK) String() string
- type PostAPITeamsIDActivitiesActivityIDParams
- func NewPostAPITeamsIDActivitiesActivityIDParams() *PostAPITeamsIDActivitiesActivityIDParams
- func NewPostAPITeamsIDActivitiesActivityIDParamsWithContext(ctx context.Context) *PostAPITeamsIDActivitiesActivityIDParams
- func NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDActivitiesActivityIDParams
- func NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) SetActivityID(activityID int64)
- func (o *PostAPITeamsIDActivitiesActivityIDParams) SetContext(ctx context.Context)
- func (o *PostAPITeamsIDActivitiesActivityIDParams) SetDefaults()
- func (o *PostAPITeamsIDActivitiesActivityIDParams) SetHTTPClient(client *http.Client)
- func (o *PostAPITeamsIDActivitiesActivityIDParams) SetID(id int64)
- func (o *PostAPITeamsIDActivitiesActivityIDParams) SetTimeout(timeout time.Duration)
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WithActivityID(activityID int64) *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WithContext(ctx context.Context) *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WithDefaults() *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WithID(id int64) *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDActivitiesActivityIDParams
- func (o *PostAPITeamsIDActivitiesActivityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPITeamsIDActivitiesActivityIDReader
- type PostAPITeamsIDCustomersCustomerIDOK
- func (o *PostAPITeamsIDCustomersCustomerIDOK) Error() string
- func (o *PostAPITeamsIDCustomersCustomerIDOK) GetPayload() *models.Team
- func (o *PostAPITeamsIDCustomersCustomerIDOK) IsClientError() bool
- func (o *PostAPITeamsIDCustomersCustomerIDOK) IsCode(code int) bool
- func (o *PostAPITeamsIDCustomersCustomerIDOK) IsRedirect() bool
- func (o *PostAPITeamsIDCustomersCustomerIDOK) IsServerError() bool
- func (o *PostAPITeamsIDCustomersCustomerIDOK) IsSuccess() bool
- func (o *PostAPITeamsIDCustomersCustomerIDOK) String() string
- type PostAPITeamsIDCustomersCustomerIDParams
- func NewPostAPITeamsIDCustomersCustomerIDParams() *PostAPITeamsIDCustomersCustomerIDParams
- func NewPostAPITeamsIDCustomersCustomerIDParamsWithContext(ctx context.Context) *PostAPITeamsIDCustomersCustomerIDParams
- func NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDCustomersCustomerIDParams
- func NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) SetContext(ctx context.Context)
- func (o *PostAPITeamsIDCustomersCustomerIDParams) SetCustomerID(customerID int64)
- func (o *PostAPITeamsIDCustomersCustomerIDParams) SetDefaults()
- func (o *PostAPITeamsIDCustomersCustomerIDParams) SetHTTPClient(client *http.Client)
- func (o *PostAPITeamsIDCustomersCustomerIDParams) SetID(id int64)
- func (o *PostAPITeamsIDCustomersCustomerIDParams) SetTimeout(timeout time.Duration)
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WithContext(ctx context.Context) *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WithCustomerID(customerID int64) *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WithDefaults() *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WithID(id int64) *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDCustomersCustomerIDParams
- func (o *PostAPITeamsIDCustomersCustomerIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPITeamsIDCustomersCustomerIDReader
- type PostAPITeamsIDMembersUserIDOK
- func (o *PostAPITeamsIDMembersUserIDOK) Error() string
- func (o *PostAPITeamsIDMembersUserIDOK) GetPayload() *models.Team
- func (o *PostAPITeamsIDMembersUserIDOK) IsClientError() bool
- func (o *PostAPITeamsIDMembersUserIDOK) IsCode(code int) bool
- func (o *PostAPITeamsIDMembersUserIDOK) IsRedirect() bool
- func (o *PostAPITeamsIDMembersUserIDOK) IsServerError() bool
- func (o *PostAPITeamsIDMembersUserIDOK) IsSuccess() bool
- func (o *PostAPITeamsIDMembersUserIDOK) String() string
- type PostAPITeamsIDMembersUserIDParams
- func NewPostAPITeamsIDMembersUserIDParams() *PostAPITeamsIDMembersUserIDParams
- func NewPostAPITeamsIDMembersUserIDParamsWithContext(ctx context.Context) *PostAPITeamsIDMembersUserIDParams
- func NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDMembersUserIDParams
- func NewPostAPITeamsIDMembersUserIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) SetContext(ctx context.Context)
- func (o *PostAPITeamsIDMembersUserIDParams) SetDefaults()
- func (o *PostAPITeamsIDMembersUserIDParams) SetHTTPClient(client *http.Client)
- func (o *PostAPITeamsIDMembersUserIDParams) SetID(id int64)
- func (o *PostAPITeamsIDMembersUserIDParams) SetTimeout(timeout time.Duration)
- func (o *PostAPITeamsIDMembersUserIDParams) SetUserID(userID int64)
- func (o *PostAPITeamsIDMembersUserIDParams) WithContext(ctx context.Context) *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) WithDefaults() *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) WithID(id int64) *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) WithUserID(userID int64) *PostAPITeamsIDMembersUserIDParams
- func (o *PostAPITeamsIDMembersUserIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPITeamsIDMembersUserIDReader
- type PostAPITeamsIDProjectsProjectIDOK
- func (o *PostAPITeamsIDProjectsProjectIDOK) Error() string
- func (o *PostAPITeamsIDProjectsProjectIDOK) GetPayload() *models.Team
- func (o *PostAPITeamsIDProjectsProjectIDOK) IsClientError() bool
- func (o *PostAPITeamsIDProjectsProjectIDOK) IsCode(code int) bool
- func (o *PostAPITeamsIDProjectsProjectIDOK) IsRedirect() bool
- func (o *PostAPITeamsIDProjectsProjectIDOK) IsServerError() bool
- func (o *PostAPITeamsIDProjectsProjectIDOK) IsSuccess() bool
- func (o *PostAPITeamsIDProjectsProjectIDOK) String() string
- type PostAPITeamsIDProjectsProjectIDParams
- func NewPostAPITeamsIDProjectsProjectIDParams() *PostAPITeamsIDProjectsProjectIDParams
- func NewPostAPITeamsIDProjectsProjectIDParamsWithContext(ctx context.Context) *PostAPITeamsIDProjectsProjectIDParams
- func NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDProjectsProjectIDParams
- func NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) SetContext(ctx context.Context)
- func (o *PostAPITeamsIDProjectsProjectIDParams) SetDefaults()
- func (o *PostAPITeamsIDProjectsProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *PostAPITeamsIDProjectsProjectIDParams) SetID(id int64)
- func (o *PostAPITeamsIDProjectsProjectIDParams) SetProjectID(projectID int64)
- func (o *PostAPITeamsIDProjectsProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *PostAPITeamsIDProjectsProjectIDParams) WithContext(ctx context.Context) *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) WithDefaults() *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) WithID(id int64) *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) WithProjectID(projectID int64) *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDProjectsProjectIDParams
- func (o *PostAPITeamsIDProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPITeamsIDProjectsProjectIDReader
- type PostAPITeamsOK
- func (o *PostAPITeamsOK) Error() string
- func (o *PostAPITeamsOK) GetPayload() *models.Team
- func (o *PostAPITeamsOK) IsClientError() bool
- func (o *PostAPITeamsOK) IsCode(code int) bool
- func (o *PostAPITeamsOK) IsRedirect() bool
- func (o *PostAPITeamsOK) IsServerError() bool
- func (o *PostAPITeamsOK) IsSuccess() bool
- func (o *PostAPITeamsOK) String() string
- type PostAPITeamsParams
- func (o *PostAPITeamsParams) SetBody(body *models.TeamEditForm)
- func (o *PostAPITeamsParams) SetContext(ctx context.Context)
- func (o *PostAPITeamsParams) SetDefaults()
- func (o *PostAPITeamsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPITeamsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPITeamsParams) WithBody(body *models.TeamEditForm) *PostAPITeamsParams
- func (o *PostAPITeamsParams) WithContext(ctx context.Context) *PostAPITeamsParams
- func (o *PostAPITeamsParams) WithDefaults() *PostAPITeamsParams
- func (o *PostAPITeamsParams) WithHTTPClient(client *http.Client) *PostAPITeamsParams
- func (o *PostAPITeamsParams) WithTimeout(timeout time.Duration) *PostAPITeamsParams
- func (o *PostAPITeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPITeamsReader
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 team API
func (*Client) DeleteAPITeamsID ¶
func (a *Client) DeleteAPITeamsID(params *DeleteAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDNoContent, error)
DeleteAPITeamsID deletes a team
func (*Client) DeleteAPITeamsIDActivitiesActivityID ¶
func (a *Client) DeleteAPITeamsIDActivitiesActivityID(params *DeleteAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDActivitiesActivityIDOK, error)
DeleteAPITeamsIDActivitiesActivityID revokes access for an activity from a team
func (*Client) DeleteAPITeamsIDCustomersCustomerID ¶
func (a *Client) DeleteAPITeamsIDCustomersCustomerID(params *DeleteAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDCustomersCustomerIDOK, error)
DeleteAPITeamsIDCustomersCustomerID revokes access for a customer from a team
func (*Client) DeleteAPITeamsIDMembersUserID ¶
func (a *Client) DeleteAPITeamsIDMembersUserID(params *DeleteAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDMembersUserIDOK, error)
DeleteAPITeamsIDMembersUserID removes a member from the team
func (*Client) DeleteAPITeamsIDProjectsProjectID ¶
func (a *Client) DeleteAPITeamsIDProjectsProjectID(params *DeleteAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDProjectsProjectIDOK, error)
DeleteAPITeamsIDProjectsProjectID revokes access for a project from a team
func (*Client) GetAPITeams ¶
func (a *Client) GetAPITeams(params *GetAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsOK, error)
GetAPITeams fetches all existing teams
func (*Client) GetAPITeamsID ¶
func (a *Client) GetAPITeamsID(params *GetAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsIDOK, error)
GetAPITeamsID returns one team
func (*Client) PatchAPITeamsID ¶
func (a *Client) PatchAPITeamsID(params *PatchAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITeamsIDOK, error)
PatchAPITeamsID updates an existing team
Update an existing team, you can pass all or just a subset of all attributes (passing members will replace all existing ones)
func (*Client) PostAPITeams ¶
func (a *Client) PostAPITeams(params *PostAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsOK, error)
PostAPITeams creates a new team
Creates a new team and returns it afterwards
func (*Client) PostAPITeamsIDActivitiesActivityID ¶
func (a *Client) PostAPITeamsIDActivitiesActivityID(params *PostAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDActivitiesActivityIDOK, error)
PostAPITeamsIDActivitiesActivityID grants the team access to an activity
func (*Client) PostAPITeamsIDCustomersCustomerID ¶
func (a *Client) PostAPITeamsIDCustomersCustomerID(params *PostAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDCustomersCustomerIDOK, error)
PostAPITeamsIDCustomersCustomerID grants the team access to a customer
func (*Client) PostAPITeamsIDMembersUserID ¶
func (a *Client) PostAPITeamsIDMembersUserID(params *PostAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDMembersUserIDOK, error)
PostAPITeamsIDMembersUserID adds a new member to a team
func (*Client) PostAPITeamsIDProjectsProjectID ¶
func (a *Client) PostAPITeamsIDProjectsProjectID(params *PostAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDProjectsProjectIDOK, error)
PostAPITeamsIDProjectsProjectID grants the team access to a project
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteAPITeamsID(params *DeleteAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDNoContent, error) DeleteAPITeamsIDActivitiesActivityID(params *DeleteAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDActivitiesActivityIDOK, error) DeleteAPITeamsIDCustomersCustomerID(params *DeleteAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDCustomersCustomerIDOK, error) DeleteAPITeamsIDMembersUserID(params *DeleteAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDMembersUserIDOK, error) DeleteAPITeamsIDProjectsProjectID(params *DeleteAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPITeamsIDProjectsProjectIDOK, error) GetAPITeams(params *GetAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsOK, error) GetAPITeamsID(params *GetAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPITeamsIDOK, error) PatchAPITeamsID(params *PatchAPITeamsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPITeamsIDOK, error) PostAPITeams(params *PostAPITeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsOK, error) PostAPITeamsIDActivitiesActivityID(params *PostAPITeamsIDActivitiesActivityIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDActivitiesActivityIDOK, error) PostAPITeamsIDCustomersCustomerID(params *PostAPITeamsIDCustomersCustomerIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDCustomersCustomerIDOK, error) PostAPITeamsIDMembersUserID(params *PostAPITeamsIDMembersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDMembersUserIDOK, error) PostAPITeamsIDProjectsProjectID(params *PostAPITeamsIDProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPITeamsIDProjectsProjectIDOK, 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 team API client.
type DeleteAPITeamsIDActivitiesActivityIDOK ¶
DeleteAPITeamsIDActivitiesActivityIDOK describes a response with status code 200, with default header values.
Removes a activity from the team.
func NewDeleteAPITeamsIDActivitiesActivityIDOK ¶
func NewDeleteAPITeamsIDActivitiesActivityIDOK() *DeleteAPITeamsIDActivitiesActivityIDOK
NewDeleteAPITeamsIDActivitiesActivityIDOK creates a DeleteAPITeamsIDActivitiesActivityIDOK with default headers values
func (*DeleteAPITeamsIDActivitiesActivityIDOK) Error ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) Error() string
func (*DeleteAPITeamsIDActivitiesActivityIDOK) GetPayload ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) GetPayload() *models.Team
func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsClientError ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsClientError() bool
IsClientError returns true when this delete Api teams Id activities activity Id o k response has a 4xx status code
func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsCode ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsCode(code int) bool
IsCode returns true when this delete Api teams Id activities activity Id o k response a status code equal to that given
func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsRedirect ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsRedirect() bool
IsRedirect returns true when this delete Api teams Id activities activity Id o k response has a 3xx status code
func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsServerError ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsServerError() bool
IsServerError returns true when this delete Api teams Id activities activity Id o k response has a 5xx status code
func (*DeleteAPITeamsIDActivitiesActivityIDOK) IsSuccess ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) IsSuccess() bool
IsSuccess returns true when this delete Api teams Id activities activity Id o k response has a 2xx status code
func (*DeleteAPITeamsIDActivitiesActivityIDOK) String ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDOK) String() string
type DeleteAPITeamsIDActivitiesActivityIDParams ¶
type DeleteAPITeamsIDActivitiesActivityIDParams struct { /* ActivityID. The activity to remove (Activity ID) */ ActivityID int64 /* ID. The team whose permission will be revoked */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPITeamsIDActivitiesActivityIDParams contains all the parameters to send to the API endpoint
for the delete API teams ID activities activity ID operation. Typically these are written to a http.Request.
func NewDeleteAPITeamsIDActivitiesActivityIDParams ¶
func NewDeleteAPITeamsIDActivitiesActivityIDParams() *DeleteAPITeamsIDActivitiesActivityIDParams
NewDeleteAPITeamsIDActivitiesActivityIDParams creates a new DeleteAPITeamsIDActivitiesActivityIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext ¶
func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDActivitiesActivityIDParams
NewDeleteAPITeamsIDActivitiesActivityIDParamsWithContext creates a new DeleteAPITeamsIDActivitiesActivityIDParams object with the ability to set a context for a request.
func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient ¶
func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDActivitiesActivityIDParams
NewDeleteAPITeamsIDActivitiesActivityIDParamsWithHTTPClient creates a new DeleteAPITeamsIDActivitiesActivityIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout ¶
func NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDActivitiesActivityIDParams
NewDeleteAPITeamsIDActivitiesActivityIDParamsWithTimeout creates a new DeleteAPITeamsIDActivitiesActivityIDParams object with the ability to set a timeout on a request.
func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetActivityID ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetActivityID(activityID int64)
SetActivityID adds the activityId to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetContext ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetDefaults ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API teams ID activities activity ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetHTTPClient ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetID ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetID(id int64)
SetID adds the id to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) SetTimeout ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithActivityID ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithActivityID(activityID int64) *DeleteAPITeamsIDActivitiesActivityIDParams
WithActivityID adds the activityID to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithContext ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDActivitiesActivityIDParams
WithContext adds the context to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithDefaults ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithDefaults() *DeleteAPITeamsIDActivitiesActivityIDParams
WithDefaults hydrates default values in the delete API teams ID activities activity ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithHTTPClient ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDActivitiesActivityIDParams
WithHTTPClient adds the HTTPClient to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithID ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithID(id int64) *DeleteAPITeamsIDActivitiesActivityIDParams
WithID adds the id to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WithTimeout ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDActivitiesActivityIDParams
WithTimeout adds the timeout to the delete API teams ID activities activity ID params
func (*DeleteAPITeamsIDActivitiesActivityIDParams) WriteToRequest ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPITeamsIDActivitiesActivityIDReader ¶
type DeleteAPITeamsIDActivitiesActivityIDReader struct {
// contains filtered or unexported fields
}
DeleteAPITeamsIDActivitiesActivityIDReader is a Reader for the DeleteAPITeamsIDActivitiesActivityID structure.
func (*DeleteAPITeamsIDActivitiesActivityIDReader) ReadResponse ¶
func (o *DeleteAPITeamsIDActivitiesActivityIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAPITeamsIDCustomersCustomerIDOK ¶
DeleteAPITeamsIDCustomersCustomerIDOK describes a response with status code 200, with default header values.
Removes a customer from the team.
func NewDeleteAPITeamsIDCustomersCustomerIDOK ¶
func NewDeleteAPITeamsIDCustomersCustomerIDOK() *DeleteAPITeamsIDCustomersCustomerIDOK
NewDeleteAPITeamsIDCustomersCustomerIDOK creates a DeleteAPITeamsIDCustomersCustomerIDOK with default headers values
func (*DeleteAPITeamsIDCustomersCustomerIDOK) Error ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) Error() string
func (*DeleteAPITeamsIDCustomersCustomerIDOK) GetPayload ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) GetPayload() *models.Team
func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsClientError ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsClientError() bool
IsClientError returns true when this delete Api teams Id customers customer Id o k response has a 4xx status code
func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsCode ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsCode(code int) bool
IsCode returns true when this delete Api teams Id customers customer Id o k response a status code equal to that given
func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsRedirect ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsRedirect() bool
IsRedirect returns true when this delete Api teams Id customers customer Id o k response has a 3xx status code
func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsServerError ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsServerError() bool
IsServerError returns true when this delete Api teams Id customers customer Id o k response has a 5xx status code
func (*DeleteAPITeamsIDCustomersCustomerIDOK) IsSuccess ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) IsSuccess() bool
IsSuccess returns true when this delete Api teams Id customers customer Id o k response has a 2xx status code
func (*DeleteAPITeamsIDCustomersCustomerIDOK) String ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDOK) String() string
type DeleteAPITeamsIDCustomersCustomerIDParams ¶
type DeleteAPITeamsIDCustomersCustomerIDParams struct { /* CustomerID. The customer to remove (Customer ID) */ CustomerID int64 /* ID. The team whose permission will be revoked */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPITeamsIDCustomersCustomerIDParams contains all the parameters to send to the API endpoint
for the delete API teams ID customers customer ID operation. Typically these are written to a http.Request.
func NewDeleteAPITeamsIDCustomersCustomerIDParams ¶
func NewDeleteAPITeamsIDCustomersCustomerIDParams() *DeleteAPITeamsIDCustomersCustomerIDParams
NewDeleteAPITeamsIDCustomersCustomerIDParams creates a new DeleteAPITeamsIDCustomersCustomerIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext ¶
func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDCustomersCustomerIDParams
NewDeleteAPITeamsIDCustomersCustomerIDParamsWithContext creates a new DeleteAPITeamsIDCustomersCustomerIDParams object with the ability to set a context for a request.
func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient ¶
func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDCustomersCustomerIDParams
NewDeleteAPITeamsIDCustomersCustomerIDParamsWithHTTPClient creates a new DeleteAPITeamsIDCustomersCustomerIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout ¶
func NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDCustomersCustomerIDParams
NewDeleteAPITeamsIDCustomersCustomerIDParamsWithTimeout creates a new DeleteAPITeamsIDCustomersCustomerIDParams object with the ability to set a timeout on a request.
func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetContext ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetCustomerID ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetCustomerID(customerID int64)
SetCustomerID adds the customerId to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetDefaults ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API teams ID customers customer ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetHTTPClient ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetID ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetID(id int64)
SetID adds the id to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) SetTimeout ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithContext ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDCustomersCustomerIDParams
WithContext adds the context to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithCustomerID ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithCustomerID(customerID int64) *DeleteAPITeamsIDCustomersCustomerIDParams
WithCustomerID adds the customerID to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithDefaults ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithDefaults() *DeleteAPITeamsIDCustomersCustomerIDParams
WithDefaults hydrates default values in the delete API teams ID customers customer ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithHTTPClient ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDCustomersCustomerIDParams
WithHTTPClient adds the HTTPClient to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithID ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithID(id int64) *DeleteAPITeamsIDCustomersCustomerIDParams
WithID adds the id to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WithTimeout ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDCustomersCustomerIDParams
WithTimeout adds the timeout to the delete API teams ID customers customer ID params
func (*DeleteAPITeamsIDCustomersCustomerIDParams) WriteToRequest ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPITeamsIDCustomersCustomerIDReader ¶
type DeleteAPITeamsIDCustomersCustomerIDReader struct {
// contains filtered or unexported fields
}
DeleteAPITeamsIDCustomersCustomerIDReader is a Reader for the DeleteAPITeamsIDCustomersCustomerID structure.
func (*DeleteAPITeamsIDCustomersCustomerIDReader) ReadResponse ¶
func (o *DeleteAPITeamsIDCustomersCustomerIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAPITeamsIDMembersUserIDOK ¶
DeleteAPITeamsIDMembersUserIDOK describes a response with status code 200, with default header values.
Removes a user from the team. The teamlead cannot be removed.
func NewDeleteAPITeamsIDMembersUserIDOK ¶
func NewDeleteAPITeamsIDMembersUserIDOK() *DeleteAPITeamsIDMembersUserIDOK
NewDeleteAPITeamsIDMembersUserIDOK creates a DeleteAPITeamsIDMembersUserIDOK with default headers values
func (*DeleteAPITeamsIDMembersUserIDOK) Error ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) Error() string
func (*DeleteAPITeamsIDMembersUserIDOK) GetPayload ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) GetPayload() *models.Team
func (*DeleteAPITeamsIDMembersUserIDOK) IsClientError ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) IsClientError() bool
IsClientError returns true when this delete Api teams Id members user Id o k response has a 4xx status code
func (*DeleteAPITeamsIDMembersUserIDOK) IsCode ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) IsCode(code int) bool
IsCode returns true when this delete Api teams Id members user Id o k response a status code equal to that given
func (*DeleteAPITeamsIDMembersUserIDOK) IsRedirect ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) IsRedirect() bool
IsRedirect returns true when this delete Api teams Id members user Id o k response has a 3xx status code
func (*DeleteAPITeamsIDMembersUserIDOK) IsServerError ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) IsServerError() bool
IsServerError returns true when this delete Api teams Id members user Id o k response has a 5xx status code
func (*DeleteAPITeamsIDMembersUserIDOK) IsSuccess ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) IsSuccess() bool
IsSuccess returns true when this delete Api teams Id members user Id o k response has a 2xx status code
func (*DeleteAPITeamsIDMembersUserIDOK) String ¶
func (o *DeleteAPITeamsIDMembersUserIDOK) String() string
type DeleteAPITeamsIDMembersUserIDParams ¶
type DeleteAPITeamsIDMembersUserIDParams struct { /* ID. The team from which the member will be removed */ ID int64 /* UserID. The team member to remove (User ID) */ UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPITeamsIDMembersUserIDParams contains all the parameters to send to the API endpoint
for the delete API teams ID members user ID operation. Typically these are written to a http.Request.
func NewDeleteAPITeamsIDMembersUserIDParams ¶
func NewDeleteAPITeamsIDMembersUserIDParams() *DeleteAPITeamsIDMembersUserIDParams
NewDeleteAPITeamsIDMembersUserIDParams creates a new DeleteAPITeamsIDMembersUserIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPITeamsIDMembersUserIDParamsWithContext ¶
func NewDeleteAPITeamsIDMembersUserIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDMembersUserIDParams
NewDeleteAPITeamsIDMembersUserIDParamsWithContext creates a new DeleteAPITeamsIDMembersUserIDParams object with the ability to set a context for a request.
func NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient ¶
func NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDMembersUserIDParams
NewDeleteAPITeamsIDMembersUserIDParamsWithHTTPClient creates a new DeleteAPITeamsIDMembersUserIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout ¶
func NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDMembersUserIDParams
NewDeleteAPITeamsIDMembersUserIDParamsWithTimeout creates a new DeleteAPITeamsIDMembersUserIDParams object with the ability to set a timeout on a request.
func (*DeleteAPITeamsIDMembersUserIDParams) SetContext ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) SetDefaults ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API teams ID members user ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDMembersUserIDParams) SetHTTPClient ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) SetID ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) SetID(id int64)
SetID adds the id to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) SetTimeout ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) SetUserID ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) SetUserID(userID int64)
SetUserID adds the userId to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) WithContext ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDMembersUserIDParams
WithContext adds the context to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) WithDefaults ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WithDefaults() *DeleteAPITeamsIDMembersUserIDParams
WithDefaults hydrates default values in the delete API teams ID members user ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDMembersUserIDParams) WithHTTPClient ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDMembersUserIDParams
WithHTTPClient adds the HTTPClient to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) WithID ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WithID(id int64) *DeleteAPITeamsIDMembersUserIDParams
WithID adds the id to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) WithTimeout ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDMembersUserIDParams
WithTimeout adds the timeout to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) WithUserID ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WithUserID(userID int64) *DeleteAPITeamsIDMembersUserIDParams
WithUserID adds the userID to the delete API teams ID members user ID params
func (*DeleteAPITeamsIDMembersUserIDParams) WriteToRequest ¶
func (o *DeleteAPITeamsIDMembersUserIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPITeamsIDMembersUserIDReader ¶
type DeleteAPITeamsIDMembersUserIDReader struct {
// contains filtered or unexported fields
}
DeleteAPITeamsIDMembersUserIDReader is a Reader for the DeleteAPITeamsIDMembersUserID structure.
func (*DeleteAPITeamsIDMembersUserIDReader) ReadResponse ¶
func (o *DeleteAPITeamsIDMembersUserIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAPITeamsIDNoContent ¶
type DeleteAPITeamsIDNoContent struct { }
DeleteAPITeamsIDNoContent describes a response with status code 204, with default header values.
Delete one team
func NewDeleteAPITeamsIDNoContent ¶
func NewDeleteAPITeamsIDNoContent() *DeleteAPITeamsIDNoContent
NewDeleteAPITeamsIDNoContent creates a DeleteAPITeamsIDNoContent with default headers values
func (*DeleteAPITeamsIDNoContent) Error ¶
func (o *DeleteAPITeamsIDNoContent) Error() string
func (*DeleteAPITeamsIDNoContent) IsClientError ¶
func (o *DeleteAPITeamsIDNoContent) IsClientError() bool
IsClientError returns true when this delete Api teams Id no content response has a 4xx status code
func (*DeleteAPITeamsIDNoContent) IsCode ¶
func (o *DeleteAPITeamsIDNoContent) IsCode(code int) bool
IsCode returns true when this delete Api teams Id no content response a status code equal to that given
func (*DeleteAPITeamsIDNoContent) IsRedirect ¶
func (o *DeleteAPITeamsIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete Api teams Id no content response has a 3xx status code
func (*DeleteAPITeamsIDNoContent) IsServerError ¶
func (o *DeleteAPITeamsIDNoContent) IsServerError() bool
IsServerError returns true when this delete Api teams Id no content response has a 5xx status code
func (*DeleteAPITeamsIDNoContent) IsSuccess ¶
func (o *DeleteAPITeamsIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete Api teams Id no content response has a 2xx status code
func (*DeleteAPITeamsIDNoContent) String ¶
func (o *DeleteAPITeamsIDNoContent) String() string
type DeleteAPITeamsIDParams ¶
type DeleteAPITeamsIDParams struct { /* ID. Team ID to delete */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPITeamsIDParams contains all the parameters to send to the API endpoint
for the delete API teams ID operation. Typically these are written to a http.Request.
func NewDeleteAPITeamsIDParams ¶
func NewDeleteAPITeamsIDParams() *DeleteAPITeamsIDParams
NewDeleteAPITeamsIDParams creates a new DeleteAPITeamsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPITeamsIDParamsWithContext ¶
func NewDeleteAPITeamsIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDParams
NewDeleteAPITeamsIDParamsWithContext creates a new DeleteAPITeamsIDParams object with the ability to set a context for a request.
func NewDeleteAPITeamsIDParamsWithHTTPClient ¶
func NewDeleteAPITeamsIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDParams
NewDeleteAPITeamsIDParamsWithHTTPClient creates a new DeleteAPITeamsIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPITeamsIDParamsWithTimeout ¶
func NewDeleteAPITeamsIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDParams
NewDeleteAPITeamsIDParamsWithTimeout creates a new DeleteAPITeamsIDParams object with the ability to set a timeout on a request.
func (*DeleteAPITeamsIDParams) SetContext ¶
func (o *DeleteAPITeamsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API teams ID params
func (*DeleteAPITeamsIDParams) SetDefaults ¶
func (o *DeleteAPITeamsIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API teams ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDParams) SetHTTPClient ¶
func (o *DeleteAPITeamsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API teams ID params
func (*DeleteAPITeamsIDParams) SetID ¶
func (o *DeleteAPITeamsIDParams) SetID(id int64)
SetID adds the id to the delete API teams ID params
func (*DeleteAPITeamsIDParams) SetTimeout ¶
func (o *DeleteAPITeamsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API teams ID params
func (*DeleteAPITeamsIDParams) WithContext ¶
func (o *DeleteAPITeamsIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDParams
WithContext adds the context to the delete API teams ID params
func (*DeleteAPITeamsIDParams) WithDefaults ¶
func (o *DeleteAPITeamsIDParams) WithDefaults() *DeleteAPITeamsIDParams
WithDefaults hydrates default values in the delete API teams ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDParams) WithHTTPClient ¶
func (o *DeleteAPITeamsIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDParams
WithHTTPClient adds the HTTPClient to the delete API teams ID params
func (*DeleteAPITeamsIDParams) WithID ¶
func (o *DeleteAPITeamsIDParams) WithID(id int64) *DeleteAPITeamsIDParams
WithID adds the id to the delete API teams ID params
func (*DeleteAPITeamsIDParams) WithTimeout ¶
func (o *DeleteAPITeamsIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDParams
WithTimeout adds the timeout to the delete API teams ID params
func (*DeleteAPITeamsIDParams) WriteToRequest ¶
func (o *DeleteAPITeamsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPITeamsIDProjectsProjectIDOK ¶
DeleteAPITeamsIDProjectsProjectIDOK describes a response with status code 200, with default header values.
Removes a project from the team.
func NewDeleteAPITeamsIDProjectsProjectIDOK ¶
func NewDeleteAPITeamsIDProjectsProjectIDOK() *DeleteAPITeamsIDProjectsProjectIDOK
NewDeleteAPITeamsIDProjectsProjectIDOK creates a DeleteAPITeamsIDProjectsProjectIDOK with default headers values
func (*DeleteAPITeamsIDProjectsProjectIDOK) Error ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) Error() string
func (*DeleteAPITeamsIDProjectsProjectIDOK) GetPayload ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) GetPayload() *models.Team
func (*DeleteAPITeamsIDProjectsProjectIDOK) IsClientError ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsClientError() bool
IsClientError returns true when this delete Api teams Id projects project Id o k response has a 4xx status code
func (*DeleteAPITeamsIDProjectsProjectIDOK) IsCode ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsCode(code int) bool
IsCode returns true when this delete Api teams Id projects project Id o k response a status code equal to that given
func (*DeleteAPITeamsIDProjectsProjectIDOK) IsRedirect ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsRedirect() bool
IsRedirect returns true when this delete Api teams Id projects project Id o k response has a 3xx status code
func (*DeleteAPITeamsIDProjectsProjectIDOK) IsServerError ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsServerError() bool
IsServerError returns true when this delete Api teams Id projects project Id o k response has a 5xx status code
func (*DeleteAPITeamsIDProjectsProjectIDOK) IsSuccess ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) IsSuccess() bool
IsSuccess returns true when this delete Api teams Id projects project Id o k response has a 2xx status code
func (*DeleteAPITeamsIDProjectsProjectIDOK) String ¶
func (o *DeleteAPITeamsIDProjectsProjectIDOK) String() string
type DeleteAPITeamsIDProjectsProjectIDParams ¶
type DeleteAPITeamsIDProjectsProjectIDParams struct { /* ID. The team whose permission will be revoked */ ID int64 /* ProjectID. The project to remove (Project ID) */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPITeamsIDProjectsProjectIDParams contains all the parameters to send to the API endpoint
for the delete API teams ID projects project ID operation. Typically these are written to a http.Request.
func NewDeleteAPITeamsIDProjectsProjectIDParams ¶
func NewDeleteAPITeamsIDProjectsProjectIDParams() *DeleteAPITeamsIDProjectsProjectIDParams
NewDeleteAPITeamsIDProjectsProjectIDParams creates a new DeleteAPITeamsIDProjectsProjectIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext ¶
func NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext(ctx context.Context) *DeleteAPITeamsIDProjectsProjectIDParams
NewDeleteAPITeamsIDProjectsProjectIDParamsWithContext creates a new DeleteAPITeamsIDProjectsProjectIDParams object with the ability to set a context for a request.
func NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient ¶
func NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient(client *http.Client) *DeleteAPITeamsIDProjectsProjectIDParams
NewDeleteAPITeamsIDProjectsProjectIDParamsWithHTTPClient creates a new DeleteAPITeamsIDProjectsProjectIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout ¶
func NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout(timeout time.Duration) *DeleteAPITeamsIDProjectsProjectIDParams
NewDeleteAPITeamsIDProjectsProjectIDParamsWithTimeout creates a new DeleteAPITeamsIDProjectsProjectIDParams object with the ability to set a timeout on a request.
func (*DeleteAPITeamsIDProjectsProjectIDParams) SetContext ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) SetDefaults ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API teams ID projects project ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDProjectsProjectIDParams) SetHTTPClient ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) SetID ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetID(id int64)
SetID adds the id to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) SetProjectID ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) SetTimeout ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) WithContext ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithContext(ctx context.Context) *DeleteAPITeamsIDProjectsProjectIDParams
WithContext adds the context to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) WithDefaults ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithDefaults() *DeleteAPITeamsIDProjectsProjectIDParams
WithDefaults hydrates default values in the delete API teams ID projects project ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPITeamsIDProjectsProjectIDParams) WithHTTPClient ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithHTTPClient(client *http.Client) *DeleteAPITeamsIDProjectsProjectIDParams
WithHTTPClient adds the HTTPClient to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) WithID ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithID(id int64) *DeleteAPITeamsIDProjectsProjectIDParams
WithID adds the id to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) WithProjectID ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithProjectID(projectID int64) *DeleteAPITeamsIDProjectsProjectIDParams
WithProjectID adds the projectID to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) WithTimeout ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WithTimeout(timeout time.Duration) *DeleteAPITeamsIDProjectsProjectIDParams
WithTimeout adds the timeout to the delete API teams ID projects project ID params
func (*DeleteAPITeamsIDProjectsProjectIDParams) WriteToRequest ¶
func (o *DeleteAPITeamsIDProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPITeamsIDProjectsProjectIDReader ¶
type DeleteAPITeamsIDProjectsProjectIDReader struct {
// contains filtered or unexported fields
}
DeleteAPITeamsIDProjectsProjectIDReader is a Reader for the DeleteAPITeamsIDProjectsProjectID structure.
func (*DeleteAPITeamsIDProjectsProjectIDReader) ReadResponse ¶
func (o *DeleteAPITeamsIDProjectsProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAPITeamsIDReader ¶
type DeleteAPITeamsIDReader struct {
// contains filtered or unexported fields
}
DeleteAPITeamsIDReader is a Reader for the DeleteAPITeamsID structure.
func (*DeleteAPITeamsIDReader) ReadResponse ¶
func (o *DeleteAPITeamsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPITeamsIDOK ¶
GetAPITeamsIDOK describes a response with status code 200, with default header values.
Returns one team entity
func NewGetAPITeamsIDOK ¶
func NewGetAPITeamsIDOK() *GetAPITeamsIDOK
NewGetAPITeamsIDOK creates a GetAPITeamsIDOK with default headers values
func (*GetAPITeamsIDOK) Error ¶
func (o *GetAPITeamsIDOK) Error() string
func (*GetAPITeamsIDOK) GetPayload ¶
func (o *GetAPITeamsIDOK) GetPayload() *models.Team
func (*GetAPITeamsIDOK) IsClientError ¶
func (o *GetAPITeamsIDOK) IsClientError() bool
IsClientError returns true when this get Api teams Id o k response has a 4xx status code
func (*GetAPITeamsIDOK) IsCode ¶
func (o *GetAPITeamsIDOK) IsCode(code int) bool
IsCode returns true when this get Api teams Id o k response a status code equal to that given
func (*GetAPITeamsIDOK) IsRedirect ¶
func (o *GetAPITeamsIDOK) IsRedirect() bool
IsRedirect returns true when this get Api teams Id o k response has a 3xx status code
func (*GetAPITeamsIDOK) IsServerError ¶
func (o *GetAPITeamsIDOK) IsServerError() bool
IsServerError returns true when this get Api teams Id o k response has a 5xx status code
func (*GetAPITeamsIDOK) IsSuccess ¶
func (o *GetAPITeamsIDOK) IsSuccess() bool
IsSuccess returns true when this get Api teams Id o k response has a 2xx status code
func (*GetAPITeamsIDOK) String ¶
func (o *GetAPITeamsIDOK) String() string
type GetAPITeamsIDParams ¶
type GetAPITeamsIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPITeamsIDParams contains all the parameters to send to the API endpoint
for the get API teams ID operation. Typically these are written to a http.Request.
func NewGetAPITeamsIDParams ¶
func NewGetAPITeamsIDParams() *GetAPITeamsIDParams
NewGetAPITeamsIDParams creates a new GetAPITeamsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPITeamsIDParamsWithContext ¶
func NewGetAPITeamsIDParamsWithContext(ctx context.Context) *GetAPITeamsIDParams
NewGetAPITeamsIDParamsWithContext creates a new GetAPITeamsIDParams object with the ability to set a context for a request.
func NewGetAPITeamsIDParamsWithHTTPClient ¶
func NewGetAPITeamsIDParamsWithHTTPClient(client *http.Client) *GetAPITeamsIDParams
NewGetAPITeamsIDParamsWithHTTPClient creates a new GetAPITeamsIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPITeamsIDParamsWithTimeout ¶
func NewGetAPITeamsIDParamsWithTimeout(timeout time.Duration) *GetAPITeamsIDParams
NewGetAPITeamsIDParamsWithTimeout creates a new GetAPITeamsIDParams object with the ability to set a timeout on a request.
func (*GetAPITeamsIDParams) SetContext ¶
func (o *GetAPITeamsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API teams ID params
func (*GetAPITeamsIDParams) SetDefaults ¶
func (o *GetAPITeamsIDParams) SetDefaults()
SetDefaults hydrates default values in the get API teams ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPITeamsIDParams) SetHTTPClient ¶
func (o *GetAPITeamsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API teams ID params
func (*GetAPITeamsIDParams) SetID ¶
func (o *GetAPITeamsIDParams) SetID(id string)
SetID adds the id to the get API teams ID params
func (*GetAPITeamsIDParams) SetTimeout ¶
func (o *GetAPITeamsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API teams ID params
func (*GetAPITeamsIDParams) WithContext ¶
func (o *GetAPITeamsIDParams) WithContext(ctx context.Context) *GetAPITeamsIDParams
WithContext adds the context to the get API teams ID params
func (*GetAPITeamsIDParams) WithDefaults ¶
func (o *GetAPITeamsIDParams) WithDefaults() *GetAPITeamsIDParams
WithDefaults hydrates default values in the get API teams ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPITeamsIDParams) WithHTTPClient ¶
func (o *GetAPITeamsIDParams) WithHTTPClient(client *http.Client) *GetAPITeamsIDParams
WithHTTPClient adds the HTTPClient to the get API teams ID params
func (*GetAPITeamsIDParams) WithID ¶
func (o *GetAPITeamsIDParams) WithID(id string) *GetAPITeamsIDParams
WithID adds the id to the get API teams ID params
func (*GetAPITeamsIDParams) WithTimeout ¶
func (o *GetAPITeamsIDParams) WithTimeout(timeout time.Duration) *GetAPITeamsIDParams
WithTimeout adds the timeout to the get API teams ID params
func (*GetAPITeamsIDParams) WriteToRequest ¶
func (o *GetAPITeamsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPITeamsIDReader ¶
type GetAPITeamsIDReader struct {
// contains filtered or unexported fields
}
GetAPITeamsIDReader is a Reader for the GetAPITeamsID structure.
func (*GetAPITeamsIDReader) ReadResponse ¶
func (o *GetAPITeamsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPITeamsOK ¶
type GetAPITeamsOK struct {
Payload []*models.TeamCollection
}
GetAPITeamsOK describes a response with status code 200, with default header values.
Returns the collection of all existing teams
func NewGetAPITeamsOK ¶
func NewGetAPITeamsOK() *GetAPITeamsOK
NewGetAPITeamsOK creates a GetAPITeamsOK with default headers values
func (*GetAPITeamsOK) Error ¶
func (o *GetAPITeamsOK) Error() string
func (*GetAPITeamsOK) GetPayload ¶
func (o *GetAPITeamsOK) GetPayload() []*models.TeamCollection
func (*GetAPITeamsOK) IsClientError ¶
func (o *GetAPITeamsOK) IsClientError() bool
IsClientError returns true when this get Api teams o k response has a 4xx status code
func (*GetAPITeamsOK) IsCode ¶
func (o *GetAPITeamsOK) IsCode(code int) bool
IsCode returns true when this get Api teams o k response a status code equal to that given
func (*GetAPITeamsOK) IsRedirect ¶
func (o *GetAPITeamsOK) IsRedirect() bool
IsRedirect returns true when this get Api teams o k response has a 3xx status code
func (*GetAPITeamsOK) IsServerError ¶
func (o *GetAPITeamsOK) IsServerError() bool
IsServerError returns true when this get Api teams o k response has a 5xx status code
func (*GetAPITeamsOK) IsSuccess ¶
func (o *GetAPITeamsOK) IsSuccess() bool
IsSuccess returns true when this get Api teams o k response has a 2xx status code
func (*GetAPITeamsOK) String ¶
func (o *GetAPITeamsOK) String() string
type GetAPITeamsParams ¶
type GetAPITeamsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPITeamsParams contains all the parameters to send to the API endpoint
for the get API teams operation. Typically these are written to a http.Request.
func NewGetAPITeamsParams ¶
func NewGetAPITeamsParams() *GetAPITeamsParams
NewGetAPITeamsParams creates a new GetAPITeamsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPITeamsParamsWithContext ¶
func NewGetAPITeamsParamsWithContext(ctx context.Context) *GetAPITeamsParams
NewGetAPITeamsParamsWithContext creates a new GetAPITeamsParams object with the ability to set a context for a request.
func NewGetAPITeamsParamsWithHTTPClient ¶
func NewGetAPITeamsParamsWithHTTPClient(client *http.Client) *GetAPITeamsParams
NewGetAPITeamsParamsWithHTTPClient creates a new GetAPITeamsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPITeamsParamsWithTimeout ¶
func NewGetAPITeamsParamsWithTimeout(timeout time.Duration) *GetAPITeamsParams
NewGetAPITeamsParamsWithTimeout creates a new GetAPITeamsParams object with the ability to set a timeout on a request.
func (*GetAPITeamsParams) SetContext ¶
func (o *GetAPITeamsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API teams params
func (*GetAPITeamsParams) SetDefaults ¶
func (o *GetAPITeamsParams) SetDefaults()
SetDefaults hydrates default values in the get API teams params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPITeamsParams) SetHTTPClient ¶
func (o *GetAPITeamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API teams params
func (*GetAPITeamsParams) SetTimeout ¶
func (o *GetAPITeamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API teams params
func (*GetAPITeamsParams) WithContext ¶
func (o *GetAPITeamsParams) WithContext(ctx context.Context) *GetAPITeamsParams
WithContext adds the context to the get API teams params
func (*GetAPITeamsParams) WithDefaults ¶
func (o *GetAPITeamsParams) WithDefaults() *GetAPITeamsParams
WithDefaults hydrates default values in the get API teams params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPITeamsParams) WithHTTPClient ¶
func (o *GetAPITeamsParams) WithHTTPClient(client *http.Client) *GetAPITeamsParams
WithHTTPClient adds the HTTPClient to the get API teams params
func (*GetAPITeamsParams) WithTimeout ¶
func (o *GetAPITeamsParams) WithTimeout(timeout time.Duration) *GetAPITeamsParams
WithTimeout adds the timeout to the get API teams params
func (*GetAPITeamsParams) WriteToRequest ¶
func (o *GetAPITeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPITeamsReader ¶
type GetAPITeamsReader struct {
// contains filtered or unexported fields
}
GetAPITeamsReader is a Reader for the GetAPITeams structure.
func (*GetAPITeamsReader) ReadResponse ¶
func (o *GetAPITeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAPITeamsIDOK ¶
PatchAPITeamsIDOK describes a response with status code 200, with default header values.
Returns the updated team
func NewPatchAPITeamsIDOK ¶
func NewPatchAPITeamsIDOK() *PatchAPITeamsIDOK
NewPatchAPITeamsIDOK creates a PatchAPITeamsIDOK with default headers values
func (*PatchAPITeamsIDOK) Error ¶
func (o *PatchAPITeamsIDOK) Error() string
func (*PatchAPITeamsIDOK) GetPayload ¶
func (o *PatchAPITeamsIDOK) GetPayload() *models.Team
func (*PatchAPITeamsIDOK) IsClientError ¶
func (o *PatchAPITeamsIDOK) IsClientError() bool
IsClientError returns true when this patch Api teams Id o k response has a 4xx status code
func (*PatchAPITeamsIDOK) IsCode ¶
func (o *PatchAPITeamsIDOK) IsCode(code int) bool
IsCode returns true when this patch Api teams Id o k response a status code equal to that given
func (*PatchAPITeamsIDOK) IsRedirect ¶
func (o *PatchAPITeamsIDOK) IsRedirect() bool
IsRedirect returns true when this patch Api teams Id o k response has a 3xx status code
func (*PatchAPITeamsIDOK) IsServerError ¶
func (o *PatchAPITeamsIDOK) IsServerError() bool
IsServerError returns true when this patch Api teams Id o k response has a 5xx status code
func (*PatchAPITeamsIDOK) IsSuccess ¶
func (o *PatchAPITeamsIDOK) IsSuccess() bool
IsSuccess returns true when this patch Api teams Id o k response has a 2xx status code
func (*PatchAPITeamsIDOK) String ¶
func (o *PatchAPITeamsIDOK) String() string
type PatchAPITeamsIDParams ¶
type PatchAPITeamsIDParams struct { // Body. Body *models.TeamEditForm /* ID. Team ID to update */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPITeamsIDParams contains all the parameters to send to the API endpoint
for the patch API teams ID operation. Typically these are written to a http.Request.
func NewPatchAPITeamsIDParams ¶
func NewPatchAPITeamsIDParams() *PatchAPITeamsIDParams
NewPatchAPITeamsIDParams creates a new PatchAPITeamsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchAPITeamsIDParamsWithContext ¶
func NewPatchAPITeamsIDParamsWithContext(ctx context.Context) *PatchAPITeamsIDParams
NewPatchAPITeamsIDParamsWithContext creates a new PatchAPITeamsIDParams object with the ability to set a context for a request.
func NewPatchAPITeamsIDParamsWithHTTPClient ¶
func NewPatchAPITeamsIDParamsWithHTTPClient(client *http.Client) *PatchAPITeamsIDParams
NewPatchAPITeamsIDParamsWithHTTPClient creates a new PatchAPITeamsIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAPITeamsIDParamsWithTimeout ¶
func NewPatchAPITeamsIDParamsWithTimeout(timeout time.Duration) *PatchAPITeamsIDParams
NewPatchAPITeamsIDParamsWithTimeout creates a new PatchAPITeamsIDParams object with the ability to set a timeout on a request.
func (*PatchAPITeamsIDParams) SetBody ¶
func (o *PatchAPITeamsIDParams) SetBody(body *models.TeamEditForm)
SetBody adds the body to the patch API teams ID params
func (*PatchAPITeamsIDParams) SetContext ¶
func (o *PatchAPITeamsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API teams ID params
func (*PatchAPITeamsIDParams) SetDefaults ¶
func (o *PatchAPITeamsIDParams) SetDefaults()
SetDefaults hydrates default values in the patch API teams ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPITeamsIDParams) SetHTTPClient ¶
func (o *PatchAPITeamsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API teams ID params
func (*PatchAPITeamsIDParams) SetID ¶
func (o *PatchAPITeamsIDParams) SetID(id int64)
SetID adds the id to the patch API teams ID params
func (*PatchAPITeamsIDParams) SetTimeout ¶
func (o *PatchAPITeamsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API teams ID params
func (*PatchAPITeamsIDParams) WithBody ¶
func (o *PatchAPITeamsIDParams) WithBody(body *models.TeamEditForm) *PatchAPITeamsIDParams
WithBody adds the body to the patch API teams ID params
func (*PatchAPITeamsIDParams) WithContext ¶
func (o *PatchAPITeamsIDParams) WithContext(ctx context.Context) *PatchAPITeamsIDParams
WithContext adds the context to the patch API teams ID params
func (*PatchAPITeamsIDParams) WithDefaults ¶
func (o *PatchAPITeamsIDParams) WithDefaults() *PatchAPITeamsIDParams
WithDefaults hydrates default values in the patch API teams ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPITeamsIDParams) WithHTTPClient ¶
func (o *PatchAPITeamsIDParams) WithHTTPClient(client *http.Client) *PatchAPITeamsIDParams
WithHTTPClient adds the HTTPClient to the patch API teams ID params
func (*PatchAPITeamsIDParams) WithID ¶
func (o *PatchAPITeamsIDParams) WithID(id int64) *PatchAPITeamsIDParams
WithID adds the id to the patch API teams ID params
func (*PatchAPITeamsIDParams) WithTimeout ¶
func (o *PatchAPITeamsIDParams) WithTimeout(timeout time.Duration) *PatchAPITeamsIDParams
WithTimeout adds the timeout to the patch API teams ID params
func (*PatchAPITeamsIDParams) WriteToRequest ¶
func (o *PatchAPITeamsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPITeamsIDReader ¶
type PatchAPITeamsIDReader struct {
// contains filtered or unexported fields
}
PatchAPITeamsIDReader is a Reader for the PatchAPITeamsID structure.
func (*PatchAPITeamsIDReader) ReadResponse ¶
func (o *PatchAPITeamsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPITeamsIDActivitiesActivityIDOK ¶
PostAPITeamsIDActivitiesActivityIDOK describes a response with status code 200, with default header values.
Adds a new activity to a team.
func NewPostAPITeamsIDActivitiesActivityIDOK ¶
func NewPostAPITeamsIDActivitiesActivityIDOK() *PostAPITeamsIDActivitiesActivityIDOK
NewPostAPITeamsIDActivitiesActivityIDOK creates a PostAPITeamsIDActivitiesActivityIDOK with default headers values
func (*PostAPITeamsIDActivitiesActivityIDOK) Error ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) Error() string
func (*PostAPITeamsIDActivitiesActivityIDOK) GetPayload ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) GetPayload() *models.Team
func (*PostAPITeamsIDActivitiesActivityIDOK) IsClientError ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) IsClientError() bool
IsClientError returns true when this post Api teams Id activities activity Id o k response has a 4xx status code
func (*PostAPITeamsIDActivitiesActivityIDOK) IsCode ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) IsCode(code int) bool
IsCode returns true when this post Api teams Id activities activity Id o k response a status code equal to that given
func (*PostAPITeamsIDActivitiesActivityIDOK) IsRedirect ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) IsRedirect() bool
IsRedirect returns true when this post Api teams Id activities activity Id o k response has a 3xx status code
func (*PostAPITeamsIDActivitiesActivityIDOK) IsServerError ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) IsServerError() bool
IsServerError returns true when this post Api teams Id activities activity Id o k response has a 5xx status code
func (*PostAPITeamsIDActivitiesActivityIDOK) IsSuccess ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) IsSuccess() bool
IsSuccess returns true when this post Api teams Id activities activity Id o k response has a 2xx status code
func (*PostAPITeamsIDActivitiesActivityIDOK) String ¶
func (o *PostAPITeamsIDActivitiesActivityIDOK) String() string
type PostAPITeamsIDActivitiesActivityIDParams ¶
type PostAPITeamsIDActivitiesActivityIDParams struct { /* ActivityID. The activity to grant acecess to (Activity ID) */ ActivityID int64 /* ID. The team that is granted access */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPITeamsIDActivitiesActivityIDParams contains all the parameters to send to the API endpoint
for the post API teams ID activities activity ID operation. Typically these are written to a http.Request.
func NewPostAPITeamsIDActivitiesActivityIDParams ¶
func NewPostAPITeamsIDActivitiesActivityIDParams() *PostAPITeamsIDActivitiesActivityIDParams
NewPostAPITeamsIDActivitiesActivityIDParams creates a new PostAPITeamsIDActivitiesActivityIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPITeamsIDActivitiesActivityIDParamsWithContext ¶
func NewPostAPITeamsIDActivitiesActivityIDParamsWithContext(ctx context.Context) *PostAPITeamsIDActivitiesActivityIDParams
NewPostAPITeamsIDActivitiesActivityIDParamsWithContext creates a new PostAPITeamsIDActivitiesActivityIDParams object with the ability to set a context for a request.
func NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient ¶
func NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDActivitiesActivityIDParams
NewPostAPITeamsIDActivitiesActivityIDParamsWithHTTPClient creates a new PostAPITeamsIDActivitiesActivityIDParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout ¶
func NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDActivitiesActivityIDParams
NewPostAPITeamsIDActivitiesActivityIDParamsWithTimeout creates a new PostAPITeamsIDActivitiesActivityIDParams object with the ability to set a timeout on a request.
func (*PostAPITeamsIDActivitiesActivityIDParams) SetActivityID ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) SetActivityID(activityID int64)
SetActivityID adds the activityId to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) SetContext ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) SetDefaults ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) SetDefaults()
SetDefaults hydrates default values in the post API teams ID activities activity ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDActivitiesActivityIDParams) SetHTTPClient ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) SetID ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) SetID(id int64)
SetID adds the id to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) SetTimeout ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) WithActivityID ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WithActivityID(activityID int64) *PostAPITeamsIDActivitiesActivityIDParams
WithActivityID adds the activityID to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) WithContext ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WithContext(ctx context.Context) *PostAPITeamsIDActivitiesActivityIDParams
WithContext adds the context to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) WithDefaults ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WithDefaults() *PostAPITeamsIDActivitiesActivityIDParams
WithDefaults hydrates default values in the post API teams ID activities activity ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDActivitiesActivityIDParams) WithHTTPClient ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDActivitiesActivityIDParams
WithHTTPClient adds the HTTPClient to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) WithID ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WithID(id int64) *PostAPITeamsIDActivitiesActivityIDParams
WithID adds the id to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) WithTimeout ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDActivitiesActivityIDParams
WithTimeout adds the timeout to the post API teams ID activities activity ID params
func (*PostAPITeamsIDActivitiesActivityIDParams) WriteToRequest ¶
func (o *PostAPITeamsIDActivitiesActivityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPITeamsIDActivitiesActivityIDReader ¶
type PostAPITeamsIDActivitiesActivityIDReader struct {
// contains filtered or unexported fields
}
PostAPITeamsIDActivitiesActivityIDReader is a Reader for the PostAPITeamsIDActivitiesActivityID structure.
func (*PostAPITeamsIDActivitiesActivityIDReader) ReadResponse ¶
func (o *PostAPITeamsIDActivitiesActivityIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPITeamsIDCustomersCustomerIDOK ¶
PostAPITeamsIDCustomersCustomerIDOK describes a response with status code 200, with default header values.
Adds a new customer to a team.
func NewPostAPITeamsIDCustomersCustomerIDOK ¶
func NewPostAPITeamsIDCustomersCustomerIDOK() *PostAPITeamsIDCustomersCustomerIDOK
NewPostAPITeamsIDCustomersCustomerIDOK creates a PostAPITeamsIDCustomersCustomerIDOK with default headers values
func (*PostAPITeamsIDCustomersCustomerIDOK) Error ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) Error() string
func (*PostAPITeamsIDCustomersCustomerIDOK) GetPayload ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) GetPayload() *models.Team
func (*PostAPITeamsIDCustomersCustomerIDOK) IsClientError ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) IsClientError() bool
IsClientError returns true when this post Api teams Id customers customer Id o k response has a 4xx status code
func (*PostAPITeamsIDCustomersCustomerIDOK) IsCode ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) IsCode(code int) bool
IsCode returns true when this post Api teams Id customers customer Id o k response a status code equal to that given
func (*PostAPITeamsIDCustomersCustomerIDOK) IsRedirect ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) IsRedirect() bool
IsRedirect returns true when this post Api teams Id customers customer Id o k response has a 3xx status code
func (*PostAPITeamsIDCustomersCustomerIDOK) IsServerError ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) IsServerError() bool
IsServerError returns true when this post Api teams Id customers customer Id o k response has a 5xx status code
func (*PostAPITeamsIDCustomersCustomerIDOK) IsSuccess ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) IsSuccess() bool
IsSuccess returns true when this post Api teams Id customers customer Id o k response has a 2xx status code
func (*PostAPITeamsIDCustomersCustomerIDOK) String ¶
func (o *PostAPITeamsIDCustomersCustomerIDOK) String() string
type PostAPITeamsIDCustomersCustomerIDParams ¶
type PostAPITeamsIDCustomersCustomerIDParams struct { /* CustomerID. The customer to grant acecess to (Customer ID) */ CustomerID int64 /* ID. The team that is granted access */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPITeamsIDCustomersCustomerIDParams contains all the parameters to send to the API endpoint
for the post API teams ID customers customer ID operation. Typically these are written to a http.Request.
func NewPostAPITeamsIDCustomersCustomerIDParams ¶
func NewPostAPITeamsIDCustomersCustomerIDParams() *PostAPITeamsIDCustomersCustomerIDParams
NewPostAPITeamsIDCustomersCustomerIDParams creates a new PostAPITeamsIDCustomersCustomerIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPITeamsIDCustomersCustomerIDParamsWithContext ¶
func NewPostAPITeamsIDCustomersCustomerIDParamsWithContext(ctx context.Context) *PostAPITeamsIDCustomersCustomerIDParams
NewPostAPITeamsIDCustomersCustomerIDParamsWithContext creates a new PostAPITeamsIDCustomersCustomerIDParams object with the ability to set a context for a request.
func NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient ¶
func NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDCustomersCustomerIDParams
NewPostAPITeamsIDCustomersCustomerIDParamsWithHTTPClient creates a new PostAPITeamsIDCustomersCustomerIDParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout ¶
func NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDCustomersCustomerIDParams
NewPostAPITeamsIDCustomersCustomerIDParamsWithTimeout creates a new PostAPITeamsIDCustomersCustomerIDParams object with the ability to set a timeout on a request.
func (*PostAPITeamsIDCustomersCustomerIDParams) SetContext ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) SetCustomerID ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) SetCustomerID(customerID int64)
SetCustomerID adds the customerId to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) SetDefaults ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) SetDefaults()
SetDefaults hydrates default values in the post API teams ID customers customer ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDCustomersCustomerIDParams) SetHTTPClient ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) SetID ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) SetID(id int64)
SetID adds the id to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) SetTimeout ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) WithContext ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WithContext(ctx context.Context) *PostAPITeamsIDCustomersCustomerIDParams
WithContext adds the context to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) WithCustomerID ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WithCustomerID(customerID int64) *PostAPITeamsIDCustomersCustomerIDParams
WithCustomerID adds the customerID to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) WithDefaults ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WithDefaults() *PostAPITeamsIDCustomersCustomerIDParams
WithDefaults hydrates default values in the post API teams ID customers customer ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDCustomersCustomerIDParams) WithHTTPClient ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDCustomersCustomerIDParams
WithHTTPClient adds the HTTPClient to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) WithID ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WithID(id int64) *PostAPITeamsIDCustomersCustomerIDParams
WithID adds the id to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) WithTimeout ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDCustomersCustomerIDParams
WithTimeout adds the timeout to the post API teams ID customers customer ID params
func (*PostAPITeamsIDCustomersCustomerIDParams) WriteToRequest ¶
func (o *PostAPITeamsIDCustomersCustomerIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPITeamsIDCustomersCustomerIDReader ¶
type PostAPITeamsIDCustomersCustomerIDReader struct {
// contains filtered or unexported fields
}
PostAPITeamsIDCustomersCustomerIDReader is a Reader for the PostAPITeamsIDCustomersCustomerID structure.
func (*PostAPITeamsIDCustomersCustomerIDReader) ReadResponse ¶
func (o *PostAPITeamsIDCustomersCustomerIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPITeamsIDMembersUserIDOK ¶
PostAPITeamsIDMembersUserIDOK describes a response with status code 200, with default header values.
Adds a new user to a team.
func NewPostAPITeamsIDMembersUserIDOK ¶
func NewPostAPITeamsIDMembersUserIDOK() *PostAPITeamsIDMembersUserIDOK
NewPostAPITeamsIDMembersUserIDOK creates a PostAPITeamsIDMembersUserIDOK with default headers values
func (*PostAPITeamsIDMembersUserIDOK) Error ¶
func (o *PostAPITeamsIDMembersUserIDOK) Error() string
func (*PostAPITeamsIDMembersUserIDOK) GetPayload ¶
func (o *PostAPITeamsIDMembersUserIDOK) GetPayload() *models.Team
func (*PostAPITeamsIDMembersUserIDOK) IsClientError ¶
func (o *PostAPITeamsIDMembersUserIDOK) IsClientError() bool
IsClientError returns true when this post Api teams Id members user Id o k response has a 4xx status code
func (*PostAPITeamsIDMembersUserIDOK) IsCode ¶
func (o *PostAPITeamsIDMembersUserIDOK) IsCode(code int) bool
IsCode returns true when this post Api teams Id members user Id o k response a status code equal to that given
func (*PostAPITeamsIDMembersUserIDOK) IsRedirect ¶
func (o *PostAPITeamsIDMembersUserIDOK) IsRedirect() bool
IsRedirect returns true when this post Api teams Id members user Id o k response has a 3xx status code
func (*PostAPITeamsIDMembersUserIDOK) IsServerError ¶
func (o *PostAPITeamsIDMembersUserIDOK) IsServerError() bool
IsServerError returns true when this post Api teams Id members user Id o k response has a 5xx status code
func (*PostAPITeamsIDMembersUserIDOK) IsSuccess ¶
func (o *PostAPITeamsIDMembersUserIDOK) IsSuccess() bool
IsSuccess returns true when this post Api teams Id members user Id o k response has a 2xx status code
func (*PostAPITeamsIDMembersUserIDOK) String ¶
func (o *PostAPITeamsIDMembersUserIDOK) String() string
type PostAPITeamsIDMembersUserIDParams ¶
type PostAPITeamsIDMembersUserIDParams struct { /* ID. The team which will receive the new member */ ID int64 /* UserID. The team member to add (User ID) */ UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPITeamsIDMembersUserIDParams contains all the parameters to send to the API endpoint
for the post API teams ID members user ID operation. Typically these are written to a http.Request.
func NewPostAPITeamsIDMembersUserIDParams ¶
func NewPostAPITeamsIDMembersUserIDParams() *PostAPITeamsIDMembersUserIDParams
NewPostAPITeamsIDMembersUserIDParams creates a new PostAPITeamsIDMembersUserIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPITeamsIDMembersUserIDParamsWithContext ¶
func NewPostAPITeamsIDMembersUserIDParamsWithContext(ctx context.Context) *PostAPITeamsIDMembersUserIDParams
NewPostAPITeamsIDMembersUserIDParamsWithContext creates a new PostAPITeamsIDMembersUserIDParams object with the ability to set a context for a request.
func NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient ¶
func NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDMembersUserIDParams
NewPostAPITeamsIDMembersUserIDParamsWithHTTPClient creates a new PostAPITeamsIDMembersUserIDParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPITeamsIDMembersUserIDParamsWithTimeout ¶
func NewPostAPITeamsIDMembersUserIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDMembersUserIDParams
NewPostAPITeamsIDMembersUserIDParamsWithTimeout creates a new PostAPITeamsIDMembersUserIDParams object with the ability to set a timeout on a request.
func (*PostAPITeamsIDMembersUserIDParams) SetContext ¶
func (o *PostAPITeamsIDMembersUserIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) SetDefaults ¶
func (o *PostAPITeamsIDMembersUserIDParams) SetDefaults()
SetDefaults hydrates default values in the post API teams ID members user ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDMembersUserIDParams) SetHTTPClient ¶
func (o *PostAPITeamsIDMembersUserIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) SetID ¶
func (o *PostAPITeamsIDMembersUserIDParams) SetID(id int64)
SetID adds the id to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) SetTimeout ¶
func (o *PostAPITeamsIDMembersUserIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) SetUserID ¶
func (o *PostAPITeamsIDMembersUserIDParams) SetUserID(userID int64)
SetUserID adds the userId to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) WithContext ¶
func (o *PostAPITeamsIDMembersUserIDParams) WithContext(ctx context.Context) *PostAPITeamsIDMembersUserIDParams
WithContext adds the context to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) WithDefaults ¶
func (o *PostAPITeamsIDMembersUserIDParams) WithDefaults() *PostAPITeamsIDMembersUserIDParams
WithDefaults hydrates default values in the post API teams ID members user ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDMembersUserIDParams) WithHTTPClient ¶
func (o *PostAPITeamsIDMembersUserIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDMembersUserIDParams
WithHTTPClient adds the HTTPClient to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) WithID ¶
func (o *PostAPITeamsIDMembersUserIDParams) WithID(id int64) *PostAPITeamsIDMembersUserIDParams
WithID adds the id to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) WithTimeout ¶
func (o *PostAPITeamsIDMembersUserIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDMembersUserIDParams
WithTimeout adds the timeout to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) WithUserID ¶
func (o *PostAPITeamsIDMembersUserIDParams) WithUserID(userID int64) *PostAPITeamsIDMembersUserIDParams
WithUserID adds the userID to the post API teams ID members user ID params
func (*PostAPITeamsIDMembersUserIDParams) WriteToRequest ¶
func (o *PostAPITeamsIDMembersUserIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPITeamsIDMembersUserIDReader ¶
type PostAPITeamsIDMembersUserIDReader struct {
// contains filtered or unexported fields
}
PostAPITeamsIDMembersUserIDReader is a Reader for the PostAPITeamsIDMembersUserID structure.
func (*PostAPITeamsIDMembersUserIDReader) ReadResponse ¶
func (o *PostAPITeamsIDMembersUserIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPITeamsIDProjectsProjectIDOK ¶
PostAPITeamsIDProjectsProjectIDOK describes a response with status code 200, with default header values.
Adds a new project to a team.
func NewPostAPITeamsIDProjectsProjectIDOK ¶
func NewPostAPITeamsIDProjectsProjectIDOK() *PostAPITeamsIDProjectsProjectIDOK
NewPostAPITeamsIDProjectsProjectIDOK creates a PostAPITeamsIDProjectsProjectIDOK with default headers values
func (*PostAPITeamsIDProjectsProjectIDOK) Error ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) Error() string
func (*PostAPITeamsIDProjectsProjectIDOK) GetPayload ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) GetPayload() *models.Team
func (*PostAPITeamsIDProjectsProjectIDOK) IsClientError ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) IsClientError() bool
IsClientError returns true when this post Api teams Id projects project Id o k response has a 4xx status code
func (*PostAPITeamsIDProjectsProjectIDOK) IsCode ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) IsCode(code int) bool
IsCode returns true when this post Api teams Id projects project Id o k response a status code equal to that given
func (*PostAPITeamsIDProjectsProjectIDOK) IsRedirect ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) IsRedirect() bool
IsRedirect returns true when this post Api teams Id projects project Id o k response has a 3xx status code
func (*PostAPITeamsIDProjectsProjectIDOK) IsServerError ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) IsServerError() bool
IsServerError returns true when this post Api teams Id projects project Id o k response has a 5xx status code
func (*PostAPITeamsIDProjectsProjectIDOK) IsSuccess ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) IsSuccess() bool
IsSuccess returns true when this post Api teams Id projects project Id o k response has a 2xx status code
func (*PostAPITeamsIDProjectsProjectIDOK) String ¶
func (o *PostAPITeamsIDProjectsProjectIDOK) String() string
type PostAPITeamsIDProjectsProjectIDParams ¶
type PostAPITeamsIDProjectsProjectIDParams struct { /* ID. The team that is granted access */ ID int64 /* ProjectID. The project to grant acecess to (Project ID) */ ProjectID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPITeamsIDProjectsProjectIDParams contains all the parameters to send to the API endpoint
for the post API teams ID projects project ID operation. Typically these are written to a http.Request.
func NewPostAPITeamsIDProjectsProjectIDParams ¶
func NewPostAPITeamsIDProjectsProjectIDParams() *PostAPITeamsIDProjectsProjectIDParams
NewPostAPITeamsIDProjectsProjectIDParams creates a new PostAPITeamsIDProjectsProjectIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPITeamsIDProjectsProjectIDParamsWithContext ¶
func NewPostAPITeamsIDProjectsProjectIDParamsWithContext(ctx context.Context) *PostAPITeamsIDProjectsProjectIDParams
NewPostAPITeamsIDProjectsProjectIDParamsWithContext creates a new PostAPITeamsIDProjectsProjectIDParams object with the ability to set a context for a request.
func NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient ¶
func NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient(client *http.Client) *PostAPITeamsIDProjectsProjectIDParams
NewPostAPITeamsIDProjectsProjectIDParamsWithHTTPClient creates a new PostAPITeamsIDProjectsProjectIDParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout ¶
func NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout(timeout time.Duration) *PostAPITeamsIDProjectsProjectIDParams
NewPostAPITeamsIDProjectsProjectIDParamsWithTimeout creates a new PostAPITeamsIDProjectsProjectIDParams object with the ability to set a timeout on a request.
func (*PostAPITeamsIDProjectsProjectIDParams) SetContext ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) SetDefaults ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) SetDefaults()
SetDefaults hydrates default values in the post API teams ID projects project ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDProjectsProjectIDParams) SetHTTPClient ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) SetID ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) SetID(id int64)
SetID adds the id to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) SetProjectID ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) SetTimeout ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) WithContext ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WithContext(ctx context.Context) *PostAPITeamsIDProjectsProjectIDParams
WithContext adds the context to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) WithDefaults ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WithDefaults() *PostAPITeamsIDProjectsProjectIDParams
WithDefaults hydrates default values in the post API teams ID projects project ID params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsIDProjectsProjectIDParams) WithHTTPClient ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WithHTTPClient(client *http.Client) *PostAPITeamsIDProjectsProjectIDParams
WithHTTPClient adds the HTTPClient to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) WithID ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WithID(id int64) *PostAPITeamsIDProjectsProjectIDParams
WithID adds the id to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) WithProjectID ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WithProjectID(projectID int64) *PostAPITeamsIDProjectsProjectIDParams
WithProjectID adds the projectID to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) WithTimeout ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WithTimeout(timeout time.Duration) *PostAPITeamsIDProjectsProjectIDParams
WithTimeout adds the timeout to the post API teams ID projects project ID params
func (*PostAPITeamsIDProjectsProjectIDParams) WriteToRequest ¶
func (o *PostAPITeamsIDProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPITeamsIDProjectsProjectIDReader ¶
type PostAPITeamsIDProjectsProjectIDReader struct {
// contains filtered or unexported fields
}
PostAPITeamsIDProjectsProjectIDReader is a Reader for the PostAPITeamsIDProjectsProjectID structure.
func (*PostAPITeamsIDProjectsProjectIDReader) ReadResponse ¶
func (o *PostAPITeamsIDProjectsProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPITeamsOK ¶
PostAPITeamsOK describes a response with status code 200, with default header values.
Returns the new created team
func NewPostAPITeamsOK ¶
func NewPostAPITeamsOK() *PostAPITeamsOK
NewPostAPITeamsOK creates a PostAPITeamsOK with default headers values
func (*PostAPITeamsOK) Error ¶
func (o *PostAPITeamsOK) Error() string
func (*PostAPITeamsOK) GetPayload ¶
func (o *PostAPITeamsOK) GetPayload() *models.Team
func (*PostAPITeamsOK) IsClientError ¶
func (o *PostAPITeamsOK) IsClientError() bool
IsClientError returns true when this post Api teams o k response has a 4xx status code
func (*PostAPITeamsOK) IsCode ¶
func (o *PostAPITeamsOK) IsCode(code int) bool
IsCode returns true when this post Api teams o k response a status code equal to that given
func (*PostAPITeamsOK) IsRedirect ¶
func (o *PostAPITeamsOK) IsRedirect() bool
IsRedirect returns true when this post Api teams o k response has a 3xx status code
func (*PostAPITeamsOK) IsServerError ¶
func (o *PostAPITeamsOK) IsServerError() bool
IsServerError returns true when this post Api teams o k response has a 5xx status code
func (*PostAPITeamsOK) IsSuccess ¶
func (o *PostAPITeamsOK) IsSuccess() bool
IsSuccess returns true when this post Api teams o k response has a 2xx status code
func (*PostAPITeamsOK) String ¶
func (o *PostAPITeamsOK) String() string
type PostAPITeamsParams ¶
type PostAPITeamsParams struct { // Body. Body *models.TeamEditForm Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPITeamsParams contains all the parameters to send to the API endpoint
for the post API teams operation. Typically these are written to a http.Request.
func NewPostAPITeamsParams ¶
func NewPostAPITeamsParams() *PostAPITeamsParams
NewPostAPITeamsParams creates a new PostAPITeamsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPITeamsParamsWithContext ¶
func NewPostAPITeamsParamsWithContext(ctx context.Context) *PostAPITeamsParams
NewPostAPITeamsParamsWithContext creates a new PostAPITeamsParams object with the ability to set a context for a request.
func NewPostAPITeamsParamsWithHTTPClient ¶
func NewPostAPITeamsParamsWithHTTPClient(client *http.Client) *PostAPITeamsParams
NewPostAPITeamsParamsWithHTTPClient creates a new PostAPITeamsParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPITeamsParamsWithTimeout ¶
func NewPostAPITeamsParamsWithTimeout(timeout time.Duration) *PostAPITeamsParams
NewPostAPITeamsParamsWithTimeout creates a new PostAPITeamsParams object with the ability to set a timeout on a request.
func (*PostAPITeamsParams) SetBody ¶
func (o *PostAPITeamsParams) SetBody(body *models.TeamEditForm)
SetBody adds the body to the post API teams params
func (*PostAPITeamsParams) SetContext ¶
func (o *PostAPITeamsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API teams params
func (*PostAPITeamsParams) SetDefaults ¶
func (o *PostAPITeamsParams) SetDefaults()
SetDefaults hydrates default values in the post API teams params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsParams) SetHTTPClient ¶
func (o *PostAPITeamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API teams params
func (*PostAPITeamsParams) SetTimeout ¶
func (o *PostAPITeamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API teams params
func (*PostAPITeamsParams) WithBody ¶
func (o *PostAPITeamsParams) WithBody(body *models.TeamEditForm) *PostAPITeamsParams
WithBody adds the body to the post API teams params
func (*PostAPITeamsParams) WithContext ¶
func (o *PostAPITeamsParams) WithContext(ctx context.Context) *PostAPITeamsParams
WithContext adds the context to the post API teams params
func (*PostAPITeamsParams) WithDefaults ¶
func (o *PostAPITeamsParams) WithDefaults() *PostAPITeamsParams
WithDefaults hydrates default values in the post API teams params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPITeamsParams) WithHTTPClient ¶
func (o *PostAPITeamsParams) WithHTTPClient(client *http.Client) *PostAPITeamsParams
WithHTTPClient adds the HTTPClient to the post API teams params
func (*PostAPITeamsParams) WithTimeout ¶
func (o *PostAPITeamsParams) WithTimeout(timeout time.Duration) *PostAPITeamsParams
WithTimeout adds the timeout to the post API teams params
func (*PostAPITeamsParams) WriteToRequest ¶
func (o *PostAPITeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPITeamsReader ¶
type PostAPITeamsReader struct {
// contains filtered or unexported fields
}
PostAPITeamsReader is a Reader for the PostAPITeams structure.
func (*PostAPITeamsReader) ReadResponse ¶
func (o *PostAPITeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_api_teams_id_activities_activity_id_parameters.go
- delete_api_teams_id_activities_activity_id_responses.go
- delete_api_teams_id_customers_customer_id_parameters.go
- delete_api_teams_id_customers_customer_id_responses.go
- delete_api_teams_id_members_user_id_parameters.go
- delete_api_teams_id_members_user_id_responses.go
- delete_api_teams_id_parameters.go
- delete_api_teams_id_projects_project_id_parameters.go
- delete_api_teams_id_projects_project_id_responses.go
- delete_api_teams_id_responses.go
- get_api_teams_id_parameters.go
- get_api_teams_id_responses.go
- get_api_teams_parameters.go
- get_api_teams_responses.go
- patch_api_teams_id_parameters.go
- patch_api_teams_id_responses.go
- post_api_teams_id_activities_activity_id_parameters.go
- post_api_teams_id_activities_activity_id_responses.go
- post_api_teams_id_customers_customer_id_parameters.go
- post_api_teams_id_customers_customer_id_responses.go
- post_api_teams_id_members_user_id_parameters.go
- post_api_teams_id_members_user_id_responses.go
- post_api_teams_id_projects_project_id_parameters.go
- post_api_teams_id_projects_project_id_responses.go
- post_api_teams_parameters.go
- post_api_teams_responses.go
- team_client.go