teams

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 (*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

Code gets the status code for the add team member internal server error response

func (*AddTeamMemberInternalServerError) Error

func (*AddTeamMemberInternalServerError) GetPayload

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

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 (*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

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

WithBody adds the body to the add team member params

func (*AddTeamMemberParams) WithContext

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 {
	Payload *models.ErrorResponseBody
}

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 (*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) 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)

	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

Code gets the status code for the create team internal server error response

func (*CreateTeamInternalServerError) Error

func (*CreateTeamInternalServerError) GetPayload

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

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

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 {
	Payload *models.ErrorResponseBody
}

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 (*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 (*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

Code gets the status code for the delete team by Id internal server error response

func (*DeleteTeamByIDInternalServerError) Error

func (*DeleteTeamByIDInternalServerError) GetPayload

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

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 (*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

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 {
	Payload *models.ErrorResponseBody
}

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 (*DeleteTeamByIDUnauthorized) GetPayload

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 (*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

Code gets the status code for the get team by Id internal server error response

func (*GetTeamByIDInternalServerError) Error

func (*GetTeamByIDInternalServerError) GetPayload

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

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

type GetTeamByIDOK struct {
	Payload *models.TeamDTO
}

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 {
	Payload *models.ErrorResponseBody
}

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 (*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 (*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

Code gets the status code for the get team members internal server error response

func (*GetTeamMembersInternalServerError) Error

func (*GetTeamMembersInternalServerError) GetPayload

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

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 (*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

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 {
	Payload *models.ErrorResponseBody
}

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 (*GetTeamMembersUnauthorized) GetPayload

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

Code gets the status code for the get team preferences internal server error response

func (*GetTeamPreferencesInternalServerError) Error

func (*GetTeamPreferencesInternalServerError) GetPayload

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

IsCode returns true when this get team preferences internal server error response a status code equal to that given

func (*GetTeamPreferencesInternalServerError) IsRedirect

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

IsSuccess returns true when this get team preferences internal server error response has a 2xx status code

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

WithContext adds the context to the get team preferences params

func (*GetTeamPreferencesParams) WithDefaults

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

WithTeamID adds the teamID to the get team preferences params

func (*GetTeamPreferencesParams) WithTimeout

WithTimeout adds the timeout to the get team preferences params

func (*GetTeamPreferencesParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the get team preferences unauthorized response

func (*GetTeamPreferencesUnauthorized) Error

func (*GetTeamPreferencesUnauthorized) GetPayload

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

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 (*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

Code gets the status code for the remove team member internal server error response

func (*RemoveTeamMemberInternalServerError) Error

func (*RemoveTeamMemberInternalServerError) GetPayload

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

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

IsSuccess returns true when this remove team member internal server error response has a 2xx status code

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

WithContext adds the context to the remove team member params

func (*RemoveTeamMemberParams) WithDefaults

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

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

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the remove team member unauthorized response

func (*RemoveTeamMemberUnauthorized) Error

func (*RemoveTeamMemberUnauthorized) GetPayload

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

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 (*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

Code gets the status code for the search teams internal server error response

func (*SearchTeamsInternalServerError) Error

func (*SearchTeamsInternalServerError) GetPayload

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

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 {
	Payload *models.ErrorResponseBody
}

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 (*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 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

Code gets the status code for the update team internal server error response

func (*UpdateTeamInternalServerError) Error

func (*UpdateTeamInternalServerError) GetPayload

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

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 (*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

Code gets the status code for the update team member internal server error response

func (*UpdateTeamMemberInternalServerError) Error

func (*UpdateTeamMemberInternalServerError) GetPayload

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

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

IsSuccess returns true when this update team member internal server error response has a 2xx status code

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

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

WithBody adds the body to the update team member params

func (*UpdateTeamMemberParams) WithContext

WithContext adds the context to the update team member params

func (*UpdateTeamMemberParams) WithDefaults

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

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

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the update team member unauthorized response

func (*UpdateTeamMemberUnauthorized) Error

func (*UpdateTeamMemberUnauthorized) GetPayload

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

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

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

Code gets the status code for the update team preferences bad request response

func (*UpdateTeamPreferencesBadRequest) Error

func (*UpdateTeamPreferencesBadRequest) GetPayload

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

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

Code gets the status code for the update team preferences internal server error response

func (*UpdateTeamPreferencesInternalServerError) Error

func (*UpdateTeamPreferencesInternalServerError) GetPayload

func (*UpdateTeamPreferencesInternalServerError) IsClientError

IsClientError returns true when this update team preferences internal server error response has a 4xx status code

func (*UpdateTeamPreferencesInternalServerError) IsCode

IsCode returns true when this update team preferences internal server error response a status code equal to that given

func (*UpdateTeamPreferencesInternalServerError) IsRedirect

IsRedirect returns true when this update team preferences internal server error response has a 3xx status code

func (*UpdateTeamPreferencesInternalServerError) IsServerError

IsServerError returns true when this update team preferences internal server error response has a 5xx status code

func (*UpdateTeamPreferencesInternalServerError) IsSuccess

IsSuccess returns true when this update team preferences internal server error response has a 2xx status code

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

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

WithBody adds the body to the update team preferences params

func (*UpdateTeamPreferencesParams) WithContext

WithContext adds the context to the update team preferences params

func (*UpdateTeamPreferencesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update team preferences params

func (*UpdateTeamPreferencesParams) WithTeamID

WithTeamID adds the teamID to the update team preferences params

func (*UpdateTeamPreferencesParams) WithTimeout

WithTimeout adds the timeout to the update team preferences params

func (*UpdateTeamPreferencesParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the update team preferences unauthorized response

func (*UpdateTeamPreferencesUnauthorized) Error

func (*UpdateTeamPreferencesUnauthorized) GetPayload

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

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 {
	Payload *models.ErrorResponseBody
}

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 (*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

Jump to

Keyboard shortcuts

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