team

package
v0.0.0-...-fe695c3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendTeamToUserDefault

type AppendTeamToUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

AppendTeamToUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewAppendTeamToUserDefault

func NewAppendTeamToUserDefault(code int) *AppendTeamToUserDefault

NewAppendTeamToUserDefault creates a AppendTeamToUserDefault with default headers values

func (*AppendTeamToUserDefault) Code

func (o *AppendTeamToUserDefault) Code() int

Code gets the status code for the append team to user default response

func (*AppendTeamToUserDefault) Error

func (o *AppendTeamToUserDefault) Error() string

type AppendTeamToUserForbidden

type AppendTeamToUserForbidden struct {
	Payload *models.GeneralError
}

AppendTeamToUserForbidden handles this case with default header values.

User is not authorized

func NewAppendTeamToUserForbidden

func NewAppendTeamToUserForbidden() *AppendTeamToUserForbidden

NewAppendTeamToUserForbidden creates a AppendTeamToUserForbidden with default headers values

func (*AppendTeamToUserForbidden) Error

func (o *AppendTeamToUserForbidden) Error() string

type AppendTeamToUserOK

type AppendTeamToUserOK struct {
	Payload *models.GeneralError
}

AppendTeamToUserOK handles this case with default header values.

Plain success message

func NewAppendTeamToUserOK

func NewAppendTeamToUserOK() *AppendTeamToUserOK

NewAppendTeamToUserOK creates a AppendTeamToUserOK with default headers values

func (*AppendTeamToUserOK) Error

func (o *AppendTeamToUserOK) Error() string

type AppendTeamToUserParams

