Documentation ¶
Index ¶
- type AddTeamMemberForbidden
- func (o *AddTeamMemberForbidden) Code() int
- func (o *AddTeamMemberForbidden) Error() string
- func (o *AddTeamMemberForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AddTeamMemberForbidden) IsClientError() bool
- func (o *AddTeamMemberForbidden) IsCode(code int) bool
- func (o *AddTeamMemberForbidden) IsRedirect() bool
- func (o *AddTeamMemberForbidden) IsServerError() bool
- func (o *AddTeamMemberForbidden) IsSuccess() bool
- func (o *AddTeamMemberForbidden) String() string
- type AddTeamMemberInternalServerError
- func (o *AddTeamMemberInternalServerError) Code() int
- func (o *AddTeamMemberInternalServerError) Error() string
- func (o *AddTeamMemberInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AddTeamMemberInternalServerError) IsClientError() bool
- func (o *AddTeamMemberInternalServerError) IsCode(code int) bool
- func (o *AddTeamMemberInternalServerError) IsRedirect() bool
- func (o *AddTeamMemberInternalServerError) IsServerError() bool
- func (o *AddTeamMemberInternalServerError) IsSuccess() bool
- func (o *AddTeamMemberInternalServerError) String() string
- type AddTeamMemberNotFound
- func (o *AddTeamMemberNotFound) Code() int
- func (o *AddTeamMemberNotFound) Error() string
- func (o *AddTeamMemberNotFound) GetPayload() *models.ErrorResponseBody
- func (o *AddTeamMemberNotFound) IsClientError() bool
- func (o *AddTeamMemberNotFound) IsCode(code int) bool
- func (o *AddTeamMemberNotFound) IsRedirect() bool
- func (o *AddTeamMemberNotFound) IsServerError() bool
- func (o *AddTeamMemberNotFound) IsSuccess() bool
- func (o *AddTeamMemberNotFound) String() string
- type AddTeamMemberOK
- func (o *AddTeamMemberOK) Code() int
- func (o *AddTeamMemberOK) Error() string
- func (o *AddTeamMemberOK) GetPayload() *models.SuccessResponseBody
- func (o *AddTeamMemberOK) IsClientError() bool
- func (o *AddTeamMemberOK) IsCode(code int) bool
- func (o *AddTeamMemberOK) IsRedirect() bool
- func (o *AddTeamMemberOK) IsServerError() bool
- func (o *AddTeamMemberOK) IsSuccess() bool
- func (o *AddTeamMemberOK) String() string
- type AddTeamMemberParams
- func (o *AddTeamMemberParams) SetBody(body *models.AddTeamMemberCommand)
- func (o *AddTeamMemberParams) SetContext(ctx context.Context)
- func (o *AddTeamMemberParams) SetDefaults()
- func (o *AddTeamMemberParams) SetHTTPClient(client *http.Client)
- func (o *AddTeamMemberParams) SetTeamID(teamID string)
- func (o *AddTeamMemberParams) SetTimeout(timeout time.Duration)
- func (o *AddTeamMemberParams) WithBody(body *models.AddTeamMemberCommand) *AddTeamMemberParams
- func (o *AddTeamMemberParams) WithContext(ctx context.Context) *AddTeamMemberParams
- func (o *AddTeamMemberParams) WithDefaults() *AddTeamMemberParams
- func (o *AddTeamMemberParams) WithHTTPClient(client *http.Client) *AddTeamMemberParams
- func (o *AddTeamMemberParams) WithTeamID(teamID string) *AddTeamMemberParams
- func (o *AddTeamMemberParams) WithTimeout(timeout time.Duration) *AddTeamMemberParams
- func (o *AddTeamMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddTeamMemberReader
- type AddTeamMemberUnauthorized
- func (o *AddTeamMemberUnauthorized) Code() int
- func (o *AddTeamMemberUnauthorized) Error() string
- func (o *AddTeamMemberUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AddTeamMemberUnauthorized) IsClientError() bool
- func (o *AddTeamMemberUnauthorized) IsCode(code int) bool
- func (o *AddTeamMemberUnauthorized) IsRedirect() bool
- func (o *AddTeamMemberUnauthorized) IsServerError() bool
- func (o *AddTeamMemberUnauthorized) IsSuccess() bool
- func (o *AddTeamMemberUnauthorized) String() string
- type Client
- func (a *Client) AddTeamMember(teamID string, body *models.AddTeamMemberCommand, opts ...ClientOption) (*AddTeamMemberOK, error)
- func (a *Client) AddTeamMemberWithParams(params *AddTeamMemberParams, opts ...ClientOption) (*AddTeamMemberOK, error)
- func (a *Client) CreateTeam(body *models.CreateTeamCommand, opts ...ClientOption) (*CreateTeamOK, error)
- func (a *Client) CreateTeamWithParams(params *CreateTeamParams, opts ...ClientOption) (*CreateTeamOK, error)
- func (a *Client) DeleteTeamByID(teamID string, opts ...ClientOption) (*DeleteTeamByIDOK, error)
- func (a *Client) DeleteTeamByIDWithParams(params *DeleteTeamByIDParams, opts ...ClientOption) (*DeleteTeamByIDOK, error)
- func (a *Client) GetTeamByID(teamID string, opts ...ClientOption) (*GetTeamByIDOK, error)
- func (a *Client) GetTeamByIDWithParams(params *GetTeamByIDParams, opts ...ClientOption) (*GetTeamByIDOK, error)
- func (a *Client) GetTeamMembers(teamID string, opts ...ClientOption) (*GetTeamMembersOK, error)
- func (a *Client) GetTeamMembersWithParams(params *GetTeamMembersParams, opts ...ClientOption) (*GetTeamMembersOK, error)
- func (a *Client) GetTeamPreferences(teamID string, opts ...ClientOption) (*GetTeamPreferencesOK, error)
- func (a *Client) GetTeamPreferencesWithParams(params *GetTeamPreferencesParams, opts ...ClientOption) (*GetTeamPreferencesOK, error)
- func (a *Client) RemoveTeamMember(userID int64, teamID string, opts ...ClientOption) (*RemoveTeamMemberOK, error)
- func (a *Client) RemoveTeamMemberWithParams(params *RemoveTeamMemberParams, opts ...ClientOption) (*RemoveTeamMemberOK, error)
- func (a *Client) SearchTeams(params *SearchTeamsParams, opts ...ClientOption) (*SearchTeamsOK, error)
- func (a *Client) SetTeamMemberships(teamID string, body *models.SetTeamMembershipsCommand, opts ...ClientOption) (*SetTeamMembershipsOK, error)
- func (a *Client) SetTeamMembershipsWithParams(params *SetTeamMembershipsParams, opts ...ClientOption) (*SetTeamMembershipsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTeam(teamID string, body *models.UpdateTeamCommand, opts ...ClientOption) (*UpdateTeamOK, error)
- func (a *Client) UpdateTeamMember(params *UpdateTeamMemberParams, opts ...ClientOption) (*UpdateTeamMemberOK, error)
- func (a *Client) UpdateTeamPreferences(teamID string, body *models.UpdatePrefsCmd, opts ...ClientOption) (*UpdateTeamPreferencesOK, error)
- func (a *Client) UpdateTeamPreferencesWithParams(params *UpdateTeamPreferencesParams, opts ...ClientOption) (*UpdateTeamPreferencesOK, error)
- func (a *Client) UpdateTeamWithParams(params *UpdateTeamParams, opts ...ClientOption) (*UpdateTeamOK, error)
- type ClientOption
- type ClientService
- type CreateTeamConflict
- func (o *CreateTeamConflict) Code() int
- func (o *CreateTeamConflict) Error() string
- func (o *CreateTeamConflict) GetPayload() *models.ErrorResponseBody
- func (o *CreateTeamConflict) IsClientError() bool
- func (o *CreateTeamConflict) IsCode(code int) bool
- func (o *CreateTeamConflict) IsRedirect() bool
- func (o *CreateTeamConflict) IsServerError() bool
- func (o *CreateTeamConflict) IsSuccess() bool
- func (o *CreateTeamConflict) String() string
- type CreateTeamForbidden
- func (o *CreateTeamForbidden) Code() int
- func (o *CreateTeamForbidden) Error() string
- func (o *CreateTeamForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateTeamForbidden) IsClientError() bool
- func (o *CreateTeamForbidden) IsCode(code int) bool
- func (o *CreateTeamForbidden) IsRedirect() bool
- func (o *CreateTeamForbidden) IsServerError() bool
- func (o *CreateTeamForbidden) IsSuccess() bool
- func (o *CreateTeamForbidden) String() string
- type CreateTeamInternalServerError
- func (o *CreateTeamInternalServerError) Code() int
- func (o *CreateTeamInternalServerError) Error() string
- func (o *CreateTeamInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateTeamInternalServerError) IsClientError() bool
- func (o *CreateTeamInternalServerError) IsCode(code int) bool
- func (o *CreateTeamInternalServerError) IsRedirect() bool
- func (o *CreateTeamInternalServerError) IsServerError() bool
- func (o *CreateTeamInternalServerError) IsSuccess() bool
- func (o *CreateTeamInternalServerError) String() string
- type CreateTeamOK
- func (o *CreateTeamOK) Code() int
- func (o *CreateTeamOK) Error() string
- func (o *CreateTeamOK) GetPayload() *models.CreateTeamOKBody
- func (o *CreateTeamOK) IsClientError() bool
- func (o *CreateTeamOK) IsCode(code int) bool
- func (o *CreateTeamOK) IsRedirect() bool
- func (o *CreateTeamOK) IsServerError() bool
- func (o *CreateTeamOK) IsSuccess() bool
- func (o *CreateTeamOK) String() string
- type CreateTeamParams
- func (o *CreateTeamParams) SetBody(body *models.CreateTeamCommand)
- func (o *CreateTeamParams) SetContext(ctx context.Context)
- func (o *CreateTeamParams) SetDefaults()
- func (o *CreateTeamParams) SetHTTPClient(client *http.Client)
- func (o *CreateTeamParams) SetTimeout(timeout time.Duration)
- func (o *CreateTeamParams) WithBody(body *models.CreateTeamCommand) *CreateTeamParams
- func (o *CreateTeamParams) WithContext(ctx context.Context) *CreateTeamParams
- func (o *CreateTeamParams) WithDefaults() *CreateTeamParams
- func (o *CreateTeamParams) WithHTTPClient(client *http.Client) *CreateTeamParams
- func (o *CreateTeamParams) WithTimeout(timeout time.Duration) *CreateTeamParams
- func (o *CreateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTeamReader
- type CreateTeamUnauthorized
- func (o *CreateTeamUnauthorized) Code() int
- func (o *CreateTeamUnauthorized) Error() string
- func (o *CreateTeamUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateTeamUnauthorized) IsClientError() bool
- func (o *CreateTeamUnauthorized) IsCode(code int) bool
- func (o *CreateTeamUnauthorized) IsRedirect() bool
- func (o *CreateTeamUnauthorized) IsServerError() bool
- func (o *CreateTeamUnauthorized) IsSuccess() bool
- func (o *CreateTeamUnauthorized) String() string
- type DeleteTeamByIDForbidden
- func (o *DeleteTeamByIDForbidden) Code() int
- func (o *DeleteTeamByIDForbidden) Error() string
- func (o *DeleteTeamByIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteTeamByIDForbidden) IsClientError() bool
- func (o *DeleteTeamByIDForbidden) IsCode(code int) bool
- func (o *DeleteTeamByIDForbidden) IsRedirect() bool
- func (o *DeleteTeamByIDForbidden) IsServerError() bool
- func (o *DeleteTeamByIDForbidden) IsSuccess() bool
- func (o *DeleteTeamByIDForbidden) String() string
- type DeleteTeamByIDInternalServerError
- func (o *DeleteTeamByIDInternalServerError) Code() int
- func (o *DeleteTeamByIDInternalServerError) Error() string
- func (o *DeleteTeamByIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteTeamByIDInternalServerError) IsClientError() bool
- func (o *DeleteTeamByIDInternalServerError) IsCode(code int) bool
- func (o *DeleteTeamByIDInternalServerError) IsRedirect() bool
- func (o *DeleteTeamByIDInternalServerError) IsServerError() bool
- func (o *DeleteTeamByIDInternalServerError) IsSuccess() bool
- func (o *DeleteTeamByIDInternalServerError) String() string
- type DeleteTeamByIDNotFound
- func (o *DeleteTeamByIDNotFound) Code() int
- func (o *DeleteTeamByIDNotFound) Error() string
- func (o *DeleteTeamByIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteTeamByIDNotFound) IsClientError() bool
- func (o *DeleteTeamByIDNotFound) IsCode(code int) bool
- func (o *DeleteTeamByIDNotFound) IsRedirect() bool
- func (o *DeleteTeamByIDNotFound) IsServerError() bool
- func (o *DeleteTeamByIDNotFound) IsSuccess() bool
- func (o *DeleteTeamByIDNotFound) String() string
- type DeleteTeamByIDOK
- func (o *DeleteTeamByIDOK) Code() int
- func (o *DeleteTeamByIDOK) Error() string
- func (o *DeleteTeamByIDOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteTeamByIDOK) IsClientError() bool
- func (o *DeleteTeamByIDOK) IsCode(code int) bool
- func (o *DeleteTeamByIDOK) IsRedirect() bool
- func (o *DeleteTeamByIDOK) IsServerError() bool
- func (o *DeleteTeamByIDOK) IsSuccess() bool
- func (o *DeleteTeamByIDOK) String() string
- type DeleteTeamByIDParams
- func NewDeleteTeamByIDParams() *DeleteTeamByIDParams
- func NewDeleteTeamByIDParamsWithContext(ctx context.Context) *DeleteTeamByIDParams
- func NewDeleteTeamByIDParamsWithHTTPClient(client *http.Client) *DeleteTeamByIDParams
- func NewDeleteTeamByIDParamsWithTimeout(timeout time.Duration) *DeleteTeamByIDParams
- func (o *DeleteTeamByIDParams) SetContext(ctx context.Context)
- func (o *DeleteTeamByIDParams) SetDefaults()
- func (o *DeleteTeamByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamByIDParams) SetTeamID(teamID string)
- func (o *DeleteTeamByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamByIDParams) WithContext(ctx context.Context) *DeleteTeamByIDParams
- func (o *DeleteTeamByIDParams) WithDefaults() *DeleteTeamByIDParams
- func (o *DeleteTeamByIDParams) WithHTTPClient(client *http.Client) *DeleteTeamByIDParams
- func (o *DeleteTeamByIDParams) WithTeamID(teamID string) *DeleteTeamByIDParams
- func (o *DeleteTeamByIDParams) WithTimeout(timeout time.Duration) *DeleteTeamByIDParams
- func (o *DeleteTeamByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamByIDReader
- type DeleteTeamByIDUnauthorized
- func (o *DeleteTeamByIDUnauthorized) Code() int
- func (o *DeleteTeamByIDUnauthorized) Error() string
- func (o *DeleteTeamByIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteTeamByIDUnauthorized) IsClientError() bool
- func (o *DeleteTeamByIDUnauthorized) IsCode(code int) bool
- func (o *DeleteTeamByIDUnauthorized) IsRedirect() bool
- func (o *DeleteTeamByIDUnauthorized) IsServerError() bool
- func (o *DeleteTeamByIDUnauthorized) IsSuccess() bool
- func (o *DeleteTeamByIDUnauthorized) String() string
- type GetTeamByIDForbidden
- func (o *GetTeamByIDForbidden) Code() int
- func (o *GetTeamByIDForbidden) Error() string
- func (o *GetTeamByIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamByIDForbidden) IsClientError() bool
- func (o *GetTeamByIDForbidden) IsCode(code int) bool
- func (o *GetTeamByIDForbidden) IsRedirect() bool
- func (o *GetTeamByIDForbidden) IsServerError() bool
- func (o *GetTeamByIDForbidden) IsSuccess() bool
- func (o *GetTeamByIDForbidden) String() string
- type GetTeamByIDInternalServerError
- func (o *GetTeamByIDInternalServerError) Code() int
- func (o *GetTeamByIDInternalServerError) Error() string
- func (o *GetTeamByIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamByIDInternalServerError) IsClientError() bool
- func (o *GetTeamByIDInternalServerError) IsCode(code int) bool
- func (o *GetTeamByIDInternalServerError) IsRedirect() bool
- func (o *GetTeamByIDInternalServerError) IsServerError() bool
- func (o *GetTeamByIDInternalServerError) IsSuccess() bool
- func (o *GetTeamByIDInternalServerError) String() string
- type GetTeamByIDNotFound
- func (o *GetTeamByIDNotFound) Code() int
- func (o *GetTeamByIDNotFound) Error() string
- func (o *GetTeamByIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamByIDNotFound) IsClientError() bool
- func (o *GetTeamByIDNotFound) IsCode(code int) bool
- func (o *GetTeamByIDNotFound) IsRedirect() bool
- func (o *GetTeamByIDNotFound) IsServerError() bool
- func (o *GetTeamByIDNotFound) IsSuccess() bool
- func (o *GetTeamByIDNotFound) String() string
- type GetTeamByIDOK
- func (o *GetTeamByIDOK) Code() int
- func (o *GetTeamByIDOK) Error() string
- func (o *GetTeamByIDOK) GetPayload() *models.TeamDTO
- func (o *GetTeamByIDOK) IsClientError() bool
- func (o *GetTeamByIDOK) IsCode(code int) bool
- func (o *GetTeamByIDOK) IsRedirect() bool
- func (o *GetTeamByIDOK) IsServerError() bool
- func (o *GetTeamByIDOK) IsSuccess() bool
- func (o *GetTeamByIDOK) String() string
- type GetTeamByIDParams
- func (o *GetTeamByIDParams) SetContext(ctx context.Context)
- func (o *GetTeamByIDParams) SetDefaults()
- func (o *GetTeamByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamByIDParams) SetTeamID(teamID string)
- func (o *GetTeamByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamByIDParams) WithContext(ctx context.Context) *GetTeamByIDParams
- func (o *GetTeamByIDParams) WithDefaults() *GetTeamByIDParams
- func (o *GetTeamByIDParams) WithHTTPClient(client *http.Client) *GetTeamByIDParams
- func (o *GetTeamByIDParams) WithTeamID(teamID string) *GetTeamByIDParams
- func (o *GetTeamByIDParams) WithTimeout(timeout time.Duration) *GetTeamByIDParams
- func (o *GetTeamByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamByIDReader
- type GetTeamByIDUnauthorized
- func (o *GetTeamByIDUnauthorized) Code() int
- func (o *GetTeamByIDUnauthorized) Error() string
- func (o *GetTeamByIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamByIDUnauthorized) IsClientError() bool
- func (o *GetTeamByIDUnauthorized) IsCode(code int) bool
- func (o *GetTeamByIDUnauthorized) IsRedirect() bool
- func (o *GetTeamByIDUnauthorized) IsServerError() bool
- func (o *GetTeamByIDUnauthorized) IsSuccess() bool
- func (o *GetTeamByIDUnauthorized) String() string
- type GetTeamMembersForbidden
- func (o *GetTeamMembersForbidden) Code() int
- func (o *GetTeamMembersForbidden) Error() string
- func (o *GetTeamMembersForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamMembersForbidden) IsClientError() bool
- func (o *GetTeamMembersForbidden) IsCode(code int) bool
- func (o *GetTeamMembersForbidden) IsRedirect() bool
- func (o *GetTeamMembersForbidden) IsServerError() bool
- func (o *GetTeamMembersForbidden) IsSuccess() bool
- func (o *GetTeamMembersForbidden) String() string
- type GetTeamMembersInternalServerError
- func (o *GetTeamMembersInternalServerError) Code() int
- func (o *GetTeamMembersInternalServerError) Error() string
- func (o *GetTeamMembersInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamMembersInternalServerError) IsClientError() bool
- func (o *GetTeamMembersInternalServerError) IsCode(code int) bool
- func (o *GetTeamMembersInternalServerError) IsRedirect() bool
- func (o *GetTeamMembersInternalServerError) IsServerError() bool
- func (o *GetTeamMembersInternalServerError) IsSuccess() bool
- func (o *GetTeamMembersInternalServerError) String() string
- type GetTeamMembersNotFound
- func (o *GetTeamMembersNotFound) Code() int
- func (o *GetTeamMembersNotFound) Error() string
- func (o *GetTeamMembersNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamMembersNotFound) IsClientError() bool
- func (o *GetTeamMembersNotFound) IsCode(code int) bool
- func (o *GetTeamMembersNotFound) IsRedirect() bool
- func (o *GetTeamMembersNotFound) IsServerError() bool
- func (o *GetTeamMembersNotFound) IsSuccess() bool
- func (o *GetTeamMembersNotFound) String() string
- type GetTeamMembersOK
- func (o *GetTeamMembersOK) Code() int
- func (o *GetTeamMembersOK) Error() string
- func (o *GetTeamMembersOK) GetPayload() []*models.TeamMemberDTO
- func (o *GetTeamMembersOK) IsClientError() bool
- func (o *GetTeamMembersOK) IsCode(code int) bool
- func (o *GetTeamMembersOK) IsRedirect() bool
- func (o *GetTeamMembersOK) IsServerError() bool
- func (o *GetTeamMembersOK) IsSuccess() bool
- func (o *GetTeamMembersOK) String() string
- type GetTeamMembersParams
- func NewGetTeamMembersParams() *GetTeamMembersParams
- func NewGetTeamMembersParamsWithContext(ctx context.Context) *GetTeamMembersParams
- func NewGetTeamMembersParamsWithHTTPClient(client *http.Client) *GetTeamMembersParams
- func NewGetTeamMembersParamsWithTimeout(timeout time.Duration) *GetTeamMembersParams
- func (o *GetTeamMembersParams) SetContext(ctx context.Context)
- func (o *GetTeamMembersParams) SetDefaults()
- func (o *GetTeamMembersParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamMembersParams) SetTeamID(teamID string)
- func (o *GetTeamMembersParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamMembersParams) WithContext(ctx context.Context) *GetTeamMembersParams
- func (o *GetTeamMembersParams) WithDefaults() *GetTeamMembersParams
- func (o *GetTeamMembersParams) WithHTTPClient(client *http.Client) *GetTeamMembersParams
- func (o *GetTeamMembersParams) WithTeamID(teamID string) *GetTeamMembersParams
- func (o *GetTeamMembersParams) WithTimeout(timeout time.Duration) *GetTeamMembersParams
- func (o *GetTeamMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamMembersReader
- type GetTeamMembersUnauthorized
- func (o *GetTeamMembersUnauthorized) Code() int
- func (o *GetTeamMembersUnauthorized) Error() string
- func (o *GetTeamMembersUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamMembersUnauthorized) IsClientError() bool
- func (o *GetTeamMembersUnauthorized) IsCode(code int) bool
- func (o *GetTeamMembersUnauthorized) IsRedirect() bool
- func (o *GetTeamMembersUnauthorized) IsServerError() bool
- func (o *GetTeamMembersUnauthorized) IsSuccess() bool
- func (o *GetTeamMembersUnauthorized) String() string
- type GetTeamPreferencesInternalServerError
- func (o *GetTeamPreferencesInternalServerError) Code() int
- func (o *GetTeamPreferencesInternalServerError) Error() string
- func (o *GetTeamPreferencesInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamPreferencesInternalServerError) IsClientError() bool
- func (o *GetTeamPreferencesInternalServerError) IsCode(code int) bool
- func (o *GetTeamPreferencesInternalServerError) IsRedirect() bool
- func (o *GetTeamPreferencesInternalServerError) IsServerError() bool
- func (o *GetTeamPreferencesInternalServerError) IsSuccess() bool
- func (o *GetTeamPreferencesInternalServerError) String() string
- type GetTeamPreferencesOK
- func (o *GetTeamPreferencesOK) Code() int
- func (o *GetTeamPreferencesOK) Error() string
- func (o *GetTeamPreferencesOK) GetPayload() *models.Preferences
- func (o *GetTeamPreferencesOK) IsClientError() bool
- func (o *GetTeamPreferencesOK) IsCode(code int) bool
- func (o *GetTeamPreferencesOK) IsRedirect() bool
- func (o *GetTeamPreferencesOK) IsServerError() bool
- func (o *GetTeamPreferencesOK) IsSuccess() bool
- func (o *GetTeamPreferencesOK) String() string
- type GetTeamPreferencesParams
- func NewGetTeamPreferencesParams() *GetTeamPreferencesParams
- func NewGetTeamPreferencesParamsWithContext(ctx context.Context) *GetTeamPreferencesParams
- func NewGetTeamPreferencesParamsWithHTTPClient(client *http.Client) *GetTeamPreferencesParams
- func NewGetTeamPreferencesParamsWithTimeout(timeout time.Duration) *GetTeamPreferencesParams
- func (o *GetTeamPreferencesParams) SetContext(ctx context.Context)
- func (o *GetTeamPreferencesParams) SetDefaults()
- func (o *GetTeamPreferencesParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamPreferencesParams) SetTeamID(teamID string)
- func (o *GetTeamPreferencesParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamPreferencesParams) WithContext(ctx context.Context) *GetTeamPreferencesParams
- func (o *GetTeamPreferencesParams) WithDefaults() *GetTeamPreferencesParams
- func (o *GetTeamPreferencesParams) WithHTTPClient(client *http.Client) *GetTeamPreferencesParams
- func (o *GetTeamPreferencesParams) WithTeamID(teamID string) *GetTeamPreferencesParams
- func (o *GetTeamPreferencesParams) WithTimeout(timeout time.Duration) *GetTeamPreferencesParams
- func (o *GetTeamPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamPreferencesReader
- type GetTeamPreferencesUnauthorized
- func (o *GetTeamPreferencesUnauthorized) Code() int
- func (o *GetTeamPreferencesUnauthorized) Error() string
- func (o *GetTeamPreferencesUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetTeamPreferencesUnauthorized) IsClientError() bool
- func (o *GetTeamPreferencesUnauthorized) IsCode(code int) bool
- func (o *GetTeamPreferencesUnauthorized) IsRedirect() bool
- func (o *GetTeamPreferencesUnauthorized) IsServerError() bool
- func (o *GetTeamPreferencesUnauthorized) IsSuccess() bool
- func (o *GetTeamPreferencesUnauthorized) String() string
- type RemoveTeamMemberForbidden
- func (o *RemoveTeamMemberForbidden) Code() int
- func (o *RemoveTeamMemberForbidden) Error() string
- func (o *RemoveTeamMemberForbidden) GetPayload() *models.ErrorResponseBody
- func (o *RemoveTeamMemberForbidden) IsClientError() bool
- func (o *RemoveTeamMemberForbidden) IsCode(code int) bool
- func (o *RemoveTeamMemberForbidden) IsRedirect() bool
- func (o *RemoveTeamMemberForbidden) IsServerError() bool
- func (o *RemoveTeamMemberForbidden) IsSuccess() bool
- func (o *RemoveTeamMemberForbidden) String() string
- type RemoveTeamMemberInternalServerError
- func (o *RemoveTeamMemberInternalServerError) Code() int
- func (o *RemoveTeamMemberInternalServerError) Error() string
- func (o *RemoveTeamMemberInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *RemoveTeamMemberInternalServerError) IsClientError() bool
- func (o *RemoveTeamMemberInternalServerError) IsCode(code int) bool
- func (o *RemoveTeamMemberInternalServerError) IsRedirect() bool
- func (o *RemoveTeamMemberInternalServerError) IsServerError() bool
- func (o *RemoveTeamMemberInternalServerError) IsSuccess() bool
- func (o *RemoveTeamMemberInternalServerError) String() string
- type RemoveTeamMemberNotFound
- func (o *RemoveTeamMemberNotFound) Code() int
- func (o *RemoveTeamMemberNotFound) Error() string
- func (o *RemoveTeamMemberNotFound) GetPayload() *models.ErrorResponseBody
- func (o *RemoveTeamMemberNotFound) IsClientError() bool
- func (o *RemoveTeamMemberNotFound) IsCode(code int) bool
- func (o *RemoveTeamMemberNotFound) IsRedirect() bool
- func (o *RemoveTeamMemberNotFound) IsServerError() bool
- func (o *RemoveTeamMemberNotFound) IsSuccess() bool
- func (o *RemoveTeamMemberNotFound) String() string
- type RemoveTeamMemberOK
- func (o *RemoveTeamMemberOK) Code() int
- func (o *RemoveTeamMemberOK) Error() string
- func (o *RemoveTeamMemberOK) GetPayload() *models.SuccessResponseBody
- func (o *RemoveTeamMemberOK) IsClientError() bool
- func (o *RemoveTeamMemberOK) IsCode(code int) bool
- func (o *RemoveTeamMemberOK) IsRedirect() bool
- func (o *RemoveTeamMemberOK) IsServerError() bool
- func (o *RemoveTeamMemberOK) IsSuccess() bool
- func (o *RemoveTeamMemberOK) String() string
- type RemoveTeamMemberParams
- func NewRemoveTeamMemberParams() *RemoveTeamMemberParams
- func NewRemoveTeamMemberParamsWithContext(ctx context.Context) *RemoveTeamMemberParams
- func NewRemoveTeamMemberParamsWithHTTPClient(client *http.Client) *RemoveTeamMemberParams
- func NewRemoveTeamMemberParamsWithTimeout(timeout time.Duration) *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) SetContext(ctx context.Context)
- func (o *RemoveTeamMemberParams) SetDefaults()
- func (o *RemoveTeamMemberParams) SetHTTPClient(client *http.Client)
- func (o *RemoveTeamMemberParams) SetTeamID(teamID string)
- func (o *RemoveTeamMemberParams) SetTimeout(timeout time.Duration)
- func (o *RemoveTeamMemberParams) SetUserID(userID int64)
- func (o *RemoveTeamMemberParams) WithContext(ctx context.Context) *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) WithDefaults() *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) WithHTTPClient(client *http.Client) *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) WithTeamID(teamID string) *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) WithTimeout(timeout time.Duration) *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) WithUserID(userID int64) *RemoveTeamMemberParams
- func (o *RemoveTeamMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveTeamMemberReader
- type RemoveTeamMemberUnauthorized
- func (o *RemoveTeamMemberUnauthorized) Code() int
- func (o *RemoveTeamMemberUnauthorized) Error() string
- func (o *RemoveTeamMemberUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *RemoveTeamMemberUnauthorized) IsClientError() bool
- func (o *RemoveTeamMemberUnauthorized) IsCode(code int) bool
- func (o *RemoveTeamMemberUnauthorized) IsRedirect() bool
- func (o *RemoveTeamMemberUnauthorized) IsServerError() bool
- func (o *RemoveTeamMemberUnauthorized) IsSuccess() bool
- func (o *RemoveTeamMemberUnauthorized) String() string
- type SearchTeamsForbidden
- func (o *SearchTeamsForbidden) Code() int
- func (o *SearchTeamsForbidden) Error() string
- func (o *SearchTeamsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *SearchTeamsForbidden) IsClientError() bool
- func (o *SearchTeamsForbidden) IsCode(code int) bool
- func (o *SearchTeamsForbidden) IsRedirect() bool
- func (o *SearchTeamsForbidden) IsServerError() bool
- func (o *SearchTeamsForbidden) IsSuccess() bool
- func (o *SearchTeamsForbidden) String() string
- type SearchTeamsInternalServerError
- func (o *SearchTeamsInternalServerError) Code() int
- func (o *SearchTeamsInternalServerError) Error() string
- func (o *SearchTeamsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *SearchTeamsInternalServerError) IsClientError() bool
- func (o *SearchTeamsInternalServerError) IsCode(code int) bool
- func (o *SearchTeamsInternalServerError) IsRedirect() bool
- func (o *SearchTeamsInternalServerError) IsServerError() bool
- func (o *SearchTeamsInternalServerError) IsSuccess() bool
- func (o *SearchTeamsInternalServerError) String() string
- type SearchTeamsOK
- func (o *SearchTeamsOK) Code() int
- func (o *SearchTeamsOK) Error() string
- func (o *SearchTeamsOK) GetPayload() *models.SearchTeamQueryResult
- func (o *SearchTeamsOK) IsClientError() bool
- func (o *SearchTeamsOK) IsCode(code int) bool
- func (o *SearchTeamsOK) IsRedirect() bool
- func (o *SearchTeamsOK) IsServerError() bool
- func (o *SearchTeamsOK) IsSuccess() bool
- func (o *SearchTeamsOK) String() string
- type SearchTeamsParams
- func (o *SearchTeamsParams) SetContext(ctx context.Context)
- func (o *SearchTeamsParams) SetDefaults()
- func (o *SearchTeamsParams) SetHTTPClient(client *http.Client)
- func (o *SearchTeamsParams) SetName(name *string)
- func (o *SearchTeamsParams) SetPage(page *int64)
- func (o *SearchTeamsParams) SetPerpage(perpage *int64)
- func (o *SearchTeamsParams) SetQuery(query *string)
- func (o *SearchTeamsParams) SetTimeout(timeout time.Duration)
- func (o *SearchTeamsParams) WithContext(ctx context.Context) *SearchTeamsParams
- func (o *SearchTeamsParams) WithDefaults() *SearchTeamsParams
- func (o *SearchTeamsParams) WithHTTPClient(client *http.Client) *SearchTeamsParams
- func (o *SearchTeamsParams) WithName(name *string) *SearchTeamsParams
- func (o *SearchTeamsParams) WithPage(page *int64) *SearchTeamsParams
- func (o *SearchTeamsParams) WithPerpage(perpage *int64) *SearchTeamsParams
- func (o *SearchTeamsParams) WithQuery(query *string) *SearchTeamsParams
- func (o *SearchTeamsParams) WithTimeout(timeout time.Duration) *SearchTeamsParams
- func (o *SearchTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchTeamsReader
- type SearchTeamsUnauthorized
- func (o *SearchTeamsUnauthorized) Code() int
- func (o *SearchTeamsUnauthorized) Error() string
- func (o *SearchTeamsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *SearchTeamsUnauthorized) IsClientError() bool
- func (o *SearchTeamsUnauthorized) IsCode(code int) bool
- func (o *SearchTeamsUnauthorized) IsRedirect() bool
- func (o *SearchTeamsUnauthorized) IsServerError() bool
- func (o *SearchTeamsUnauthorized) IsSuccess() bool
- func (o *SearchTeamsUnauthorized) String() string
- type SetTeamMembershipsForbidden
- func (o *SetTeamMembershipsForbidden) Code() int
- func (o *SetTeamMembershipsForbidden) Error() string
- func (o *SetTeamMembershipsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *SetTeamMembershipsForbidden) IsClientError() bool
- func (o *SetTeamMembershipsForbidden) IsCode(code int) bool
- func (o *SetTeamMembershipsForbidden) IsRedirect() bool
- func (o *SetTeamMembershipsForbidden) IsServerError() bool
- func (o *SetTeamMembershipsForbidden) IsSuccess() bool
- func (o *SetTeamMembershipsForbidden) String() string
- type SetTeamMembershipsInternalServerError
- func (o *SetTeamMembershipsInternalServerError) Code() int
- func (o *SetTeamMembershipsInternalServerError) Error() string
- func (o *SetTeamMembershipsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *SetTeamMembershipsInternalServerError) IsClientError() bool
- func (o *SetTeamMembershipsInternalServerError) IsCode(code int) bool
- func (o *SetTeamMembershipsInternalServerError) IsRedirect() bool
- func (o *SetTeamMembershipsInternalServerError) IsServerError() bool
- func (o *SetTeamMembershipsInternalServerError) IsSuccess() bool
- func (o *SetTeamMembershipsInternalServerError) String() string
- type SetTeamMembershipsNotFound
- func (o *SetTeamMembershipsNotFound) Code() int
- func (o *SetTeamMembershipsNotFound) Error() string
- func (o *SetTeamMembershipsNotFound) GetPayload() *models.ErrorResponseBody
- func (o *SetTeamMembershipsNotFound) IsClientError() bool
- func (o *SetTeamMembershipsNotFound) IsCode(code int) bool
- func (o *SetTeamMembershipsNotFound) IsRedirect() bool
- func (o *SetTeamMembershipsNotFound) IsServerError() bool
- func (o *SetTeamMembershipsNotFound) IsSuccess() bool
- func (o *SetTeamMembershipsNotFound) String() string
- type SetTeamMembershipsOK
- func (o *SetTeamMembershipsOK) Code() int
- func (o *SetTeamMembershipsOK) Error() string
- func (o *SetTeamMembershipsOK) GetPayload() *models.SuccessResponseBody
- func (o *SetTeamMembershipsOK) IsClientError() bool
- func (o *SetTeamMembershipsOK) IsCode(code int) bool
- func (o *SetTeamMembershipsOK) IsRedirect() bool
- func (o *SetTeamMembershipsOK) IsServerError() bool
- func (o *SetTeamMembershipsOK) IsSuccess() bool
- func (o *SetTeamMembershipsOK) String() string
- type SetTeamMembershipsParams
- func NewSetTeamMembershipsParams() *SetTeamMembershipsParams
- func NewSetTeamMembershipsParamsWithContext(ctx context.Context) *SetTeamMembershipsParams
- func NewSetTeamMembershipsParamsWithHTTPClient(client *http.Client) *SetTeamMembershipsParams
- func NewSetTeamMembershipsParamsWithTimeout(timeout time.Duration) *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) SetBody(body *models.SetTeamMembershipsCommand)
- func (o *SetTeamMembershipsParams) SetContext(ctx context.Context)
- func (o *SetTeamMembershipsParams) SetDefaults()
- func (o *SetTeamMembershipsParams) SetHTTPClient(client *http.Client)
- func (o *SetTeamMembershipsParams) SetTeamID(teamID string)
- func (o *SetTeamMembershipsParams) SetTimeout(timeout time.Duration)
- func (o *SetTeamMembershipsParams) WithBody(body *models.SetTeamMembershipsCommand) *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) WithContext(ctx context.Context) *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) WithDefaults() *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) WithHTTPClient(client *http.Client) *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) WithTeamID(teamID string) *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) WithTimeout(timeout time.Duration) *SetTeamMembershipsParams
- func (o *SetTeamMembershipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetTeamMembershipsReader
- type SetTeamMembershipsUnauthorized
- func (o *SetTeamMembershipsUnauthorized) Code() int
- func (o *SetTeamMembershipsUnauthorized) Error() string
- func (o *SetTeamMembershipsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *SetTeamMembershipsUnauthorized) IsClientError() bool
- func (o *SetTeamMembershipsUnauthorized) IsCode(code int) bool
- func (o *SetTeamMembershipsUnauthorized) IsRedirect() bool
- func (o *SetTeamMembershipsUnauthorized) IsServerError() bool
- func (o *SetTeamMembershipsUnauthorized) IsSuccess() bool
- func (o *SetTeamMembershipsUnauthorized) String() string
- type UpdateTeamConflict
- func (o *UpdateTeamConflict) Code() int
- func (o *UpdateTeamConflict) Error() string
- func (o *UpdateTeamConflict) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamConflict) IsClientError() bool
- func (o *UpdateTeamConflict) IsCode(code int) bool
- func (o *UpdateTeamConflict) IsRedirect() bool
- func (o *UpdateTeamConflict) IsServerError() bool
- func (o *UpdateTeamConflict) IsSuccess() bool
- func (o *UpdateTeamConflict) String() string
- type UpdateTeamForbidden
- func (o *UpdateTeamForbidden) Code() int
- func (o *UpdateTeamForbidden) Error() string
- func (o *UpdateTeamForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamForbidden) IsClientError() bool
- func (o *UpdateTeamForbidden) IsCode(code int) bool
- func (o *UpdateTeamForbidden) IsRedirect() bool
- func (o *UpdateTeamForbidden) IsServerError() bool
- func (o *UpdateTeamForbidden) IsSuccess() bool
- func (o *UpdateTeamForbidden) String() string
- type UpdateTeamInternalServerError
- func (o *UpdateTeamInternalServerError) Code() int
- func (o *UpdateTeamInternalServerError) Error() string
- func (o *UpdateTeamInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamInternalServerError) IsClientError() bool
- func (o *UpdateTeamInternalServerError) IsCode(code int) bool
- func (o *UpdateTeamInternalServerError) IsRedirect() bool
- func (o *UpdateTeamInternalServerError) IsServerError() bool
- func (o *UpdateTeamInternalServerError) IsSuccess() bool
- func (o *UpdateTeamInternalServerError) String() string
- type UpdateTeamMemberForbidden
- func (o *UpdateTeamMemberForbidden) Code() int
- func (o *UpdateTeamMemberForbidden) Error() string
- func (o *UpdateTeamMemberForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamMemberForbidden) IsClientError() bool
- func (o *UpdateTeamMemberForbidden) IsCode(code int) bool
- func (o *UpdateTeamMemberForbidden) IsRedirect() bool
- func (o *UpdateTeamMemberForbidden) IsServerError() bool
- func (o *UpdateTeamMemberForbidden) IsSuccess() bool
- func (o *UpdateTeamMemberForbidden) String() string
- type UpdateTeamMemberInternalServerError
- func (o *UpdateTeamMemberInternalServerError) Code() int
- func (o *UpdateTeamMemberInternalServerError) Error() string
- func (o *UpdateTeamMemberInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamMemberInternalServerError) IsClientError() bool
- func (o *UpdateTeamMemberInternalServerError) IsCode(code int) bool
- func (o *UpdateTeamMemberInternalServerError) IsRedirect() bool
- func (o *UpdateTeamMemberInternalServerError) IsServerError() bool
- func (o *UpdateTeamMemberInternalServerError) IsSuccess() bool
- func (o *UpdateTeamMemberInternalServerError) String() string
- type UpdateTeamMemberNotFound
- func (o *UpdateTeamMemberNotFound) Code() int
- func (o *UpdateTeamMemberNotFound) Error() string
- func (o *UpdateTeamMemberNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamMemberNotFound) IsClientError() bool
- func (o *UpdateTeamMemberNotFound) IsCode(code int) bool
- func (o *UpdateTeamMemberNotFound) IsRedirect() bool
- func (o *UpdateTeamMemberNotFound) IsServerError() bool
- func (o *UpdateTeamMemberNotFound) IsSuccess() bool
- func (o *UpdateTeamMemberNotFound) String() string
- type UpdateTeamMemberOK
- func (o *UpdateTeamMemberOK) Code() int
- func (o *UpdateTeamMemberOK) Error() string
- func (o *UpdateTeamMemberOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateTeamMemberOK) IsClientError() bool
- func (o *UpdateTeamMemberOK) IsCode(code int) bool
- func (o *UpdateTeamMemberOK) IsRedirect() bool
- func (o *UpdateTeamMemberOK) IsServerError() bool
- func (o *UpdateTeamMemberOK) IsSuccess() bool
- func (o *UpdateTeamMemberOK) String() string
- type UpdateTeamMemberParams
- func NewUpdateTeamMemberParams() *UpdateTeamMemberParams
- func NewUpdateTeamMemberParamsWithContext(ctx context.Context) *UpdateTeamMemberParams
- func NewUpdateTeamMemberParamsWithHTTPClient(client *http.Client) *UpdateTeamMemberParams
- func NewUpdateTeamMemberParamsWithTimeout(timeout time.Duration) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) SetBody(body *models.UpdateTeamMemberCommand)
- func (o *UpdateTeamMemberParams) SetContext(ctx context.Context)
- func (o *UpdateTeamMemberParams) SetDefaults()
- func (o *UpdateTeamMemberParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTeamMemberParams) SetTeamID(teamID string)
- func (o *UpdateTeamMemberParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTeamMemberParams) SetUserID(userID int64)
- func (o *UpdateTeamMemberParams) WithBody(body *models.UpdateTeamMemberCommand) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WithContext(ctx context.Context) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WithDefaults() *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WithHTTPClient(client *http.Client) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WithTeamID(teamID string) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WithTimeout(timeout time.Duration) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WithUserID(userID int64) *UpdateTeamMemberParams
- func (o *UpdateTeamMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTeamMemberReader
- type UpdateTeamMemberUnauthorized
- func (o *UpdateTeamMemberUnauthorized) Code() int
- func (o *UpdateTeamMemberUnauthorized) Error() string
- func (o *UpdateTeamMemberUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamMemberUnauthorized) IsClientError() bool
- func (o *UpdateTeamMemberUnauthorized) IsCode(code int) bool
- func (o *UpdateTeamMemberUnauthorized) IsRedirect() bool
- func (o *UpdateTeamMemberUnauthorized) IsServerError() bool
- func (o *UpdateTeamMemberUnauthorized) IsSuccess() bool
- func (o *UpdateTeamMemberUnauthorized) String() string
- type UpdateTeamNotFound
- func (o *UpdateTeamNotFound) Code() int
- func (o *UpdateTeamNotFound) Error() string
- func (o *UpdateTeamNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamNotFound) IsClientError() bool
- func (o *UpdateTeamNotFound) IsCode(code int) bool
- func (o *UpdateTeamNotFound) IsRedirect() bool
- func (o *UpdateTeamNotFound) IsServerError() bool
- func (o *UpdateTeamNotFound) IsSuccess() bool
- func (o *UpdateTeamNotFound) String() string
- type UpdateTeamOK
- func (o *UpdateTeamOK) Code() int
- func (o *UpdateTeamOK) Error() string
- func (o *UpdateTeamOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateTeamOK) IsClientError() bool
- func (o *UpdateTeamOK) IsCode(code int) bool
- func (o *UpdateTeamOK) IsRedirect() bool
- func (o *UpdateTeamOK) IsServerError() bool
- func (o *UpdateTeamOK) IsSuccess() bool
- func (o *UpdateTeamOK) String() string
- type UpdateTeamParams
- func (o *UpdateTeamParams) SetBody(body *models.UpdateTeamCommand)
- func (o *UpdateTeamParams) SetContext(ctx context.Context)
- func (o *UpdateTeamParams) SetDefaults()
- func (o *UpdateTeamParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTeamParams) SetTeamID(teamID string)
- func (o *UpdateTeamParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTeamParams) WithBody(body *models.UpdateTeamCommand) *UpdateTeamParams
- func (o *UpdateTeamParams) WithContext(ctx context.Context) *UpdateTeamParams
- func (o *UpdateTeamParams) WithDefaults() *UpdateTeamParams
- func (o *UpdateTeamParams) WithHTTPClient(client *http.Client) *UpdateTeamParams
- func (o *UpdateTeamParams) WithTeamID(teamID string) *UpdateTeamParams
- func (o *UpdateTeamParams) WithTimeout(timeout time.Duration) *UpdateTeamParams
- func (o *UpdateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTeamPreferencesBadRequest
- func (o *UpdateTeamPreferencesBadRequest) Code() int
- func (o *UpdateTeamPreferencesBadRequest) Error() string
- func (o *UpdateTeamPreferencesBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamPreferencesBadRequest) IsClientError() bool
- func (o *UpdateTeamPreferencesBadRequest) IsCode(code int) bool
- func (o *UpdateTeamPreferencesBadRequest) IsRedirect() bool
- func (o *UpdateTeamPreferencesBadRequest) IsServerError() bool
- func (o *UpdateTeamPreferencesBadRequest) IsSuccess() bool
- func (o *UpdateTeamPreferencesBadRequest) String() string
- type UpdateTeamPreferencesInternalServerError
- func (o *UpdateTeamPreferencesInternalServerError) Code() int
- func (o *UpdateTeamPreferencesInternalServerError) Error() string
- func (o *UpdateTeamPreferencesInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamPreferencesInternalServerError) IsClientError() bool
- func (o *UpdateTeamPreferencesInternalServerError) IsCode(code int) bool
- func (o *UpdateTeamPreferencesInternalServerError) IsRedirect() bool
- func (o *UpdateTeamPreferencesInternalServerError) IsServerError() bool
- func (o *UpdateTeamPreferencesInternalServerError) IsSuccess() bool
- func (o *UpdateTeamPreferencesInternalServerError) String() string
- type UpdateTeamPreferencesOK
- func (o *UpdateTeamPreferencesOK) Code() int
- func (o *UpdateTeamPreferencesOK) Error() string
- func (o *UpdateTeamPreferencesOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateTeamPreferencesOK) IsClientError() bool
- func (o *UpdateTeamPreferencesOK) IsCode(code int) bool
- func (o *UpdateTeamPreferencesOK) IsRedirect() bool
- func (o *UpdateTeamPreferencesOK) IsServerError() bool
- func (o *UpdateTeamPreferencesOK) IsSuccess() bool
- func (o *UpdateTeamPreferencesOK) String() string
- type UpdateTeamPreferencesParams
- func NewUpdateTeamPreferencesParams() *UpdateTeamPreferencesParams
- func NewUpdateTeamPreferencesParamsWithContext(ctx context.Context) *UpdateTeamPreferencesParams
- func NewUpdateTeamPreferencesParamsWithHTTPClient(client *http.Client) *UpdateTeamPreferencesParams
- func NewUpdateTeamPreferencesParamsWithTimeout(timeout time.Duration) *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) SetBody(body *models.UpdatePrefsCmd)
- func (o *UpdateTeamPreferencesParams) SetContext(ctx context.Context)
- func (o *UpdateTeamPreferencesParams) SetDefaults()
- func (o *UpdateTeamPreferencesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTeamPreferencesParams) SetTeamID(teamID string)
- func (o *UpdateTeamPreferencesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTeamPreferencesParams) WithBody(body *models.UpdatePrefsCmd) *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) WithContext(ctx context.Context) *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) WithDefaults() *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) WithHTTPClient(client *http.Client) *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) WithTeamID(teamID string) *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) WithTimeout(timeout time.Duration) *UpdateTeamPreferencesParams
- func (o *UpdateTeamPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTeamPreferencesReader
- type UpdateTeamPreferencesUnauthorized
- func (o *UpdateTeamPreferencesUnauthorized) Code() int
- func (o *UpdateTeamPreferencesUnauthorized) Error() string
- func (o *UpdateTeamPreferencesUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamPreferencesUnauthorized) IsClientError() bool
- func (o *UpdateTeamPreferencesUnauthorized) IsCode(code int) bool
- func (o *UpdateTeamPreferencesUnauthorized) IsRedirect() bool
- func (o *UpdateTeamPreferencesUnauthorized) IsServerError() bool
- func (o *UpdateTeamPreferencesUnauthorized) IsSuccess() bool
- func (o *UpdateTeamPreferencesUnauthorized) String() string
- type UpdateTeamReader
- type UpdateTeamUnauthorized
- func (o *UpdateTeamUnauthorized) Code() int
- func (o *UpdateTeamUnauthorized) Error() string
- func (o *UpdateTeamUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateTeamUnauthorized) IsClientError() bool
- func (o *UpdateTeamUnauthorized) IsCode(code int) bool
- func (o *UpdateTeamUnauthorized) IsRedirect() bool
- func (o *UpdateTeamUnauthorized) IsServerError() bool
- func (o *UpdateTeamUnauthorized) IsSuccess() bool
- func (o *UpdateTeamUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTeamMemberForbidden ¶
type AddTeamMemberForbidden struct {
Payload *models.ErrorResponseBody
}
AddTeamMemberForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewAddTeamMemberForbidden ¶
func NewAddTeamMemberForbidden() *AddTeamMemberForbidden
NewAddTeamMemberForbidden creates a AddTeamMemberForbidden with default headers values
func (*AddTeamMemberForbidden) Code ¶
func (o *AddTeamMemberForbidden) Code() int
Code gets the status code for the add team member forbidden response
func (*AddTeamMemberForbidden) Error ¶
func (o *AddTeamMemberForbidden) Error() string
func (*AddTeamMemberForbidden) GetPayload ¶
func (o *AddTeamMemberForbidden) GetPayload() *models.ErrorResponseBody
func (*AddTeamMemberForbidden) IsClientError ¶
func (o *AddTeamMemberForbidden) IsClientError() bool
IsClientError returns true when this add team member forbidden response has a 4xx status code
func (*AddTeamMemberForbidden) IsCode ¶
func (o *AddTeamMemberForbidden) IsCode(code int) bool
IsCode returns true when this add team member forbidden response a status code equal to that given
func (*AddTeamMemberForbidden) IsRedirect ¶
func (o *AddTeamMemberForbidden) IsRedirect() bool
IsRedirect returns true when this add team member forbidden response has a 3xx status code
func (*AddTeamMemberForbidden) IsServerError ¶
func (o *AddTeamMemberForbidden) IsServerError() bool
IsServerError returns true when this add team member forbidden response has a 5xx status code
func (*AddTeamMemberForbidden) IsSuccess ¶
func (o *AddTeamMemberForbidden) IsSuccess() bool
IsSuccess returns true when this add team member forbidden response has a 2xx status code
func (*AddTeamMemberForbidden) String ¶
func (o *AddTeamMemberForbidden) String() string
type AddTeamMemberInternalServerError ¶
type AddTeamMemberInternalServerError struct {
Payload *models.ErrorResponseBody
}
AddTeamMemberInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewAddTeamMemberInternalServerError ¶
func NewAddTeamMemberInternalServerError() *AddTeamMemberInternalServerError
NewAddTeamMemberInternalServerError creates a AddTeamMemberInternalServerError with default headers values
func (*AddTeamMemberInternalServerError) Code ¶
func (o *AddTeamMemberInternalServerError) Code() int
Code gets the status code for the add team member internal server error response
func (*AddTeamMemberInternalServerError) Error ¶
func (o *AddTeamMemberInternalServerError) Error() string
func (*AddTeamMemberInternalServerError) GetPayload ¶
func (o *AddTeamMemberInternalServerError) GetPayload() *models.ErrorResponseBody
func (*AddTeamMemberInternalServerError) IsClientError ¶
func (o *AddTeamMemberInternalServerError) IsClientError() bool
IsClientError returns true when this add team member internal server error response has a 4xx status code
func (*AddTeamMemberInternalServerError) IsCode ¶
func (o *AddTeamMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this add team member internal server error response a status code equal to that given
func (*AddTeamMemberInternalServerError) IsRedirect ¶
func (o *AddTeamMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this add team member internal server error response has a 3xx status code
func (*AddTeamMemberInternalServerError) IsServerError ¶
func (o *AddTeamMemberInternalServerError) IsServerError() bool
IsServerError returns true when this add team member internal server error response has a 5xx status code
func (*AddTeamMemberInternalServerError) IsSuccess ¶
func (o *AddTeamMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this add team member internal server error response has a 2xx status code
func (*AddTeamMemberInternalServerError) String ¶
func (o *AddTeamMemberInternalServerError) String() string
type AddTeamMemberNotFound ¶
type AddTeamMemberNotFound struct {
Payload *models.ErrorResponseBody
}
AddTeamMemberNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewAddTeamMemberNotFound ¶
func NewAddTeamMemberNotFound() *AddTeamMemberNotFound
NewAddTeamMemberNotFound creates a AddTeamMemberNotFound with default headers values
func (*AddTeamMemberNotFound) Code ¶
func (o *AddTeamMemberNotFound) Code() int
Code gets the status code for the add team member not found response
func (*AddTeamMemberNotFound) Error ¶
func (o *AddTeamMemberNotFound) Error() string
func (*AddTeamMemberNotFound) GetPayload ¶
func (o *AddTeamMemberNotFound) GetPayload() *models.ErrorResponseBody
func (*AddTeamMemberNotFound) IsClientError ¶
func (o *AddTeamMemberNotFound) IsClientError() bool
IsClientError returns true when this add team member not found response has a 4xx status code
func (*AddTeamMemberNotFound) IsCode ¶
func (o *AddTeamMemberNotFound) IsCode(code int) bool
IsCode returns true when this add team member not found response a status code equal to that given
func (*AddTeamMemberNotFound) IsRedirect ¶
func (o *AddTeamMemberNotFound) IsRedirect() bool
IsRedirect returns true when this add team member not found response has a 3xx status code
func (*AddTeamMemberNotFound) IsServerError ¶
func (o *AddTeamMemberNotFound) IsServerError() bool
IsServerError returns true when this add team member not found response has a 5xx status code
func (*AddTeamMemberNotFound) IsSuccess ¶
func (o *AddTeamMemberNotFound) IsSuccess() bool
IsSuccess returns true when this add team member not found response has a 2xx status code
func (*AddTeamMemberNotFound) String ¶
func (o *AddTeamMemberNotFound) String() string
type AddTeamMemberOK ¶
type AddTeamMemberOK struct {
Payload *models.SuccessResponseBody
}
AddTeamMemberOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewAddTeamMemberOK ¶
func NewAddTeamMemberOK() *AddTeamMemberOK
NewAddTeamMemberOK creates a AddTeamMemberOK with default headers values
func (*AddTeamMemberOK) Code ¶
func (o *AddTeamMemberOK) Code() int
Code gets the status code for the add team member Ok response
func (*AddTeamMemberOK) Error ¶
func (o *AddTeamMemberOK) Error() string
func (*AddTeamMemberOK) GetPayload ¶
func (o *AddTeamMemberOK) GetPayload() *models.SuccessResponseBody
func (*AddTeamMemberOK) IsClientError ¶
func (o *AddTeamMemberOK) IsClientError() bool
IsClientError returns true when this add team member Ok response has a 4xx status code
func (*AddTeamMemberOK) IsCode ¶
func (o *AddTeamMemberOK) IsCode(code int) bool
IsCode returns true when this add team member Ok response a status code equal to that given
func (*AddTeamMemberOK) IsRedirect ¶
func (o *AddTeamMemberOK) IsRedirect() bool
IsRedirect returns true when this add team member Ok response has a 3xx status code
func (*AddTeamMemberOK) IsServerError ¶
func (o *AddTeamMemberOK) IsServerError() bool
IsServerError returns true when this add team member Ok response has a 5xx status code
func (*AddTeamMemberOK) IsSuccess ¶
func (o *AddTeamMemberOK) IsSuccess() bool
IsSuccess returns true when this add team member Ok response has a 2xx status code
func (*AddTeamMemberOK) String ¶
func (o *AddTeamMemberOK) String() string
type AddTeamMemberParams ¶
type AddTeamMemberParams struct { // Body. Body *models.AddTeamMemberCommand // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddTeamMemberParams contains all the parameters to send to the API endpoint
for the add team member operation. Typically these are written to a http.Request.
func NewAddTeamMemberParams ¶
func NewAddTeamMemberParams() *AddTeamMemberParams
NewAddTeamMemberParams creates a new AddTeamMemberParams 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 NewAddTeamMemberParamsWithContext ¶
func NewAddTeamMemberParamsWithContext(ctx context.Context) *AddTeamMemberParams
NewAddTeamMemberParamsWithContext creates a new AddTeamMemberParams object with the ability to set a context for a request.
func NewAddTeamMemberParamsWithHTTPClient ¶
func NewAddTeamMemberParamsWithHTTPClient(client *http.Client) *AddTeamMemberParams
NewAddTeamMemberParamsWithHTTPClient creates a new AddTeamMemberParams object with the ability to set a custom HTTPClient for a request.
func NewAddTeamMemberParamsWithTimeout ¶
func NewAddTeamMemberParamsWithTimeout(timeout time.Duration) *AddTeamMemberParams
NewAddTeamMemberParamsWithTimeout creates a new AddTeamMemberParams object with the ability to set a timeout on a request.
func (*AddTeamMemberParams) SetBody ¶
func (o *AddTeamMemberParams) SetBody(body *models.AddTeamMemberCommand)
SetBody adds the body to the add team member params
func (*AddTeamMemberParams) SetContext ¶
func (o *AddTeamMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the add team member params
func (*AddTeamMemberParams) SetDefaults ¶
func (o *AddTeamMemberParams) SetDefaults()
SetDefaults hydrates default values in the add team member params (not the query body).
All values with no default are reset to their zero value.
func (*AddTeamMemberParams) SetHTTPClient ¶
func (o *AddTeamMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add team member params
func (*AddTeamMemberParams) SetTeamID ¶
func (o *AddTeamMemberParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the add team member params
func (*AddTeamMemberParams) SetTimeout ¶
func (o *AddTeamMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add team member params
func (*AddTeamMemberParams) WithBody ¶
func (o *AddTeamMemberParams) WithBody(body *models.AddTeamMemberCommand) *AddTeamMemberParams
WithBody adds the body to the add team member params
func (*AddTeamMemberParams) WithContext ¶
func (o *AddTeamMemberParams) WithContext(ctx context.Context) *AddTeamMemberParams
WithContext adds the context to the add team member params
func (*AddTeamMemberParams) WithDefaults ¶
func (o *AddTeamMemberParams) WithDefaults() *AddTeamMemberParams
WithDefaults hydrates default values in the add team member params (not the query body).
All values with no default are reset to their zero value.
func (*AddTeamMemberParams) WithHTTPClient ¶
func (o *AddTeamMemberParams) WithHTTPClient(client *http.Client) *AddTeamMemberParams
WithHTTPClient adds the HTTPClient to the add team member params
func (*AddTeamMemberParams) WithTeamID ¶
func (o *AddTeamMemberParams) WithTeamID(teamID string) *AddTeamMemberParams
WithTeamID adds the teamID to the add team member params
func (*AddTeamMemberParams) WithTimeout ¶
func (o *AddTeamMemberParams) WithTimeout(timeout time.Duration) *AddTeamMemberParams
WithTimeout adds the timeout to the add team member params
func (*AddTeamMemberParams) WriteToRequest ¶
func (o *AddTeamMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddTeamMemberReader ¶
type AddTeamMemberReader struct {
// contains filtered or unexported fields
}
AddTeamMemberReader is a Reader for the AddTeamMember structure.
func (*AddTeamMemberReader) ReadResponse ¶
func (o *AddTeamMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddTeamMemberUnauthorized ¶
type AddTeamMemberUnauthorized struct {
}AddTeamMemberUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewAddTeamMemberUnauthorized ¶
func NewAddTeamMemberUnauthorized() *AddTeamMemberUnauthorized
NewAddTeamMemberUnauthorized creates a AddTeamMemberUnauthorized with default headers values
func (*AddTeamMemberUnauthorized) Code ¶
func (o *AddTeamMemberUnauthorized) Code() int
Code gets the status code for the add team member unauthorized response
func (*AddTeamMemberUnauthorized) Error ¶
func (o *AddTeamMemberUnauthorized) Error() string
func (*AddTeamMemberUnauthorized) GetPayload ¶
func (o *AddTeamMemberUnauthorized) GetPayload() *models.ErrorResponseBody
func (*AddTeamMemberUnauthorized) IsClientError ¶
func (o *AddTeamMemberUnauthorized) IsClientError() bool
IsClientError returns true when this add team member unauthorized response has a 4xx status code
func (*AddTeamMemberUnauthorized) IsCode ¶
func (o *AddTeamMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this add team member unauthorized response a status code equal to that given
func (*AddTeamMemberUnauthorized) IsRedirect ¶
func (o *AddTeamMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this add team member unauthorized response has a 3xx status code
func (*AddTeamMemberUnauthorized) IsServerError ¶
func (o *AddTeamMemberUnauthorized) IsServerError() bool
IsServerError returns true when this add team member unauthorized response has a 5xx status code
func (*AddTeamMemberUnauthorized) IsSuccess ¶
func (o *AddTeamMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this add team member unauthorized response has a 2xx status code
func (*AddTeamMemberUnauthorized) String ¶
func (o *AddTeamMemberUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for teams API
func (*Client) AddTeamMember ¶
func (a *Client) AddTeamMember(teamID string, body *models.AddTeamMemberCommand, opts ...ClientOption) (*AddTeamMemberOK, error)
AddTeamMember adds team member
func (*Client) AddTeamMemberWithParams ¶
func (a *Client) AddTeamMemberWithParams(params *AddTeamMemberParams, opts ...ClientOption) (*AddTeamMemberOK, error)
func (*Client) CreateTeam ¶
func (a *Client) CreateTeam(body *models.CreateTeamCommand, opts ...ClientOption) (*CreateTeamOK, error)
CreateTeam adds team
func (*Client) CreateTeamWithParams ¶
func (a *Client) CreateTeamWithParams(params *CreateTeamParams, opts ...ClientOption) (*CreateTeamOK, error)
func (*Client) DeleteTeamByID ¶
func (a *Client) DeleteTeamByID(teamID string, opts ...ClientOption) (*DeleteTeamByIDOK, error)
DeleteTeamByID deletes team by ID
func (*Client) DeleteTeamByIDWithParams ¶
func (a *Client) DeleteTeamByIDWithParams(params *DeleteTeamByIDParams, opts ...ClientOption) (*DeleteTeamByIDOK, error)
func (*Client) GetTeamByID ¶
func (a *Client) GetTeamByID(teamID string, opts ...ClientOption) (*GetTeamByIDOK, error)
GetTeamByID gets team by ID
func (*Client) GetTeamByIDWithParams ¶
func (a *Client) GetTeamByIDWithParams(params *GetTeamByIDParams, opts ...ClientOption) (*GetTeamByIDOK, error)
func (*Client) GetTeamMembers ¶
func (a *Client) GetTeamMembers(teamID string, opts ...ClientOption) (*GetTeamMembersOK, error)
GetTeamMembers gets team members
func (*Client) GetTeamMembersWithParams ¶
func (a *Client) GetTeamMembersWithParams(params *GetTeamMembersParams, opts ...ClientOption) (*GetTeamMembersOK, error)
func (*Client) GetTeamPreferences ¶
func (a *Client) GetTeamPreferences(teamID string, opts ...ClientOption) (*GetTeamPreferencesOK, error)
GetTeamPreferences gets team preferences
func (*Client) GetTeamPreferencesWithParams ¶
func (a *Client) GetTeamPreferencesWithParams(params *GetTeamPreferencesParams, opts ...ClientOption) (*GetTeamPreferencesOK, error)
func (*Client) RemoveTeamMember ¶
func (a *Client) RemoveTeamMember(userID int64, teamID string, opts ...ClientOption) (*RemoveTeamMemberOK, error)
RemoveTeamMember removes member from team
func (*Client) RemoveTeamMemberWithParams ¶
func (a *Client) RemoveTeamMemberWithParams(params *RemoveTeamMemberParams, opts ...ClientOption) (*RemoveTeamMemberOK, error)
func (*Client) SearchTeams ¶
func (a *Client) SearchTeams(params *SearchTeamsParams, opts ...ClientOption) (*SearchTeamsOK, error)
func (*Client) SetTeamMemberships ¶
func (a *Client) SetTeamMemberships(teamID string, body *models.SetTeamMembershipsCommand, opts ...ClientOption) (*SetTeamMembershipsOK, error)
SetTeamMemberships sets team memberships
Takes user emails, and updates team members and admins to the provided lists of users. Any current team members and admins not in the provided lists will be removed.
func (*Client) SetTeamMembershipsWithParams ¶
func (a *Client) SetTeamMembershipsWithParams(params *SetTeamMembershipsParams, opts ...ClientOption) (*SetTeamMembershipsOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTeam ¶
func (a *Client) UpdateTeam(teamID string, body *models.UpdateTeamCommand, opts ...ClientOption) (*UpdateTeamOK, error)
UpdateTeam updates team
func (*Client) UpdateTeamMember ¶
func (a *Client) UpdateTeamMember(params *UpdateTeamMemberParams, opts ...ClientOption) (*UpdateTeamMemberOK, error)
func (*Client) UpdateTeamPreferences ¶
func (a *Client) UpdateTeamPreferences(teamID string, body *models.UpdatePrefsCmd, opts ...ClientOption) (*UpdateTeamPreferencesOK, error)
UpdateTeamPreferences updates team preferences
func (*Client) UpdateTeamPreferencesWithParams ¶
func (a *Client) UpdateTeamPreferencesWithParams(params *UpdateTeamPreferencesParams, opts ...ClientOption) (*UpdateTeamPreferencesOK, error)
func (*Client) UpdateTeamWithParams ¶
func (a *Client) UpdateTeamWithParams(params *UpdateTeamParams, opts ...ClientOption) (*UpdateTeamOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { AddTeamMember(teamID string, body *models.AddTeamMemberCommand, opts ...ClientOption) (*AddTeamMemberOK, error) AddTeamMemberWithParams(params *AddTeamMemberParams, opts ...ClientOption) (*AddTeamMemberOK, error) CreateTeam(body *models.CreateTeamCommand, opts ...ClientOption) (*CreateTeamOK, error) CreateTeamWithParams(params *CreateTeamParams, opts ...ClientOption) (*CreateTeamOK, error) DeleteTeamByID(teamID string, opts ...ClientOption) (*DeleteTeamByIDOK, error) DeleteTeamByIDWithParams(params *DeleteTeamByIDParams, opts ...ClientOption) (*DeleteTeamByIDOK, error) GetTeamByID(teamID string, opts ...ClientOption) (*GetTeamByIDOK, error) GetTeamByIDWithParams(params *GetTeamByIDParams, opts ...ClientOption) (*GetTeamByIDOK, error) GetTeamMembers(teamID string, opts ...ClientOption) (*GetTeamMembersOK, error) GetTeamMembersWithParams(params *GetTeamMembersParams, opts ...ClientOption) (*GetTeamMembersOK, error) GetTeamPreferences(teamID string, opts ...ClientOption) (*GetTeamPreferencesOK, error) GetTeamPreferencesWithParams(params *GetTeamPreferencesParams, opts ...ClientOption) (*GetTeamPreferencesOK, error) RemoveTeamMember(userID int64, teamID string, opts ...ClientOption) (*RemoveTeamMemberOK, error) RemoveTeamMemberWithParams(params *RemoveTeamMemberParams, opts ...ClientOption) (*RemoveTeamMemberOK, error) SearchTeams(params *SearchTeamsParams, opts ...ClientOption) (*SearchTeamsOK, error) SetTeamMemberships(teamID string, body *models.SetTeamMembershipsCommand, opts ...ClientOption) (*SetTeamMembershipsOK, error) SetTeamMembershipsWithParams(params *SetTeamMembershipsParams, opts ...ClientOption) (*SetTeamMembershipsOK, error) UpdateTeam(teamID string, body *models.UpdateTeamCommand, opts ...ClientOption) (*UpdateTeamOK, error) UpdateTeamWithParams(params *UpdateTeamParams, opts ...ClientOption) (*UpdateTeamOK, error) UpdateTeamMember(params *UpdateTeamMemberParams, opts ...ClientOption) (*UpdateTeamMemberOK, error) UpdateTeamPreferences(teamID string, body *models.UpdatePrefsCmd, opts ...ClientOption) (*UpdateTeamPreferencesOK, error) UpdateTeamPreferencesWithParams(params *UpdateTeamPreferencesParams, opts ...ClientOption) (*UpdateTeamPreferencesOK, 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 teams API client.
type CreateTeamConflict ¶
type CreateTeamConflict struct {
Payload *models.ErrorResponseBody
}
CreateTeamConflict describes a response with status code 409, with default header values.
ConflictError
func NewCreateTeamConflict ¶
func NewCreateTeamConflict() *CreateTeamConflict
NewCreateTeamConflict creates a CreateTeamConflict with default headers values
func (*CreateTeamConflict) Code ¶
func (o *CreateTeamConflict) Code() int
Code gets the status code for the create team conflict response
func (*CreateTeamConflict) Error ¶
func (o *CreateTeamConflict) Error() string
func (*CreateTeamConflict) GetPayload ¶
func (o *CreateTeamConflict) GetPayload() *models.ErrorResponseBody
func (*CreateTeamConflict) IsClientError ¶
func (o *CreateTeamConflict) IsClientError() bool
IsClientError returns true when this create team conflict response has a 4xx status code
func (*CreateTeamConflict) IsCode ¶
func (o *CreateTeamConflict) IsCode(code int) bool
IsCode returns true when this create team conflict response a status code equal to that given
func (*CreateTeamConflict) IsRedirect ¶
func (o *CreateTeamConflict) IsRedirect() bool
IsRedirect returns true when this create team conflict response has a 3xx status code
func (*CreateTeamConflict) IsServerError ¶
func (o *CreateTeamConflict) IsServerError() bool
IsServerError returns true when this create team conflict response has a 5xx status code
func (*CreateTeamConflict) IsSuccess ¶
func (o *CreateTeamConflict) IsSuccess() bool
IsSuccess returns true when this create team conflict response has a 2xx status code
func (*CreateTeamConflict) String ¶
func (o *CreateTeamConflict) String() string
type CreateTeamForbidden ¶
type CreateTeamForbidden struct {
Payload *models.ErrorResponseBody
}
CreateTeamForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateTeamForbidden ¶
func NewCreateTeamForbidden() *CreateTeamForbidden
NewCreateTeamForbidden creates a CreateTeamForbidden with default headers values
func (*CreateTeamForbidden) Code ¶
func (o *CreateTeamForbidden) Code() int
Code gets the status code for the create team forbidden response
func (*CreateTeamForbidden) Error ¶
func (o *CreateTeamForbidden) Error() string
func (*CreateTeamForbidden) GetPayload ¶
func (o *CreateTeamForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateTeamForbidden) IsClientError ¶
func (o *CreateTeamForbidden) IsClientError() bool
IsClientError returns true when this create team forbidden response has a 4xx status code
func (*CreateTeamForbidden) IsCode ¶
func (o *CreateTeamForbidden) IsCode(code int) bool
IsCode returns true when this create team forbidden response a status code equal to that given
func (*CreateTeamForbidden) IsRedirect ¶
func (o *CreateTeamForbidden) IsRedirect() bool
IsRedirect returns true when this create team forbidden response has a 3xx status code
func (*CreateTeamForbidden) IsServerError ¶
func (o *CreateTeamForbidden) IsServerError() bool
IsServerError returns true when this create team forbidden response has a 5xx status code
func (*CreateTeamForbidden) IsSuccess ¶
func (o *CreateTeamForbidden) IsSuccess() bool
IsSuccess returns true when this create team forbidden response has a 2xx status code
func (*CreateTeamForbidden) String ¶
func (o *CreateTeamForbidden) String() string
type CreateTeamInternalServerError ¶
type CreateTeamInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateTeamInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateTeamInternalServerError ¶
func NewCreateTeamInternalServerError() *CreateTeamInternalServerError
NewCreateTeamInternalServerError creates a CreateTeamInternalServerError with default headers values
func (*CreateTeamInternalServerError) Code ¶
func (o *CreateTeamInternalServerError) Code() int
Code gets the status code for the create team internal server error response
func (*CreateTeamInternalServerError) Error ¶
func (o *CreateTeamInternalServerError) Error() string
func (*CreateTeamInternalServerError) GetPayload ¶
func (o *CreateTeamInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateTeamInternalServerError) IsClientError ¶
func (o *CreateTeamInternalServerError) IsClientError() bool
IsClientError returns true when this create team internal server error response has a 4xx status code
func (*CreateTeamInternalServerError) IsCode ¶
func (o *CreateTeamInternalServerError) IsCode(code int) bool
IsCode returns true when this create team internal server error response a status code equal to that given
func (*CreateTeamInternalServerError) IsRedirect ¶
func (o *CreateTeamInternalServerError) IsRedirect() bool
IsRedirect returns true when this create team internal server error response has a 3xx status code
func (*CreateTeamInternalServerError) IsServerError ¶
func (o *CreateTeamInternalServerError) IsServerError() bool
IsServerError returns true when this create team internal server error response has a 5xx status code
func (*CreateTeamInternalServerError) IsSuccess ¶
func (o *CreateTeamInternalServerError) IsSuccess() bool
IsSuccess returns true when this create team internal server error response has a 2xx status code
func (*CreateTeamInternalServerError) String ¶
func (o *CreateTeamInternalServerError) String() string
type CreateTeamOK ¶
type CreateTeamOK struct {
Payload *models.CreateTeamOKBody
}
CreateTeamOK describes a response with status code 200, with default header values.
(empty)
func NewCreateTeamOK ¶
func NewCreateTeamOK() *CreateTeamOK
NewCreateTeamOK creates a CreateTeamOK with default headers values
func (*CreateTeamOK) Code ¶
func (o *CreateTeamOK) Code() int
Code gets the status code for the create team Ok response
func (*CreateTeamOK) Error ¶
func (o *CreateTeamOK) Error() string
func (*CreateTeamOK) GetPayload ¶
func (o *CreateTeamOK) GetPayload() *models.CreateTeamOKBody
func (*CreateTeamOK) IsClientError ¶
func (o *CreateTeamOK) IsClientError() bool
IsClientError returns true when this create team Ok response has a 4xx status code
func (*CreateTeamOK) IsCode ¶
func (o *CreateTeamOK) IsCode(code int) bool
IsCode returns true when this create team Ok response a status code equal to that given
func (*CreateTeamOK) IsRedirect ¶
func (o *CreateTeamOK) IsRedirect() bool
IsRedirect returns true when this create team Ok response has a 3xx status code
func (*CreateTeamOK) IsServerError ¶
func (o *CreateTeamOK) IsServerError() bool
IsServerError returns true when this create team Ok response has a 5xx status code
func (*CreateTeamOK) IsSuccess ¶
func (o *CreateTeamOK) IsSuccess() bool
IsSuccess returns true when this create team Ok response has a 2xx status code
func (*CreateTeamOK) String ¶
func (o *CreateTeamOK) String() string
type CreateTeamParams ¶
type CreateTeamParams struct { // Body. Body *models.CreateTeamCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTeamParams contains all the parameters to send to the API endpoint
for the create team operation. Typically these are written to a http.Request.
func NewCreateTeamParams ¶
func NewCreateTeamParams() *CreateTeamParams
NewCreateTeamParams creates a new CreateTeamParams 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 NewCreateTeamParamsWithContext ¶
func NewCreateTeamParamsWithContext(ctx context.Context) *CreateTeamParams
NewCreateTeamParamsWithContext creates a new CreateTeamParams object with the ability to set a context for a request.
func NewCreateTeamParamsWithHTTPClient ¶
func NewCreateTeamParamsWithHTTPClient(client *http.Client) *CreateTeamParams
NewCreateTeamParamsWithHTTPClient creates a new CreateTeamParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTeamParamsWithTimeout ¶
func NewCreateTeamParamsWithTimeout(timeout time.Duration) *CreateTeamParams
NewCreateTeamParamsWithTimeout creates a new CreateTeamParams object with the ability to set a timeout on a request.
func (*CreateTeamParams) SetBody ¶
func (o *CreateTeamParams) SetBody(body *models.CreateTeamCommand)
SetBody adds the body to the create team params
func (*CreateTeamParams) SetContext ¶
func (o *CreateTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the create team params
func (*CreateTeamParams) SetDefaults ¶
func (o *CreateTeamParams) SetDefaults()
SetDefaults hydrates default values in the create team params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTeamParams) SetHTTPClient ¶
func (o *CreateTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create team params
func (*CreateTeamParams) SetTimeout ¶
func (o *CreateTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create team params
func (*CreateTeamParams) WithBody ¶
func (o *CreateTeamParams) WithBody(body *models.CreateTeamCommand) *CreateTeamParams
WithBody adds the body to the create team params
func (*CreateTeamParams) WithContext ¶
func (o *CreateTeamParams) WithContext(ctx context.Context) *CreateTeamParams
WithContext adds the context to the create team params
func (*CreateTeamParams) WithDefaults ¶
func (o *CreateTeamParams) WithDefaults() *CreateTeamParams
WithDefaults hydrates default values in the create team params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTeamParams) WithHTTPClient ¶
func (o *CreateTeamParams) WithHTTPClient(client *http.Client) *CreateTeamParams
WithHTTPClient adds the HTTPClient to the create team params
func (*CreateTeamParams) WithTimeout ¶
func (o *CreateTeamParams) WithTimeout(timeout time.Duration) *CreateTeamParams
WithTimeout adds the timeout to the create team params
func (*CreateTeamParams) WriteToRequest ¶
func (o *CreateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTeamReader ¶
type CreateTeamReader struct {
// contains filtered or unexported fields
}
CreateTeamReader is a Reader for the CreateTeam structure.
func (*CreateTeamReader) ReadResponse ¶
func (o *CreateTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTeamUnauthorized ¶
type CreateTeamUnauthorized struct {
}CreateTeamUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateTeamUnauthorized ¶
func NewCreateTeamUnauthorized() *CreateTeamUnauthorized
NewCreateTeamUnauthorized creates a CreateTeamUnauthorized with default headers values
func (*CreateTeamUnauthorized) Code ¶
func (o *CreateTeamUnauthorized) Code() int
Code gets the status code for the create team unauthorized response
func (*CreateTeamUnauthorized) Error ¶
func (o *CreateTeamUnauthorized) Error() string
func (*CreateTeamUnauthorized) GetPayload ¶
func (o *CreateTeamUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateTeamUnauthorized) IsClientError ¶
func (o *CreateTeamUnauthorized) IsClientError() bool
IsClientError returns true when this create team unauthorized response has a 4xx status code
func (*CreateTeamUnauthorized) IsCode ¶
func (o *CreateTeamUnauthorized) IsCode(code int) bool
IsCode returns true when this create team unauthorized response a status code equal to that given
func (*CreateTeamUnauthorized) IsRedirect ¶
func (o *CreateTeamUnauthorized) IsRedirect() bool
IsRedirect returns true when this create team unauthorized response has a 3xx status code
func (*CreateTeamUnauthorized) IsServerError ¶
func (o *CreateTeamUnauthorized) IsServerError() bool
IsServerError returns true when this create team unauthorized response has a 5xx status code
func (*CreateTeamUnauthorized) IsSuccess ¶
func (o *CreateTeamUnauthorized) IsSuccess() bool
IsSuccess returns true when this create team unauthorized response has a 2xx status code
func (*CreateTeamUnauthorized) String ¶
func (o *CreateTeamUnauthorized) String() string
type DeleteTeamByIDForbidden ¶
type DeleteTeamByIDForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteTeamByIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteTeamByIDForbidden ¶
func NewDeleteTeamByIDForbidden() *DeleteTeamByIDForbidden
NewDeleteTeamByIDForbidden creates a DeleteTeamByIDForbidden with default headers values
func (*DeleteTeamByIDForbidden) Code ¶
func (o *DeleteTeamByIDForbidden) Code() int
Code gets the status code for the delete team by Id forbidden response
func (*DeleteTeamByIDForbidden) Error ¶
func (o *DeleteTeamByIDForbidden) Error() string
func (*DeleteTeamByIDForbidden) GetPayload ¶
func (o *DeleteTeamByIDForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteTeamByIDForbidden) IsClientError ¶
func (o *DeleteTeamByIDForbidden) IsClientError() bool
IsClientError returns true when this delete team by Id forbidden response has a 4xx status code
func (*DeleteTeamByIDForbidden) IsCode ¶
func (o *DeleteTeamByIDForbidden) IsCode(code int) bool
IsCode returns true when this delete team by Id forbidden response a status code equal to that given
func (*DeleteTeamByIDForbidden) IsRedirect ¶
func (o *DeleteTeamByIDForbidden) IsRedirect() bool
IsRedirect returns true when this delete team by Id forbidden response has a 3xx status code
func (*DeleteTeamByIDForbidden) IsServerError ¶
func (o *DeleteTeamByIDForbidden) IsServerError() bool
IsServerError returns true when this delete team by Id forbidden response has a 5xx status code
func (*DeleteTeamByIDForbidden) IsSuccess ¶
func (o *DeleteTeamByIDForbidden) IsSuccess() bool
IsSuccess returns true when this delete team by Id forbidden response has a 2xx status code
func (*DeleteTeamByIDForbidden) String ¶
func (o *DeleteTeamByIDForbidden) String() string
type DeleteTeamByIDInternalServerError ¶
type DeleteTeamByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteTeamByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteTeamByIDInternalServerError ¶
func NewDeleteTeamByIDInternalServerError() *DeleteTeamByIDInternalServerError
NewDeleteTeamByIDInternalServerError creates a DeleteTeamByIDInternalServerError with default headers values
func (*DeleteTeamByIDInternalServerError) Code ¶
func (o *DeleteTeamByIDInternalServerError) Code() int
Code gets the status code for the delete team by Id internal server error response
func (*DeleteTeamByIDInternalServerError) Error ¶
func (o *DeleteTeamByIDInternalServerError) Error() string
func (*DeleteTeamByIDInternalServerError) GetPayload ¶
func (o *DeleteTeamByIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteTeamByIDInternalServerError) IsClientError ¶
func (o *DeleteTeamByIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete team by Id internal server error response has a 4xx status code
func (*DeleteTeamByIDInternalServerError) IsCode ¶
func (o *DeleteTeamByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete team by Id internal server error response a status code equal to that given
func (*DeleteTeamByIDInternalServerError) IsRedirect ¶
func (o *DeleteTeamByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete team by Id internal server error response has a 3xx status code
func (*DeleteTeamByIDInternalServerError) IsServerError ¶
func (o *DeleteTeamByIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete team by Id internal server error response has a 5xx status code
func (*DeleteTeamByIDInternalServerError) IsSuccess ¶
func (o *DeleteTeamByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete team by Id internal server error response has a 2xx status code
func (*DeleteTeamByIDInternalServerError) String ¶
func (o *DeleteTeamByIDInternalServerError) String() string
type DeleteTeamByIDNotFound ¶
type DeleteTeamByIDNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteTeamByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteTeamByIDNotFound ¶
func NewDeleteTeamByIDNotFound() *DeleteTeamByIDNotFound
NewDeleteTeamByIDNotFound creates a DeleteTeamByIDNotFound with default headers values
func (*DeleteTeamByIDNotFound) Code ¶
func (o *DeleteTeamByIDNotFound) Code() int
Code gets the status code for the delete team by Id not found response
func (*DeleteTeamByIDNotFound) Error ¶
func (o *DeleteTeamByIDNotFound) Error() string
func (*DeleteTeamByIDNotFound) GetPayload ¶
func (o *DeleteTeamByIDNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteTeamByIDNotFound) IsClientError ¶
func (o *DeleteTeamByIDNotFound) IsClientError() bool
IsClientError returns true when this delete team by Id not found response has a 4xx status code
func (*DeleteTeamByIDNotFound) IsCode ¶
func (o *DeleteTeamByIDNotFound) IsCode(code int) bool
IsCode returns true when this delete team by Id not found response a status code equal to that given
func (*DeleteTeamByIDNotFound) IsRedirect ¶
func (o *DeleteTeamByIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete team by Id not found response has a 3xx status code
func (*DeleteTeamByIDNotFound) IsServerError ¶
func (o *DeleteTeamByIDNotFound) IsServerError() bool
IsServerError returns true when this delete team by Id not found response has a 5xx status code
func (*DeleteTeamByIDNotFound) IsSuccess ¶
func (o *DeleteTeamByIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete team by Id not found response has a 2xx status code
func (*DeleteTeamByIDNotFound) String ¶
func (o *DeleteTeamByIDNotFound) String() string
type DeleteTeamByIDOK ¶
type DeleteTeamByIDOK struct {
Payload *models.SuccessResponseBody
}
DeleteTeamByIDOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteTeamByIDOK ¶
func NewDeleteTeamByIDOK() *DeleteTeamByIDOK
NewDeleteTeamByIDOK creates a DeleteTeamByIDOK with default headers values
func (*DeleteTeamByIDOK) Code ¶
func (o *DeleteTeamByIDOK) Code() int
Code gets the status code for the delete team by Id Ok response
func (*DeleteTeamByIDOK) Error ¶
func (o *DeleteTeamByIDOK) Error() string
func (*DeleteTeamByIDOK) GetPayload ¶
func (o *DeleteTeamByIDOK) GetPayload() *models.SuccessResponseBody
func (*DeleteTeamByIDOK) IsClientError ¶
func (o *DeleteTeamByIDOK) IsClientError() bool
IsClientError returns true when this delete team by Id Ok response has a 4xx status code
func (*DeleteTeamByIDOK) IsCode ¶
func (o *DeleteTeamByIDOK) IsCode(code int) bool
IsCode returns true when this delete team by Id Ok response a status code equal to that given
func (*DeleteTeamByIDOK) IsRedirect ¶
func (o *DeleteTeamByIDOK) IsRedirect() bool
IsRedirect returns true when this delete team by Id Ok response has a 3xx status code
func (*DeleteTeamByIDOK) IsServerError ¶
func (o *DeleteTeamByIDOK) IsServerError() bool
IsServerError returns true when this delete team by Id Ok response has a 5xx status code
func (*DeleteTeamByIDOK) IsSuccess ¶
func (o *DeleteTeamByIDOK) IsSuccess() bool
IsSuccess returns true when this delete team by Id Ok response has a 2xx status code
func (*DeleteTeamByIDOK) String ¶
func (o *DeleteTeamByIDOK) String() string
type DeleteTeamByIDParams ¶
type DeleteTeamByIDParams struct { // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTeamByIDParams contains all the parameters to send to the API endpoint
for the delete team by ID operation. Typically these are written to a http.Request.
func NewDeleteTeamByIDParams ¶
func NewDeleteTeamByIDParams() *DeleteTeamByIDParams
NewDeleteTeamByIDParams creates a new DeleteTeamByIDParams 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 NewDeleteTeamByIDParamsWithContext ¶
func NewDeleteTeamByIDParamsWithContext(ctx context.Context) *DeleteTeamByIDParams
NewDeleteTeamByIDParamsWithContext creates a new DeleteTeamByIDParams object with the ability to set a context for a request.
func NewDeleteTeamByIDParamsWithHTTPClient ¶
func NewDeleteTeamByIDParamsWithHTTPClient(client *http.Client) *DeleteTeamByIDParams
NewDeleteTeamByIDParamsWithHTTPClient creates a new DeleteTeamByIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTeamByIDParamsWithTimeout ¶
func NewDeleteTeamByIDParamsWithTimeout(timeout time.Duration) *DeleteTeamByIDParams
NewDeleteTeamByIDParamsWithTimeout creates a new DeleteTeamByIDParams object with the ability to set a timeout on a request.
func (*DeleteTeamByIDParams) SetContext ¶
func (o *DeleteTeamByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete team by ID params
func (*DeleteTeamByIDParams) SetDefaults ¶
func (o *DeleteTeamByIDParams) SetDefaults()
SetDefaults hydrates default values in the delete team by ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTeamByIDParams) SetHTTPClient ¶
func (o *DeleteTeamByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete team by ID params
func (*DeleteTeamByIDParams) SetTeamID ¶
func (o *DeleteTeamByIDParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the delete team by ID params
func (*DeleteTeamByIDParams) SetTimeout ¶
func (o *DeleteTeamByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete team by ID params
func (*DeleteTeamByIDParams) WithContext ¶
func (o *DeleteTeamByIDParams) WithContext(ctx context.Context) *DeleteTeamByIDParams
WithContext adds the context to the delete team by ID params
func (*DeleteTeamByIDParams) WithDefaults ¶
func (o *DeleteTeamByIDParams) WithDefaults() *DeleteTeamByIDParams
WithDefaults hydrates default values in the delete team by ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTeamByIDParams) WithHTTPClient ¶
func (o *DeleteTeamByIDParams) WithHTTPClient(client *http.Client) *DeleteTeamByIDParams
WithHTTPClient adds the HTTPClient to the delete team by ID params
func (*DeleteTeamByIDParams) WithTeamID ¶
func (o *DeleteTeamByIDParams) WithTeamID(teamID string) *DeleteTeamByIDParams
WithTeamID adds the teamID to the delete team by ID params
func (*DeleteTeamByIDParams) WithTimeout ¶
func (o *DeleteTeamByIDParams) WithTimeout(timeout time.Duration) *DeleteTeamByIDParams
WithTimeout adds the timeout to the delete team by ID params
func (*DeleteTeamByIDParams) WriteToRequest ¶
func (o *DeleteTeamByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTeamByIDReader ¶
type DeleteTeamByIDReader struct {
// contains filtered or unexported fields
}
DeleteTeamByIDReader is a Reader for the DeleteTeamByID structure.
func (*DeleteTeamByIDReader) ReadResponse ¶
func (o *DeleteTeamByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTeamByIDUnauthorized ¶
type DeleteTeamByIDUnauthorized struct {
}DeleteTeamByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteTeamByIDUnauthorized ¶
func NewDeleteTeamByIDUnauthorized() *DeleteTeamByIDUnauthorized
NewDeleteTeamByIDUnauthorized creates a DeleteTeamByIDUnauthorized with default headers values
func (*DeleteTeamByIDUnauthorized) Code ¶
func (o *DeleteTeamByIDUnauthorized) Code() int
Code gets the status code for the delete team by Id unauthorized response
func (*DeleteTeamByIDUnauthorized) Error ¶
func (o *DeleteTeamByIDUnauthorized) Error() string
func (*DeleteTeamByIDUnauthorized) GetPayload ¶
func (o *DeleteTeamByIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteTeamByIDUnauthorized) IsClientError ¶
func (o *DeleteTeamByIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete team by Id unauthorized response has a 4xx status code
func (*DeleteTeamByIDUnauthorized) IsCode ¶
func (o *DeleteTeamByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete team by Id unauthorized response a status code equal to that given
func (*DeleteTeamByIDUnauthorized) IsRedirect ¶
func (o *DeleteTeamByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete team by Id unauthorized response has a 3xx status code
func (*DeleteTeamByIDUnauthorized) IsServerError ¶
func (o *DeleteTeamByIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete team by Id unauthorized response has a 5xx status code
func (*DeleteTeamByIDUnauthorized) IsSuccess ¶
func (o *DeleteTeamByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete team by Id unauthorized response has a 2xx status code
func (*DeleteTeamByIDUnauthorized) String ¶
func (o *DeleteTeamByIDUnauthorized) String() string
type GetTeamByIDForbidden ¶
type GetTeamByIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetTeamByIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetTeamByIDForbidden ¶
func NewGetTeamByIDForbidden() *GetTeamByIDForbidden
NewGetTeamByIDForbidden creates a GetTeamByIDForbidden with default headers values
func (*GetTeamByIDForbidden) Code ¶
func (o *GetTeamByIDForbidden) Code() int
Code gets the status code for the get team by Id forbidden response
func (*GetTeamByIDForbidden) Error ¶
func (o *GetTeamByIDForbidden) Error() string
func (*GetTeamByIDForbidden) GetPayload ¶
func (o *GetTeamByIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetTeamByIDForbidden) IsClientError ¶
func (o *GetTeamByIDForbidden) IsClientError() bool
IsClientError returns true when this get team by Id forbidden response has a 4xx status code
func (*GetTeamByIDForbidden) IsCode ¶
func (o *GetTeamByIDForbidden) IsCode(code int) bool
IsCode returns true when this get team by Id forbidden response a status code equal to that given
func (*GetTeamByIDForbidden) IsRedirect ¶
func (o *GetTeamByIDForbidden) IsRedirect() bool
IsRedirect returns true when this get team by Id forbidden response has a 3xx status code
func (*GetTeamByIDForbidden) IsServerError ¶
func (o *GetTeamByIDForbidden) IsServerError() bool
IsServerError returns true when this get team by Id forbidden response has a 5xx status code
func (*GetTeamByIDForbidden) IsSuccess ¶
func (o *GetTeamByIDForbidden) IsSuccess() bool
IsSuccess returns true when this get team by Id forbidden response has a 2xx status code
func (*GetTeamByIDForbidden) String ¶
func (o *GetTeamByIDForbidden) String() string
type GetTeamByIDInternalServerError ¶
type GetTeamByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetTeamByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetTeamByIDInternalServerError ¶
func NewGetTeamByIDInternalServerError() *GetTeamByIDInternalServerError
NewGetTeamByIDInternalServerError creates a GetTeamByIDInternalServerError with default headers values
func (*GetTeamByIDInternalServerError) Code ¶
func (o *GetTeamByIDInternalServerError) Code() int
Code gets the status code for the get team by Id internal server error response
func (*GetTeamByIDInternalServerError) Error ¶
func (o *GetTeamByIDInternalServerError) Error() string
func (*GetTeamByIDInternalServerError) GetPayload ¶
func (o *GetTeamByIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetTeamByIDInternalServerError) IsClientError ¶
func (o *GetTeamByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get team by Id internal server error response has a 4xx status code
func (*GetTeamByIDInternalServerError) IsCode ¶
func (o *GetTeamByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get team by Id internal server error response a status code equal to that given
func (*GetTeamByIDInternalServerError) IsRedirect ¶
func (o *GetTeamByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get team by Id internal server error response has a 3xx status code
func (*GetTeamByIDInternalServerError) IsServerError ¶
func (o *GetTeamByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get team by Id internal server error response has a 5xx status code
func (*GetTeamByIDInternalServerError) IsSuccess ¶
func (o *GetTeamByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get team by Id internal server error response has a 2xx status code
func (*GetTeamByIDInternalServerError) String ¶
func (o *GetTeamByIDInternalServerError) String() string
type GetTeamByIDNotFound ¶
type GetTeamByIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetTeamByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetTeamByIDNotFound ¶
func NewGetTeamByIDNotFound() *GetTeamByIDNotFound
NewGetTeamByIDNotFound creates a GetTeamByIDNotFound with default headers values
func (*GetTeamByIDNotFound) Code ¶
func (o *GetTeamByIDNotFound) Code() int
Code gets the status code for the get team by Id not found response
func (*GetTeamByIDNotFound) Error ¶
func (o *GetTeamByIDNotFound) Error() string
func (*GetTeamByIDNotFound) GetPayload ¶
func (o *GetTeamByIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetTeamByIDNotFound) IsClientError ¶
func (o *GetTeamByIDNotFound) IsClientError() bool
IsClientError returns true when this get team by Id not found response has a 4xx status code
func (*GetTeamByIDNotFound) IsCode ¶
func (o *GetTeamByIDNotFound) IsCode(code int) bool
IsCode returns true when this get team by Id not found response a status code equal to that given
func (*GetTeamByIDNotFound) IsRedirect ¶
func (o *GetTeamByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get team by Id not found response has a 3xx status code
func (*GetTeamByIDNotFound) IsServerError ¶
func (o *GetTeamByIDNotFound) IsServerError() bool
IsServerError returns true when this get team by Id not found response has a 5xx status code
func (*GetTeamByIDNotFound) IsSuccess ¶
func (o *GetTeamByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get team by Id not found response has a 2xx status code
func (*GetTeamByIDNotFound) String ¶
func (o *GetTeamByIDNotFound) String() string
type GetTeamByIDOK ¶
GetTeamByIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetTeamByIDOK ¶
func NewGetTeamByIDOK() *GetTeamByIDOK
NewGetTeamByIDOK creates a GetTeamByIDOK with default headers values
func (*GetTeamByIDOK) Code ¶
func (o *GetTeamByIDOK) Code() int
Code gets the status code for the get team by Id Ok response
func (*GetTeamByIDOK) Error ¶
func (o *GetTeamByIDOK) Error() string
func (*GetTeamByIDOK) GetPayload ¶
func (o *GetTeamByIDOK) GetPayload() *models.TeamDTO
func (*GetTeamByIDOK) IsClientError ¶
func (o *GetTeamByIDOK) IsClientError() bool
IsClientError returns true when this get team by Id Ok response has a 4xx status code
func (*GetTeamByIDOK) IsCode ¶
func (o *GetTeamByIDOK) IsCode(code int) bool
IsCode returns true when this get team by Id Ok response a status code equal to that given
func (*GetTeamByIDOK) IsRedirect ¶
func (o *GetTeamByIDOK) IsRedirect() bool
IsRedirect returns true when this get team by Id Ok response has a 3xx status code
func (*GetTeamByIDOK) IsServerError ¶
func (o *GetTeamByIDOK) IsServerError() bool
IsServerError returns true when this get team by Id Ok response has a 5xx status code
func (*GetTeamByIDOK) IsSuccess ¶
func (o *GetTeamByIDOK) IsSuccess() bool
IsSuccess returns true when this get team by Id Ok response has a 2xx status code
func (*GetTeamByIDOK) String ¶
func (o *GetTeamByIDOK) String() string
type GetTeamByIDParams ¶
type GetTeamByIDParams struct { // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeamByIDParams contains all the parameters to send to the API endpoint
for the get team by ID operation. Typically these are written to a http.Request.
func NewGetTeamByIDParams ¶
func NewGetTeamByIDParams() *GetTeamByIDParams
NewGetTeamByIDParams creates a new GetTeamByIDParams 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 NewGetTeamByIDParamsWithContext ¶
func NewGetTeamByIDParamsWithContext(ctx context.Context) *GetTeamByIDParams
NewGetTeamByIDParamsWithContext creates a new GetTeamByIDParams object with the ability to set a context for a request.
func NewGetTeamByIDParamsWithHTTPClient ¶
func NewGetTeamByIDParamsWithHTTPClient(client *http.Client) *GetTeamByIDParams
NewGetTeamByIDParamsWithHTTPClient creates a new GetTeamByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeamByIDParamsWithTimeout ¶
func NewGetTeamByIDParamsWithTimeout(timeout time.Duration) *GetTeamByIDParams
NewGetTeamByIDParamsWithTimeout creates a new GetTeamByIDParams object with the ability to set a timeout on a request.
func (*GetTeamByIDParams) SetContext ¶
func (o *GetTeamByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get team by ID params
func (*GetTeamByIDParams) SetDefaults ¶
func (o *GetTeamByIDParams) SetDefaults()
SetDefaults hydrates default values in the get team by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeamByIDParams) SetHTTPClient ¶
func (o *GetTeamByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get team by ID params
func (*GetTeamByIDParams) SetTeamID ¶
func (o *GetTeamByIDParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the get team by ID params
func (*GetTeamByIDParams) SetTimeout ¶
func (o *GetTeamByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get team by ID params
func (*GetTeamByIDParams) WithContext ¶
func (o *GetTeamByIDParams) WithContext(ctx context.Context) *GetTeamByIDParams
WithContext adds the context to the get team by ID params
func (*GetTeamByIDParams) WithDefaults ¶
func (o *GetTeamByIDParams) WithDefaults() *GetTeamByIDParams
WithDefaults hydrates default values in the get team by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeamByIDParams) WithHTTPClient ¶
func (o *GetTeamByIDParams) WithHTTPClient(client *http.Client) *GetTeamByIDParams
WithHTTPClient adds the HTTPClient to the get team by ID params
func (*GetTeamByIDParams) WithTeamID ¶
func (o *GetTeamByIDParams) WithTeamID(teamID string) *GetTeamByIDParams
WithTeamID adds the teamID to the get team by ID params
func (*GetTeamByIDParams) WithTimeout ¶
func (o *GetTeamByIDParams) WithTimeout(timeout time.Duration) *GetTeamByIDParams
WithTimeout adds the timeout to the get team by ID params
func (*GetTeamByIDParams) WriteToRequest ¶
func (o *GetTeamByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeamByIDReader ¶
type GetTeamByIDReader struct {
// contains filtered or unexported fields
}
GetTeamByIDReader is a Reader for the GetTeamByID structure.
func (*GetTeamByIDReader) ReadResponse ¶
func (o *GetTeamByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeamByIDUnauthorized ¶
type GetTeamByIDUnauthorized struct {
}GetTeamByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetTeamByIDUnauthorized ¶
func NewGetTeamByIDUnauthorized() *GetTeamByIDUnauthorized
NewGetTeamByIDUnauthorized creates a GetTeamByIDUnauthorized with default headers values
func (*GetTeamByIDUnauthorized) Code ¶
func (o *GetTeamByIDUnauthorized) Code() int
Code gets the status code for the get team by Id unauthorized response
func (*GetTeamByIDUnauthorized) Error ¶
func (o *GetTeamByIDUnauthorized) Error() string
func (*GetTeamByIDUnauthorized) GetPayload ¶
func (o *GetTeamByIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetTeamByIDUnauthorized) IsClientError ¶
func (o *GetTeamByIDUnauthorized) IsClientError() bool
IsClientError returns true when this get team by Id unauthorized response has a 4xx status code
func (*GetTeamByIDUnauthorized) IsCode ¶
func (o *GetTeamByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get team by Id unauthorized response a status code equal to that given
func (*GetTeamByIDUnauthorized) IsRedirect ¶
func (o *GetTeamByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get team by Id unauthorized response has a 3xx status code
func (*GetTeamByIDUnauthorized) IsServerError ¶
func (o *GetTeamByIDUnauthorized) IsServerError() bool
IsServerError returns true when this get team by Id unauthorized response has a 5xx status code
func (*GetTeamByIDUnauthorized) IsSuccess ¶
func (o *GetTeamByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get team by Id unauthorized response has a 2xx status code
func (*GetTeamByIDUnauthorized) String ¶
func (o *GetTeamByIDUnauthorized) String() string
type GetTeamMembersForbidden ¶
type GetTeamMembersForbidden struct {
Payload *models.ErrorResponseBody
}
GetTeamMembersForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetTeamMembersForbidden ¶
func NewGetTeamMembersForbidden() *GetTeamMembersForbidden
NewGetTeamMembersForbidden creates a GetTeamMembersForbidden with default headers values
func (*GetTeamMembersForbidden) Code ¶
func (o *GetTeamMembersForbidden) Code() int
Code gets the status code for the get team members forbidden response
func (*GetTeamMembersForbidden) Error ¶
func (o *GetTeamMembersForbidden) Error() string
func (*GetTeamMembersForbidden) GetPayload ¶
func (o *GetTeamMembersForbidden) GetPayload() *models.ErrorResponseBody
func (*GetTeamMembersForbidden) IsClientError ¶
func (o *GetTeamMembersForbidden) IsClientError() bool
IsClientError returns true when this get team members forbidden response has a 4xx status code
func (*GetTeamMembersForbidden) IsCode ¶
func (o *GetTeamMembersForbidden) IsCode(code int) bool
IsCode returns true when this get team members forbidden response a status code equal to that given
func (*GetTeamMembersForbidden) IsRedirect ¶
func (o *GetTeamMembersForbidden) IsRedirect() bool
IsRedirect returns true when this get team members forbidden response has a 3xx status code
func (*GetTeamMembersForbidden) IsServerError ¶
func (o *GetTeamMembersForbidden) IsServerError() bool
IsServerError returns true when this get team members forbidden response has a 5xx status code
func (*GetTeamMembersForbidden) IsSuccess ¶
func (o *GetTeamMembersForbidden) IsSuccess() bool
IsSuccess returns true when this get team members forbidden response has a 2xx status code
func (*GetTeamMembersForbidden) String ¶
func (o *GetTeamMembersForbidden) String() string
type GetTeamMembersInternalServerError ¶
type GetTeamMembersInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetTeamMembersInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetTeamMembersInternalServerError ¶
func NewGetTeamMembersInternalServerError() *GetTeamMembersInternalServerError
NewGetTeamMembersInternalServerError creates a GetTeamMembersInternalServerError with default headers values
func (*GetTeamMembersInternalServerError) Code ¶
func (o *GetTeamMembersInternalServerError) Code() int
Code gets the status code for the get team members internal server error response
func (*GetTeamMembersInternalServerError) Error ¶
func (o *GetTeamMembersInternalServerError) Error() string
func (*GetTeamMembersInternalServerError) GetPayload ¶
func (o *GetTeamMembersInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetTeamMembersInternalServerError) IsClientError ¶
func (o *GetTeamMembersInternalServerError) IsClientError() bool
IsClientError returns true when this get team members internal server error response has a 4xx status code
func (*GetTeamMembersInternalServerError) IsCode ¶
func (o *GetTeamMembersInternalServerError) IsCode(code int) bool
IsCode returns true when this get team members internal server error response a status code equal to that given
func (*GetTeamMembersInternalServerError) IsRedirect ¶
func (o *GetTeamMembersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get team members internal server error response has a 3xx status code
func (*GetTeamMembersInternalServerError) IsServerError ¶
func (o *GetTeamMembersInternalServerError) IsServerError() bool
IsServerError returns true when this get team members internal server error response has a 5xx status code
func (*GetTeamMembersInternalServerError) IsSuccess ¶
func (o *GetTeamMembersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get team members internal server error response has a 2xx status code
func (*GetTeamMembersInternalServerError) String ¶
func (o *GetTeamMembersInternalServerError) String() string
type GetTeamMembersNotFound ¶
type GetTeamMembersNotFound struct {
Payload *models.ErrorResponseBody
}
GetTeamMembersNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetTeamMembersNotFound ¶
func NewGetTeamMembersNotFound() *GetTeamMembersNotFound
NewGetTeamMembersNotFound creates a GetTeamMembersNotFound with default headers values
func (*GetTeamMembersNotFound) Code ¶
func (o *GetTeamMembersNotFound) Code() int
Code gets the status code for the get team members not found response
func (*GetTeamMembersNotFound) Error ¶
func (o *GetTeamMembersNotFound) Error() string
func (*GetTeamMembersNotFound) GetPayload ¶
func (o *GetTeamMembersNotFound) GetPayload() *models.ErrorResponseBody
func (*GetTeamMembersNotFound) IsClientError ¶
func (o *GetTeamMembersNotFound) IsClientError() bool
IsClientError returns true when this get team members not found response has a 4xx status code
func (*GetTeamMembersNotFound) IsCode ¶
func (o *GetTeamMembersNotFound) IsCode(code int) bool
IsCode returns true when this get team members not found response a status code equal to that given
func (*GetTeamMembersNotFound) IsRedirect ¶
func (o *GetTeamMembersNotFound) IsRedirect() bool
IsRedirect returns true when this get team members not found response has a 3xx status code
func (*GetTeamMembersNotFound) IsServerError ¶
func (o *GetTeamMembersNotFound) IsServerError() bool
IsServerError returns true when this get team members not found response has a 5xx status code
func (*GetTeamMembersNotFound) IsSuccess ¶
func (o *GetTeamMembersNotFound) IsSuccess() bool
IsSuccess returns true when this get team members not found response has a 2xx status code
func (*GetTeamMembersNotFound) String ¶
func (o *GetTeamMembersNotFound) String() string
type GetTeamMembersOK ¶
type GetTeamMembersOK struct {
Payload []*models.TeamMemberDTO
}
GetTeamMembersOK describes a response with status code 200, with default header values.
(empty)
func NewGetTeamMembersOK ¶
func NewGetTeamMembersOK() *GetTeamMembersOK
NewGetTeamMembersOK creates a GetTeamMembersOK with default headers values
func (*GetTeamMembersOK) Code ¶
func (o *GetTeamMembersOK) Code() int
Code gets the status code for the get team members Ok response
func (*GetTeamMembersOK) Error ¶
func (o *GetTeamMembersOK) Error() string
func (*GetTeamMembersOK) GetPayload ¶
func (o *GetTeamMembersOK) GetPayload() []*models.TeamMemberDTO
func (*GetTeamMembersOK) IsClientError ¶
func (o *GetTeamMembersOK) IsClientError() bool
IsClientError returns true when this get team members Ok response has a 4xx status code
func (*GetTeamMembersOK) IsCode ¶
func (o *GetTeamMembersOK) IsCode(code int) bool
IsCode returns true when this get team members Ok response a status code equal to that given
func (*GetTeamMembersOK) IsRedirect ¶
func (o *GetTeamMembersOK) IsRedirect() bool
IsRedirect returns true when this get team members Ok response has a 3xx status code
func (*GetTeamMembersOK) IsServerError ¶
func (o *GetTeamMembersOK) IsServerError() bool
IsServerError returns true when this get team members Ok response has a 5xx status code
func (*GetTeamMembersOK) IsSuccess ¶
func (o *GetTeamMembersOK) IsSuccess() bool
IsSuccess returns true when this get team members Ok response has a 2xx status code
func (*GetTeamMembersOK) String ¶
func (o *GetTeamMembersOK) String() string
type GetTeamMembersParams ¶
type GetTeamMembersParams struct { // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeamMembersParams contains all the parameters to send to the API endpoint
for the get team members operation. Typically these are written to a http.Request.
func NewGetTeamMembersParams ¶
func NewGetTeamMembersParams() *GetTeamMembersParams
NewGetTeamMembersParams creates a new GetTeamMembersParams 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 NewGetTeamMembersParamsWithContext ¶
func NewGetTeamMembersParamsWithContext(ctx context.Context) *GetTeamMembersParams
NewGetTeamMembersParamsWithContext creates a new GetTeamMembersParams object with the ability to set a context for a request.
func NewGetTeamMembersParamsWithHTTPClient ¶
func NewGetTeamMembersParamsWithHTTPClient(client *http.Client) *GetTeamMembersParams
NewGetTeamMembersParamsWithHTTPClient creates a new GetTeamMembersParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeamMembersParamsWithTimeout ¶
func NewGetTeamMembersParamsWithTimeout(timeout time.Duration) *GetTeamMembersParams
NewGetTeamMembersParamsWithTimeout creates a new GetTeamMembersParams object with the ability to set a timeout on a request.
func (*GetTeamMembersParams) SetContext ¶
func (o *GetTeamMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the get team members params
func (*GetTeamMembersParams) SetDefaults ¶
func (o *GetTeamMembersParams) SetDefaults()
SetDefaults hydrates default values in the get team members params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeamMembersParams) SetHTTPClient ¶
func (o *GetTeamMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get team members params
func (*GetTeamMembersParams) SetTeamID ¶
func (o *GetTeamMembersParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the get team members params
func (*GetTeamMembersParams) SetTimeout ¶
func (o *GetTeamMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get team members params
func (*GetTeamMembersParams) WithContext ¶
func (o *GetTeamMembersParams) WithContext(ctx context.Context) *GetTeamMembersParams
WithContext adds the context to the get team members params
func (*GetTeamMembersParams) WithDefaults ¶
func (o *GetTeamMembersParams) WithDefaults() *GetTeamMembersParams
WithDefaults hydrates default values in the get team members params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeamMembersParams) WithHTTPClient ¶
func (o *GetTeamMembersParams) WithHTTPClient(client *http.Client) *GetTeamMembersParams
WithHTTPClient adds the HTTPClient to the get team members params
func (*GetTeamMembersParams) WithTeamID ¶
func (o *GetTeamMembersParams) WithTeamID(teamID string) *GetTeamMembersParams
WithTeamID adds the teamID to the get team members params
func (*GetTeamMembersParams) WithTimeout ¶
func (o *GetTeamMembersParams) WithTimeout(timeout time.Duration) *GetTeamMembersParams
WithTimeout adds the timeout to the get team members params
func (*GetTeamMembersParams) WriteToRequest ¶
func (o *GetTeamMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeamMembersReader ¶
type GetTeamMembersReader struct {
// contains filtered or unexported fields
}
GetTeamMembersReader is a Reader for the GetTeamMembers structure.
func (*GetTeamMembersReader) ReadResponse ¶
func (o *GetTeamMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeamMembersUnauthorized ¶
type GetTeamMembersUnauthorized struct {
}GetTeamMembersUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetTeamMembersUnauthorized ¶
func NewGetTeamMembersUnauthorized() *GetTeamMembersUnauthorized
NewGetTeamMembersUnauthorized creates a GetTeamMembersUnauthorized with default headers values
func (*GetTeamMembersUnauthorized) Code ¶
func (o *GetTeamMembersUnauthorized) Code() int
Code gets the status code for the get team members unauthorized response
func (*GetTeamMembersUnauthorized) Error ¶
func (o *GetTeamMembersUnauthorized) Error() string
func (*GetTeamMembersUnauthorized) GetPayload ¶
func (o *GetTeamMembersUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetTeamMembersUnauthorized) IsClientError ¶
func (o *GetTeamMembersUnauthorized) IsClientError() bool
IsClientError returns true when this get team members unauthorized response has a 4xx status code
func (*GetTeamMembersUnauthorized) IsCode ¶
func (o *GetTeamMembersUnauthorized) IsCode(code int) bool
IsCode returns true when this get team members unauthorized response a status code equal to that given
func (*GetTeamMembersUnauthorized) IsRedirect ¶
func (o *GetTeamMembersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get team members unauthorized response has a 3xx status code
func (*GetTeamMembersUnauthorized) IsServerError ¶
func (o *GetTeamMembersUnauthorized) IsServerError() bool
IsServerError returns true when this get team members unauthorized response has a 5xx status code
func (*GetTeamMembersUnauthorized) IsSuccess ¶
func (o *GetTeamMembersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get team members unauthorized response has a 2xx status code
func (*GetTeamMembersUnauthorized) String ¶
func (o *GetTeamMembersUnauthorized) String() string
type GetTeamPreferencesInternalServerError ¶
type GetTeamPreferencesInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetTeamPreferencesInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetTeamPreferencesInternalServerError ¶
func NewGetTeamPreferencesInternalServerError() *GetTeamPreferencesInternalServerError
NewGetTeamPreferencesInternalServerError creates a GetTeamPreferencesInternalServerError with default headers values
func (*GetTeamPreferencesInternalServerError) Code ¶
func (o *GetTeamPreferencesInternalServerError) Code() int
Code gets the status code for the get team preferences internal server error response
func (*GetTeamPreferencesInternalServerError) Error ¶
func (o *GetTeamPreferencesInternalServerError) Error() string
func (*GetTeamPreferencesInternalServerError) GetPayload ¶
func (o *GetTeamPreferencesInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetTeamPreferencesInternalServerError) IsClientError ¶
func (o *GetTeamPreferencesInternalServerError) IsClientError() bool
IsClientError returns true when this get team preferences internal server error response has a 4xx status code
func (*GetTeamPreferencesInternalServerError) IsCode ¶
func (o *GetTeamPreferencesInternalServerError) IsCode(code int) bool
IsCode returns true when this get team preferences internal server error response a status code equal to that given
func (*GetTeamPreferencesInternalServerError) IsRedirect ¶
func (o *GetTeamPreferencesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get team preferences internal server error response has a 3xx status code
func (*GetTeamPreferencesInternalServerError) IsServerError ¶
func (o *GetTeamPreferencesInternalServerError) IsServerError() bool
IsServerError returns true when this get team preferences internal server error response has a 5xx status code
func (*GetTeamPreferencesInternalServerError) IsSuccess ¶
func (o *GetTeamPreferencesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get team preferences internal server error response has a 2xx status code
func (*GetTeamPreferencesInternalServerError) String ¶
func (o *GetTeamPreferencesInternalServerError) String() string
type GetTeamPreferencesOK ¶
type GetTeamPreferencesOK struct {
Payload *models.Preferences
}
GetTeamPreferencesOK describes a response with status code 200, with default header values.
(empty)
func NewGetTeamPreferencesOK ¶
func NewGetTeamPreferencesOK() *GetTeamPreferencesOK
NewGetTeamPreferencesOK creates a GetTeamPreferencesOK with default headers values
func (*GetTeamPreferencesOK) Code ¶
func (o *GetTeamPreferencesOK) Code() int
Code gets the status code for the get team preferences Ok response
func (*GetTeamPreferencesOK) Error ¶
func (o *GetTeamPreferencesOK) Error() string
func (*GetTeamPreferencesOK) GetPayload ¶
func (o *GetTeamPreferencesOK) GetPayload() *models.Preferences
func (*GetTeamPreferencesOK) IsClientError ¶
func (o *GetTeamPreferencesOK) IsClientError() bool
IsClientError returns true when this get team preferences Ok response has a 4xx status code
func (*GetTeamPreferencesOK) IsCode ¶
func (o *GetTeamPreferencesOK) IsCode(code int) bool
IsCode returns true when this get team preferences Ok response a status code equal to that given
func (*GetTeamPreferencesOK) IsRedirect ¶
func (o *GetTeamPreferencesOK) IsRedirect() bool
IsRedirect returns true when this get team preferences Ok response has a 3xx status code
func (*GetTeamPreferencesOK) IsServerError ¶
func (o *GetTeamPreferencesOK) IsServerError() bool
IsServerError returns true when this get team preferences Ok response has a 5xx status code
func (*GetTeamPreferencesOK) IsSuccess ¶
func (o *GetTeamPreferencesOK) IsSuccess() bool
IsSuccess returns true when this get team preferences Ok response has a 2xx status code
func (*GetTeamPreferencesOK) String ¶
func (o *GetTeamPreferencesOK) String() string
type GetTeamPreferencesParams ¶
type GetTeamPreferencesParams struct { // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeamPreferencesParams contains all the parameters to send to the API endpoint
for the get team preferences operation. Typically these are written to a http.Request.
func NewGetTeamPreferencesParams ¶
func NewGetTeamPreferencesParams() *GetTeamPreferencesParams
NewGetTeamPreferencesParams creates a new GetTeamPreferencesParams 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 NewGetTeamPreferencesParamsWithContext ¶
func NewGetTeamPreferencesParamsWithContext(ctx context.Context) *GetTeamPreferencesParams
NewGetTeamPreferencesParamsWithContext creates a new GetTeamPreferencesParams object with the ability to set a context for a request.
func NewGetTeamPreferencesParamsWithHTTPClient ¶
func NewGetTeamPreferencesParamsWithHTTPClient(client *http.Client) *GetTeamPreferencesParams
NewGetTeamPreferencesParamsWithHTTPClient creates a new GetTeamPreferencesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTeamPreferencesParamsWithTimeout ¶
func NewGetTeamPreferencesParamsWithTimeout(timeout time.Duration) *GetTeamPreferencesParams
NewGetTeamPreferencesParamsWithTimeout creates a new GetTeamPreferencesParams object with the ability to set a timeout on a request.
func (*GetTeamPreferencesParams) SetContext ¶
func (o *GetTeamPreferencesParams) SetContext(ctx context.Context)
SetContext adds the context to the get team preferences params
func (*GetTeamPreferencesParams) SetDefaults ¶
func (o *GetTeamPreferencesParams) SetDefaults()
SetDefaults hydrates default values in the get team preferences params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeamPreferencesParams) SetHTTPClient ¶
func (o *GetTeamPreferencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get team preferences params
func (*GetTeamPreferencesParams) SetTeamID ¶
func (o *GetTeamPreferencesParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the get team preferences params
func (*GetTeamPreferencesParams) SetTimeout ¶
func (o *GetTeamPreferencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get team preferences params
func (*GetTeamPreferencesParams) WithContext ¶
func (o *GetTeamPreferencesParams) WithContext(ctx context.Context) *GetTeamPreferencesParams
WithContext adds the context to the get team preferences params
func (*GetTeamPreferencesParams) WithDefaults ¶
func (o *GetTeamPreferencesParams) WithDefaults() *GetTeamPreferencesParams
WithDefaults hydrates default values in the get team preferences params (not the query body).
All values with no default are reset to their zero value.
func (*GetTeamPreferencesParams) WithHTTPClient ¶
func (o *GetTeamPreferencesParams) WithHTTPClient(client *http.Client) *GetTeamPreferencesParams
WithHTTPClient adds the HTTPClient to the get team preferences params
func (*GetTeamPreferencesParams) WithTeamID ¶
func (o *GetTeamPreferencesParams) WithTeamID(teamID string) *GetTeamPreferencesParams
WithTeamID adds the teamID to the get team preferences params
func (*GetTeamPreferencesParams) WithTimeout ¶
func (o *GetTeamPreferencesParams) WithTimeout(timeout time.Duration) *GetTeamPreferencesParams
WithTimeout adds the timeout to the get team preferences params
func (*GetTeamPreferencesParams) WriteToRequest ¶
func (o *GetTeamPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeamPreferencesReader ¶
type GetTeamPreferencesReader struct {
// contains filtered or unexported fields
}
GetTeamPreferencesReader is a Reader for the GetTeamPreferences structure.
func (*GetTeamPreferencesReader) ReadResponse ¶
func (o *GetTeamPreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeamPreferencesUnauthorized ¶
type GetTeamPreferencesUnauthorized struct {
}GetTeamPreferencesUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetTeamPreferencesUnauthorized ¶
func NewGetTeamPreferencesUnauthorized() *GetTeamPreferencesUnauthorized
NewGetTeamPreferencesUnauthorized creates a GetTeamPreferencesUnauthorized with default headers values
func (*GetTeamPreferencesUnauthorized) Code ¶
func (o *GetTeamPreferencesUnauthorized) Code() int
Code gets the status code for the get team preferences unauthorized response
func (*GetTeamPreferencesUnauthorized) Error ¶
func (o *GetTeamPreferencesUnauthorized) Error() string
func (*GetTeamPreferencesUnauthorized) GetPayload ¶
func (o *GetTeamPreferencesUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetTeamPreferencesUnauthorized) IsClientError ¶
func (o *GetTeamPreferencesUnauthorized) IsClientError() bool
IsClientError returns true when this get team preferences unauthorized response has a 4xx status code
func (*GetTeamPreferencesUnauthorized) IsCode ¶
func (o *GetTeamPreferencesUnauthorized) IsCode(code int) bool
IsCode returns true when this get team preferences unauthorized response a status code equal to that given
func (*GetTeamPreferencesUnauthorized) IsRedirect ¶
func (o *GetTeamPreferencesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get team preferences unauthorized response has a 3xx status code
func (*GetTeamPreferencesUnauthorized) IsServerError ¶
func (o *GetTeamPreferencesUnauthorized) IsServerError() bool
IsServerError returns true when this get team preferences unauthorized response has a 5xx status code
func (*GetTeamPreferencesUnauthorized) IsSuccess ¶
func (o *GetTeamPreferencesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get team preferences unauthorized response has a 2xx status code
func (*GetTeamPreferencesUnauthorized) String ¶
func (o *GetTeamPreferencesUnauthorized) String() string
type RemoveTeamMemberForbidden ¶
type RemoveTeamMemberForbidden struct {
Payload *models.ErrorResponseBody
}
RemoveTeamMemberForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewRemoveTeamMemberForbidden ¶
func NewRemoveTeamMemberForbidden() *RemoveTeamMemberForbidden
NewRemoveTeamMemberForbidden creates a RemoveTeamMemberForbidden with default headers values
func (*RemoveTeamMemberForbidden) Code ¶
func (o *RemoveTeamMemberForbidden) Code() int
Code gets the status code for the remove team member forbidden response
func (*RemoveTeamMemberForbidden) Error ¶
func (o *RemoveTeamMemberForbidden) Error() string
func (*RemoveTeamMemberForbidden) GetPayload ¶
func (o *RemoveTeamMemberForbidden) GetPayload() *models.ErrorResponseBody
func (*RemoveTeamMemberForbidden) IsClientError ¶
func (o *RemoveTeamMemberForbidden) IsClientError() bool
IsClientError returns true when this remove team member forbidden response has a 4xx status code
func (*RemoveTeamMemberForbidden) IsCode ¶
func (o *RemoveTeamMemberForbidden) IsCode(code int) bool
IsCode returns true when this remove team member forbidden response a status code equal to that given
func (*RemoveTeamMemberForbidden) IsRedirect ¶
func (o *RemoveTeamMemberForbidden) IsRedirect() bool
IsRedirect returns true when this remove team member forbidden response has a 3xx status code
func (*RemoveTeamMemberForbidden) IsServerError ¶
func (o *RemoveTeamMemberForbidden) IsServerError() bool
IsServerError returns true when this remove team member forbidden response has a 5xx status code
func (*RemoveTeamMemberForbidden) IsSuccess ¶
func (o *RemoveTeamMemberForbidden) IsSuccess() bool
IsSuccess returns true when this remove team member forbidden response has a 2xx status code
func (*RemoveTeamMemberForbidden) String ¶
func (o *RemoveTeamMemberForbidden) String() string
type RemoveTeamMemberInternalServerError ¶
type RemoveTeamMemberInternalServerError struct {
Payload *models.ErrorResponseBody
}
RemoveTeamMemberInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRemoveTeamMemberInternalServerError ¶
func NewRemoveTeamMemberInternalServerError() *RemoveTeamMemberInternalServerError
NewRemoveTeamMemberInternalServerError creates a RemoveTeamMemberInternalServerError with default headers values
func (*RemoveTeamMemberInternalServerError) Code ¶
func (o *RemoveTeamMemberInternalServerError) Code() int
Code gets the status code for the remove team member internal server error response
func (*RemoveTeamMemberInternalServerError) Error ¶
func (o *RemoveTeamMemberInternalServerError) Error() string
func (*RemoveTeamMemberInternalServerError) GetPayload ¶
func (o *RemoveTeamMemberInternalServerError) GetPayload() *models.ErrorResponseBody
func (*RemoveTeamMemberInternalServerError) IsClientError ¶
func (o *RemoveTeamMemberInternalServerError) IsClientError() bool
IsClientError returns true when this remove team member internal server error response has a 4xx status code
func (*RemoveTeamMemberInternalServerError) IsCode ¶
func (o *RemoveTeamMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this remove team member internal server error response a status code equal to that given
func (*RemoveTeamMemberInternalServerError) IsRedirect ¶
func (o *RemoveTeamMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove team member internal server error response has a 3xx status code
func (*RemoveTeamMemberInternalServerError) IsServerError ¶
func (o *RemoveTeamMemberInternalServerError) IsServerError() bool
IsServerError returns true when this remove team member internal server error response has a 5xx status code
func (*RemoveTeamMemberInternalServerError) IsSuccess ¶
func (o *RemoveTeamMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove team member internal server error response has a 2xx status code
func (*RemoveTeamMemberInternalServerError) String ¶
func (o *RemoveTeamMemberInternalServerError) String() string
type RemoveTeamMemberNotFound ¶
type RemoveTeamMemberNotFound struct {
Payload *models.ErrorResponseBody
}
RemoveTeamMemberNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewRemoveTeamMemberNotFound ¶
func NewRemoveTeamMemberNotFound() *RemoveTeamMemberNotFound
NewRemoveTeamMemberNotFound creates a RemoveTeamMemberNotFound with default headers values
func (*RemoveTeamMemberNotFound) Code ¶
func (o *RemoveTeamMemberNotFound) Code() int
Code gets the status code for the remove team member not found response
func (*RemoveTeamMemberNotFound) Error ¶
func (o *RemoveTeamMemberNotFound) Error() string
func (*RemoveTeamMemberNotFound) GetPayload ¶
func (o *RemoveTeamMemberNotFound) GetPayload() *models.ErrorResponseBody
func (*RemoveTeamMemberNotFound) IsClientError ¶
func (o *RemoveTeamMemberNotFound) IsClientError() bool
IsClientError returns true when this remove team member not found response has a 4xx status code
func (*RemoveTeamMemberNotFound) IsCode ¶
func (o *RemoveTeamMemberNotFound) IsCode(code int) bool
IsCode returns true when this remove team member not found response a status code equal to that given
func (*RemoveTeamMemberNotFound) IsRedirect ¶
func (o *RemoveTeamMemberNotFound) IsRedirect() bool
IsRedirect returns true when this remove team member not found response has a 3xx status code
func (*RemoveTeamMemberNotFound) IsServerError ¶
func (o *RemoveTeamMemberNotFound) IsServerError() bool
IsServerError returns true when this remove team member not found response has a 5xx status code
func (*RemoveTeamMemberNotFound) IsSuccess ¶
func (o *RemoveTeamMemberNotFound) IsSuccess() bool
IsSuccess returns true when this remove team member not found response has a 2xx status code
func (*RemoveTeamMemberNotFound) String ¶
func (o *RemoveTeamMemberNotFound) String() string
type RemoveTeamMemberOK ¶
type RemoveTeamMemberOK struct {
Payload *models.SuccessResponseBody
}
RemoveTeamMemberOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewRemoveTeamMemberOK ¶
func NewRemoveTeamMemberOK() *RemoveTeamMemberOK
NewRemoveTeamMemberOK creates a RemoveTeamMemberOK with default headers values
func (*RemoveTeamMemberOK) Code ¶
func (o *RemoveTeamMemberOK) Code() int
Code gets the status code for the remove team member Ok response
func (*RemoveTeamMemberOK) Error ¶
func (o *RemoveTeamMemberOK) Error() string
func (*RemoveTeamMemberOK) GetPayload ¶
func (o *RemoveTeamMemberOK) GetPayload() *models.SuccessResponseBody
func (*RemoveTeamMemberOK) IsClientError ¶
func (o *RemoveTeamMemberOK) IsClientError() bool
IsClientError returns true when this remove team member Ok response has a 4xx status code
func (*RemoveTeamMemberOK) IsCode ¶
func (o *RemoveTeamMemberOK) IsCode(code int) bool
IsCode returns true when this remove team member Ok response a status code equal to that given
func (*RemoveTeamMemberOK) IsRedirect ¶
func (o *RemoveTeamMemberOK) IsRedirect() bool
IsRedirect returns true when this remove team member Ok response has a 3xx status code
func (*RemoveTeamMemberOK) IsServerError ¶
func (o *RemoveTeamMemberOK) IsServerError() bool
IsServerError returns true when this remove team member Ok response has a 5xx status code
func (*RemoveTeamMemberOK) IsSuccess ¶
func (o *RemoveTeamMemberOK) IsSuccess() bool
IsSuccess returns true when this remove team member Ok response has a 2xx status code
func (*RemoveTeamMemberOK) String ¶
func (o *RemoveTeamMemberOK) String() string
type RemoveTeamMemberParams ¶
type RemoveTeamMemberParams struct { // TeamID. TeamID string // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveTeamMemberParams contains all the parameters to send to the API endpoint
for the remove team member operation. Typically these are written to a http.Request.
func NewRemoveTeamMemberParams ¶
func NewRemoveTeamMemberParams() *RemoveTeamMemberParams
NewRemoveTeamMemberParams creates a new RemoveTeamMemberParams 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 NewRemoveTeamMemberParamsWithContext ¶
func NewRemoveTeamMemberParamsWithContext(ctx context.Context) *RemoveTeamMemberParams
NewRemoveTeamMemberParamsWithContext creates a new RemoveTeamMemberParams object with the ability to set a context for a request.
func NewRemoveTeamMemberParamsWithHTTPClient ¶
func NewRemoveTeamMemberParamsWithHTTPClient(client *http.Client) *RemoveTeamMemberParams
NewRemoveTeamMemberParamsWithHTTPClient creates a new RemoveTeamMemberParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveTeamMemberParamsWithTimeout ¶
func NewRemoveTeamMemberParamsWithTimeout(timeout time.Duration) *RemoveTeamMemberParams
NewRemoveTeamMemberParamsWithTimeout creates a new RemoveTeamMemberParams object with the ability to set a timeout on a request.
func (*RemoveTeamMemberParams) SetContext ¶
func (o *RemoveTeamMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the remove team member params
func (*RemoveTeamMemberParams) SetDefaults ¶
func (o *RemoveTeamMemberParams) SetDefaults()
SetDefaults hydrates default values in the remove team member params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveTeamMemberParams) SetHTTPClient ¶
func (o *RemoveTeamMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove team member params
func (*RemoveTeamMemberParams) SetTeamID ¶
func (o *RemoveTeamMemberParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the remove team member params
func (*RemoveTeamMemberParams) SetTimeout ¶
func (o *RemoveTeamMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove team member params
func (*RemoveTeamMemberParams) SetUserID ¶
func (o *RemoveTeamMemberParams) SetUserID(userID int64)
SetUserID adds the userId to the remove team member params
func (*RemoveTeamMemberParams) WithContext ¶
func (o *RemoveTeamMemberParams) WithContext(ctx context.Context) *RemoveTeamMemberParams
WithContext adds the context to the remove team member params
func (*RemoveTeamMemberParams) WithDefaults ¶
func (o *RemoveTeamMemberParams) WithDefaults() *RemoveTeamMemberParams
WithDefaults hydrates default values in the remove team member params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveTeamMemberParams) WithHTTPClient ¶
func (o *RemoveTeamMemberParams) WithHTTPClient(client *http.Client) *RemoveTeamMemberParams
WithHTTPClient adds the HTTPClient to the remove team member params
func (*RemoveTeamMemberParams) WithTeamID ¶
func (o *RemoveTeamMemberParams) WithTeamID(teamID string) *RemoveTeamMemberParams
WithTeamID adds the teamID to the remove team member params
func (*RemoveTeamMemberParams) WithTimeout ¶
func (o *RemoveTeamMemberParams) WithTimeout(timeout time.Duration) *RemoveTeamMemberParams
WithTimeout adds the timeout to the remove team member params
func (*RemoveTeamMemberParams) WithUserID ¶
func (o *RemoveTeamMemberParams) WithUserID(userID int64) *RemoveTeamMemberParams
WithUserID adds the userID to the remove team member params
func (*RemoveTeamMemberParams) WriteToRequest ¶
func (o *RemoveTeamMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveTeamMemberReader ¶
type RemoveTeamMemberReader struct {
// contains filtered or unexported fields
}
RemoveTeamMemberReader is a Reader for the RemoveTeamMember structure.
func (*RemoveTeamMemberReader) ReadResponse ¶
func (o *RemoveTeamMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveTeamMemberUnauthorized ¶
type RemoveTeamMemberUnauthorized struct {
}RemoveTeamMemberUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRemoveTeamMemberUnauthorized ¶
func NewRemoveTeamMemberUnauthorized() *RemoveTeamMemberUnauthorized
NewRemoveTeamMemberUnauthorized creates a RemoveTeamMemberUnauthorized with default headers values
func (*RemoveTeamMemberUnauthorized) Code ¶
func (o *RemoveTeamMemberUnauthorized) Code() int
Code gets the status code for the remove team member unauthorized response
func (*RemoveTeamMemberUnauthorized) Error ¶
func (o *RemoveTeamMemberUnauthorized) Error() string
func (*RemoveTeamMemberUnauthorized) GetPayload ¶
func (o *RemoveTeamMemberUnauthorized) GetPayload() *models.ErrorResponseBody
func (*RemoveTeamMemberUnauthorized) IsClientError ¶
func (o *RemoveTeamMemberUnauthorized) IsClientError() bool
IsClientError returns true when this remove team member unauthorized response has a 4xx status code
func (*RemoveTeamMemberUnauthorized) IsCode ¶
func (o *RemoveTeamMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this remove team member unauthorized response a status code equal to that given
func (*RemoveTeamMemberUnauthorized) IsRedirect ¶
func (o *RemoveTeamMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove team member unauthorized response has a 3xx status code
func (*RemoveTeamMemberUnauthorized) IsServerError ¶
func (o *RemoveTeamMemberUnauthorized) IsServerError() bool
IsServerError returns true when this remove team member unauthorized response has a 5xx status code
func (*RemoveTeamMemberUnauthorized) IsSuccess ¶
func (o *RemoveTeamMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove team member unauthorized response has a 2xx status code
func (*RemoveTeamMemberUnauthorized) String ¶
func (o *RemoveTeamMemberUnauthorized) String() string
type SearchTeamsForbidden ¶
type SearchTeamsForbidden struct {
Payload *models.ErrorResponseBody
}
SearchTeamsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSearchTeamsForbidden ¶
func NewSearchTeamsForbidden() *SearchTeamsForbidden
NewSearchTeamsForbidden creates a SearchTeamsForbidden with default headers values
func (*SearchTeamsForbidden) Code ¶
func (o *SearchTeamsForbidden) Code() int
Code gets the status code for the search teams forbidden response
func (*SearchTeamsForbidden) Error ¶
func (o *SearchTeamsForbidden) Error() string
func (*SearchTeamsForbidden) GetPayload ¶
func (o *SearchTeamsForbidden) GetPayload() *models.ErrorResponseBody
func (*SearchTeamsForbidden) IsClientError ¶
func (o *SearchTeamsForbidden) IsClientError() bool
IsClientError returns true when this search teams forbidden response has a 4xx status code
func (*SearchTeamsForbidden) IsCode ¶
func (o *SearchTeamsForbidden) IsCode(code int) bool
IsCode returns true when this search teams forbidden response a status code equal to that given
func (*SearchTeamsForbidden) IsRedirect ¶
func (o *SearchTeamsForbidden) IsRedirect() bool
IsRedirect returns true when this search teams forbidden response has a 3xx status code
func (*SearchTeamsForbidden) IsServerError ¶
func (o *SearchTeamsForbidden) IsServerError() bool
IsServerError returns true when this search teams forbidden response has a 5xx status code
func (*SearchTeamsForbidden) IsSuccess ¶
func (o *SearchTeamsForbidden) IsSuccess() bool
IsSuccess returns true when this search teams forbidden response has a 2xx status code
func (*SearchTeamsForbidden) String ¶
func (o *SearchTeamsForbidden) String() string
type SearchTeamsInternalServerError ¶
type SearchTeamsInternalServerError struct {
Payload *models.ErrorResponseBody
}
SearchTeamsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSearchTeamsInternalServerError ¶
func NewSearchTeamsInternalServerError() *SearchTeamsInternalServerError
NewSearchTeamsInternalServerError creates a SearchTeamsInternalServerError with default headers values
func (*SearchTeamsInternalServerError) Code ¶
func (o *SearchTeamsInternalServerError) Code() int
Code gets the status code for the search teams internal server error response
func (*SearchTeamsInternalServerError) Error ¶
func (o *SearchTeamsInternalServerError) Error() string
func (*SearchTeamsInternalServerError) GetPayload ¶
func (o *SearchTeamsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*SearchTeamsInternalServerError) IsClientError ¶
func (o *SearchTeamsInternalServerError) IsClientError() bool
IsClientError returns true when this search teams internal server error response has a 4xx status code
func (*SearchTeamsInternalServerError) IsCode ¶
func (o *SearchTeamsInternalServerError) IsCode(code int) bool
IsCode returns true when this search teams internal server error response a status code equal to that given
func (*SearchTeamsInternalServerError) IsRedirect ¶
func (o *SearchTeamsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search teams internal server error response has a 3xx status code
func (*SearchTeamsInternalServerError) IsServerError ¶
func (o *SearchTeamsInternalServerError) IsServerError() bool
IsServerError returns true when this search teams internal server error response has a 5xx status code
func (*SearchTeamsInternalServerError) IsSuccess ¶
func (o *SearchTeamsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search teams internal server error response has a 2xx status code
func (*SearchTeamsInternalServerError) String ¶
func (o *SearchTeamsInternalServerError) String() string
type SearchTeamsOK ¶
type SearchTeamsOK struct {
Payload *models.SearchTeamQueryResult
}
SearchTeamsOK describes a response with status code 200, with default header values.
(empty)
func NewSearchTeamsOK ¶
func NewSearchTeamsOK() *SearchTeamsOK
NewSearchTeamsOK creates a SearchTeamsOK with default headers values
func (*SearchTeamsOK) Code ¶
func (o *SearchTeamsOK) Code() int
Code gets the status code for the search teams Ok response
func (*SearchTeamsOK) Error ¶
func (o *SearchTeamsOK) Error() string
func (*SearchTeamsOK) GetPayload ¶
func (o *SearchTeamsOK) GetPayload() *models.SearchTeamQueryResult
func (*SearchTeamsOK) IsClientError ¶
func (o *SearchTeamsOK) IsClientError() bool
IsClientError returns true when this search teams Ok response has a 4xx status code
func (*SearchTeamsOK) IsCode ¶
func (o *SearchTeamsOK) IsCode(code int) bool
IsCode returns true when this search teams Ok response a status code equal to that given
func (*SearchTeamsOK) IsRedirect ¶
func (o *SearchTeamsOK) IsRedirect() bool
IsRedirect returns true when this search teams Ok response has a 3xx status code
func (*SearchTeamsOK) IsServerError ¶
func (o *SearchTeamsOK) IsServerError() bool
IsServerError returns true when this search teams Ok response has a 5xx status code
func (*SearchTeamsOK) IsSuccess ¶
func (o *SearchTeamsOK) IsSuccess() bool
IsSuccess returns true when this search teams Ok response has a 2xx status code
func (*SearchTeamsOK) String ¶
func (o *SearchTeamsOK) String() string
type SearchTeamsParams ¶
type SearchTeamsParams struct { // Name. Name *string // Page. // // Format: int64 // Default: 1 Page *int64 /* Perpage. Number of items per page The totalCount field in the response can be used for pagination list E.g. if totalCount is equal to 100 teams and the perpage parameter is set to 10 then there are 10 pages of teams. Format: int64 Default: 1000 */ Perpage *int64 /* Query. If set it will return results where the query value is contained in the name field. Query values with spaces need to be URL encoded. */ Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchTeamsParams contains all the parameters to send to the API endpoint
for the search teams operation. Typically these are written to a http.Request.
func NewSearchTeamsParams ¶
func NewSearchTeamsParams() *SearchTeamsParams
NewSearchTeamsParams creates a new SearchTeamsParams 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 NewSearchTeamsParamsWithContext ¶
func NewSearchTeamsParamsWithContext(ctx context.Context) *SearchTeamsParams
NewSearchTeamsParamsWithContext creates a new SearchTeamsParams object with the ability to set a context for a request.
func NewSearchTeamsParamsWithHTTPClient ¶
func NewSearchTeamsParamsWithHTTPClient(client *http.Client) *SearchTeamsParams
NewSearchTeamsParamsWithHTTPClient creates a new SearchTeamsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchTeamsParamsWithTimeout ¶
func NewSearchTeamsParamsWithTimeout(timeout time.Duration) *SearchTeamsParams
NewSearchTeamsParamsWithTimeout creates a new SearchTeamsParams object with the ability to set a timeout on a request.
func (*SearchTeamsParams) SetContext ¶
func (o *SearchTeamsParams) SetContext(ctx context.Context)
SetContext adds the context to the search teams params
func (*SearchTeamsParams) SetDefaults ¶
func (o *SearchTeamsParams) SetDefaults()
SetDefaults hydrates default values in the search teams params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTeamsParams) SetHTTPClient ¶
func (o *SearchTeamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search teams params
func (*SearchTeamsParams) SetName ¶
func (o *SearchTeamsParams) SetName(name *string)
SetName adds the name to the search teams params
func (*SearchTeamsParams) SetPage ¶
func (o *SearchTeamsParams) SetPage(page *int64)
SetPage adds the page to the search teams params
func (*SearchTeamsParams) SetPerpage ¶
func (o *SearchTeamsParams) SetPerpage(perpage *int64)
SetPerpage adds the perpage to the search teams params
func (*SearchTeamsParams) SetQuery ¶
func (o *SearchTeamsParams) SetQuery(query *string)
SetQuery adds the query to the search teams params
func (*SearchTeamsParams) SetTimeout ¶
func (o *SearchTeamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search teams params
func (*SearchTeamsParams) WithContext ¶
func (o *SearchTeamsParams) WithContext(ctx context.Context) *SearchTeamsParams
WithContext adds the context to the search teams params
func (*SearchTeamsParams) WithDefaults ¶
func (o *SearchTeamsParams) WithDefaults() *SearchTeamsParams
WithDefaults hydrates default values in the search teams params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTeamsParams) WithHTTPClient ¶
func (o *SearchTeamsParams) WithHTTPClient(client *http.Client) *SearchTeamsParams
WithHTTPClient adds the HTTPClient to the search teams params
func (*SearchTeamsParams) WithName ¶
func (o *SearchTeamsParams) WithName(name *string) *SearchTeamsParams
WithName adds the name to the search teams params
func (*SearchTeamsParams) WithPage ¶
func (o *SearchTeamsParams) WithPage(page *int64) *SearchTeamsParams
WithPage adds the page to the search teams params
func (*SearchTeamsParams) WithPerpage ¶
func (o *SearchTeamsParams) WithPerpage(perpage *int64) *SearchTeamsParams
WithPerpage adds the perpage to the search teams params
func (*SearchTeamsParams) WithQuery ¶
func (o *SearchTeamsParams) WithQuery(query *string) *SearchTeamsParams
WithQuery adds the query to the search teams params
func (*SearchTeamsParams) WithTimeout ¶
func (o *SearchTeamsParams) WithTimeout(timeout time.Duration) *SearchTeamsParams
WithTimeout adds the timeout to the search teams params
func (*SearchTeamsParams) WriteToRequest ¶
func (o *SearchTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchTeamsReader ¶
type SearchTeamsReader struct {
// contains filtered or unexported fields
}
SearchTeamsReader is a Reader for the SearchTeams structure.
func (*SearchTeamsReader) ReadResponse ¶
func (o *SearchTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchTeamsUnauthorized ¶
type SearchTeamsUnauthorized struct {
}SearchTeamsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSearchTeamsUnauthorized ¶
func NewSearchTeamsUnauthorized() *SearchTeamsUnauthorized
NewSearchTeamsUnauthorized creates a SearchTeamsUnauthorized with default headers values
func (*SearchTeamsUnauthorized) Code ¶
func (o *SearchTeamsUnauthorized) Code() int
Code gets the status code for the search teams unauthorized response
func (*SearchTeamsUnauthorized) Error ¶
func (o *SearchTeamsUnauthorized) Error() string
func (*SearchTeamsUnauthorized) GetPayload ¶
func (o *SearchTeamsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*SearchTeamsUnauthorized) IsClientError ¶
func (o *SearchTeamsUnauthorized) IsClientError() bool
IsClientError returns true when this search teams unauthorized response has a 4xx status code
func (*SearchTeamsUnauthorized) IsCode ¶
func (o *SearchTeamsUnauthorized) IsCode(code int) bool
IsCode returns true when this search teams unauthorized response a status code equal to that given
func (*SearchTeamsUnauthorized) IsRedirect ¶
func (o *SearchTeamsUnauthorized) IsRedirect() bool
IsRedirect returns true when this search teams unauthorized response has a 3xx status code
func (*SearchTeamsUnauthorized) IsServerError ¶
func (o *SearchTeamsUnauthorized) IsServerError() bool
IsServerError returns true when this search teams unauthorized response has a 5xx status code
func (*SearchTeamsUnauthorized) IsSuccess ¶
func (o *SearchTeamsUnauthorized) IsSuccess() bool
IsSuccess returns true when this search teams unauthorized response has a 2xx status code
func (*SearchTeamsUnauthorized) String ¶
func (o *SearchTeamsUnauthorized) String() string
type SetTeamMembershipsForbidden ¶
type SetTeamMembershipsForbidden struct {
Payload *models.ErrorResponseBody
}
SetTeamMembershipsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSetTeamMembershipsForbidden ¶
func NewSetTeamMembershipsForbidden() *SetTeamMembershipsForbidden
NewSetTeamMembershipsForbidden creates a SetTeamMembershipsForbidden with default headers values
func (*SetTeamMembershipsForbidden) Code ¶
func (o *SetTeamMembershipsForbidden) Code() int
Code gets the status code for the set team memberships forbidden response
func (*SetTeamMembershipsForbidden) Error ¶
func (o *SetTeamMembershipsForbidden) Error() string
func (*SetTeamMembershipsForbidden) GetPayload ¶
func (o *SetTeamMembershipsForbidden) GetPayload() *models.ErrorResponseBody
func (*SetTeamMembershipsForbidden) IsClientError ¶
func (o *SetTeamMembershipsForbidden) IsClientError() bool
IsClientError returns true when this set team memberships forbidden response has a 4xx status code
func (*SetTeamMembershipsForbidden) IsCode ¶
func (o *SetTeamMembershipsForbidden) IsCode(code int) bool
IsCode returns true when this set team memberships forbidden response a status code equal to that given
func (*SetTeamMembershipsForbidden) IsRedirect ¶
func (o *SetTeamMembershipsForbidden) IsRedirect() bool
IsRedirect returns true when this set team memberships forbidden response has a 3xx status code
func (*SetTeamMembershipsForbidden) IsServerError ¶
func (o *SetTeamMembershipsForbidden) IsServerError() bool
IsServerError returns true when this set team memberships forbidden response has a 5xx status code
func (*SetTeamMembershipsForbidden) IsSuccess ¶
func (o *SetTeamMembershipsForbidden) IsSuccess() bool
IsSuccess returns true when this set team memberships forbidden response has a 2xx status code
func (*SetTeamMembershipsForbidden) String ¶
func (o *SetTeamMembershipsForbidden) String() string
type SetTeamMembershipsInternalServerError ¶
type SetTeamMembershipsInternalServerError struct {
Payload *models.ErrorResponseBody
}
SetTeamMembershipsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSetTeamMembershipsInternalServerError ¶
func NewSetTeamMembershipsInternalServerError() *SetTeamMembershipsInternalServerError
NewSetTeamMembershipsInternalServerError creates a SetTeamMembershipsInternalServerError with default headers values
func (*SetTeamMembershipsInternalServerError) Code ¶
func (o *SetTeamMembershipsInternalServerError) Code() int
Code gets the status code for the set team memberships internal server error response
func (*SetTeamMembershipsInternalServerError) Error ¶
func (o *SetTeamMembershipsInternalServerError) Error() string
func (*SetTeamMembershipsInternalServerError) GetPayload ¶
func (o *SetTeamMembershipsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*SetTeamMembershipsInternalServerError) IsClientError ¶
func (o *SetTeamMembershipsInternalServerError) IsClientError() bool
IsClientError returns true when this set team memberships internal server error response has a 4xx status code
func (*SetTeamMembershipsInternalServerError) IsCode ¶
func (o *SetTeamMembershipsInternalServerError) IsCode(code int) bool
IsCode returns true when this set team memberships internal server error response a status code equal to that given
func (*SetTeamMembershipsInternalServerError) IsRedirect ¶
func (o *SetTeamMembershipsInternalServerError) IsRedirect() bool
IsRedirect returns true when this set team memberships internal server error response has a 3xx status code
func (*SetTeamMembershipsInternalServerError) IsServerError ¶
func (o *SetTeamMembershipsInternalServerError) IsServerError() bool
IsServerError returns true when this set team memberships internal server error response has a 5xx status code
func (*SetTeamMembershipsInternalServerError) IsSuccess ¶
func (o *SetTeamMembershipsInternalServerError) IsSuccess() bool
IsSuccess returns true when this set team memberships internal server error response has a 2xx status code
func (*SetTeamMembershipsInternalServerError) String ¶
func (o *SetTeamMembershipsInternalServerError) String() string
type SetTeamMembershipsNotFound ¶
type SetTeamMembershipsNotFound struct {
Payload *models.ErrorResponseBody
}
SetTeamMembershipsNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewSetTeamMembershipsNotFound ¶
func NewSetTeamMembershipsNotFound() *SetTeamMembershipsNotFound
NewSetTeamMembershipsNotFound creates a SetTeamMembershipsNotFound with default headers values
func (*SetTeamMembershipsNotFound) Code ¶
func (o *SetTeamMembershipsNotFound) Code() int
Code gets the status code for the set team memberships not found response
func (*SetTeamMembershipsNotFound) Error ¶
func (o *SetTeamMembershipsNotFound) Error() string
func (*SetTeamMembershipsNotFound) GetPayload ¶
func (o *SetTeamMembershipsNotFound) GetPayload() *models.ErrorResponseBody
func (*SetTeamMembershipsNotFound) IsClientError ¶
func (o *SetTeamMembershipsNotFound) IsClientError() bool
IsClientError returns true when this set team memberships not found response has a 4xx status code
func (*SetTeamMembershipsNotFound) IsCode ¶
func (o *SetTeamMembershipsNotFound) IsCode(code int) bool
IsCode returns true when this set team memberships not found response a status code equal to that given
func (*SetTeamMembershipsNotFound) IsRedirect ¶
func (o *SetTeamMembershipsNotFound) IsRedirect() bool
IsRedirect returns true when this set team memberships not found response has a 3xx status code
func (*SetTeamMembershipsNotFound) IsServerError ¶
func (o *SetTeamMembershipsNotFound) IsServerError() bool
IsServerError returns true when this set team memberships not found response has a 5xx status code
func (*SetTeamMembershipsNotFound) IsSuccess ¶
func (o *SetTeamMembershipsNotFound) IsSuccess() bool
IsSuccess returns true when this set team memberships not found response has a 2xx status code
func (*SetTeamMembershipsNotFound) String ¶
func (o *SetTeamMembershipsNotFound) String() string
type SetTeamMembershipsOK ¶
type SetTeamMembershipsOK struct {
Payload *models.SuccessResponseBody
}
SetTeamMembershipsOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSetTeamMembershipsOK ¶
func NewSetTeamMembershipsOK() *SetTeamMembershipsOK
NewSetTeamMembershipsOK creates a SetTeamMembershipsOK with default headers values
func (*SetTeamMembershipsOK) Code ¶
func (o *SetTeamMembershipsOK) Code() int
Code gets the status code for the set team memberships Ok response
func (*SetTeamMembershipsOK) Error ¶
func (o *SetTeamMembershipsOK) Error() string
func (*SetTeamMembershipsOK) GetPayload ¶
func (o *SetTeamMembershipsOK) GetPayload() *models.SuccessResponseBody
func (*SetTeamMembershipsOK) IsClientError ¶
func (o *SetTeamMembershipsOK) IsClientError() bool
IsClientError returns true when this set team memberships Ok response has a 4xx status code
func (*SetTeamMembershipsOK) IsCode ¶
func (o *SetTeamMembershipsOK) IsCode(code int) bool
IsCode returns true when this set team memberships Ok response a status code equal to that given
func (*SetTeamMembershipsOK) IsRedirect ¶
func (o *SetTeamMembershipsOK) IsRedirect() bool
IsRedirect returns true when this set team memberships Ok response has a 3xx status code
func (*SetTeamMembershipsOK) IsServerError ¶
func (o *SetTeamMembershipsOK) IsServerError() bool
IsServerError returns true when this set team memberships Ok response has a 5xx status code
func (*SetTeamMembershipsOK) IsSuccess ¶
func (o *SetTeamMembershipsOK) IsSuccess() bool
IsSuccess returns true when this set team memberships Ok response has a 2xx status code
func (*SetTeamMembershipsOK) String ¶
func (o *SetTeamMembershipsOK) String() string
type SetTeamMembershipsParams ¶
type SetTeamMembershipsParams struct { // Body. Body *models.SetTeamMembershipsCommand // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetTeamMembershipsParams contains all the parameters to send to the API endpoint
for the set team memberships operation. Typically these are written to a http.Request.
func NewSetTeamMembershipsParams ¶
func NewSetTeamMembershipsParams() *SetTeamMembershipsParams
NewSetTeamMembershipsParams creates a new SetTeamMembershipsParams 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 NewSetTeamMembershipsParamsWithContext ¶
func NewSetTeamMembershipsParamsWithContext(ctx context.Context) *SetTeamMembershipsParams
NewSetTeamMembershipsParamsWithContext creates a new SetTeamMembershipsParams object with the ability to set a context for a request.
func NewSetTeamMembershipsParamsWithHTTPClient ¶
func NewSetTeamMembershipsParamsWithHTTPClient(client *http.Client) *SetTeamMembershipsParams
NewSetTeamMembershipsParamsWithHTTPClient creates a new SetTeamMembershipsParams object with the ability to set a custom HTTPClient for a request.
func NewSetTeamMembershipsParamsWithTimeout ¶
func NewSetTeamMembershipsParamsWithTimeout(timeout time.Duration) *SetTeamMembershipsParams
NewSetTeamMembershipsParamsWithTimeout creates a new SetTeamMembershipsParams object with the ability to set a timeout on a request.
func (*SetTeamMembershipsParams) SetBody ¶
func (o *SetTeamMembershipsParams) SetBody(body *models.SetTeamMembershipsCommand)
SetBody adds the body to the set team memberships params
func (*SetTeamMembershipsParams) SetContext ¶
func (o *SetTeamMembershipsParams) SetContext(ctx context.Context)
SetContext adds the context to the set team memberships params
func (*SetTeamMembershipsParams) SetDefaults ¶
func (o *SetTeamMembershipsParams) SetDefaults()
SetDefaults hydrates default values in the set team memberships params (not the query body).
All values with no default are reset to their zero value.
func (*SetTeamMembershipsParams) SetHTTPClient ¶
func (o *SetTeamMembershipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set team memberships params
func (*SetTeamMembershipsParams) SetTeamID ¶
func (o *SetTeamMembershipsParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the set team memberships params
func (*SetTeamMembershipsParams) SetTimeout ¶
func (o *SetTeamMembershipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set team memberships params
func (*SetTeamMembershipsParams) WithBody ¶
func (o *SetTeamMembershipsParams) WithBody(body *models.SetTeamMembershipsCommand) *SetTeamMembershipsParams
WithBody adds the body to the set team memberships params
func (*SetTeamMembershipsParams) WithContext ¶
func (o *SetTeamMembershipsParams) WithContext(ctx context.Context) *SetTeamMembershipsParams
WithContext adds the context to the set team memberships params
func (*SetTeamMembershipsParams) WithDefaults ¶
func (o *SetTeamMembershipsParams) WithDefaults() *SetTeamMembershipsParams
WithDefaults hydrates default values in the set team memberships params (not the query body).
All values with no default are reset to their zero value.
func (*SetTeamMembershipsParams) WithHTTPClient ¶
func (o *SetTeamMembershipsParams) WithHTTPClient(client *http.Client) *SetTeamMembershipsParams
WithHTTPClient adds the HTTPClient to the set team memberships params
func (*SetTeamMembershipsParams) WithTeamID ¶
func (o *SetTeamMembershipsParams) WithTeamID(teamID string) *SetTeamMembershipsParams
WithTeamID adds the teamID to the set team memberships params
func (*SetTeamMembershipsParams) WithTimeout ¶
func (o *SetTeamMembershipsParams) WithTimeout(timeout time.Duration) *SetTeamMembershipsParams
WithTimeout adds the timeout to the set team memberships params
func (*SetTeamMembershipsParams) WriteToRequest ¶
func (o *SetTeamMembershipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetTeamMembershipsReader ¶
type SetTeamMembershipsReader struct {
// contains filtered or unexported fields
}
SetTeamMembershipsReader is a Reader for the SetTeamMemberships structure.
func (*SetTeamMembershipsReader) ReadResponse ¶
func (o *SetTeamMembershipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetTeamMembershipsUnauthorized ¶
type SetTeamMembershipsUnauthorized struct {
}SetTeamMembershipsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSetTeamMembershipsUnauthorized ¶
func NewSetTeamMembershipsUnauthorized() *SetTeamMembershipsUnauthorized
NewSetTeamMembershipsUnauthorized creates a SetTeamMembershipsUnauthorized with default headers values
func (*SetTeamMembershipsUnauthorized) Code ¶
func (o *SetTeamMembershipsUnauthorized) Code() int
Code gets the status code for the set team memberships unauthorized response
func (*SetTeamMembershipsUnauthorized) Error ¶
func (o *SetTeamMembershipsUnauthorized) Error() string
func (*SetTeamMembershipsUnauthorized) GetPayload ¶
func (o *SetTeamMembershipsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*SetTeamMembershipsUnauthorized) IsClientError ¶
func (o *SetTeamMembershipsUnauthorized) IsClientError() bool
IsClientError returns true when this set team memberships unauthorized response has a 4xx status code
func (*SetTeamMembershipsUnauthorized) IsCode ¶
func (o *SetTeamMembershipsUnauthorized) IsCode(code int) bool
IsCode returns true when this set team memberships unauthorized response a status code equal to that given
func (*SetTeamMembershipsUnauthorized) IsRedirect ¶
func (o *SetTeamMembershipsUnauthorized) IsRedirect() bool
IsRedirect returns true when this set team memberships unauthorized response has a 3xx status code
func (*SetTeamMembershipsUnauthorized) IsServerError ¶
func (o *SetTeamMembershipsUnauthorized) IsServerError() bool
IsServerError returns true when this set team memberships unauthorized response has a 5xx status code
func (*SetTeamMembershipsUnauthorized) IsSuccess ¶
func (o *SetTeamMembershipsUnauthorized) IsSuccess() bool
IsSuccess returns true when this set team memberships unauthorized response has a 2xx status code
func (*SetTeamMembershipsUnauthorized) String ¶
func (o *SetTeamMembershipsUnauthorized) String() string
type UpdateTeamConflict ¶
type UpdateTeamConflict struct {
Payload *models.ErrorResponseBody
}
UpdateTeamConflict describes a response with status code 409, with default header values.
ConflictError
func NewUpdateTeamConflict ¶
func NewUpdateTeamConflict() *UpdateTeamConflict
NewUpdateTeamConflict creates a UpdateTeamConflict with default headers values
func (*UpdateTeamConflict) Code ¶
func (o *UpdateTeamConflict) Code() int
Code gets the status code for the update team conflict response
func (*UpdateTeamConflict) Error ¶
func (o *UpdateTeamConflict) Error() string
func (*UpdateTeamConflict) GetPayload ¶
func (o *UpdateTeamConflict) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamConflict) IsClientError ¶
func (o *UpdateTeamConflict) IsClientError() bool
IsClientError returns true when this update team conflict response has a 4xx status code
func (*UpdateTeamConflict) IsCode ¶
func (o *UpdateTeamConflict) IsCode(code int) bool
IsCode returns true when this update team conflict response a status code equal to that given
func (*UpdateTeamConflict) IsRedirect ¶
func (o *UpdateTeamConflict) IsRedirect() bool
IsRedirect returns true when this update team conflict response has a 3xx status code
func (*UpdateTeamConflict) IsServerError ¶
func (o *UpdateTeamConflict) IsServerError() bool
IsServerError returns true when this update team conflict response has a 5xx status code
func (*UpdateTeamConflict) IsSuccess ¶
func (o *UpdateTeamConflict) IsSuccess() bool
IsSuccess returns true when this update team conflict response has a 2xx status code
func (*UpdateTeamConflict) String ¶
func (o *UpdateTeamConflict) String() string
type UpdateTeamForbidden ¶
type UpdateTeamForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateTeamForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateTeamForbidden ¶
func NewUpdateTeamForbidden() *UpdateTeamForbidden
NewUpdateTeamForbidden creates a UpdateTeamForbidden with default headers values
func (*UpdateTeamForbidden) Code ¶
func (o *UpdateTeamForbidden) Code() int
Code gets the status code for the update team forbidden response
func (*UpdateTeamForbidden) Error ¶
func (o *UpdateTeamForbidden) Error() string
func (*UpdateTeamForbidden) GetPayload ¶
func (o *UpdateTeamForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamForbidden) IsClientError ¶
func (o *UpdateTeamForbidden) IsClientError() bool
IsClientError returns true when this update team forbidden response has a 4xx status code
func (*UpdateTeamForbidden) IsCode ¶
func (o *UpdateTeamForbidden) IsCode(code int) bool
IsCode returns true when this update team forbidden response a status code equal to that given
func (*UpdateTeamForbidden) IsRedirect ¶
func (o *UpdateTeamForbidden) IsRedirect() bool
IsRedirect returns true when this update team forbidden response has a 3xx status code
func (*UpdateTeamForbidden) IsServerError ¶
func (o *UpdateTeamForbidden) IsServerError() bool
IsServerError returns true when this update team forbidden response has a 5xx status code
func (*UpdateTeamForbidden) IsSuccess ¶
func (o *UpdateTeamForbidden) IsSuccess() bool
IsSuccess returns true when this update team forbidden response has a 2xx status code
func (*UpdateTeamForbidden) String ¶
func (o *UpdateTeamForbidden) String() string
type UpdateTeamInternalServerError ¶
type UpdateTeamInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateTeamInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateTeamInternalServerError ¶
func NewUpdateTeamInternalServerError() *UpdateTeamInternalServerError
NewUpdateTeamInternalServerError creates a UpdateTeamInternalServerError with default headers values
func (*UpdateTeamInternalServerError) Code ¶
func (o *UpdateTeamInternalServerError) Code() int
Code gets the status code for the update team internal server error response
func (*UpdateTeamInternalServerError) Error ¶
func (o *UpdateTeamInternalServerError) Error() string
func (*UpdateTeamInternalServerError) GetPayload ¶
func (o *UpdateTeamInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamInternalServerError) IsClientError ¶
func (o *UpdateTeamInternalServerError) IsClientError() bool
IsClientError returns true when this update team internal server error response has a 4xx status code
func (*UpdateTeamInternalServerError) IsCode ¶
func (o *UpdateTeamInternalServerError) IsCode(code int) bool
IsCode returns true when this update team internal server error response a status code equal to that given
func (*UpdateTeamInternalServerError) IsRedirect ¶
func (o *UpdateTeamInternalServerError) IsRedirect() bool
IsRedirect returns true when this update team internal server error response has a 3xx status code
func (*UpdateTeamInternalServerError) IsServerError ¶
func (o *UpdateTeamInternalServerError) IsServerError() bool
IsServerError returns true when this update team internal server error response has a 5xx status code
func (*UpdateTeamInternalServerError) IsSuccess ¶
func (o *UpdateTeamInternalServerError) IsSuccess() bool
IsSuccess returns true when this update team internal server error response has a 2xx status code
func (*UpdateTeamInternalServerError) String ¶
func (o *UpdateTeamInternalServerError) String() string
type UpdateTeamMemberForbidden ¶
type UpdateTeamMemberForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateTeamMemberForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateTeamMemberForbidden ¶
func NewUpdateTeamMemberForbidden() *UpdateTeamMemberForbidden
NewUpdateTeamMemberForbidden creates a UpdateTeamMemberForbidden with default headers values
func (*UpdateTeamMemberForbidden) Code ¶
func (o *UpdateTeamMemberForbidden) Code() int
Code gets the status code for the update team member forbidden response
func (*UpdateTeamMemberForbidden) Error ¶
func (o *UpdateTeamMemberForbidden) Error() string
func (*UpdateTeamMemberForbidden) GetPayload ¶
func (o *UpdateTeamMemberForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamMemberForbidden) IsClientError ¶
func (o *UpdateTeamMemberForbidden) IsClientError() bool
IsClientError returns true when this update team member forbidden response has a 4xx status code
func (*UpdateTeamMemberForbidden) IsCode ¶
func (o *UpdateTeamMemberForbidden) IsCode(code int) bool
IsCode returns true when this update team member forbidden response a status code equal to that given
func (*UpdateTeamMemberForbidden) IsRedirect ¶
func (o *UpdateTeamMemberForbidden) IsRedirect() bool
IsRedirect returns true when this update team member forbidden response has a 3xx status code
func (*UpdateTeamMemberForbidden) IsServerError ¶
func (o *UpdateTeamMemberForbidden) IsServerError() bool
IsServerError returns true when this update team member forbidden response has a 5xx status code
func (*UpdateTeamMemberForbidden) IsSuccess ¶
func (o *UpdateTeamMemberForbidden) IsSuccess() bool
IsSuccess returns true when this update team member forbidden response has a 2xx status code
func (*UpdateTeamMemberForbidden) String ¶
func (o *UpdateTeamMemberForbidden) String() string
type UpdateTeamMemberInternalServerError ¶
type UpdateTeamMemberInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateTeamMemberInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateTeamMemberInternalServerError ¶
func NewUpdateTeamMemberInternalServerError() *UpdateTeamMemberInternalServerError
NewUpdateTeamMemberInternalServerError creates a UpdateTeamMemberInternalServerError with default headers values
func (*UpdateTeamMemberInternalServerError) Code ¶
func (o *UpdateTeamMemberInternalServerError) Code() int
Code gets the status code for the update team member internal server error response
func (*UpdateTeamMemberInternalServerError) Error ¶
func (o *UpdateTeamMemberInternalServerError) Error() string
func (*UpdateTeamMemberInternalServerError) GetPayload ¶
func (o *UpdateTeamMemberInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamMemberInternalServerError) IsClientError ¶
func (o *UpdateTeamMemberInternalServerError) IsClientError() bool
IsClientError returns true when this update team member internal server error response has a 4xx status code
func (*UpdateTeamMemberInternalServerError) IsCode ¶
func (o *UpdateTeamMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this update team member internal server error response a status code equal to that given
func (*UpdateTeamMemberInternalServerError) IsRedirect ¶
func (o *UpdateTeamMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this update team member internal server error response has a 3xx status code
func (*UpdateTeamMemberInternalServerError) IsServerError ¶
func (o *UpdateTeamMemberInternalServerError) IsServerError() bool
IsServerError returns true when this update team member internal server error response has a 5xx status code
func (*UpdateTeamMemberInternalServerError) IsSuccess ¶
func (o *UpdateTeamMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this update team member internal server error response has a 2xx status code
func (*UpdateTeamMemberInternalServerError) String ¶
func (o *UpdateTeamMemberInternalServerError) String() string
type UpdateTeamMemberNotFound ¶
type UpdateTeamMemberNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateTeamMemberNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateTeamMemberNotFound ¶
func NewUpdateTeamMemberNotFound() *UpdateTeamMemberNotFound
NewUpdateTeamMemberNotFound creates a UpdateTeamMemberNotFound with default headers values
func (*UpdateTeamMemberNotFound) Code ¶
func (o *UpdateTeamMemberNotFound) Code() int
Code gets the status code for the update team member not found response
func (*UpdateTeamMemberNotFound) Error ¶
func (o *UpdateTeamMemberNotFound) Error() string
func (*UpdateTeamMemberNotFound) GetPayload ¶
func (o *UpdateTeamMemberNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamMemberNotFound) IsClientError ¶
func (o *UpdateTeamMemberNotFound) IsClientError() bool
IsClientError returns true when this update team member not found response has a 4xx status code
func (*UpdateTeamMemberNotFound) IsCode ¶
func (o *UpdateTeamMemberNotFound) IsCode(code int) bool
IsCode returns true when this update team member not found response a status code equal to that given
func (*UpdateTeamMemberNotFound) IsRedirect ¶
func (o *UpdateTeamMemberNotFound) IsRedirect() bool
IsRedirect returns true when this update team member not found response has a 3xx status code
func (*UpdateTeamMemberNotFound) IsServerError ¶
func (o *UpdateTeamMemberNotFound) IsServerError() bool
IsServerError returns true when this update team member not found response has a 5xx status code
func (*UpdateTeamMemberNotFound) IsSuccess ¶
func (o *UpdateTeamMemberNotFound) IsSuccess() bool
IsSuccess returns true when this update team member not found response has a 2xx status code
func (*UpdateTeamMemberNotFound) String ¶
func (o *UpdateTeamMemberNotFound) String() string
type UpdateTeamMemberOK ¶
type UpdateTeamMemberOK struct {
Payload *models.SuccessResponseBody
}
UpdateTeamMemberOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateTeamMemberOK ¶
func NewUpdateTeamMemberOK() *UpdateTeamMemberOK
NewUpdateTeamMemberOK creates a UpdateTeamMemberOK with default headers values
func (*UpdateTeamMemberOK) Code ¶
func (o *UpdateTeamMemberOK) Code() int
Code gets the status code for the update team member Ok response
func (*UpdateTeamMemberOK) Error ¶
func (o *UpdateTeamMemberOK) Error() string
func (*UpdateTeamMemberOK) GetPayload ¶
func (o *UpdateTeamMemberOK) GetPayload() *models.SuccessResponseBody
func (*UpdateTeamMemberOK) IsClientError ¶
func (o *UpdateTeamMemberOK) IsClientError() bool
IsClientError returns true when this update team member Ok response has a 4xx status code
func (*UpdateTeamMemberOK) IsCode ¶
func (o *UpdateTeamMemberOK) IsCode(code int) bool
IsCode returns true when this update team member Ok response a status code equal to that given
func (*UpdateTeamMemberOK) IsRedirect ¶
func (o *UpdateTeamMemberOK) IsRedirect() bool
IsRedirect returns true when this update team member Ok response has a 3xx status code
func (*UpdateTeamMemberOK) IsServerError ¶
func (o *UpdateTeamMemberOK) IsServerError() bool
IsServerError returns true when this update team member Ok response has a 5xx status code
func (*UpdateTeamMemberOK) IsSuccess ¶
func (o *UpdateTeamMemberOK) IsSuccess() bool
IsSuccess returns true when this update team member Ok response has a 2xx status code
func (*UpdateTeamMemberOK) String ¶
func (o *UpdateTeamMemberOK) String() string
type UpdateTeamMemberParams ¶
type UpdateTeamMemberParams struct { // Body. Body *models.UpdateTeamMemberCommand // TeamID. TeamID string // UserID. // // Format: int64 UserID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTeamMemberParams contains all the parameters to send to the API endpoint
for the update team member operation. Typically these are written to a http.Request.
func NewUpdateTeamMemberParams ¶
func NewUpdateTeamMemberParams() *UpdateTeamMemberParams
NewUpdateTeamMemberParams creates a new UpdateTeamMemberParams 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 NewUpdateTeamMemberParamsWithContext ¶
func NewUpdateTeamMemberParamsWithContext(ctx context.Context) *UpdateTeamMemberParams
NewUpdateTeamMemberParamsWithContext creates a new UpdateTeamMemberParams object with the ability to set a context for a request.
func NewUpdateTeamMemberParamsWithHTTPClient ¶
func NewUpdateTeamMemberParamsWithHTTPClient(client *http.Client) *UpdateTeamMemberParams
NewUpdateTeamMemberParamsWithHTTPClient creates a new UpdateTeamMemberParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTeamMemberParamsWithTimeout ¶
func NewUpdateTeamMemberParamsWithTimeout(timeout time.Duration) *UpdateTeamMemberParams
NewUpdateTeamMemberParamsWithTimeout creates a new UpdateTeamMemberParams object with the ability to set a timeout on a request.
func (*UpdateTeamMemberParams) SetBody ¶
func (o *UpdateTeamMemberParams) SetBody(body *models.UpdateTeamMemberCommand)
SetBody adds the body to the update team member params
func (*UpdateTeamMemberParams) SetContext ¶
func (o *UpdateTeamMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the update team member params
func (*UpdateTeamMemberParams) SetDefaults ¶
func (o *UpdateTeamMemberParams) SetDefaults()
SetDefaults hydrates default values in the update team member params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeamMemberParams) SetHTTPClient ¶
func (o *UpdateTeamMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update team member params
func (*UpdateTeamMemberParams) SetTeamID ¶
func (o *UpdateTeamMemberParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the update team member params
func (*UpdateTeamMemberParams) SetTimeout ¶
func (o *UpdateTeamMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update team member params
func (*UpdateTeamMemberParams) SetUserID ¶
func (o *UpdateTeamMemberParams) SetUserID(userID int64)
SetUserID adds the userId to the update team member params
func (*UpdateTeamMemberParams) WithBody ¶
func (o *UpdateTeamMemberParams) WithBody(body *models.UpdateTeamMemberCommand) *UpdateTeamMemberParams
WithBody adds the body to the update team member params
func (*UpdateTeamMemberParams) WithContext ¶
func (o *UpdateTeamMemberParams) WithContext(ctx context.Context) *UpdateTeamMemberParams
WithContext adds the context to the update team member params
func (*UpdateTeamMemberParams) WithDefaults ¶
func (o *UpdateTeamMemberParams) WithDefaults() *UpdateTeamMemberParams
WithDefaults hydrates default values in the update team member params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeamMemberParams) WithHTTPClient ¶
func (o *UpdateTeamMemberParams) WithHTTPClient(client *http.Client) *UpdateTeamMemberParams
WithHTTPClient adds the HTTPClient to the update team member params
func (*UpdateTeamMemberParams) WithTeamID ¶
func (o *UpdateTeamMemberParams) WithTeamID(teamID string) *UpdateTeamMemberParams
WithTeamID adds the teamID to the update team member params
func (*UpdateTeamMemberParams) WithTimeout ¶
func (o *UpdateTeamMemberParams) WithTimeout(timeout time.Duration) *UpdateTeamMemberParams
WithTimeout adds the timeout to the update team member params
func (*UpdateTeamMemberParams) WithUserID ¶
func (o *UpdateTeamMemberParams) WithUserID(userID int64) *UpdateTeamMemberParams
WithUserID adds the userID to the update team member params
func (*UpdateTeamMemberParams) WriteToRequest ¶
func (o *UpdateTeamMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTeamMemberReader ¶
type UpdateTeamMemberReader struct {
// contains filtered or unexported fields
}
UpdateTeamMemberReader is a Reader for the UpdateTeamMember structure.
func (*UpdateTeamMemberReader) ReadResponse ¶
func (o *UpdateTeamMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTeamMemberUnauthorized ¶
type UpdateTeamMemberUnauthorized struct {
}UpdateTeamMemberUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateTeamMemberUnauthorized ¶
func NewUpdateTeamMemberUnauthorized() *UpdateTeamMemberUnauthorized
NewUpdateTeamMemberUnauthorized creates a UpdateTeamMemberUnauthorized with default headers values
func (*UpdateTeamMemberUnauthorized) Code ¶
func (o *UpdateTeamMemberUnauthorized) Code() int
Code gets the status code for the update team member unauthorized response
func (*UpdateTeamMemberUnauthorized) Error ¶
func (o *UpdateTeamMemberUnauthorized) Error() string
func (*UpdateTeamMemberUnauthorized) GetPayload ¶
func (o *UpdateTeamMemberUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamMemberUnauthorized) IsClientError ¶
func (o *UpdateTeamMemberUnauthorized) IsClientError() bool
IsClientError returns true when this update team member unauthorized response has a 4xx status code
func (*UpdateTeamMemberUnauthorized) IsCode ¶
func (o *UpdateTeamMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this update team member unauthorized response a status code equal to that given
func (*UpdateTeamMemberUnauthorized) IsRedirect ¶
func (o *UpdateTeamMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this update team member unauthorized response has a 3xx status code
func (*UpdateTeamMemberUnauthorized) IsServerError ¶
func (o *UpdateTeamMemberUnauthorized) IsServerError() bool
IsServerError returns true when this update team member unauthorized response has a 5xx status code
func (*UpdateTeamMemberUnauthorized) IsSuccess ¶
func (o *UpdateTeamMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this update team member unauthorized response has a 2xx status code
func (*UpdateTeamMemberUnauthorized) String ¶
func (o *UpdateTeamMemberUnauthorized) String() string
type UpdateTeamNotFound ¶
type UpdateTeamNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateTeamNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateTeamNotFound ¶
func NewUpdateTeamNotFound() *UpdateTeamNotFound
NewUpdateTeamNotFound creates a UpdateTeamNotFound with default headers values
func (*UpdateTeamNotFound) Code ¶
func (o *UpdateTeamNotFound) Code() int
Code gets the status code for the update team not found response
func (*UpdateTeamNotFound) Error ¶
func (o *UpdateTeamNotFound) Error() string
func (*UpdateTeamNotFound) GetPayload ¶
func (o *UpdateTeamNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamNotFound) IsClientError ¶
func (o *UpdateTeamNotFound) IsClientError() bool
IsClientError returns true when this update team not found response has a 4xx status code
func (*UpdateTeamNotFound) IsCode ¶
func (o *UpdateTeamNotFound) IsCode(code int) bool
IsCode returns true when this update team not found response a status code equal to that given
func (*UpdateTeamNotFound) IsRedirect ¶
func (o *UpdateTeamNotFound) IsRedirect() bool
IsRedirect returns true when this update team not found response has a 3xx status code
func (*UpdateTeamNotFound) IsServerError ¶
func (o *UpdateTeamNotFound) IsServerError() bool
IsServerError returns true when this update team not found response has a 5xx status code
func (*UpdateTeamNotFound) IsSuccess ¶
func (o *UpdateTeamNotFound) IsSuccess() bool
IsSuccess returns true when this update team not found response has a 2xx status code
func (*UpdateTeamNotFound) String ¶
func (o *UpdateTeamNotFound) String() string
type UpdateTeamOK ¶
type UpdateTeamOK struct {
Payload *models.SuccessResponseBody
}
UpdateTeamOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateTeamOK ¶
func NewUpdateTeamOK() *UpdateTeamOK
NewUpdateTeamOK creates a UpdateTeamOK with default headers values
func (*UpdateTeamOK) Code ¶
func (o *UpdateTeamOK) Code() int
Code gets the status code for the update team Ok response
func (*UpdateTeamOK) Error ¶
func (o *UpdateTeamOK) Error() string
func (*UpdateTeamOK) GetPayload ¶
func (o *UpdateTeamOK) GetPayload() *models.SuccessResponseBody
func (*UpdateTeamOK) IsClientError ¶
func (o *UpdateTeamOK) IsClientError() bool
IsClientError returns true when this update team Ok response has a 4xx status code
func (*UpdateTeamOK) IsCode ¶
func (o *UpdateTeamOK) IsCode(code int) bool
IsCode returns true when this update team Ok response a status code equal to that given
func (*UpdateTeamOK) IsRedirect ¶
func (o *UpdateTeamOK) IsRedirect() bool
IsRedirect returns true when this update team Ok response has a 3xx status code
func (*UpdateTeamOK) IsServerError ¶
func (o *UpdateTeamOK) IsServerError() bool
IsServerError returns true when this update team Ok response has a 5xx status code
func (*UpdateTeamOK) IsSuccess ¶
func (o *UpdateTeamOK) IsSuccess() bool
IsSuccess returns true when this update team Ok response has a 2xx status code
func (*UpdateTeamOK) String ¶
func (o *UpdateTeamOK) String() string
type UpdateTeamParams ¶
type UpdateTeamParams struct { // Body. Body *models.UpdateTeamCommand // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTeamParams contains all the parameters to send to the API endpoint
for the update team operation. Typically these are written to a http.Request.
func NewUpdateTeamParams ¶
func NewUpdateTeamParams() *UpdateTeamParams
NewUpdateTeamParams creates a new UpdateTeamParams 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 NewUpdateTeamParamsWithContext ¶
func NewUpdateTeamParamsWithContext(ctx context.Context) *UpdateTeamParams
NewUpdateTeamParamsWithContext creates a new UpdateTeamParams object with the ability to set a context for a request.
func NewUpdateTeamParamsWithHTTPClient ¶
func NewUpdateTeamParamsWithHTTPClient(client *http.Client) *UpdateTeamParams
NewUpdateTeamParamsWithHTTPClient creates a new UpdateTeamParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTeamParamsWithTimeout ¶
func NewUpdateTeamParamsWithTimeout(timeout time.Duration) *UpdateTeamParams
NewUpdateTeamParamsWithTimeout creates a new UpdateTeamParams object with the ability to set a timeout on a request.
func (*UpdateTeamParams) SetBody ¶
func (o *UpdateTeamParams) SetBody(body *models.UpdateTeamCommand)
SetBody adds the body to the update team params
func (*UpdateTeamParams) SetContext ¶
func (o *UpdateTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the update team params
func (*UpdateTeamParams) SetDefaults ¶
func (o *UpdateTeamParams) SetDefaults()
SetDefaults hydrates default values in the update team params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeamParams) SetHTTPClient ¶
func (o *UpdateTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update team params
func (*UpdateTeamParams) SetTeamID ¶
func (o *UpdateTeamParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the update team params
func (*UpdateTeamParams) SetTimeout ¶
func (o *UpdateTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update team params
func (*UpdateTeamParams) WithBody ¶
func (o *UpdateTeamParams) WithBody(body *models.UpdateTeamCommand) *UpdateTeamParams
WithBody adds the body to the update team params
func (*UpdateTeamParams) WithContext ¶
func (o *UpdateTeamParams) WithContext(ctx context.Context) *UpdateTeamParams
WithContext adds the context to the update team params
func (*UpdateTeamParams) WithDefaults ¶
func (o *UpdateTeamParams) WithDefaults() *UpdateTeamParams
WithDefaults hydrates default values in the update team params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeamParams) WithHTTPClient ¶
func (o *UpdateTeamParams) WithHTTPClient(client *http.Client) *UpdateTeamParams
WithHTTPClient adds the HTTPClient to the update team params
func (*UpdateTeamParams) WithTeamID ¶
func (o *UpdateTeamParams) WithTeamID(teamID string) *UpdateTeamParams
WithTeamID adds the teamID to the update team params
func (*UpdateTeamParams) WithTimeout ¶
func (o *UpdateTeamParams) WithTimeout(timeout time.Duration) *UpdateTeamParams
WithTimeout adds the timeout to the update team params
func (*UpdateTeamParams) WriteToRequest ¶
func (o *UpdateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTeamPreferencesBadRequest ¶
type UpdateTeamPreferencesBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateTeamPreferencesBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateTeamPreferencesBadRequest ¶
func NewUpdateTeamPreferencesBadRequest() *UpdateTeamPreferencesBadRequest
NewUpdateTeamPreferencesBadRequest creates a UpdateTeamPreferencesBadRequest with default headers values
func (*UpdateTeamPreferencesBadRequest) Code ¶
func (o *UpdateTeamPreferencesBadRequest) Code() int
Code gets the status code for the update team preferences bad request response
func (*UpdateTeamPreferencesBadRequest) Error ¶
func (o *UpdateTeamPreferencesBadRequest) Error() string
func (*UpdateTeamPreferencesBadRequest) GetPayload ¶
func (o *UpdateTeamPreferencesBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamPreferencesBadRequest) IsClientError ¶
func (o *UpdateTeamPreferencesBadRequest) IsClientError() bool
IsClientError returns true when this update team preferences bad request response has a 4xx status code
func (*UpdateTeamPreferencesBadRequest) IsCode ¶
func (o *UpdateTeamPreferencesBadRequest) IsCode(code int) bool
IsCode returns true when this update team preferences bad request response a status code equal to that given
func (*UpdateTeamPreferencesBadRequest) IsRedirect ¶
func (o *UpdateTeamPreferencesBadRequest) IsRedirect() bool
IsRedirect returns true when this update team preferences bad request response has a 3xx status code
func (*UpdateTeamPreferencesBadRequest) IsServerError ¶
func (o *UpdateTeamPreferencesBadRequest) IsServerError() bool
IsServerError returns true when this update team preferences bad request response has a 5xx status code
func (*UpdateTeamPreferencesBadRequest) IsSuccess ¶
func (o *UpdateTeamPreferencesBadRequest) IsSuccess() bool
IsSuccess returns true when this update team preferences bad request response has a 2xx status code
func (*UpdateTeamPreferencesBadRequest) String ¶
func (o *UpdateTeamPreferencesBadRequest) String() string
type UpdateTeamPreferencesInternalServerError ¶
type UpdateTeamPreferencesInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateTeamPreferencesInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateTeamPreferencesInternalServerError ¶
func NewUpdateTeamPreferencesInternalServerError() *UpdateTeamPreferencesInternalServerError
NewUpdateTeamPreferencesInternalServerError creates a UpdateTeamPreferencesInternalServerError with default headers values
func (*UpdateTeamPreferencesInternalServerError) Code ¶
func (o *UpdateTeamPreferencesInternalServerError) Code() int
Code gets the status code for the update team preferences internal server error response
func (*UpdateTeamPreferencesInternalServerError) Error ¶
func (o *UpdateTeamPreferencesInternalServerError) Error() string
func (*UpdateTeamPreferencesInternalServerError) GetPayload ¶
func (o *UpdateTeamPreferencesInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamPreferencesInternalServerError) IsClientError ¶
func (o *UpdateTeamPreferencesInternalServerError) IsClientError() bool
IsClientError returns true when this update team preferences internal server error response has a 4xx status code
func (*UpdateTeamPreferencesInternalServerError) IsCode ¶
func (o *UpdateTeamPreferencesInternalServerError) IsCode(code int) bool
IsCode returns true when this update team preferences internal server error response a status code equal to that given
func (*UpdateTeamPreferencesInternalServerError) IsRedirect ¶
func (o *UpdateTeamPreferencesInternalServerError) IsRedirect() bool
IsRedirect returns true when this update team preferences internal server error response has a 3xx status code
func (*UpdateTeamPreferencesInternalServerError) IsServerError ¶
func (o *UpdateTeamPreferencesInternalServerError) IsServerError() bool
IsServerError returns true when this update team preferences internal server error response has a 5xx status code
func (*UpdateTeamPreferencesInternalServerError) IsSuccess ¶
func (o *UpdateTeamPreferencesInternalServerError) IsSuccess() bool
IsSuccess returns true when this update team preferences internal server error response has a 2xx status code
func (*UpdateTeamPreferencesInternalServerError) String ¶
func (o *UpdateTeamPreferencesInternalServerError) String() string
type UpdateTeamPreferencesOK ¶
type UpdateTeamPreferencesOK struct {
Payload *models.SuccessResponseBody
}
UpdateTeamPreferencesOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateTeamPreferencesOK ¶
func NewUpdateTeamPreferencesOK() *UpdateTeamPreferencesOK
NewUpdateTeamPreferencesOK creates a UpdateTeamPreferencesOK with default headers values
func (*UpdateTeamPreferencesOK) Code ¶
func (o *UpdateTeamPreferencesOK) Code() int
Code gets the status code for the update team preferences Ok response
func (*UpdateTeamPreferencesOK) Error ¶
func (o *UpdateTeamPreferencesOK) Error() string
func (*UpdateTeamPreferencesOK) GetPayload ¶
func (o *UpdateTeamPreferencesOK) GetPayload() *models.SuccessResponseBody
func (*UpdateTeamPreferencesOK) IsClientError ¶
func (o *UpdateTeamPreferencesOK) IsClientError() bool
IsClientError returns true when this update team preferences Ok response has a 4xx status code
func (*UpdateTeamPreferencesOK) IsCode ¶
func (o *UpdateTeamPreferencesOK) IsCode(code int) bool
IsCode returns true when this update team preferences Ok response a status code equal to that given
func (*UpdateTeamPreferencesOK) IsRedirect ¶
func (o *UpdateTeamPreferencesOK) IsRedirect() bool
IsRedirect returns true when this update team preferences Ok response has a 3xx status code
func (*UpdateTeamPreferencesOK) IsServerError ¶
func (o *UpdateTeamPreferencesOK) IsServerError() bool
IsServerError returns true when this update team preferences Ok response has a 5xx status code
func (*UpdateTeamPreferencesOK) IsSuccess ¶
func (o *UpdateTeamPreferencesOK) IsSuccess() bool
IsSuccess returns true when this update team preferences Ok response has a 2xx status code
func (*UpdateTeamPreferencesOK) String ¶
func (o *UpdateTeamPreferencesOK) String() string
type UpdateTeamPreferencesParams ¶
type UpdateTeamPreferencesParams struct { // Body. Body *models.UpdatePrefsCmd // TeamID. TeamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTeamPreferencesParams contains all the parameters to send to the API endpoint
for the update team preferences operation. Typically these are written to a http.Request.
func NewUpdateTeamPreferencesParams ¶
func NewUpdateTeamPreferencesParams() *UpdateTeamPreferencesParams
NewUpdateTeamPreferencesParams creates a new UpdateTeamPreferencesParams 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 NewUpdateTeamPreferencesParamsWithContext ¶
func NewUpdateTeamPreferencesParamsWithContext(ctx context.Context) *UpdateTeamPreferencesParams
NewUpdateTeamPreferencesParamsWithContext creates a new UpdateTeamPreferencesParams object with the ability to set a context for a request.
func NewUpdateTeamPreferencesParamsWithHTTPClient ¶
func NewUpdateTeamPreferencesParamsWithHTTPClient(client *http.Client) *UpdateTeamPreferencesParams
NewUpdateTeamPreferencesParamsWithHTTPClient creates a new UpdateTeamPreferencesParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTeamPreferencesParamsWithTimeout ¶
func NewUpdateTeamPreferencesParamsWithTimeout(timeout time.Duration) *UpdateTeamPreferencesParams
NewUpdateTeamPreferencesParamsWithTimeout creates a new UpdateTeamPreferencesParams object with the ability to set a timeout on a request.
func (*UpdateTeamPreferencesParams) SetBody ¶
func (o *UpdateTeamPreferencesParams) SetBody(body *models.UpdatePrefsCmd)
SetBody adds the body to the update team preferences params
func (*UpdateTeamPreferencesParams) SetContext ¶
func (o *UpdateTeamPreferencesParams) SetContext(ctx context.Context)
SetContext adds the context to the update team preferences params
func (*UpdateTeamPreferencesParams) SetDefaults ¶
func (o *UpdateTeamPreferencesParams) SetDefaults()
SetDefaults hydrates default values in the update team preferences params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeamPreferencesParams) SetHTTPClient ¶
func (o *UpdateTeamPreferencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update team preferences params
func (*UpdateTeamPreferencesParams) SetTeamID ¶
func (o *UpdateTeamPreferencesParams) SetTeamID(teamID string)
SetTeamID adds the teamId to the update team preferences params
func (*UpdateTeamPreferencesParams) SetTimeout ¶
func (o *UpdateTeamPreferencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update team preferences params
func (*UpdateTeamPreferencesParams) WithBody ¶
func (o *UpdateTeamPreferencesParams) WithBody(body *models.UpdatePrefsCmd) *UpdateTeamPreferencesParams
WithBody adds the body to the update team preferences params
func (*UpdateTeamPreferencesParams) WithContext ¶
func (o *UpdateTeamPreferencesParams) WithContext(ctx context.Context) *UpdateTeamPreferencesParams
WithContext adds the context to the update team preferences params
func (*UpdateTeamPreferencesParams) WithDefaults ¶
func (o *UpdateTeamPreferencesParams) WithDefaults() *UpdateTeamPreferencesParams
WithDefaults hydrates default values in the update team preferences params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTeamPreferencesParams) WithHTTPClient ¶
func (o *UpdateTeamPreferencesParams) WithHTTPClient(client *http.Client) *UpdateTeamPreferencesParams
WithHTTPClient adds the HTTPClient to the update team preferences params
func (*UpdateTeamPreferencesParams) WithTeamID ¶
func (o *UpdateTeamPreferencesParams) WithTeamID(teamID string) *UpdateTeamPreferencesParams
WithTeamID adds the teamID to the update team preferences params
func (*UpdateTeamPreferencesParams) WithTimeout ¶
func (o *UpdateTeamPreferencesParams) WithTimeout(timeout time.Duration) *UpdateTeamPreferencesParams
WithTimeout adds the timeout to the update team preferences params
func (*UpdateTeamPreferencesParams) WriteToRequest ¶
func (o *UpdateTeamPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTeamPreferencesReader ¶
type UpdateTeamPreferencesReader struct {
// contains filtered or unexported fields
}
UpdateTeamPreferencesReader is a Reader for the UpdateTeamPreferences structure.
func (*UpdateTeamPreferencesReader) ReadResponse ¶
func (o *UpdateTeamPreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTeamPreferencesUnauthorized ¶
type UpdateTeamPreferencesUnauthorized struct {
}UpdateTeamPreferencesUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateTeamPreferencesUnauthorized ¶
func NewUpdateTeamPreferencesUnauthorized() *UpdateTeamPreferencesUnauthorized
NewUpdateTeamPreferencesUnauthorized creates a UpdateTeamPreferencesUnauthorized with default headers values
func (*UpdateTeamPreferencesUnauthorized) Code ¶
func (o *UpdateTeamPreferencesUnauthorized) Code() int
Code gets the status code for the update team preferences unauthorized response
func (*UpdateTeamPreferencesUnauthorized) Error ¶
func (o *UpdateTeamPreferencesUnauthorized) Error() string
func (*UpdateTeamPreferencesUnauthorized) GetPayload ¶
func (o *UpdateTeamPreferencesUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamPreferencesUnauthorized) IsClientError ¶
func (o *UpdateTeamPreferencesUnauthorized) IsClientError() bool
IsClientError returns true when this update team preferences unauthorized response has a 4xx status code
func (*UpdateTeamPreferencesUnauthorized) IsCode ¶
func (o *UpdateTeamPreferencesUnauthorized) IsCode(code int) bool
IsCode returns true when this update team preferences unauthorized response a status code equal to that given
func (*UpdateTeamPreferencesUnauthorized) IsRedirect ¶
func (o *UpdateTeamPreferencesUnauthorized) IsRedirect() bool
IsRedirect returns true when this update team preferences unauthorized response has a 3xx status code
func (*UpdateTeamPreferencesUnauthorized) IsServerError ¶
func (o *UpdateTeamPreferencesUnauthorized) IsServerError() bool
IsServerError returns true when this update team preferences unauthorized response has a 5xx status code
func (*UpdateTeamPreferencesUnauthorized) IsSuccess ¶
func (o *UpdateTeamPreferencesUnauthorized) IsSuccess() bool
IsSuccess returns true when this update team preferences unauthorized response has a 2xx status code
func (*UpdateTeamPreferencesUnauthorized) String ¶
func (o *UpdateTeamPreferencesUnauthorized) String() string
type UpdateTeamReader ¶
type UpdateTeamReader struct {
// contains filtered or unexported fields
}
UpdateTeamReader is a Reader for the UpdateTeam structure.
func (*UpdateTeamReader) ReadResponse ¶
func (o *UpdateTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTeamUnauthorized ¶
type UpdateTeamUnauthorized struct {
}UpdateTeamUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateTeamUnauthorized ¶
func NewUpdateTeamUnauthorized() *UpdateTeamUnauthorized
NewUpdateTeamUnauthorized creates a UpdateTeamUnauthorized with default headers values
func (*UpdateTeamUnauthorized) Code ¶
func (o *UpdateTeamUnauthorized) Code() int
Code gets the status code for the update team unauthorized response
func (*UpdateTeamUnauthorized) Error ¶
func (o *UpdateTeamUnauthorized) Error() string
func (*UpdateTeamUnauthorized) GetPayload ¶
func (o *UpdateTeamUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateTeamUnauthorized) IsClientError ¶
func (o *UpdateTeamUnauthorized) IsClientError() bool
IsClientError returns true when this update team unauthorized response has a 4xx status code
func (*UpdateTeamUnauthorized) IsCode ¶
func (o *UpdateTeamUnauthorized) IsCode(code int) bool
IsCode returns true when this update team unauthorized response a status code equal to that given
func (*UpdateTeamUnauthorized) IsRedirect ¶
func (o *UpdateTeamUnauthorized) IsRedirect() bool
IsRedirect returns true when this update team unauthorized response has a 3xx status code
func (*UpdateTeamUnauthorized) IsServerError ¶
func (o *UpdateTeamUnauthorized) IsServerError() bool
IsServerError returns true when this update team unauthorized response has a 5xx status code
func (*UpdateTeamUnauthorized) IsSuccess ¶
func (o *UpdateTeamUnauthorized) IsSuccess() bool
IsSuccess returns true when this update team unauthorized response has a 2xx status code
func (*UpdateTeamUnauthorized) String ¶
func (o *UpdateTeamUnauthorized) String() string
Source Files ¶
- add_team_member_parameters.go
- add_team_member_responses.go
- create_team_parameters.go
- create_team_responses.go
- delete_team_by_id_parameters.go
- delete_team_by_id_responses.go
- get_team_by_id_parameters.go
- get_team_by_id_responses.go
- get_team_members_parameters.go
- get_team_members_responses.go
- get_team_preferences_parameters.go
- get_team_preferences_responses.go
- remove_team_member_parameters.go
- remove_team_member_responses.go
- search_teams_parameters.go
- search_teams_responses.go
- set_team_memberships_parameters.go
- set_team_memberships_responses.go
- teams_client.go
- update_team_member_parameters.go
- update_team_member_responses.go
- update_team_parameters.go
- update_team_preferences_parameters.go
- update_team_preferences_responses.go
- update_team_responses.go