type AppendTeamToUserParams struct {

	/*TeamID
	  A team UUID or slug

	*/
	TeamID string
	/*TeamUser
	  The team user data to assign

	*/
	TeamUser *models.TeamUserParams

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

AppendTeamToUserParams contains all the parameters to send to the API endpoint for the append team to user operation typically these are written to a http.Request

func NewAppendTeamToUserParams

func NewAppendTeamToUserParams() *AppendTeamToUserParams

NewAppendTeamToUserParams creates a new AppendTeamToUserParams object with the default values initialized.

func NewAppendTeamToUserParamsWithContext

func NewAppendTeamToUserParamsWithContext(ctx context.Context) *AppendTeamToUserParams

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

func NewAppendTeamToUserParamsWithHTTPClient

func NewAppendTeamToUserParamsWithHTTPClient(client *http.Client) *AppendTeamToUserParams

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

func NewAppendTeamToUserParamsWithTimeout

func NewAppendTeamToUserParamsWithTimeout(timeout time.Duration) *AppendTeamToUserParams

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

func (*AppendTeamToUserParams) SetContext

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

SetContext adds the context to the append team to user params

func (*AppendTeamToUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the append team to user params

func (*AppendTeamToUserParams) SetTeamID

func (o *AppendTeamToUserParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the append team to user params

func (*AppendTeamToUserParams) SetTeamUser

func (o *AppendTeamToUserParams) SetTeamUser(teamUser *models.TeamUserParams)

SetTeamUser adds the teamUser to the append team to user params

func (*AppendTeamToUserParams) SetTimeout

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

SetTimeout adds the timeout to the append team to user params

func (*AppendTeamToUserParams) WithContext

WithContext adds the context to the append team to user params

func (*AppendTeamToUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the append team to user params

func (*AppendTeamToUserParams) WithTeamID

func (o *AppendTeamToUserParams) WithTeamID(teamID string) *AppendTeamToUserParams

WithTeamID adds the teamID to the append team to user params

func (*AppendTeamToUserParams) WithTeamUser

WithTeamUser adds the teamUser to the append team to user params

func (*AppendTeamToUserParams) WithTimeout

WithTimeout adds the timeout to the append team to user params

func (*AppendTeamToUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendTeamToUserPreconditionFailed

type AppendTeamToUserPreconditionFailed struct {
	Payload *models.GeneralError
}

AppendTeamToUserPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewAppendTeamToUserPreconditionFailed

func NewAppendTeamToUserPreconditionFailed() *AppendTeamToUserPreconditionFailed

NewAppendTeamToUserPreconditionFailed creates a AppendTeamToUserPreconditionFailed with default headers values

func (*AppendTeamToUserPreconditionFailed) Error

type AppendTeamToUserReader

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

AppendTeamToUserReader is a Reader for the AppendTeamToUser structure.

func (*AppendTeamToUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AppendTeamToUserUnprocessableEntity

type AppendTeamToUserUnprocessableEntity struct {
	Payload *models.GeneralError
}

AppendTeamToUserUnprocessableEntity handles this case with default header values.

User is already assigned

func NewAppendTeamToUserUnprocessableEntity

func NewAppendTeamToUserUnprocessableEntity() *AppendTeamToUserUnprocessableEntity

NewAppendTeamToUserUnprocessableEntity creates a AppendTeamToUserUnprocessableEntity with default headers values

func (*AppendTeamToUserUnprocessableEntity) Error

type Client

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

Client for team API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new team API client.

func (*Client) AppendTeamToUser

func (a *Client) AppendTeamToUser(params *AppendTeamToUserParams) (*AppendTeamToUserOK, error)

AppendTeamToUser assigns a user to team

func (*Client) CreateTeam

func (a *Client) CreateTeam(params *CreateTeamParams) (*CreateTeamOK, error)

CreateTeam creates a new team

func (*Client) DeleteTeam

func (a *Client) DeleteTeam(params *DeleteTeamParams) (*DeleteTeamOK, error)

DeleteTeam deletes a specific team

func (*Client) DeleteTeamFromUser

func (a *Client) DeleteTeamFromUser(params *DeleteTeamFromUserParams) (*DeleteTeamFromUserOK, error)

DeleteTeamFromUser removes a user from team

func (*Client) ListTeamUsers

func (a *Client) ListTeamUsers(params *ListTeamUsersParams) (*ListTeamUsersOK, error)

ListTeamUsers fetches all users assigned to team

func (*Client) ListTeams

func (a *Client) ListTeams(params *ListTeamsParams) (*ListTeamsOK, error)

ListTeams fetches all available teams

func (*Client) PermitTeamUser

func (a *Client) PermitTeamUser(params *PermitTeamUserParams) (*PermitTeamUserOK, error)

PermitTeamUser updates user perms for team

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShowTeam

func (a *Client) ShowTeam(params *ShowTeamParams) (*ShowTeamOK, error)

ShowTeam fetches a specific team

func (*Client) UpdateTeam

func (a *Client) UpdateTeam(params *UpdateTeamParams) (*UpdateTeamOK, error)

UpdateTeam updates a specific team

type CreateTeamDefault

type CreateTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

CreateTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewCreateTeamDefault

func NewCreateTeamDefault(code int) *CreateTeamDefault

NewCreateTeamDefault creates a CreateTeamDefault with default headers values

func (*CreateTeamDefault) Code

func (o *CreateTeamDefault) Code() int

Code gets the status code for the create team default response

func (*CreateTeamDefault) Error

func (o *CreateTeamDefault) Error() string

type CreateTeamForbidden

type CreateTeamForbidden struct {
	Payload *models.GeneralError
}

CreateTeamForbidden handles this case with default header values.

User is not authorized

func NewCreateTeamForbidden

func NewCreateTeamForbidden() *CreateTeamForbidden

NewCreateTeamForbidden creates a CreateTeamForbidden with default headers values

func (*CreateTeamForbidden) Error

func (o *CreateTeamForbidden) Error() string

type CreateTeamOK

type CreateTeamOK struct {
	Payload *models.Team
}

CreateTeamOK handles this case with default header values.

The created team data

func NewCreateTeamOK

func NewCreateTeamOK() *CreateTeamOK

NewCreateTeamOK creates a CreateTeamOK with default headers values

func (*CreateTeamOK) Error

func (o *CreateTeamOK) Error() string

type CreateTeamParams

type CreateTeamParams struct {

	/*Team
	  The team data to create

	*/
	Team *models.Team

	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 values initialized.

func NewCreateTeamParamsWithContext

func NewCreateTeamParamsWithContext(ctx context.Context) *CreateTeamParams

NewCreateTeamParamsWithContext creates a new CreateTeamParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateTeamParams) SetContext

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

SetContext adds the context to the create team params

func (*CreateTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create team params

func (*CreateTeamParams) SetTeam

func (o *CreateTeamParams) SetTeam(team *models.Team)

SetTeam adds the team 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) WithContext

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

WithContext adds the context to the create team params

func (*CreateTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create team params

func (*CreateTeamParams) WithTeam

func (o *CreateTeamParams) WithTeam(team *models.Team) *CreateTeamParams

WithTeam adds the team 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 CreateTeamPreconditionFailed

type CreateTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

CreateTeamPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewCreateTeamPreconditionFailed

func NewCreateTeamPreconditionFailed() *CreateTeamPreconditionFailed

NewCreateTeamPreconditionFailed creates a CreateTeamPreconditionFailed with default headers values

func (*CreateTeamPreconditionFailed) Error

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 CreateTeamUnprocessableEntity

type CreateTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateTeamUnprocessableEntity handles this case with default header values.

Failed to validate request

func NewCreateTeamUnprocessableEntity

func NewCreateTeamUnprocessableEntity() *CreateTeamUnprocessableEntity

NewCreateTeamUnprocessableEntity creates a CreateTeamUnprocessableEntity with default headers values

func (*CreateTeamUnprocessableEntity) Error

type DeleteTeamBadRequest

type DeleteTeamBadRequest struct {
	Payload *models.GeneralError
}

DeleteTeamBadRequest handles this case with default header values.

Failed to delete the team

func NewDeleteTeamBadRequest

func NewDeleteTeamBadRequest() *DeleteTeamBadRequest

NewDeleteTeamBadRequest creates a DeleteTeamBadRequest with default headers values

func (*DeleteTeamBadRequest) Error

func (o *DeleteTeamBadRequest) Error() string

type DeleteTeamDefault

type DeleteTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewDeleteTeamDefault

func NewDeleteTeamDefault(code int) *DeleteTeamDefault

NewDeleteTeamDefault creates a DeleteTeamDefault with default headers values

func (*DeleteTeamDefault) Code

func (o *DeleteTeamDefault) Code() int

Code gets the status code for the delete team default response

func (*DeleteTeamDefault) Error

func (o *DeleteTeamDefault) Error() string

type DeleteTeamForbidden

type DeleteTeamForbidden struct {
	Payload *models.GeneralError
}

DeleteTeamForbidden handles this case with default header values.

User is not authorized

func NewDeleteTeamForbidden

func NewDeleteTeamForbidden() *DeleteTeamForbidden

NewDeleteTeamForbidden creates a DeleteTeamForbidden with default headers values

func (*DeleteTeamForbidden) Error

func (o *DeleteTeamForbidden) Error() string

type DeleteTeamFromUserDefault

type DeleteTeamFromUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteTeamFromUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewDeleteTeamFromUserDefault

func NewDeleteTeamFromUserDefault(code int) *DeleteTeamFromUserDefault

NewDeleteTeamFromUserDefault creates a DeleteTeamFromUserDefault with default headers values

func (*DeleteTeamFromUserDefault) Code

func (o *DeleteTeamFromUserDefault) Code() int

Code gets the status code for the delete team from user default response

func (*DeleteTeamFromUserDefault) Error

func (o *DeleteTeamFromUserDefault) Error() string

type DeleteTeamFromUserForbidden

type DeleteTeamFromUserForbidden struct {
	Payload *models.GeneralError
}

DeleteTeamFromUserForbidden handles this case with default header values.

User is not authorized

func NewDeleteTeamFromUserForbidden

func NewDeleteTeamFromUserForbidden() *DeleteTeamFromUserForbidden

NewDeleteTeamFromUserForbidden creates a DeleteTeamFromUserForbidden with default headers values

func (*DeleteTeamFromUserForbidden) Error

type DeleteTeamFromUserOK

type DeleteTeamFromUserOK struct {
	Payload *models.GeneralError
}

DeleteTeamFromUserOK handles this case with default header values.

Plain success message

func NewDeleteTeamFromUserOK

func NewDeleteTeamFromUserOK() *DeleteTeamFromUserOK

NewDeleteTeamFromUserOK creates a DeleteTeamFromUserOK with default headers values

func (*DeleteTeamFromUserOK) Error

func (o *DeleteTeamFromUserOK) Error() string

type DeleteTeamFromUserParams

type DeleteTeamFromUserParams struct {

	/*TeamID
	  A team UUID or slug

	*/
	TeamID string
	/*TeamUser
	  The team user data to delete

	*/
	TeamUser *models.TeamUserParams

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

DeleteTeamFromUserParams contains all the parameters to send to the API endpoint for the delete team from user operation typically these are written to a http.Request

func NewDeleteTeamFromUserParams

func NewDeleteTeamFromUserParams() *DeleteTeamFromUserParams

NewDeleteTeamFromUserParams creates a new DeleteTeamFromUserParams object with the default values initialized.

func NewDeleteTeamFromUserParamsWithContext

func NewDeleteTeamFromUserParamsWithContext(ctx context.Context) *DeleteTeamFromUserParams

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

func NewDeleteTeamFromUserParamsWithHTTPClient

func NewDeleteTeamFromUserParamsWithHTTPClient(client *http.Client) *DeleteTeamFromUserParams

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

func NewDeleteTeamFromUserParamsWithTimeout

func NewDeleteTeamFromUserParamsWithTimeout(timeout time.Duration) *DeleteTeamFromUserParams

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

func (*DeleteTeamFromUserParams) SetContext

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

SetContext adds the context to the delete team from user params

func (*DeleteTeamFromUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team from user params

func (*DeleteTeamFromUserParams) SetTeamID

func (o *DeleteTeamFromUserParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete team from user params

func (*DeleteTeamFromUserParams) SetTeamUser

func (o *DeleteTeamFromUserParams) SetTeamUser(teamUser *models.TeamUserParams)

SetTeamUser adds the teamUser to the delete team from user params

func (*DeleteTeamFromUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete team from user params

func (*DeleteTeamFromUserParams) WithContext

WithContext adds the context to the delete team from user params

func (*DeleteTeamFromUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team from user params

func (*DeleteTeamFromUserParams) WithTeamID

WithTeamID adds the teamID to the delete team from user params

func (*DeleteTeamFromUserParams) WithTeamUser

WithTeamUser adds the teamUser to the delete team from user params

func (*DeleteTeamFromUserParams) WithTimeout

WithTimeout adds the timeout to the delete team from user params

func (*DeleteTeamFromUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTeamFromUserPreconditionFailed

type DeleteTeamFromUserPreconditionFailed struct {
	Payload *models.GeneralError
}

DeleteTeamFromUserPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewDeleteTeamFromUserPreconditionFailed

func NewDeleteTeamFromUserPreconditionFailed() *DeleteTeamFromUserPreconditionFailed

NewDeleteTeamFromUserPreconditionFailed creates a DeleteTeamFromUserPreconditionFailed with default headers values

func (*DeleteTeamFromUserPreconditionFailed) Error

type DeleteTeamFromUserReader

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

DeleteTeamFromUserReader is a Reader for the DeleteTeamFromUser structure.

func (*DeleteTeamFromUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamFromUserUnprocessableEntity

type DeleteTeamFromUserUnprocessableEntity struct {
	Payload *models.GeneralError
}

DeleteTeamFromUserUnprocessableEntity handles this case with default header values.

User is not assigned

func NewDeleteTeamFromUserUnprocessableEntity

func NewDeleteTeamFromUserUnprocessableEntity() *DeleteTeamFromUserUnprocessableEntity

NewDeleteTeamFromUserUnprocessableEntity creates a DeleteTeamFromUserUnprocessableEntity with default headers values

func (*DeleteTeamFromUserUnprocessableEntity) Error

type DeleteTeamOK

type DeleteTeamOK struct {
	Payload *models.GeneralError
}

DeleteTeamOK handles this case with default header values.

Plain success message

func NewDeleteTeamOK

func NewDeleteTeamOK() *DeleteTeamOK

NewDeleteTeamOK creates a DeleteTeamOK with default headers values

func (*DeleteTeamOK) Error

func (o *DeleteTeamOK) Error() string

type DeleteTeamParams

type DeleteTeamParams struct {

	/*TeamID
	  A team UUID or slug

	*/
	TeamID string

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

DeleteTeamParams contains all the parameters to send to the API endpoint for the delete team operation typically these are written to a http.Request

func NewDeleteTeamParams

func NewDeleteTeamParams() *DeleteTeamParams

NewDeleteTeamParams creates a new DeleteTeamParams object with the default values initialized.

func NewDeleteTeamParamsWithContext

func NewDeleteTeamParamsWithContext(ctx context.Context) *DeleteTeamParams

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

func NewDeleteTeamParamsWithHTTPClient

func NewDeleteTeamParamsWithHTTPClient(client *http.Client) *DeleteTeamParams

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

func NewDeleteTeamParamsWithTimeout

func NewDeleteTeamParamsWithTimeout(timeout time.Duration) *DeleteTeamParams

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

func (*DeleteTeamParams) SetContext

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

SetContext adds the context to the delete team params

func (*DeleteTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) SetTeamID

func (o *DeleteTeamParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete team params

func (*DeleteTeamParams) SetTimeout

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

SetTimeout adds the timeout to the delete team params

func (*DeleteTeamParams) WithContext

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

WithContext adds the context to the delete team params

func (*DeleteTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) WithTeamID

func (o *DeleteTeamParams) WithTeamID(teamID string) *DeleteTeamParams

WithTeamID adds the teamID to the delete team params

func (*DeleteTeamParams) WithTimeout

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

WithTimeout adds the timeout to the delete team params

func (*DeleteTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteTeamReader

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

DeleteTeamReader is a Reader for the DeleteTeam structure.

func (*DeleteTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamUsersDefault

type ListTeamUsersDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListTeamUsersDefault handles this case with default header values.

Some error unrelated to the handler

func NewListTeamUsersDefault

func NewListTeamUsersDefault(code int) *ListTeamUsersDefault

NewListTeamUsersDefault creates a ListTeamUsersDefault with default headers values

func (*ListTeamUsersDefault) Code

func (o *ListTeamUsersDefault) Code() int

Code gets the status code for the list team users default response

func (*ListTeamUsersDefault) Error

func (o *ListTeamUsersDefault) Error() string

type ListTeamUsersForbidden

type ListTeamUsersForbidden struct {
	Payload *models.GeneralError
}

ListTeamUsersForbidden handles this case with default header values.

User is not authorized

func NewListTeamUsersForbidden

func NewListTeamUsersForbidden() *ListTeamUsersForbidden

NewListTeamUsersForbidden creates a ListTeamUsersForbidden with default headers values

func (*ListTeamUsersForbidden) Error

func (o *ListTeamUsersForbidden) Error() string

type ListTeamUsersOK

type ListTeamUsersOK struct {
	Payload []*models.TeamUser
}

ListTeamUsersOK handles this case with default header values.

A collection of team users

func NewListTeamUsersOK

func NewListTeamUsersOK() *ListTeamUsersOK

NewListTeamUsersOK creates a ListTeamUsersOK with default headers values

func (*ListTeamUsersOK) Error

func (o *ListTeamUsersOK) Error() string

type ListTeamUsersParams

type ListTeamUsersParams struct {

	/*TeamID
	  A team UUID or slug

	*/
	TeamID string

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

ListTeamUsersParams contains all the parameters to send to the API endpoint for the list team users operation typically these are written to a http.Request

func NewListTeamUsersParams

func NewListTeamUsersParams() *ListTeamUsersParams

NewListTeamUsersParams creates a new ListTeamUsersParams object with the default values initialized.

func NewListTeamUsersParamsWithContext

func NewListTeamUsersParamsWithContext(ctx context.Context) *ListTeamUsersParams

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

func NewListTeamUsersParamsWithHTTPClient

func NewListTeamUsersParamsWithHTTPClient(client *http.Client) *ListTeamUsersParams

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

func NewListTeamUsersParamsWithTimeout

func NewListTeamUsersParamsWithTimeout(timeout time.Duration) *ListTeamUsersParams

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

func (*ListTeamUsersParams) SetContext

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

SetContext adds the context to the list team users params

func (*ListTeamUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list team users params

func (*ListTeamUsersParams) SetTeamID

func (o *ListTeamUsersParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the list team users params

func (*ListTeamUsersParams) SetTimeout

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

SetTimeout adds the timeout to the list team users params

func (*ListTeamUsersParams) WithContext

WithContext adds the context to the list team users params

func (*ListTeamUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list team users params

func (*ListTeamUsersParams) WithTeamID

func (o *ListTeamUsersParams) WithTeamID(teamID string) *ListTeamUsersParams

WithTeamID adds the teamID to the list team users params

func (*ListTeamUsersParams) WithTimeout

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

WithTimeout adds the timeout to the list team users params

func (*ListTeamUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamUsersReader

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

ListTeamUsersReader is a Reader for the ListTeamUsers structure.

func (*ListTeamUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamsDefault

type ListTeamsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListTeamsDefault handles this case with default header values.

Some error unrelated to the handler

func NewListTeamsDefault

func NewListTeamsDefault(code int) *ListTeamsDefault

NewListTeamsDefault creates a ListTeamsDefault with default headers values

func (*ListTeamsDefault) Code

func (o *ListTeamsDefault) Code() int

Code gets the status code for the list teams default response

func (*ListTeamsDefault) Error

func (o *ListTeamsDefault) Error() string

type ListTeamsForbidden

type ListTeamsForbidden struct {
	Payload *models.GeneralError
}

ListTeamsForbidden handles this case with default header values.

User is not authorized

func NewListTeamsForbidden

func NewListTeamsForbidden() *ListTeamsForbidden

NewListTeamsForbidden creates a ListTeamsForbidden with default headers values

func (*ListTeamsForbidden) Error

func (o *ListTeamsForbidden) Error() string

type ListTeamsOK

type ListTeamsOK struct {
	Payload []*models.Team
}

ListTeamsOK handles this case with default header values.

A collection of teams

func NewListTeamsOK

func NewListTeamsOK() *ListTeamsOK

NewListTeamsOK creates a ListTeamsOK with default headers values

func (*ListTeamsOK) Error

func (o *ListTeamsOK) Error() string

type ListTeamsParams

type ListTeamsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListTeamsParams contains all the parameters to send to the API endpoint for the list teams operation typically these are written to a http.Request

func NewListTeamsParams

func NewListTeamsParams() *ListTeamsParams

NewListTeamsParams creates a new ListTeamsParams object with the default values initialized.

func NewListTeamsParamsWithContext

func NewListTeamsParamsWithContext(ctx context.Context) *ListTeamsParams

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

func NewListTeamsParamsWithHTTPClient

func NewListTeamsParamsWithHTTPClient(client *http.Client) *ListTeamsParams

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

func NewListTeamsParamsWithTimeout

func NewListTeamsParamsWithTimeout(timeout time.Duration) *ListTeamsParams

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

func (*ListTeamsParams) SetContext

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

SetContext adds the context to the list teams params

func (*ListTeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) SetTimeout

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

SetTimeout adds the timeout to the list teams params

func (*ListTeamsParams) WithContext

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

WithContext adds the context to the list teams params

func (*ListTeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) WithTimeout

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

WithTimeout adds the timeout to the list teams params

func (*ListTeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamsReader

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

ListTeamsReader is a Reader for the ListTeams structure.

func (*ListTeamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitTeamUserDefault

type PermitTeamUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

PermitTeamUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewPermitTeamUserDefault

func NewPermitTeamUserDefault(code int) *PermitTeamUserDefault

NewPermitTeamUserDefault creates a PermitTeamUserDefault with default headers values

func (*PermitTeamUserDefault) Code

func (o *PermitTeamUserDefault) Code() int

Code gets the status code for the permit team user default response

func (*PermitTeamUserDefault) Error

func (o *PermitTeamUserDefault) Error() string

type PermitTeamUserForbidden

type PermitTeamUserForbidden struct {
	Payload *models.GeneralError
}

PermitTeamUserForbidden handles this case with default header values.

User is not authorized

func NewPermitTeamUserForbidden

func NewPermitTeamUserForbidden() *PermitTeamUserForbidden

NewPermitTeamUserForbidden creates a PermitTeamUserForbidden with default headers values

func (*PermitTeamUserForbidden) Error

func (o *PermitTeamUserForbidden) Error() string

type PermitTeamUserOK

type PermitTeamUserOK struct {
	Payload *models.GeneralError
}

PermitTeamUserOK handles this case with default header values.

Plain success message

func NewPermitTeamUserOK

func NewPermitTeamUserOK() *PermitTeamUserOK

NewPermitTeamUserOK creates a PermitTeamUserOK with default headers values

func (*PermitTeamUserOK) Error

func (o *PermitTeamUserOK) Error() string

type PermitTeamUserParams

type PermitTeamUserParams struct {

	/*TeamID
	  A team UUID or slug

	*/
	TeamID string
	/*TeamUser
	  The team user data to update

	*/
	TeamUser *models.TeamUserParams

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

PermitTeamUserParams contains all the parameters to send to the API endpoint for the permit team user operation typically these are written to a http.Request

func NewPermitTeamUserParams

func NewPermitTeamUserParams() *PermitTeamUserParams

NewPermitTeamUserParams creates a new PermitTeamUserParams object with the default values initialized.

func NewPermitTeamUserParamsWithContext

func NewPermitTeamUserParamsWithContext(ctx context.Context) *PermitTeamUserParams

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

func NewPermitTeamUserParamsWithHTTPClient

func NewPermitTeamUserParamsWithHTTPClient(client *http.Client) *PermitTeamUserParams

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

func NewPermitTeamUserParamsWithTimeout

func NewPermitTeamUserParamsWithTimeout(timeout time.Duration) *PermitTeamUserParams

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

func (*PermitTeamUserParams) SetContext

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

SetContext adds the context to the permit team user params

func (*PermitTeamUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit team user params

func (*PermitTeamUserParams) SetTeamID

func (o *PermitTeamUserParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the permit team user params

func (*PermitTeamUserParams) SetTeamUser

func (o *PermitTeamUserParams) SetTeamUser(teamUser *models.TeamUserParams)

SetTeamUser adds the teamUser to the permit team user params

func (*PermitTeamUserParams) SetTimeout

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

SetTimeout adds the timeout to the permit team user params

func (*PermitTeamUserParams) WithContext

WithContext adds the context to the permit team user params

func (*PermitTeamUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit team user params

func (*PermitTeamUserParams) WithTeamID

func (o *PermitTeamUserParams) WithTeamID(teamID string) *PermitTeamUserParams

WithTeamID adds the teamID to the permit team user params

func (*PermitTeamUserParams) WithTeamUser

func (o *PermitTeamUserParams) WithTeamUser(teamUser *models.TeamUserParams) *PermitTeamUserParams

WithTeamUser adds the teamUser to the permit team user params

func (*PermitTeamUserParams) WithTimeout

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

WithTimeout adds the timeout to the permit team user params

func (*PermitTeamUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitTeamUserPreconditionFailed

type PermitTeamUserPreconditionFailed struct {
	Payload *models.GeneralError
}

PermitTeamUserPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewPermitTeamUserPreconditionFailed

func NewPermitTeamUserPreconditionFailed() *PermitTeamUserPreconditionFailed

NewPermitTeamUserPreconditionFailed creates a PermitTeamUserPreconditionFailed with default headers values

func (*PermitTeamUserPreconditionFailed) Error

type PermitTeamUserReader

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

PermitTeamUserReader is a Reader for the PermitTeamUser structure.

func (*PermitTeamUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitTeamUserUnprocessableEntity

type PermitTeamUserUnprocessableEntity struct {
	Payload *models.GeneralError
}

PermitTeamUserUnprocessableEntity handles this case with default header values.

User is not assigned

func NewPermitTeamUserUnprocessableEntity

func NewPermitTeamUserUnprocessableEntity() *PermitTeamUserUnprocessableEntity

NewPermitTeamUserUnprocessableEntity creates a PermitTeamUserUnprocessableEntity with default headers values

func (*PermitTeamUserUnprocessableEntity) Error

type ShowTeamDefault

type ShowTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ShowTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewShowTeamDefault

func NewShowTeamDefault(code int) *ShowTeamDefault

NewShowTeamDefault creates a ShowTeamDefault with default headers values

func (*ShowTeamDefault) Code

func (o *ShowTeamDefault) Code() int

Code gets the status code for the show team default response

func (*ShowTeamDefault) Error

func (o *ShowTeamDefault) Error() string

type ShowTeamForbidden

type ShowTeamForbidden struct {
	Payload *models.GeneralError
}

ShowTeamForbidden handles this case with default header values.

User is not authorized

func NewShowTeamForbidden

func NewShowTeamForbidden() *ShowTeamForbidden

NewShowTeamForbidden creates a ShowTeamForbidden with default headers values

func (*ShowTeamForbidden) Error

func (o *ShowTeamForbidden) Error() string

type ShowTeamOK

type ShowTeamOK struct {
	Payload *models.Team
}

ShowTeamOK handles this case with default header values.

The fetched team details

func NewShowTeamOK

func NewShowTeamOK() *ShowTeamOK

NewShowTeamOK creates a ShowTeamOK with default headers values

func (*ShowTeamOK) Error

func (o *ShowTeamOK) Error() string

type ShowTeamParams

type ShowTeamParams struct {

	/*TeamID
	  A team UUID or slug

	*/
	TeamID string

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

ShowTeamParams contains all the parameters to send to the API endpoint for the show team operation typically these are written to a http.Request

func NewShowTeamParams

func NewShowTeamParams() *ShowTeamParams

NewShowTeamParams creates a new ShowTeamParams object with the default values initialized.

func NewShowTeamParamsWithContext

func NewShowTeamParamsWithContext(ctx context.Context) *ShowTeamParams

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

func NewShowTeamParamsWithHTTPClient

func NewShowTeamParamsWithHTTPClient(client *http.Client) *ShowTeamParams

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

func NewShowTeamParamsWithTimeout

func NewShowTeamParamsWithTimeout(timeout time.Duration) *ShowTeamParams

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

func (*ShowTeamParams) SetContext

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

SetContext adds the context to the show team params

func (*ShowTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the show team params

func (*ShowTeamParams) SetTeamID

func (o *ShowTeamParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the show team params

func (*ShowTeamParams) SetTimeout

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

SetTimeout adds the timeout to the show team params

func (*ShowTeamParams) WithContext

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

WithContext adds the context to the show team params

func (*ShowTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show team params

func (*ShowTeamParams) WithTeamID

func (o *ShowTeamParams) WithTeamID(teamID string) *ShowTeamParams

WithTeamID adds the teamID to the show team params

func (*ShowTeamParams) WithTimeout

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

WithTimeout adds the timeout to the show team params

func (*ShowTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ShowTeamReader

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

ShowTeamReader is a Reader for the ShowTeam structure.

func (*ShowTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateTeamDefault

type UpdateTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

UpdateTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewUpdateTeamDefault

func NewUpdateTeamDefault(code int) *UpdateTeamDefault

NewUpdateTeamDefault creates a UpdateTeamDefault with default headers values

func (*UpdateTeamDefault) Code

func (o *UpdateTeamDefault) Code() int

Code gets the status code for the update team default response

func (*UpdateTeamDefault) Error

func (o *UpdateTeamDefault) Error() string

type UpdateTeamForbidden

type UpdateTeamForbidden struct {
	Payload *models.GeneralError
}

UpdateTeamForbidden handles this case with default header values.

User is not authorized

func NewUpdateTeamForbidden

func NewUpdateTeamForbidden() *UpdateTeamForbidden

NewUpdateTeamForbidden creates a UpdateTeamForbidden with default headers values

func (*UpdateTeamForbidden) Error

func (o *UpdateTeamForbidden) Error() string

type UpdateTeamOK

type UpdateTeamOK struct {
	Payload *models.Team
}

UpdateTeamOK handles this case with default header values.

The updated team details

func NewUpdateTeamOK

func NewUpdateTeamOK() *UpdateTeamOK

NewUpdateTeamOK creates a UpdateTeamOK with default headers values

func (*UpdateTeamOK) Error

func (o *UpdateTeamOK) Error() string

type UpdateTeamParams

type UpdateTeamParams struct {

	/*Team
	  The team data to update

	*/
	Team *models.Team
	/*TeamID
	  A team UUID or slug

	*/
	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 values initialized.

func NewUpdateTeamParamsWithContext

func NewUpdateTeamParamsWithContext(ctx context.Context) *UpdateTeamParams

NewUpdateTeamParamsWithContext creates a new UpdateTeamParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateTeamParams) SetContext

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

SetContext adds the context to the update team params

func (*UpdateTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update team params

func (*UpdateTeamParams) SetTeam

func (o *UpdateTeamParams) SetTeam(team *models.Team)

SetTeam adds the team 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) WithContext

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

WithContext adds the context to the update team params

func (*UpdateTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update team params

func (*UpdateTeamParams) WithTeam

func (o *UpdateTeamParams) WithTeam(team *models.Team) *UpdateTeamParams

WithTeam adds the team 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 UpdateTeamPreconditionFailed

type UpdateTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

UpdateTeamPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewUpdateTeamPreconditionFailed

func NewUpdateTeamPreconditionFailed() *UpdateTeamPreconditionFailed

NewUpdateTeamPreconditionFailed creates a UpdateTeamPreconditionFailed with default headers values

func (*UpdateTeamPreconditionFailed) Error

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 UpdateTeamUnprocessableEntity

type UpdateTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateTeamUnprocessableEntity handles this case with default header values.

Failed to validate request

func NewUpdateTeamUnprocessableEntity

func NewUpdateTeamUnprocessableEntity() *UpdateTeamUnprocessableEntity

NewUpdateTeamUnprocessableEntity creates a UpdateTeamUnprocessableEntity with default headers values

func (*UpdateTeamUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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