teams_v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for teams v1 API

func (*Client) CreateTeam

CreateTeam creates team

func (*Client) CreateTeamMember

CreateTeamMember creates team member

func (*Client) DeleteTeam

DeleteTeam deletes team

func (*Client) DeleteTeamMember

DeleteTeamMember deletes team member details

func (*Client) GetTeam

func (a *Client) GetTeam(params *GetTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTeamOK, *GetTeamNoContent, error)

GetTeam gets team

func (*Client) GetTeamMember

GetTeamMember gets team member details

func (*Client) ListTeamMembers

ListTeamMembers gets team members

func (*Client) ListTeamNames

ListTeamNames lists teams names

func (*Client) ListTeams

func (a *Client) ListTeams(params *ListTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamsOK, *ListTeamsNoContent, error)

ListTeams lists teams

func (*Client) PatchTeam

func (a *Client) PatchTeam(params *PatchTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTeamOK, *PatchTeamNoContent, error)

PatchTeam patches team

func (*Client) PatchTeamMember

PatchTeamMember patches team member

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateTeam

UpdateTeam updates team

func (*Client) UpdateTeamMember

UpdateTeamMember updates team member

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateTeam(params *CreateTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTeamOK, *CreateTeamNoContent, error)

	CreateTeamMember(params *CreateTeamMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTeamMemberOK, *CreateTeamMemberNoContent, error)

	DeleteTeam(params *DeleteTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamOK, *DeleteTeamNoContent, error)

	DeleteTeamMember(params *DeleteTeamMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamMemberOK, *DeleteTeamMemberNoContent, error)

	GetTeam(params *GetTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTeamOK, *GetTeamNoContent, error)

	GetTeamMember(params *GetTeamMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTeamMemberOK, *GetTeamMemberNoContent, error)

	ListTeamMembers(params *ListTeamMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamMembersOK, *ListTeamMembersNoContent, error)

	ListTeamNames(params *ListTeamNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamNamesOK, *ListTeamNamesNoContent, error)

	ListTeams(params *ListTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamsOK, *ListTeamsNoContent, error)

	PatchTeam(params *PatchTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTeamOK, *PatchTeamNoContent, error)

	PatchTeamMember(params *PatchTeamMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTeamMemberOK, *PatchTeamMemberNoContent, error)

	UpdateTeam(params *UpdateTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTeamOK, *UpdateTeamNoContent, error)

	UpdateTeamMember(params *UpdateTeamMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTeamMemberOK, *UpdateTeamMemberNoContent, 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 v1 API client.

type CreateTeamDefault

type CreateTeamDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
CreateTeamDefault describes a response with status code -1, with default header values.

An unexpected error response.

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

func (*CreateTeamDefault) GetPayload

func (o *CreateTeamDefault) GetPayload() *service_model.RuntimeError

func (*CreateTeamDefault) IsClientError added in v1.21.0

func (o *CreateTeamDefault) IsClientError() bool

IsClientError returns true when this create team default response has a 4xx status code

func (*CreateTeamDefault) IsCode added in v1.21.0

func (o *CreateTeamDefault) IsCode(code int) bool

IsCode returns true when this create team default response a status code equal to that given

func (*CreateTeamDefault) IsRedirect added in v1.21.0

func (o *CreateTeamDefault) IsRedirect() bool

IsRedirect returns true when this create team default response has a 3xx status code

func (*CreateTeamDefault) IsServerError added in v1.21.0

func (o *CreateTeamDefault) IsServerError() bool

IsServerError returns true when this create team default response has a 5xx status code

func (*CreateTeamDefault) IsSuccess added in v1.21.0

func (o *CreateTeamDefault) IsSuccess() bool

IsSuccess returns true when this create team default response has a 2xx status code

func (*CreateTeamDefault) String added in v1.21.0

func (o *CreateTeamDefault) String() string

type CreateTeamForbidden

type CreateTeamForbidden struct {
	Payload interface{}
}
CreateTeamForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewCreateTeamForbidden

func NewCreateTeamForbidden() *CreateTeamForbidden

NewCreateTeamForbidden creates a CreateTeamForbidden with default headers values

func (*CreateTeamForbidden) Code added in v1.22.0

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() interface{}

func (*CreateTeamForbidden) IsClientError added in v1.21.0

func (o *CreateTeamForbidden) IsClientError() bool

IsClientError returns true when this create team forbidden response has a 4xx status code

func (*CreateTeamForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *CreateTeamForbidden) IsRedirect() bool

IsRedirect returns true when this create team forbidden response has a 3xx status code

func (*CreateTeamForbidden) IsServerError added in v1.21.0

func (o *CreateTeamForbidden) IsServerError() bool

IsServerError returns true when this create team forbidden response has a 5xx status code

func (*CreateTeamForbidden) IsSuccess added in v1.21.0

func (o *CreateTeamForbidden) IsSuccess() bool

IsSuccess returns true when this create team forbidden response has a 2xx status code

func (*CreateTeamForbidden) String added in v1.21.0

func (o *CreateTeamForbidden) String() string

type CreateTeamMemberDefault

type CreateTeamMemberDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
CreateTeamMemberDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateTeamMemberDefault

func NewCreateTeamMemberDefault(code int) *CreateTeamMemberDefault

NewCreateTeamMemberDefault creates a CreateTeamMemberDefault with default headers values

func (*CreateTeamMemberDefault) Code

func (o *CreateTeamMemberDefault) Code() int

Code gets the status code for the create team member default response

func (*CreateTeamMemberDefault) Error

func (o *CreateTeamMemberDefault) Error() string

func (*CreateTeamMemberDefault) GetPayload

func (*CreateTeamMemberDefault) IsClientError added in v1.21.0

func (o *CreateTeamMemberDefault) IsClientError() bool

IsClientError returns true when this create team member default response has a 4xx status code

func (*CreateTeamMemberDefault) IsCode added in v1.21.0

func (o *CreateTeamMemberDefault) IsCode(code int) bool

IsCode returns true when this create team member default response a status code equal to that given

func (*CreateTeamMemberDefault) IsRedirect added in v1.21.0

func (o *CreateTeamMemberDefault) IsRedirect() bool

IsRedirect returns true when this create team member default response has a 3xx status code

func (*CreateTeamMemberDefault) IsServerError added in v1.21.0

func (o *CreateTeamMemberDefault) IsServerError() bool

IsServerError returns true when this create team member default response has a 5xx status code

func (*CreateTeamMemberDefault) IsSuccess added in v1.21.0

func (o *CreateTeamMemberDefault) IsSuccess() bool

IsSuccess returns true when this create team member default response has a 2xx status code

func (*CreateTeamMemberDefault) String added in v1.21.0

func (o *CreateTeamMemberDefault) String() string

type CreateTeamMemberForbidden

type CreateTeamMemberForbidden struct {
	Payload interface{}
}
CreateTeamMemberForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewCreateTeamMemberForbidden

func NewCreateTeamMemberForbidden() *CreateTeamMemberForbidden

NewCreateTeamMemberForbidden creates a CreateTeamMemberForbidden with default headers values

func (*CreateTeamMemberForbidden) Code added in v1.22.0

func (o *CreateTeamMemberForbidden) Code() int

Code gets the status code for the create team member forbidden response

func (*CreateTeamMemberForbidden) Error

func (o *CreateTeamMemberForbidden) Error() string

func (*CreateTeamMemberForbidden) GetPayload

func (o *CreateTeamMemberForbidden) GetPayload() interface{}

func (*CreateTeamMemberForbidden) IsClientError added in v1.21.0

func (o *CreateTeamMemberForbidden) IsClientError() bool

IsClientError returns true when this create team member forbidden response has a 4xx status code

func (*CreateTeamMemberForbidden) IsCode added in v1.21.0

func (o *CreateTeamMemberForbidden) IsCode(code int) bool

IsCode returns true when this create team member forbidden response a status code equal to that given

func (*CreateTeamMemberForbidden) IsRedirect added in v1.21.0

func (o *CreateTeamMemberForbidden) IsRedirect() bool

IsRedirect returns true when this create team member forbidden response has a 3xx status code

func (*CreateTeamMemberForbidden) IsServerError added in v1.21.0

func (o *CreateTeamMemberForbidden) IsServerError() bool

IsServerError returns true when this create team member forbidden response has a 5xx status code

func (*CreateTeamMemberForbidden) IsSuccess added in v1.21.0

func (o *CreateTeamMemberForbidden) IsSuccess() bool

IsSuccess returns true when this create team member forbidden response has a 2xx status code

func (*CreateTeamMemberForbidden) String added in v1.21.0

func (o *CreateTeamMemberForbidden) String() string

type CreateTeamMemberNoContent

type CreateTeamMemberNoContent struct {
	Payload interface{}
}
CreateTeamMemberNoContent describes a response with status code 204, with default header values.

No content.

func NewCreateTeamMemberNoContent

func NewCreateTeamMemberNoContent() *CreateTeamMemberNoContent

NewCreateTeamMemberNoContent creates a CreateTeamMemberNoContent with default headers values

func (*CreateTeamMemberNoContent) Code added in v1.22.0

func (o *CreateTeamMemberNoContent) Code() int

Code gets the status code for the create team member no content response

func (*CreateTeamMemberNoContent) Error

func (o *CreateTeamMemberNoContent) Error() string

func (*CreateTeamMemberNoContent) GetPayload

func (o *CreateTeamMemberNoContent) GetPayload() interface{}

func (*CreateTeamMemberNoContent) IsClientError added in v1.21.0

func (o *CreateTeamMemberNoContent) IsClientError() bool

IsClientError returns true when this create team member no content response has a 4xx status code

func (*CreateTeamMemberNoContent) IsCode added in v1.21.0

func (o *CreateTeamMemberNoContent) IsCode(code int) bool

IsCode returns true when this create team member no content response a status code equal to that given

func (*CreateTeamMemberNoContent) IsRedirect added in v1.21.0

func (o *CreateTeamMemberNoContent) IsRedirect() bool

IsRedirect returns true when this create team member no content response has a 3xx status code

func (*CreateTeamMemberNoContent) IsServerError added in v1.21.0

func (o *CreateTeamMemberNoContent) IsServerError() bool

IsServerError returns true when this create team member no content response has a 5xx status code

func (*CreateTeamMemberNoContent) IsSuccess added in v1.21.0

func (o *CreateTeamMemberNoContent) IsSuccess() bool

IsSuccess returns true when this create team member no content response has a 2xx status code

func (*CreateTeamMemberNoContent) String added in v1.21.0

func (o *CreateTeamMemberNoContent) String() string

type CreateTeamMemberNotFound

type CreateTeamMemberNotFound struct {
	Payload interface{}
}
CreateTeamMemberNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewCreateTeamMemberNotFound

func NewCreateTeamMemberNotFound() *CreateTeamMemberNotFound

NewCreateTeamMemberNotFound creates a CreateTeamMemberNotFound with default headers values

func (*CreateTeamMemberNotFound) Code added in v1.22.0

func (o *CreateTeamMemberNotFound) Code() int

Code gets the status code for the create team member not found response

func (*CreateTeamMemberNotFound) Error

func (o *CreateTeamMemberNotFound) Error() string

func (*CreateTeamMemberNotFound) GetPayload

func (o *CreateTeamMemberNotFound) GetPayload() interface{}

func (*CreateTeamMemberNotFound) IsClientError added in v1.21.0

func (o *CreateTeamMemberNotFound) IsClientError() bool

IsClientError returns true when this create team member not found response has a 4xx status code

func (*CreateTeamMemberNotFound) IsCode added in v1.21.0

func (o *CreateTeamMemberNotFound) IsCode(code int) bool

IsCode returns true when this create team member not found response a status code equal to that given

func (*CreateTeamMemberNotFound) IsRedirect added in v1.21.0

func (o *CreateTeamMemberNotFound) IsRedirect() bool

IsRedirect returns true when this create team member not found response has a 3xx status code

func (*CreateTeamMemberNotFound) IsServerError added in v1.21.0

func (o *CreateTeamMemberNotFound) IsServerError() bool

IsServerError returns true when this create team member not found response has a 5xx status code

func (*CreateTeamMemberNotFound) IsSuccess added in v1.21.0

func (o *CreateTeamMemberNotFound) IsSuccess() bool

IsSuccess returns true when this create team member not found response has a 2xx status code

func (*CreateTeamMemberNotFound) String added in v1.21.0

func (o *CreateTeamMemberNotFound) String() string

type CreateTeamMemberOK

type CreateTeamMemberOK struct {
	Payload *service_model.V1TeamMember
}
CreateTeamMemberOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateTeamMemberOK

func NewCreateTeamMemberOK() *CreateTeamMemberOK

NewCreateTeamMemberOK creates a CreateTeamMemberOK with default headers values

func (*CreateTeamMemberOK) Code added in v1.22.0

func (o *CreateTeamMemberOK) Code() int

Code gets the status code for the create team member o k response

func (*CreateTeamMemberOK) Error

func (o *CreateTeamMemberOK) Error() string

func (*CreateTeamMemberOK) GetPayload

func (*CreateTeamMemberOK) IsClientError added in v1.21.0

func (o *CreateTeamMemberOK) IsClientError() bool

IsClientError returns true when this create team member o k response has a 4xx status code

func (*CreateTeamMemberOK) IsCode added in v1.21.0

func (o *CreateTeamMemberOK) IsCode(code int) bool

IsCode returns true when this create team member o k response a status code equal to that given

func (*CreateTeamMemberOK) IsRedirect added in v1.21.0

func (o *CreateTeamMemberOK) IsRedirect() bool

IsRedirect returns true when this create team member o k response has a 3xx status code

func (*CreateTeamMemberOK) IsServerError added in v1.21.0

func (o *CreateTeamMemberOK) IsServerError() bool

IsServerError returns true when this create team member o k response has a 5xx status code

func (*CreateTeamMemberOK) IsSuccess added in v1.21.0

func (o *CreateTeamMemberOK) IsSuccess() bool

IsSuccess returns true when this create team member o k response has a 2xx status code

func (*CreateTeamMemberOK) String added in v1.21.0

func (o *CreateTeamMemberOK) String() string

type CreateTeamMemberParams

type CreateTeamMemberParams struct {

	/* Body.

	   Team body
	*/
	Body *service_model.V1TeamMember

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Team.

	   Team
	*/
	Team string

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

CreateTeamMemberParams contains all the parameters to send to the API endpoint

for the create team member operation.

Typically these are written to a http.Request.

func NewCreateTeamMemberParams

func NewCreateTeamMemberParams() *CreateTeamMemberParams

NewCreateTeamMemberParams creates a new CreateTeamMemberParams 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 NewCreateTeamMemberParamsWithContext

func NewCreateTeamMemberParamsWithContext(ctx context.Context) *CreateTeamMemberParams

NewCreateTeamMemberParamsWithContext creates a new CreateTeamMemberParams object with the ability to set a context for a request.

func NewCreateTeamMemberParamsWithHTTPClient

func NewCreateTeamMemberParamsWithHTTPClient(client *http.Client) *CreateTeamMemberParams

NewCreateTeamMemberParamsWithHTTPClient creates a new CreateTeamMemberParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTeamMemberParamsWithTimeout

func NewCreateTeamMemberParamsWithTimeout(timeout time.Duration) *CreateTeamMemberParams

NewCreateTeamMemberParamsWithTimeout creates a new CreateTeamMemberParams object with the ability to set a timeout on a request.

func (*CreateTeamMemberParams) SetBody

SetBody adds the body to the create team member params

func (*CreateTeamMemberParams) SetContext

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

SetContext adds the context to the create team member params

func (*CreateTeamMemberParams) SetDefaults

func (o *CreateTeamMemberParams) SetDefaults()

SetDefaults hydrates default values in the create team member params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTeamMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create team member params

func (*CreateTeamMemberParams) SetOwner

func (o *CreateTeamMemberParams) SetOwner(owner string)

SetOwner adds the owner to the create team member params

func (*CreateTeamMemberParams) SetTeam

func (o *CreateTeamMemberParams) SetTeam(team string)

SetTeam adds the team to the create team member params

func (*CreateTeamMemberParams) SetTimeout

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

SetTimeout adds the timeout to the create team member params

func (*CreateTeamMemberParams) WithBody

WithBody adds the body to the create team member params

func (*CreateTeamMemberParams) WithContext

WithContext adds the context to the create team member params

func (*CreateTeamMemberParams) WithDefaults

WithDefaults hydrates default values in the create team member params (not the query body).

All values with no default are reset to their zero value.

func (*CreateTeamMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create team member params

func (*CreateTeamMemberParams) WithOwner

WithOwner adds the owner to the create team member params

func (*CreateTeamMemberParams) WithTeam

WithTeam adds the team to the create team member params

func (*CreateTeamMemberParams) WithTimeout

WithTimeout adds the timeout to the create team member params

func (*CreateTeamMemberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTeamMemberReader

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

CreateTeamMemberReader is a Reader for the CreateTeamMember structure.

func (*CreateTeamMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTeamNoContent

type CreateTeamNoContent struct {
	Payload interface{}
}
CreateTeamNoContent describes a response with status code 204, with default header values.

No content.

func NewCreateTeamNoContent

func NewCreateTeamNoContent() *CreateTeamNoContent

NewCreateTeamNoContent creates a CreateTeamNoContent with default headers values

func (*CreateTeamNoContent) Code added in v1.22.0

func (o *CreateTeamNoContent) Code() int

Code gets the status code for the create team no content response

func (*CreateTeamNoContent) Error

func (o *CreateTeamNoContent) Error() string

func (*CreateTeamNoContent) GetPayload

func (o *CreateTeamNoContent) GetPayload() interface{}

func (*CreateTeamNoContent) IsClientError added in v1.21.0

func (o *CreateTeamNoContent) IsClientError() bool

IsClientError returns true when this create team no content response has a 4xx status code

func (*CreateTeamNoContent) IsCode added in v1.21.0

func (o *CreateTeamNoContent) IsCode(code int) bool

IsCode returns true when this create team no content response a status code equal to that given

func (*CreateTeamNoContent) IsRedirect added in v1.21.0

func (o *CreateTeamNoContent) IsRedirect() bool

IsRedirect returns true when this create team no content response has a 3xx status code

func (*CreateTeamNoContent) IsServerError added in v1.21.0

func (o *CreateTeamNoContent) IsServerError() bool

IsServerError returns true when this create team no content response has a 5xx status code

func (*CreateTeamNoContent) IsSuccess added in v1.21.0

func (o *CreateTeamNoContent) IsSuccess() bool

IsSuccess returns true when this create team no content response has a 2xx status code

func (*CreateTeamNoContent) String added in v1.21.0

func (o *CreateTeamNoContent) String() string

type CreateTeamNotFound

type CreateTeamNotFound struct {
	Payload interface{}
}
CreateTeamNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewCreateTeamNotFound

func NewCreateTeamNotFound() *CreateTeamNotFound

NewCreateTeamNotFound creates a CreateTeamNotFound with default headers values

func (*CreateTeamNotFound) Code added in v1.22.0

func (o *CreateTeamNotFound) Code() int

Code gets the status code for the create team not found response

func (*CreateTeamNotFound) Error

func (o *CreateTeamNotFound) Error() string

func (*CreateTeamNotFound) GetPayload

func (o *CreateTeamNotFound) GetPayload() interface{}

func (*CreateTeamNotFound) IsClientError added in v1.21.0

func (o *CreateTeamNotFound) IsClientError() bool

IsClientError returns true when this create team not found response has a 4xx status code

func (*CreateTeamNotFound) IsCode added in v1.21.0

func (o *CreateTeamNotFound) IsCode(code int) bool

IsCode returns true when this create team not found response a status code equal to that given

func (*CreateTeamNotFound) IsRedirect added in v1.21.0

func (o *CreateTeamNotFound) IsRedirect() bool

IsRedirect returns true when this create team not found response has a 3xx status code

func (*CreateTeamNotFound) IsServerError added in v1.21.0

func (o *CreateTeamNotFound) IsServerError() bool

IsServerError returns true when this create team not found response has a 5xx status code

func (*CreateTeamNotFound) IsSuccess added in v1.21.0

func (o *CreateTeamNotFound) IsSuccess() bool

IsSuccess returns true when this create team not found response has a 2xx status code

func (*CreateTeamNotFound) String added in v1.21.0

func (o *CreateTeamNotFound) String() string

type CreateTeamOK

type CreateTeamOK struct {
	Payload *service_model.V1Team
}
CreateTeamOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateTeamOK

func NewCreateTeamOK() *CreateTeamOK

NewCreateTeamOK creates a CreateTeamOK with default headers values

func (*CreateTeamOK) Code added in v1.22.0

func (o *CreateTeamOK) Code() int

Code gets the status code for the create team o k response

func (*CreateTeamOK) Error

func (o *CreateTeamOK) Error() string

func (*CreateTeamOK) GetPayload

func (o *CreateTeamOK) GetPayload() *service_model.V1Team

func (*CreateTeamOK) IsClientError added in v1.21.0

func (o *CreateTeamOK) IsClientError() bool

IsClientError returns true when this create team o k response has a 4xx status code

func (*CreateTeamOK) IsCode added in v1.21.0

func (o *CreateTeamOK) IsCode(code int) bool

IsCode returns true when this create team o k response a status code equal to that given

func (*CreateTeamOK) IsRedirect added in v1.21.0

func (o *CreateTeamOK) IsRedirect() bool

IsRedirect returns true when this create team o k response has a 3xx status code

func (*CreateTeamOK) IsServerError added in v1.21.0

func (o *CreateTeamOK) IsServerError() bool

IsServerError returns true when this create team o k response has a 5xx status code

func (*CreateTeamOK) IsSuccess added in v1.21.0

func (o *CreateTeamOK) IsSuccess() bool

IsSuccess returns true when this create team o k response has a 2xx status code

func (*CreateTeamOK) String added in v1.21.0

func (o *CreateTeamOK) String() string

type CreateTeamParams

type CreateTeamParams struct {

	/* Body.

	   Team body
	*/
	Body *service_model.V1Team

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	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 *service_model.V1Team)

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) SetOwner

func (o *CreateTeamParams) SetOwner(owner string)

SetOwner adds the owner 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) WithOwner

func (o *CreateTeamParams) WithOwner(owner string) *CreateTeamParams

WithOwner adds the owner 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 DeleteTeamDefault

type DeleteTeamDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
DeleteTeamDefault describes a response with status code -1, with default header values.

An unexpected error response.

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

func (*DeleteTeamDefault) GetPayload

func (o *DeleteTeamDefault) GetPayload() *service_model.RuntimeError

func (*DeleteTeamDefault) IsClientError added in v1.21.0

func (o *DeleteTeamDefault) IsClientError() bool

IsClientError returns true when this delete team default response has a 4xx status code

func (*DeleteTeamDefault) IsCode added in v1.21.0

func (o *DeleteTeamDefault) IsCode(code int) bool

IsCode returns true when this delete team default response a status code equal to that given

func (*DeleteTeamDefault) IsRedirect added in v1.21.0

func (o *DeleteTeamDefault) IsRedirect() bool

IsRedirect returns true when this delete team default response has a 3xx status code

func (*DeleteTeamDefault) IsServerError added in v1.21.0

func (o *DeleteTeamDefault) IsServerError() bool

IsServerError returns true when this delete team default response has a 5xx status code

func (*DeleteTeamDefault) IsSuccess added in v1.21.0

func (o *DeleteTeamDefault) IsSuccess() bool

IsSuccess returns true when this delete team default response has a 2xx status code

func (*DeleteTeamDefault) String added in v1.21.0

func (o *DeleteTeamDefault) String() string

type DeleteTeamForbidden

type DeleteTeamForbidden struct {
	Payload interface{}
}
DeleteTeamForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewDeleteTeamForbidden

func NewDeleteTeamForbidden() *DeleteTeamForbidden

NewDeleteTeamForbidden creates a DeleteTeamForbidden with default headers values

func (*DeleteTeamForbidden) Code added in v1.22.0

func (o *DeleteTeamForbidden) Code() int

Code gets the status code for the delete team forbidden response

func (*DeleteTeamForbidden) Error

func (o *DeleteTeamForbidden) Error() string

func (*DeleteTeamForbidden) GetPayload

func (o *DeleteTeamForbidden) GetPayload() interface{}

func (*DeleteTeamForbidden) IsClientError added in v1.21.0

func (o *DeleteTeamForbidden) IsClientError() bool

IsClientError returns true when this delete team forbidden response has a 4xx status code

func (*DeleteTeamForbidden) IsCode added in v1.21.0

func (o *DeleteTeamForbidden) IsCode(code int) bool

IsCode returns true when this delete team forbidden response a status code equal to that given

func (*DeleteTeamForbidden) IsRedirect added in v1.21.0

func (o *DeleteTeamForbidden) IsRedirect() bool

IsRedirect returns true when this delete team forbidden response has a 3xx status code

func (*DeleteTeamForbidden) IsServerError added in v1.21.0

func (o *DeleteTeamForbidden) IsServerError() bool

IsServerError returns true when this delete team forbidden response has a 5xx status code

func (*DeleteTeamForbidden) IsSuccess added in v1.21.0

func (o *DeleteTeamForbidden) IsSuccess() bool

IsSuccess returns true when this delete team forbidden response has a 2xx status code

func (*DeleteTeamForbidden) String added in v1.21.0

func (o *DeleteTeamForbidden) String() string

type DeleteTeamMemberDefault

type DeleteTeamMemberDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
DeleteTeamMemberDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteTeamMemberDefault

func NewDeleteTeamMemberDefault(code int) *DeleteTeamMemberDefault

NewDeleteTeamMemberDefault creates a DeleteTeamMemberDefault with default headers values

func (*DeleteTeamMemberDefault) Code

func (o *DeleteTeamMemberDefault) Code() int

Code gets the status code for the delete team member default response

func (*DeleteTeamMemberDefault) Error

func (o *DeleteTeamMemberDefault) Error() string

func (*DeleteTeamMemberDefault) GetPayload

func (*DeleteTeamMemberDefault) IsClientError added in v1.21.0

func (o *DeleteTeamMemberDefault) IsClientError() bool

IsClientError returns true when this delete team member default response has a 4xx status code

func (*DeleteTeamMemberDefault) IsCode added in v1.21.0

func (o *DeleteTeamMemberDefault) IsCode(code int) bool

IsCode returns true when this delete team member default response a status code equal to that given

func (*DeleteTeamMemberDefault) IsRedirect added in v1.21.0

func (o *DeleteTeamMemberDefault) IsRedirect() bool

IsRedirect returns true when this delete team member default response has a 3xx status code

func (*DeleteTeamMemberDefault) IsServerError added in v1.21.0

func (o *DeleteTeamMemberDefault) IsServerError() bool

IsServerError returns true when this delete team member default response has a 5xx status code

func (*DeleteTeamMemberDefault) IsSuccess added in v1.21.0

func (o *DeleteTeamMemberDefault) IsSuccess() bool

IsSuccess returns true when this delete team member default response has a 2xx status code

func (*DeleteTeamMemberDefault) String added in v1.21.0

func (o *DeleteTeamMemberDefault) String() string

type DeleteTeamMemberForbidden

type DeleteTeamMemberForbidden struct {
	Payload interface{}
}
DeleteTeamMemberForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewDeleteTeamMemberForbidden

func NewDeleteTeamMemberForbidden() *DeleteTeamMemberForbidden

NewDeleteTeamMemberForbidden creates a DeleteTeamMemberForbidden with default headers values

func (*DeleteTeamMemberForbidden) Code added in v1.22.0

func (o *DeleteTeamMemberForbidden) Code() int

Code gets the status code for the delete team member forbidden response

func (*DeleteTeamMemberForbidden) Error

func (o *DeleteTeamMemberForbidden) Error() string

func (*DeleteTeamMemberForbidden) GetPayload

func (o *DeleteTeamMemberForbidden) GetPayload() interface{}

func (*DeleteTeamMemberForbidden) IsClientError added in v1.21.0

func (o *DeleteTeamMemberForbidden) IsClientError() bool

IsClientError returns true when this delete team member forbidden response has a 4xx status code

func (*DeleteTeamMemberForbidden) IsCode added in v1.21.0

func (o *DeleteTeamMemberForbidden) IsCode(code int) bool

IsCode returns true when this delete team member forbidden response a status code equal to that given

func (*DeleteTeamMemberForbidden) IsRedirect added in v1.21.0

func (o *DeleteTeamMemberForbidden) IsRedirect() bool

IsRedirect returns true when this delete team member forbidden response has a 3xx status code

func (*DeleteTeamMemberForbidden) IsServerError added in v1.21.0

func (o *DeleteTeamMemberForbidden) IsServerError() bool

IsServerError returns true when this delete team member forbidden response has a 5xx status code

func (*DeleteTeamMemberForbidden) IsSuccess added in v1.21.0

func (o *DeleteTeamMemberForbidden) IsSuccess() bool

IsSuccess returns true when this delete team member forbidden response has a 2xx status code

func (*DeleteTeamMemberForbidden) String added in v1.21.0

func (o *DeleteTeamMemberForbidden) String() string

type DeleteTeamMemberNoContent

type DeleteTeamMemberNoContent struct {
	Payload interface{}
}
DeleteTeamMemberNoContent describes a response with status code 204, with default header values.

No content.

func NewDeleteTeamMemberNoContent

func NewDeleteTeamMemberNoContent() *DeleteTeamMemberNoContent

NewDeleteTeamMemberNoContent creates a DeleteTeamMemberNoContent with default headers values

func (*DeleteTeamMemberNoContent) Code added in v1.22.0

func (o *DeleteTeamMemberNoContent) Code() int

Code gets the status code for the delete team member no content response

func (*DeleteTeamMemberNoContent) Error

func (o *DeleteTeamMemberNoContent) Error() string

func (*DeleteTeamMemberNoContent) GetPayload

func (o *DeleteTeamMemberNoContent) GetPayload() interface{}

func (*DeleteTeamMemberNoContent) IsClientError added in v1.21.0

func (o *DeleteTeamMemberNoContent) IsClientError() bool

IsClientError returns true when this delete team member no content response has a 4xx status code

func (*DeleteTeamMemberNoContent) IsCode added in v1.21.0

func (o *DeleteTeamMemberNoContent) IsCode(code int) bool

IsCode returns true when this delete team member no content response a status code equal to that given

func (*DeleteTeamMemberNoContent) IsRedirect added in v1.21.0

func (o *DeleteTeamMemberNoContent) IsRedirect() bool

IsRedirect returns true when this delete team member no content response has a 3xx status code

func (*DeleteTeamMemberNoContent) IsServerError added in v1.21.0

func (o *DeleteTeamMemberNoContent) IsServerError() bool

IsServerError returns true when this delete team member no content response has a 5xx status code

func (*DeleteTeamMemberNoContent) IsSuccess added in v1.21.0

func (o *DeleteTeamMemberNoContent) IsSuccess() bool

IsSuccess returns true when this delete team member no content response has a 2xx status code

func (*DeleteTeamMemberNoContent) String added in v1.21.0

func (o *DeleteTeamMemberNoContent) String() string

type DeleteTeamMemberNotFound

type DeleteTeamMemberNotFound struct {
	Payload interface{}
}
DeleteTeamMemberNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewDeleteTeamMemberNotFound

func NewDeleteTeamMemberNotFound() *DeleteTeamMemberNotFound

NewDeleteTeamMemberNotFound creates a DeleteTeamMemberNotFound with default headers values

func (*DeleteTeamMemberNotFound) Code added in v1.22.0

func (o *DeleteTeamMemberNotFound) Code() int

Code gets the status code for the delete team member not found response

func (*DeleteTeamMemberNotFound) Error

func (o *DeleteTeamMemberNotFound) Error() string

func (*DeleteTeamMemberNotFound) GetPayload

func (o *DeleteTeamMemberNotFound) GetPayload() interface{}

func (*DeleteTeamMemberNotFound) IsClientError added in v1.21.0

func (o *DeleteTeamMemberNotFound) IsClientError() bool

IsClientError returns true when this delete team member not found response has a 4xx status code

func (*DeleteTeamMemberNotFound) IsCode added in v1.21.0

func (o *DeleteTeamMemberNotFound) IsCode(code int) bool

IsCode returns true when this delete team member not found response a status code equal to that given

func (*DeleteTeamMemberNotFound) IsRedirect added in v1.21.0

func (o *DeleteTeamMemberNotFound) IsRedirect() bool

IsRedirect returns true when this delete team member not found response has a 3xx status code

func (*DeleteTeamMemberNotFound) IsServerError added in v1.21.0

func (o *DeleteTeamMemberNotFound) IsServerError() bool

IsServerError returns true when this delete team member not found response has a 5xx status code

func (*DeleteTeamMemberNotFound) IsSuccess added in v1.21.0

func (o *DeleteTeamMemberNotFound) IsSuccess() bool

IsSuccess returns true when this delete team member not found response has a 2xx status code

func (*DeleteTeamMemberNotFound) String added in v1.21.0

func (o *DeleteTeamMemberNotFound) String() string

type DeleteTeamMemberOK

type DeleteTeamMemberOK struct {
}
DeleteTeamMemberOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteTeamMemberOK

func NewDeleteTeamMemberOK() *DeleteTeamMemberOK

NewDeleteTeamMemberOK creates a DeleteTeamMemberOK with default headers values

func (*DeleteTeamMemberOK) Code added in v1.22.0

func (o *DeleteTeamMemberOK) Code() int

Code gets the status code for the delete team member o k response

func (*DeleteTeamMemberOK) Error

func (o *DeleteTeamMemberOK) Error() string

func (*DeleteTeamMemberOK) IsClientError added in v1.21.0

func (o *DeleteTeamMemberOK) IsClientError() bool

IsClientError returns true when this delete team member o k response has a 4xx status code

func (*DeleteTeamMemberOK) IsCode added in v1.21.0

func (o *DeleteTeamMemberOK) IsCode(code int) bool

IsCode returns true when this delete team member o k response a status code equal to that given

func (*DeleteTeamMemberOK) IsRedirect added in v1.21.0

func (o *DeleteTeamMemberOK) IsRedirect() bool

IsRedirect returns true when this delete team member o k response has a 3xx status code

func (*DeleteTeamMemberOK) IsServerError added in v1.21.0

func (o *DeleteTeamMemberOK) IsServerError() bool

IsServerError returns true when this delete team member o k response has a 5xx status code

func (*DeleteTeamMemberOK) IsSuccess added in v1.21.0

func (o *DeleteTeamMemberOK) IsSuccess() bool

IsSuccess returns true when this delete team member o k response has a 2xx status code

func (*DeleteTeamMemberOK) String added in v1.21.0

func (o *DeleteTeamMemberOK) String() string

type DeleteTeamMemberParams

type DeleteTeamMemberParams struct {

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Team.

	   Team under namesapce
	*/
	Team string

	/* User.

	   Member under team
	*/
	User string

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

DeleteTeamMemberParams contains all the parameters to send to the API endpoint

for the delete team member operation.

Typically these are written to a http.Request.

func NewDeleteTeamMemberParams

func NewDeleteTeamMemberParams() *DeleteTeamMemberParams

NewDeleteTeamMemberParams creates a new DeleteTeamMemberParams 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 NewDeleteTeamMemberParamsWithContext

func NewDeleteTeamMemberParamsWithContext(ctx context.Context) *DeleteTeamMemberParams

NewDeleteTeamMemberParamsWithContext creates a new DeleteTeamMemberParams object with the ability to set a context for a request.

func NewDeleteTeamMemberParamsWithHTTPClient

func NewDeleteTeamMemberParamsWithHTTPClient(client *http.Client) *DeleteTeamMemberParams

NewDeleteTeamMemberParamsWithHTTPClient creates a new DeleteTeamMemberParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTeamMemberParamsWithTimeout

func NewDeleteTeamMemberParamsWithTimeout(timeout time.Duration) *DeleteTeamMemberParams

NewDeleteTeamMemberParamsWithTimeout creates a new DeleteTeamMemberParams object with the ability to set a timeout on a request.

func (*DeleteTeamMemberParams) SetContext

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

SetContext adds the context to the delete team member params

func (*DeleteTeamMemberParams) SetDefaults

func (o *DeleteTeamMemberParams) SetDefaults()

SetDefaults hydrates default values in the delete team member params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTeamMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team member params

func (*DeleteTeamMemberParams) SetOwner

func (o *DeleteTeamMemberParams) SetOwner(owner string)

SetOwner adds the owner to the delete team member params

func (*DeleteTeamMemberParams) SetTeam

func (o *DeleteTeamMemberParams) SetTeam(team string)

SetTeam adds the team to the delete team member params

func (*DeleteTeamMemberParams) SetTimeout

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

SetTimeout adds the timeout to the delete team member params

func (*DeleteTeamMemberParams) SetUser

func (o *DeleteTeamMemberParams) SetUser(user string)

SetUser adds the user to the delete team member params

func (*DeleteTeamMemberParams) WithContext

WithContext adds the context to the delete team member params

func (*DeleteTeamMemberParams) WithDefaults

WithDefaults hydrates default values in the delete team member params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTeamMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team member params

func (*DeleteTeamMemberParams) WithOwner

WithOwner adds the owner to the delete team member params

func (*DeleteTeamMemberParams) WithTeam

WithTeam adds the team to the delete team member params

func (*DeleteTeamMemberParams) WithTimeout

WithTimeout adds the timeout to the delete team member params

func (*DeleteTeamMemberParams) WithUser

WithUser adds the user to the delete team member params

func (*DeleteTeamMemberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTeamMemberReader

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

DeleteTeamMemberReader is a Reader for the DeleteTeamMember structure.

func (*DeleteTeamMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamNoContent

type DeleteTeamNoContent struct {
	Payload interface{}
}
DeleteTeamNoContent describes a response with status code 204, with default header values.

No content.

func NewDeleteTeamNoContent

func NewDeleteTeamNoContent() *DeleteTeamNoContent

NewDeleteTeamNoContent creates a DeleteTeamNoContent with default headers values

func (*DeleteTeamNoContent) Code added in v1.22.0

func (o *DeleteTeamNoContent) Code() int

Code gets the status code for the delete team no content response

func (*DeleteTeamNoContent) Error

func (o *DeleteTeamNoContent) Error() string

func (*DeleteTeamNoContent) GetPayload

func (o *DeleteTeamNoContent) GetPayload() interface{}

func (*DeleteTeamNoContent) IsClientError added in v1.21.0

func (o *DeleteTeamNoContent) IsClientError() bool

IsClientError returns true when this delete team no content response has a 4xx status code

func (*DeleteTeamNoContent) IsCode added in v1.21.0

func (o *DeleteTeamNoContent) IsCode(code int) bool

IsCode returns true when this delete team no content response a status code equal to that given

func (*DeleteTeamNoContent) IsRedirect added in v1.21.0

func (o *DeleteTeamNoContent) IsRedirect() bool

IsRedirect returns true when this delete team no content response has a 3xx status code

func (*DeleteTeamNoContent) IsServerError added in v1.21.0

func (o *DeleteTeamNoContent) IsServerError() bool

IsServerError returns true when this delete team no content response has a 5xx status code

func (*DeleteTeamNoContent) IsSuccess added in v1.21.0

func (o *DeleteTeamNoContent) IsSuccess() bool

IsSuccess returns true when this delete team no content response has a 2xx status code

func (*DeleteTeamNoContent) String added in v1.21.0

func (o *DeleteTeamNoContent) String() string

type DeleteTeamNotFound

type DeleteTeamNotFound struct {
	Payload interface{}
}
DeleteTeamNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewDeleteTeamNotFound

func NewDeleteTeamNotFound() *DeleteTeamNotFound

NewDeleteTeamNotFound creates a DeleteTeamNotFound with default headers values

func (*DeleteTeamNotFound) Code added in v1.22.0

func (o *DeleteTeamNotFound) Code() int

Code gets the status code for the delete team not found response

func (*DeleteTeamNotFound) Error

func (o *DeleteTeamNotFound) Error() string

func (*DeleteTeamNotFound) GetPayload

func (o *DeleteTeamNotFound) GetPayload() interface{}

func (*DeleteTeamNotFound) IsClientError added in v1.21.0

func (o *DeleteTeamNotFound) IsClientError() bool

IsClientError returns true when this delete team not found response has a 4xx status code

func (*DeleteTeamNotFound) IsCode added in v1.21.0

func (o *DeleteTeamNotFound) IsCode(code int) bool

IsCode returns true when this delete team not found response a status code equal to that given

func (*DeleteTeamNotFound) IsRedirect added in v1.21.0

func (o *DeleteTeamNotFound) IsRedirect() bool

IsRedirect returns true when this delete team not found response has a 3xx status code

func (*DeleteTeamNotFound) IsServerError added in v1.21.0

func (o *DeleteTeamNotFound) IsServerError() bool

IsServerError returns true when this delete team not found response has a 5xx status code

func (*DeleteTeamNotFound) IsSuccess added in v1.21.0

func (o *DeleteTeamNotFound) IsSuccess() bool

IsSuccess returns true when this delete team not found response has a 2xx status code

func (*DeleteTeamNotFound) String added in v1.21.0

func (o *DeleteTeamNotFound) String() string

type DeleteTeamOK

type DeleteTeamOK struct {
}
DeleteTeamOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteTeamOK

func NewDeleteTeamOK() *DeleteTeamOK

NewDeleteTeamOK creates a DeleteTeamOK with default headers values

func (*DeleteTeamOK) Code added in v1.22.0

func (o *DeleteTeamOK) Code() int

Code gets the status code for the delete team o k response

func (*DeleteTeamOK) Error

func (o *DeleteTeamOK) Error() string

func (*DeleteTeamOK) IsClientError added in v1.21.0

func (o *DeleteTeamOK) IsClientError() bool

IsClientError returns true when this delete team o k response has a 4xx status code

func (*DeleteTeamOK) IsCode added in v1.21.0

func (o *DeleteTeamOK) IsCode(code int) bool

IsCode returns true when this delete team o k response a status code equal to that given

func (*DeleteTeamOK) IsRedirect added in v1.21.0

func (o *DeleteTeamOK) IsRedirect() bool

IsRedirect returns true when this delete team o k response has a 3xx status code

func (*DeleteTeamOK) IsServerError added in v1.21.0

func (o *DeleteTeamOK) IsServerError() bool

IsServerError returns true when this delete team o k response has a 5xx status code

func (*DeleteTeamOK) IsSuccess added in v1.21.0

func (o *DeleteTeamOK) IsSuccess() bool

IsSuccess returns true when this delete team o k response has a 2xx status code

func (*DeleteTeamOK) String added in v1.21.0

func (o *DeleteTeamOK) String() string

type DeleteTeamParams

type DeleteTeamParams struct {

	/* Name.

	   Component under namesapce
	*/
	Name string

	/* Owner.

	   Owner of the namespace
	*/
	Owner 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 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 NewDeleteTeamParamsWithContext

func NewDeleteTeamParamsWithContext(ctx context.Context) *DeleteTeamParams

NewDeleteTeamParamsWithContext creates a new DeleteTeamParams object with 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 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 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) SetDefaults

func (o *DeleteTeamParams) SetDefaults()

SetDefaults hydrates default values in the delete team params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) SetName

func (o *DeleteTeamParams) SetName(name string)

SetName adds the name to the delete team params

func (*DeleteTeamParams) SetOwner

func (o *DeleteTeamParams) SetOwner(owner string)

SetOwner adds the owner 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) WithDefaults

func (o *DeleteTeamParams) WithDefaults() *DeleteTeamParams

WithDefaults hydrates default values in the delete team params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) WithName

func (o *DeleteTeamParams) WithName(name string) *DeleteTeamParams

WithName adds the name to the delete team params

func (*DeleteTeamParams) WithOwner

func (o *DeleteTeamParams) WithOwner(owner string) *DeleteTeamParams

WithOwner adds the owner 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 GetTeamDefault

type GetTeamDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetTeamDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetTeamDefault

func NewGetTeamDefault(code int) *GetTeamDefault

NewGetTeamDefault creates a GetTeamDefault with default headers values

func (*GetTeamDefault) Code

func (o *GetTeamDefault) Code() int

Code gets the status code for the get team default response

func (*GetTeamDefault) Error

func (o *GetTeamDefault) Error() string

func (*GetTeamDefault) GetPayload

func (o *GetTeamDefault) GetPayload() *service_model.RuntimeError

func (*GetTeamDefault) IsClientError added in v1.21.0

func (o *GetTeamDefault) IsClientError() bool

IsClientError returns true when this get team default response has a 4xx status code

func (*GetTeamDefault) IsCode added in v1.21.0

func (o *GetTeamDefault) IsCode(code int) bool

IsCode returns true when this get team default response a status code equal to that given

func (*GetTeamDefault) IsRedirect added in v1.21.0

func (o *GetTeamDefault) IsRedirect() bool

IsRedirect returns true when this get team default response has a 3xx status code

func (*GetTeamDefault) IsServerError added in v1.21.0

func (o *GetTeamDefault) IsServerError() bool

IsServerError returns true when this get team default response has a 5xx status code

func (*GetTeamDefault) IsSuccess added in v1.21.0

func (o *GetTeamDefault) IsSuccess() bool

IsSuccess returns true when this get team default response has a 2xx status code

func (*GetTeamDefault) String added in v1.21.0

func (o *GetTeamDefault) String() string

type GetTeamForbidden

type GetTeamForbidden struct {
	Payload interface{}
}
GetTeamForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetTeamForbidden

func NewGetTeamForbidden() *GetTeamForbidden

NewGetTeamForbidden creates a GetTeamForbidden with default headers values

func (*GetTeamForbidden) Code added in v1.22.0

func (o *GetTeamForbidden) Code() int

Code gets the status code for the get team forbidden response

func (*GetTeamForbidden) Error

func (o *GetTeamForbidden) Error() string

func (*GetTeamForbidden) GetPayload

func (o *GetTeamForbidden) GetPayload() interface{}

func (*GetTeamForbidden) IsClientError added in v1.21.0

func (o *GetTeamForbidden) IsClientError() bool

IsClientError returns true when this get team forbidden response has a 4xx status code

func (*GetTeamForbidden) IsCode added in v1.21.0

func (o *GetTeamForbidden) IsCode(code int) bool

IsCode returns true when this get team forbidden response a status code equal to that given

func (*GetTeamForbidden) IsRedirect added in v1.21.0

func (o *GetTeamForbidden) IsRedirect() bool

IsRedirect returns true when this get team forbidden response has a 3xx status code

func (*GetTeamForbidden) IsServerError added in v1.21.0

func (o *GetTeamForbidden) IsServerError() bool

IsServerError returns true when this get team forbidden response has a 5xx status code

func (*GetTeamForbidden) IsSuccess added in v1.21.0

func (o *GetTeamForbidden) IsSuccess() bool

IsSuccess returns true when this get team forbidden response has a 2xx status code

func (*GetTeamForbidden) String added in v1.21.0

func (o *GetTeamForbidden) String() string

type GetTeamMemberDefault

type GetTeamMemberDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetTeamMemberDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetTeamMemberDefault

func NewGetTeamMemberDefault(code int) *GetTeamMemberDefault

NewGetTeamMemberDefault creates a GetTeamMemberDefault with default headers values

func (*GetTeamMemberDefault) Code

func (o *GetTeamMemberDefault) Code() int

Code gets the status code for the get team member default response

func (*GetTeamMemberDefault) Error

func (o *GetTeamMemberDefault) Error() string

func (*GetTeamMemberDefault) GetPayload

func (*GetTeamMemberDefault) IsClientError added in v1.21.0

func (o *GetTeamMemberDefault) IsClientError() bool

IsClientError returns true when this get team member default response has a 4xx status code

func (*GetTeamMemberDefault) IsCode added in v1.21.0

func (o *GetTeamMemberDefault) IsCode(code int) bool

IsCode returns true when this get team member default response a status code equal to that given

func (*GetTeamMemberDefault) IsRedirect added in v1.21.0

func (o *GetTeamMemberDefault) IsRedirect() bool

IsRedirect returns true when this get team member default response has a 3xx status code

func (*GetTeamMemberDefault) IsServerError added in v1.21.0

func (o *GetTeamMemberDefault) IsServerError() bool

IsServerError returns true when this get team member default response has a 5xx status code

func (*GetTeamMemberDefault) IsSuccess added in v1.21.0

func (o *GetTeamMemberDefault) IsSuccess() bool

IsSuccess returns true when this get team member default response has a 2xx status code

func (*GetTeamMemberDefault) String added in v1.21.0

func (o *GetTeamMemberDefault) String() string

type GetTeamMemberForbidden

type GetTeamMemberForbidden struct {
	Payload interface{}
}
GetTeamMemberForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetTeamMemberForbidden

func NewGetTeamMemberForbidden() *GetTeamMemberForbidden

NewGetTeamMemberForbidden creates a GetTeamMemberForbidden with default headers values

func (*GetTeamMemberForbidden) Code added in v1.22.0

func (o *GetTeamMemberForbidden) Code() int

Code gets the status code for the get team member forbidden response

func (*GetTeamMemberForbidden) Error

func (o *GetTeamMemberForbidden) Error() string

func (*GetTeamMemberForbidden) GetPayload

func (o *GetTeamMemberForbidden) GetPayload() interface{}

func (*GetTeamMemberForbidden) IsClientError added in v1.21.0

func (o *GetTeamMemberForbidden) IsClientError() bool

IsClientError returns true when this get team member forbidden response has a 4xx status code

func (*GetTeamMemberForbidden) IsCode added in v1.21.0

func (o *GetTeamMemberForbidden) IsCode(code int) bool

IsCode returns true when this get team member forbidden response a status code equal to that given

func (*GetTeamMemberForbidden) IsRedirect added in v1.21.0

func (o *GetTeamMemberForbidden) IsRedirect() bool

IsRedirect returns true when this get team member forbidden response has a 3xx status code

func (*GetTeamMemberForbidden) IsServerError added in v1.21.0

func (o *GetTeamMemberForbidden) IsServerError() bool

IsServerError returns true when this get team member forbidden response has a 5xx status code

func (*GetTeamMemberForbidden) IsSuccess added in v1.21.0

func (o *GetTeamMemberForbidden) IsSuccess() bool

IsSuccess returns true when this get team member forbidden response has a 2xx status code

func (*GetTeamMemberForbidden) String added in v1.21.0

func (o *GetTeamMemberForbidden) String() string

type GetTeamMemberNoContent

type GetTeamMemberNoContent struct {
	Payload interface{}
}
GetTeamMemberNoContent describes a response with status code 204, with default header values.

No content.

func NewGetTeamMemberNoContent

func NewGetTeamMemberNoContent() *GetTeamMemberNoContent

NewGetTeamMemberNoContent creates a GetTeamMemberNoContent with default headers values

func (*GetTeamMemberNoContent) Code added in v1.22.0

func (o *GetTeamMemberNoContent) Code() int

Code gets the status code for the get team member no content response

func (*GetTeamMemberNoContent) Error

func (o *GetTeamMemberNoContent) Error() string

func (*GetTeamMemberNoContent) GetPayload

func (o *GetTeamMemberNoContent) GetPayload() interface{}

func (*GetTeamMemberNoContent) IsClientError added in v1.21.0

func (o *GetTeamMemberNoContent) IsClientError() bool

IsClientError returns true when this get team member no content response has a 4xx status code

func (*GetTeamMemberNoContent) IsCode added in v1.21.0

func (o *GetTeamMemberNoContent) IsCode(code int) bool

IsCode returns true when this get team member no content response a status code equal to that given

func (*GetTeamMemberNoContent) IsRedirect added in v1.21.0

func (o *GetTeamMemberNoContent) IsRedirect() bool

IsRedirect returns true when this get team member no content response has a 3xx status code

func (*GetTeamMemberNoContent) IsServerError added in v1.21.0

func (o *GetTeamMemberNoContent) IsServerError() bool

IsServerError returns true when this get team member no content response has a 5xx status code

func (*GetTeamMemberNoContent) IsSuccess added in v1.21.0

func (o *GetTeamMemberNoContent) IsSuccess() bool

IsSuccess returns true when this get team member no content response has a 2xx status code

func (*GetTeamMemberNoContent) String added in v1.21.0

func (o *GetTeamMemberNoContent) String() string

type GetTeamMemberNotFound

type GetTeamMemberNotFound struct {
	Payload interface{}
}
GetTeamMemberNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetTeamMemberNotFound

func NewGetTeamMemberNotFound() *GetTeamMemberNotFound

NewGetTeamMemberNotFound creates a GetTeamMemberNotFound with default headers values

func (*GetTeamMemberNotFound) Code added in v1.22.0

func (o *GetTeamMemberNotFound) Code() int

Code gets the status code for the get team member not found response

func (*GetTeamMemberNotFound) Error

func (o *GetTeamMemberNotFound) Error() string

func (*GetTeamMemberNotFound) GetPayload

func (o *GetTeamMemberNotFound) GetPayload() interface{}

func (*GetTeamMemberNotFound) IsClientError added in v1.21.0

func (o *GetTeamMemberNotFound) IsClientError() bool

IsClientError returns true when this get team member not found response has a 4xx status code

func (*GetTeamMemberNotFound) IsCode added in v1.21.0

func (o *GetTeamMemberNotFound) IsCode(code int) bool

IsCode returns true when this get team member not found response a status code equal to that given

func (*GetTeamMemberNotFound) IsRedirect added in v1.21.0

func (o *GetTeamMemberNotFound) IsRedirect() bool

IsRedirect returns true when this get team member not found response has a 3xx status code

func (*GetTeamMemberNotFound) IsServerError added in v1.21.0

func (o *GetTeamMemberNotFound) IsServerError() bool

IsServerError returns true when this get team member not found response has a 5xx status code

func (*GetTeamMemberNotFound) IsSuccess added in v1.21.0

func (o *GetTeamMemberNotFound) IsSuccess() bool

IsSuccess returns true when this get team member not found response has a 2xx status code

func (*GetTeamMemberNotFound) String added in v1.21.0

func (o *GetTeamMemberNotFound) String() string

type GetTeamMemberOK

type GetTeamMemberOK struct {
	Payload *service_model.V1TeamMember
}
GetTeamMemberOK describes a response with status code 200, with default header values.

A successful response.

func NewGetTeamMemberOK

func NewGetTeamMemberOK() *GetTeamMemberOK

NewGetTeamMemberOK creates a GetTeamMemberOK with default headers values

func (*GetTeamMemberOK) Code added in v1.22.0

func (o *GetTeamMemberOK) Code() int

Code gets the status code for the get team member o k response

func (*GetTeamMemberOK) Error

func (o *GetTeamMemberOK) Error() string

func (*GetTeamMemberOK) GetPayload

func (o *GetTeamMemberOK) GetPayload() *service_model.V1TeamMember

func (*GetTeamMemberOK) IsClientError added in v1.21.0

func (o *GetTeamMemberOK) IsClientError() bool

IsClientError returns true when this get team member o k response has a 4xx status code

func (*GetTeamMemberOK) IsCode added in v1.21.0

func (o *GetTeamMemberOK) IsCode(code int) bool

IsCode returns true when this get team member o k response a status code equal to that given

func (*GetTeamMemberOK) IsRedirect added in v1.21.0

func (o *GetTeamMemberOK) IsRedirect() bool

IsRedirect returns true when this get team member o k response has a 3xx status code

func (*GetTeamMemberOK) IsServerError added in v1.21.0

func (o *GetTeamMemberOK) IsServerError() bool

IsServerError returns true when this get team member o k response has a 5xx status code

func (*GetTeamMemberOK) IsSuccess added in v1.21.0

func (o *GetTeamMemberOK) IsSuccess() bool

IsSuccess returns true when this get team member o k response has a 2xx status code

func (*GetTeamMemberOK) String added in v1.21.0

func (o *GetTeamMemberOK) String() string

type GetTeamMemberParams

type GetTeamMemberParams struct {

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Team.

	   Team under namesapce
	*/
	Team string

	/* User.

	   Member under team
	*/
	User string

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

GetTeamMemberParams contains all the parameters to send to the API endpoint

for the get team member operation.

Typically these are written to a http.Request.

func NewGetTeamMemberParams

func NewGetTeamMemberParams() *GetTeamMemberParams

NewGetTeamMemberParams creates a new GetTeamMemberParams 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 NewGetTeamMemberParamsWithContext

func NewGetTeamMemberParamsWithContext(ctx context.Context) *GetTeamMemberParams

NewGetTeamMemberParamsWithContext creates a new GetTeamMemberParams object with the ability to set a context for a request.

func NewGetTeamMemberParamsWithHTTPClient

func NewGetTeamMemberParamsWithHTTPClient(client *http.Client) *GetTeamMemberParams

NewGetTeamMemberParamsWithHTTPClient creates a new GetTeamMemberParams object with the ability to set a custom HTTPClient for a request.

func NewGetTeamMemberParamsWithTimeout

func NewGetTeamMemberParamsWithTimeout(timeout time.Duration) *GetTeamMemberParams

NewGetTeamMemberParamsWithTimeout creates a new GetTeamMemberParams object with the ability to set a timeout on a request.

func (*GetTeamMemberParams) SetContext

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

SetContext adds the context to the get team member params

func (*GetTeamMemberParams) SetDefaults

func (o *GetTeamMemberParams) SetDefaults()

SetDefaults hydrates default values in the get team member params (not the query body).

All values with no default are reset to their zero value.

func (*GetTeamMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get team member params

func (*GetTeamMemberParams) SetOwner

func (o *GetTeamMemberParams) SetOwner(owner string)

SetOwner adds the owner to the get team member params

func (*GetTeamMemberParams) SetTeam

func (o *GetTeamMemberParams) SetTeam(team string)

SetTeam adds the team to the get team member params

func (*GetTeamMemberParams) SetTimeout

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

SetTimeout adds the timeout to the get team member params

func (*GetTeamMemberParams) SetUser

func (o *GetTeamMemberParams) SetUser(user string)

SetUser adds the user to the get team member params

func (*GetTeamMemberParams) WithContext

WithContext adds the context to the get team member params

func (*GetTeamMemberParams) WithDefaults

func (o *GetTeamMemberParams) WithDefaults() *GetTeamMemberParams

WithDefaults hydrates default values in the get team member params (not the query body).

All values with no default are reset to their zero value.

func (*GetTeamMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get team member params

func (*GetTeamMemberParams) WithOwner

func (o *GetTeamMemberParams) WithOwner(owner string) *GetTeamMemberParams

WithOwner adds the owner to the get team member params

func (*GetTeamMemberParams) WithTeam

func (o *GetTeamMemberParams) WithTeam(team string) *GetTeamMemberParams

WithTeam adds the team to the get team member params

func (*GetTeamMemberParams) WithTimeout

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

WithTimeout adds the timeout to the get team member params

func (*GetTeamMemberParams) WithUser

func (o *GetTeamMemberParams) WithUser(user string) *GetTeamMemberParams

WithUser adds the user to the get team member params

func (*GetTeamMemberParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTeamMemberReader

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

GetTeamMemberReader is a Reader for the GetTeamMember structure.

func (*GetTeamMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTeamNoContent

type GetTeamNoContent struct {
	Payload interface{}
}
GetTeamNoContent describes a response with status code 204, with default header values.

No content.

func NewGetTeamNoContent

func NewGetTeamNoContent() *GetTeamNoContent

NewGetTeamNoContent creates a GetTeamNoContent with default headers values

func (*GetTeamNoContent) Code added in v1.22.0

func (o *GetTeamNoContent) Code() int

Code gets the status code for the get team no content response

func (*GetTeamNoContent) Error

func (o *GetTeamNoContent) Error() string

func (*GetTeamNoContent) GetPayload

func (o *GetTeamNoContent) GetPayload() interface{}

func (*GetTeamNoContent) IsClientError added in v1.21.0

func (o *GetTeamNoContent) IsClientError() bool

IsClientError returns true when this get team no content response has a 4xx status code

func (*GetTeamNoContent) IsCode added in v1.21.0

func (o *GetTeamNoContent) IsCode(code int) bool

IsCode returns true when this get team no content response a status code equal to that given

func (*GetTeamNoContent) IsRedirect added in v1.21.0

func (o *GetTeamNoContent) IsRedirect() bool

IsRedirect returns true when this get team no content response has a 3xx status code

func (*GetTeamNoContent) IsServerError added in v1.21.0

func (o *GetTeamNoContent) IsServerError() bool

IsServerError returns true when this get team no content response has a 5xx status code

func (*GetTeamNoContent) IsSuccess added in v1.21.0

func (o *GetTeamNoContent) IsSuccess() bool

IsSuccess returns true when this get team no content response has a 2xx status code

func (*GetTeamNoContent) String added in v1.21.0

func (o *GetTeamNoContent) String() string

type GetTeamNotFound

type GetTeamNotFound struct {
	Payload interface{}
}
GetTeamNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetTeamNotFound

func NewGetTeamNotFound() *GetTeamNotFound

NewGetTeamNotFound creates a GetTeamNotFound with default headers values

func (*GetTeamNotFound) Code added in v1.22.0

func (o *GetTeamNotFound) Code() int

Code gets the status code for the get team not found response

func (*GetTeamNotFound) Error

func (o *GetTeamNotFound) Error() string

func (*GetTeamNotFound) GetPayload

func (o *GetTeamNotFound) GetPayload() interface{}

func (*GetTeamNotFound) IsClientError added in v1.21.0

func (o *GetTeamNotFound) IsClientError() bool

IsClientError returns true when this get team not found response has a 4xx status code

func (*GetTeamNotFound) IsCode added in v1.21.0

func (o *GetTeamNotFound) IsCode(code int) bool

IsCode returns true when this get team not found response a status code equal to that given

func (*GetTeamNotFound) IsRedirect added in v1.21.0

func (o *GetTeamNotFound) IsRedirect() bool

IsRedirect returns true when this get team not found response has a 3xx status code

func (*GetTeamNotFound) IsServerError added in v1.21.0

func (o *GetTeamNotFound) IsServerError() bool

IsServerError returns true when this get team not found response has a 5xx status code

func (*GetTeamNotFound) IsSuccess added in v1.21.0

func (o *GetTeamNotFound) IsSuccess() bool

IsSuccess returns true when this get team not found response has a 2xx status code

func (*GetTeamNotFound) String added in v1.21.0

func (o *GetTeamNotFound) String() string

type GetTeamOK

type GetTeamOK struct {
	Payload *service_model.V1Team
}
GetTeamOK describes a response with status code 200, with default header values.

A successful response.

func NewGetTeamOK

func NewGetTeamOK() *GetTeamOK

NewGetTeamOK creates a GetTeamOK with default headers values

func (*GetTeamOK) Code added in v1.22.0

func (o *GetTeamOK) Code() int

Code gets the status code for the get team o k response

func (*GetTeamOK) Error

func (o *GetTeamOK) Error() string

func (*GetTeamOK) GetPayload

func (o *GetTeamOK) GetPayload() *service_model.V1Team

func (*GetTeamOK) IsClientError added in v1.21.0

func (o *GetTeamOK) IsClientError() bool

IsClientError returns true when this get team o k response has a 4xx status code

func (*GetTeamOK) IsCode added in v1.21.0

func (o *GetTeamOK) IsCode(code int) bool

IsCode returns true when this get team o k response a status code equal to that given

func (*GetTeamOK) IsRedirect added in v1.21.0

func (o *GetTeamOK) IsRedirect() bool

IsRedirect returns true when this get team o k response has a 3xx status code

func (*GetTeamOK) IsServerError added in v1.21.0

func (o *GetTeamOK) IsServerError() bool

IsServerError returns true when this get team o k response has a 5xx status code

func (*GetTeamOK) IsSuccess added in v1.21.0

func (o *GetTeamOK) IsSuccess() bool

IsSuccess returns true when this get team o k response has a 2xx status code

func (*GetTeamOK) String added in v1.21.0

func (o *GetTeamOK) String() string

type GetTeamParams

type GetTeamParams struct {

	/* Name.

	   Component under namesapce
	*/
	Name string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

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

GetTeamParams contains all the parameters to send to the API endpoint

for the get team operation.

Typically these are written to a http.Request.

func NewGetTeamParams

func NewGetTeamParams() *GetTeamParams

NewGetTeamParams creates a new GetTeamParams 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 NewGetTeamParamsWithContext

func NewGetTeamParamsWithContext(ctx context.Context) *GetTeamParams

NewGetTeamParamsWithContext creates a new GetTeamParams object with the ability to set a context for a request.

func NewGetTeamParamsWithHTTPClient

func NewGetTeamParamsWithHTTPClient(client *http.Client) *GetTeamParams

NewGetTeamParamsWithHTTPClient creates a new GetTeamParams object with the ability to set a custom HTTPClient for a request.

func NewGetTeamParamsWithTimeout

func NewGetTeamParamsWithTimeout(timeout time.Duration) *GetTeamParams

NewGetTeamParamsWithTimeout creates a new GetTeamParams object with the ability to set a timeout on a request.

func (*GetTeamParams) SetContext

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

SetContext adds the context to the get team params

func (*GetTeamParams) SetDefaults

func (o *GetTeamParams) SetDefaults()

SetDefaults hydrates default values in the get team params (not the query body).

All values with no default are reset to their zero value.

func (*GetTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get team params

func (*GetTeamParams) SetName

func (o *GetTeamParams) SetName(name string)

SetName adds the name to the get team params

func (*GetTeamParams) SetOwner

func (o *GetTeamParams) SetOwner(owner string)

SetOwner adds the owner to the get team params

func (*GetTeamParams) SetTimeout

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

SetTimeout adds the timeout to the get team params

func (*GetTeamParams) WithContext

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

WithContext adds the context to the get team params

func (*GetTeamParams) WithDefaults

func (o *GetTeamParams) WithDefaults() *GetTeamParams

WithDefaults hydrates default values in the get team params (not the query body).

All values with no default are reset to their zero value.

func (*GetTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get team params

func (*GetTeamParams) WithName

func (o *GetTeamParams) WithName(name string) *GetTeamParams

WithName adds the name to the get team params

func (*GetTeamParams) WithOwner

func (o *GetTeamParams) WithOwner(owner string) *GetTeamParams

WithOwner adds the owner to the get team params

func (*GetTeamParams) WithTimeout

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

WithTimeout adds the timeout to the get team params

func (*GetTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTeamReader

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

GetTeamReader is a Reader for the GetTeam structure.

func (*GetTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamMembersDefault

type ListTeamMembersDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListTeamMembersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListTeamMembersDefault

func NewListTeamMembersDefault(code int) *ListTeamMembersDefault

NewListTeamMembersDefault creates a ListTeamMembersDefault with default headers values

func (*ListTeamMembersDefault) Code

func (o *ListTeamMembersDefault) Code() int

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

func (*ListTeamMembersDefault) Error

func (o *ListTeamMembersDefault) Error() string

func (*ListTeamMembersDefault) GetPayload

func (*ListTeamMembersDefault) IsClientError added in v1.21.0

func (o *ListTeamMembersDefault) IsClientError() bool

IsClientError returns true when this list team members default response has a 4xx status code

func (*ListTeamMembersDefault) IsCode added in v1.21.0

func (o *ListTeamMembersDefault) IsCode(code int) bool

IsCode returns true when this list team members default response a status code equal to that given

func (*ListTeamMembersDefault) IsRedirect added in v1.21.0

func (o *ListTeamMembersDefault) IsRedirect() bool

IsRedirect returns true when this list team members default response has a 3xx status code

func (*ListTeamMembersDefault) IsServerError added in v1.21.0

func (o *ListTeamMembersDefault) IsServerError() bool

IsServerError returns true when this list team members default response has a 5xx status code

func (*ListTeamMembersDefault) IsSuccess added in v1.21.0

func (o *ListTeamMembersDefault) IsSuccess() bool

IsSuccess returns true when this list team members default response has a 2xx status code

func (*ListTeamMembersDefault) String added in v1.21.0

func (o *ListTeamMembersDefault) String() string

type ListTeamMembersForbidden

type ListTeamMembersForbidden struct {
	Payload interface{}
}
ListTeamMembersForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListTeamMembersForbidden

func NewListTeamMembersForbidden() *ListTeamMembersForbidden

NewListTeamMembersForbidden creates a ListTeamMembersForbidden with default headers values

func (*ListTeamMembersForbidden) Code added in v1.22.0

func (o *ListTeamMembersForbidden) Code() int

Code gets the status code for the list team members forbidden response

func (*ListTeamMembersForbidden) Error

func (o *ListTeamMembersForbidden) Error() string

func (*ListTeamMembersForbidden) GetPayload

func (o *ListTeamMembersForbidden) GetPayload() interface{}

func (*ListTeamMembersForbidden) IsClientError added in v1.21.0

func (o *ListTeamMembersForbidden) IsClientError() bool

IsClientError returns true when this list team members forbidden response has a 4xx status code

func (*ListTeamMembersForbidden) IsCode added in v1.21.0

func (o *ListTeamMembersForbidden) IsCode(code int) bool

IsCode returns true when this list team members forbidden response a status code equal to that given

func (*ListTeamMembersForbidden) IsRedirect added in v1.21.0

func (o *ListTeamMembersForbidden) IsRedirect() bool

IsRedirect returns true when this list team members forbidden response has a 3xx status code

func (*ListTeamMembersForbidden) IsServerError added in v1.21.0

func (o *ListTeamMembersForbidden) IsServerError() bool

IsServerError returns true when this list team members forbidden response has a 5xx status code

func (*ListTeamMembersForbidden) IsSuccess added in v1.21.0

func (o *ListTeamMembersForbidden) IsSuccess() bool

IsSuccess returns true when this list team members forbidden response has a 2xx status code

func (*ListTeamMembersForbidden) String added in v1.21.0

func (o *ListTeamMembersForbidden) String() string

type ListTeamMembersNoContent

type ListTeamMembersNoContent struct {
	Payload interface{}
}
ListTeamMembersNoContent describes a response with status code 204, with default header values.

No content.

func NewListTeamMembersNoContent

func NewListTeamMembersNoContent() *ListTeamMembersNoContent

NewListTeamMembersNoContent creates a ListTeamMembersNoContent with default headers values

func (*ListTeamMembersNoContent) Code added in v1.22.0

func (o *ListTeamMembersNoContent) Code() int

Code gets the status code for the list team members no content response

func (*ListTeamMembersNoContent) Error

func (o *ListTeamMembersNoContent) Error() string

func (*ListTeamMembersNoContent) GetPayload

func (o *ListTeamMembersNoContent) GetPayload() interface{}

func (*ListTeamMembersNoContent) IsClientError added in v1.21.0

func (o *ListTeamMembersNoContent) IsClientError() bool

IsClientError returns true when this list team members no content response has a 4xx status code

func (*ListTeamMembersNoContent) IsCode added in v1.21.0

func (o *ListTeamMembersNoContent) IsCode(code int) bool

IsCode returns true when this list team members no content response a status code equal to that given

func (*ListTeamMembersNoContent) IsRedirect added in v1.21.0

func (o *ListTeamMembersNoContent) IsRedirect() bool

IsRedirect returns true when this list team members no content response has a 3xx status code

func (*ListTeamMembersNoContent) IsServerError added in v1.21.0

func (o *ListTeamMembersNoContent) IsServerError() bool

IsServerError returns true when this list team members no content response has a 5xx status code

func (*ListTeamMembersNoContent) IsSuccess added in v1.21.0

func (o *ListTeamMembersNoContent) IsSuccess() bool

IsSuccess returns true when this list team members no content response has a 2xx status code

func (*ListTeamMembersNoContent) String added in v1.21.0

func (o *ListTeamMembersNoContent) String() string

type ListTeamMembersNotFound

type ListTeamMembersNotFound struct {
	Payload interface{}
}
ListTeamMembersNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListTeamMembersNotFound

func NewListTeamMembersNotFound() *ListTeamMembersNotFound

NewListTeamMembersNotFound creates a ListTeamMembersNotFound with default headers values

func (*ListTeamMembersNotFound) Code added in v1.22.0

func (o *ListTeamMembersNotFound) Code() int

Code gets the status code for the list team members not found response

func (*ListTeamMembersNotFound) Error

func (o *ListTeamMembersNotFound) Error() string

func (*ListTeamMembersNotFound) GetPayload

func (o *ListTeamMembersNotFound) GetPayload() interface{}

func (*ListTeamMembersNotFound) IsClientError added in v1.21.0

func (o *ListTeamMembersNotFound) IsClientError() bool

IsClientError returns true when this list team members not found response has a 4xx status code

func (*ListTeamMembersNotFound) IsCode added in v1.21.0

func (o *ListTeamMembersNotFound) IsCode(code int) bool

IsCode returns true when this list team members not found response a status code equal to that given

func (*ListTeamMembersNotFound) IsRedirect added in v1.21.0

func (o *ListTeamMembersNotFound) IsRedirect() bool

IsRedirect returns true when this list team members not found response has a 3xx status code

func (*ListTeamMembersNotFound) IsServerError added in v1.21.0

func (o *ListTeamMembersNotFound) IsServerError() bool

IsServerError returns true when this list team members not found response has a 5xx status code

func (*ListTeamMembersNotFound) IsSuccess added in v1.21.0

func (o *ListTeamMembersNotFound) IsSuccess() bool

IsSuccess returns true when this list team members not found response has a 2xx status code

func (*ListTeamMembersNotFound) String added in v1.21.0

func (o *ListTeamMembersNotFound) String() string

type ListTeamMembersOK

type ListTeamMembersOK struct {
	Payload *service_model.V1ListTeamMembersResponse
}
ListTeamMembersOK describes a response with status code 200, with default header values.

A successful response.

func NewListTeamMembersOK

func NewListTeamMembersOK() *ListTeamMembersOK

NewListTeamMembersOK creates a ListTeamMembersOK with default headers values

func (*ListTeamMembersOK) Code added in v1.22.0

func (o *ListTeamMembersOK) Code() int

Code gets the status code for the list team members o k response

func (*ListTeamMembersOK) Error

func (o *ListTeamMembersOK) Error() string

func (*ListTeamMembersOK) GetPayload

func (*ListTeamMembersOK) IsClientError added in v1.21.0

func (o *ListTeamMembersOK) IsClientError() bool

IsClientError returns true when this list team members o k response has a 4xx status code

func (*ListTeamMembersOK) IsCode added in v1.21.0

func (o *ListTeamMembersOK) IsCode(code int) bool

IsCode returns true when this list team members o k response a status code equal to that given

func (*ListTeamMembersOK) IsRedirect added in v1.21.0

func (o *ListTeamMembersOK) IsRedirect() bool

IsRedirect returns true when this list team members o k response has a 3xx status code

func (*ListTeamMembersOK) IsServerError added in v1.21.0

func (o *ListTeamMembersOK) IsServerError() bool

IsServerError returns true when this list team members o k response has a 5xx status code

func (*ListTeamMembersOK) IsSuccess added in v1.21.0

func (o *ListTeamMembersOK) IsSuccess() bool

IsSuccess returns true when this list team members o k response has a 2xx status code

func (*ListTeamMembersOK) String added in v1.21.0

func (o *ListTeamMembersOK) String() string

type ListTeamMembersParams

type ListTeamMembersParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* Name.

	   Entity managing the resource
	*/
	Name string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

ListTeamMembersParams contains all the parameters to send to the API endpoint

for the list team members operation.

Typically these are written to a http.Request.

func NewListTeamMembersParams

func NewListTeamMembersParams() *ListTeamMembersParams

NewListTeamMembersParams creates a new ListTeamMembersParams 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 NewListTeamMembersParamsWithContext

func NewListTeamMembersParamsWithContext(ctx context.Context) *ListTeamMembersParams

NewListTeamMembersParamsWithContext creates a new ListTeamMembersParams object with the ability to set a context for a request.

func NewListTeamMembersParamsWithHTTPClient

func NewListTeamMembersParamsWithHTTPClient(client *http.Client) *ListTeamMembersParams

NewListTeamMembersParamsWithHTTPClient creates a new ListTeamMembersParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamMembersParamsWithTimeout

func NewListTeamMembersParamsWithTimeout(timeout time.Duration) *ListTeamMembersParams

NewListTeamMembersParamsWithTimeout creates a new ListTeamMembersParams object with the ability to set a timeout on a request.

func (*ListTeamMembersParams) SetBookmarks

func (o *ListTeamMembersParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list team members params

func (*ListTeamMembersParams) SetContext

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

SetContext adds the context to the list team members params

func (*ListTeamMembersParams) SetDefaults

func (o *ListTeamMembersParams) SetDefaults()

SetDefaults hydrates default values in the list team members params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list team members params

func (*ListTeamMembersParams) SetLimit

func (o *ListTeamMembersParams) SetLimit(limit *int32)

SetLimit adds the limit to the list team members params

func (*ListTeamMembersParams) SetMode

func (o *ListTeamMembersParams) SetMode(mode *string)

SetMode adds the mode to the list team members params

func (*ListTeamMembersParams) SetName

func (o *ListTeamMembersParams) SetName(name string)

SetName adds the name to the list team members params

func (*ListTeamMembersParams) SetNoPage

func (o *ListTeamMembersParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list team members params

func (*ListTeamMembersParams) SetOffset

func (o *ListTeamMembersParams) SetOffset(offset *int32)

SetOffset adds the offset to the list team members params

func (*ListTeamMembersParams) SetOwner

func (o *ListTeamMembersParams) SetOwner(owner string)

SetOwner adds the owner to the list team members params

func (*ListTeamMembersParams) SetQuery

func (o *ListTeamMembersParams) SetQuery(query *string)

SetQuery adds the query to the list team members params

func (*ListTeamMembersParams) SetSort

func (o *ListTeamMembersParams) SetSort(sort *string)

SetSort adds the sort to the list team members params

func (*ListTeamMembersParams) SetTimeout

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

SetTimeout adds the timeout to the list team members params

func (*ListTeamMembersParams) WithBookmarks

func (o *ListTeamMembersParams) WithBookmarks(bookmarks *bool) *ListTeamMembersParams

WithBookmarks adds the bookmarks to the list team members params

func (*ListTeamMembersParams) WithContext

WithContext adds the context to the list team members params

func (*ListTeamMembersParams) WithDefaults

func (o *ListTeamMembersParams) WithDefaults() *ListTeamMembersParams

WithDefaults hydrates default values in the list team members params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list team members params

func (*ListTeamMembersParams) WithLimit

func (o *ListTeamMembersParams) WithLimit(limit *int32) *ListTeamMembersParams

WithLimit adds the limit to the list team members params

func (*ListTeamMembersParams) WithMode

WithMode adds the mode to the list team members params

func (*ListTeamMembersParams) WithName

WithName adds the name to the list team members params

func (*ListTeamMembersParams) WithNoPage

func (o *ListTeamMembersParams) WithNoPage(noPage *bool) *ListTeamMembersParams

WithNoPage adds the noPage to the list team members params

func (*ListTeamMembersParams) WithOffset

func (o *ListTeamMembersParams) WithOffset(offset *int32) *ListTeamMembersParams

WithOffset adds the offset to the list team members params

func (*ListTeamMembersParams) WithOwner

func (o *ListTeamMembersParams) WithOwner(owner string) *ListTeamMembersParams

WithOwner adds the owner to the list team members params

func (*ListTeamMembersParams) WithQuery

func (o *ListTeamMembersParams) WithQuery(query *string) *ListTeamMembersParams

WithQuery adds the query to the list team members params

func (*ListTeamMembersParams) WithSort

WithSort adds the sort to the list team members params

func (*ListTeamMembersParams) WithTimeout

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

WithTimeout adds the timeout to the list team members params

func (*ListTeamMembersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamMembersReader

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

ListTeamMembersReader is a Reader for the ListTeamMembers structure.

func (*ListTeamMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamNamesDefault

type ListTeamNamesDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListTeamNamesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListTeamNamesDefault

func NewListTeamNamesDefault(code int) *ListTeamNamesDefault

NewListTeamNamesDefault creates a ListTeamNamesDefault with default headers values

func (*ListTeamNamesDefault) Code

func (o *ListTeamNamesDefault) Code() int

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

func (*ListTeamNamesDefault) Error

func (o *ListTeamNamesDefault) Error() string

func (*ListTeamNamesDefault) GetPayload

func (*ListTeamNamesDefault) IsClientError added in v1.21.0

func (o *ListTeamNamesDefault) IsClientError() bool

IsClientError returns true when this list team names default response has a 4xx status code

func (*ListTeamNamesDefault) IsCode added in v1.21.0

func (o *ListTeamNamesDefault) IsCode(code int) bool

IsCode returns true when this list team names default response a status code equal to that given

func (*ListTeamNamesDefault) IsRedirect added in v1.21.0

func (o *ListTeamNamesDefault) IsRedirect() bool

IsRedirect returns true when this list team names default response has a 3xx status code

func (*ListTeamNamesDefault) IsServerError added in v1.21.0

func (o *ListTeamNamesDefault) IsServerError() bool

IsServerError returns true when this list team names default response has a 5xx status code

func (*ListTeamNamesDefault) IsSuccess added in v1.21.0

func (o *ListTeamNamesDefault) IsSuccess() bool

IsSuccess returns true when this list team names default response has a 2xx status code

func (*ListTeamNamesDefault) String added in v1.21.0

func (o *ListTeamNamesDefault) String() string

type ListTeamNamesForbidden

type ListTeamNamesForbidden struct {
	Payload interface{}
}
ListTeamNamesForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListTeamNamesForbidden

func NewListTeamNamesForbidden() *ListTeamNamesForbidden

NewListTeamNamesForbidden creates a ListTeamNamesForbidden with default headers values

func (*ListTeamNamesForbidden) Code added in v1.22.0

func (o *ListTeamNamesForbidden) Code() int

Code gets the status code for the list team names forbidden response

func (*ListTeamNamesForbidden) Error

func (o *ListTeamNamesForbidden) Error() string

func (*ListTeamNamesForbidden) GetPayload

func (o *ListTeamNamesForbidden) GetPayload() interface{}

func (*ListTeamNamesForbidden) IsClientError added in v1.21.0

func (o *ListTeamNamesForbidden) IsClientError() bool

IsClientError returns true when this list team names forbidden response has a 4xx status code

func (*ListTeamNamesForbidden) IsCode added in v1.21.0

func (o *ListTeamNamesForbidden) IsCode(code int) bool

IsCode returns true when this list team names forbidden response a status code equal to that given

func (*ListTeamNamesForbidden) IsRedirect added in v1.21.0

func (o *ListTeamNamesForbidden) IsRedirect() bool

IsRedirect returns true when this list team names forbidden response has a 3xx status code

func (*ListTeamNamesForbidden) IsServerError added in v1.21.0

func (o *ListTeamNamesForbidden) IsServerError() bool

IsServerError returns true when this list team names forbidden response has a 5xx status code

func (*ListTeamNamesForbidden) IsSuccess added in v1.21.0

func (o *ListTeamNamesForbidden) IsSuccess() bool

IsSuccess returns true when this list team names forbidden response has a 2xx status code

func (*ListTeamNamesForbidden) String added in v1.21.0

func (o *ListTeamNamesForbidden) String() string

type ListTeamNamesNoContent

type ListTeamNamesNoContent struct {
	Payload interface{}
}
ListTeamNamesNoContent describes a response with status code 204, with default header values.

No content.

func NewListTeamNamesNoContent

func NewListTeamNamesNoContent() *ListTeamNamesNoContent

NewListTeamNamesNoContent creates a ListTeamNamesNoContent with default headers values

func (*ListTeamNamesNoContent) Code added in v1.22.0

func (o *ListTeamNamesNoContent) Code() int

Code gets the status code for the list team names no content response

func (*ListTeamNamesNoContent) Error

func (o *ListTeamNamesNoContent) Error() string

func (*ListTeamNamesNoContent) GetPayload

func (o *ListTeamNamesNoContent) GetPayload() interface{}

func (*ListTeamNamesNoContent) IsClientError added in v1.21.0

func (o *ListTeamNamesNoContent) IsClientError() bool

IsClientError returns true when this list team names no content response has a 4xx status code

func (*ListTeamNamesNoContent) IsCode added in v1.21.0

func (o *ListTeamNamesNoContent) IsCode(code int) bool

IsCode returns true when this list team names no content response a status code equal to that given

func (*ListTeamNamesNoContent) IsRedirect added in v1.21.0

func (o *ListTeamNamesNoContent) IsRedirect() bool

IsRedirect returns true when this list team names no content response has a 3xx status code

func (*ListTeamNamesNoContent) IsServerError added in v1.21.0

func (o *ListTeamNamesNoContent) IsServerError() bool

IsServerError returns true when this list team names no content response has a 5xx status code

func (*ListTeamNamesNoContent) IsSuccess added in v1.21.0

func (o *ListTeamNamesNoContent) IsSuccess() bool

IsSuccess returns true when this list team names no content response has a 2xx status code

func (*ListTeamNamesNoContent) String added in v1.21.0

func (o *ListTeamNamesNoContent) String() string

type ListTeamNamesNotFound

type ListTeamNamesNotFound struct {
	Payload interface{}
}
ListTeamNamesNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListTeamNamesNotFound

func NewListTeamNamesNotFound() *ListTeamNamesNotFound

NewListTeamNamesNotFound creates a ListTeamNamesNotFound with default headers values

func (*ListTeamNamesNotFound) Code added in v1.22.0

func (o *ListTeamNamesNotFound) Code() int

Code gets the status code for the list team names not found response

func (*ListTeamNamesNotFound) Error

func (o *ListTeamNamesNotFound) Error() string

func (*ListTeamNamesNotFound) GetPayload

func (o *ListTeamNamesNotFound) GetPayload() interface{}

func (*ListTeamNamesNotFound) IsClientError added in v1.21.0

func (o *ListTeamNamesNotFound) IsClientError() bool

IsClientError returns true when this list team names not found response has a 4xx status code

func (*ListTeamNamesNotFound) IsCode added in v1.21.0

func (o *ListTeamNamesNotFound) IsCode(code int) bool

IsCode returns true when this list team names not found response a status code equal to that given

func (*ListTeamNamesNotFound) IsRedirect added in v1.21.0

func (o *ListTeamNamesNotFound) IsRedirect() bool

IsRedirect returns true when this list team names not found response has a 3xx status code

func (*ListTeamNamesNotFound) IsServerError added in v1.21.0

func (o *ListTeamNamesNotFound) IsServerError() bool

IsServerError returns true when this list team names not found response has a 5xx status code

func (*ListTeamNamesNotFound) IsSuccess added in v1.21.0

func (o *ListTeamNamesNotFound) IsSuccess() bool

IsSuccess returns true when this list team names not found response has a 2xx status code

func (*ListTeamNamesNotFound) String added in v1.21.0

func (o *ListTeamNamesNotFound) String() string

type ListTeamNamesOK

type ListTeamNamesOK struct {
	Payload *service_model.V1ListTeamsResponse
}
ListTeamNamesOK describes a response with status code 200, with default header values.

A successful response.

func NewListTeamNamesOK

func NewListTeamNamesOK() *ListTeamNamesOK

NewListTeamNamesOK creates a ListTeamNamesOK with default headers values

func (*ListTeamNamesOK) Code added in v1.22.0

func (o *ListTeamNamesOK) Code() int

Code gets the status code for the list team names o k response

func (*ListTeamNamesOK) Error

func (o *ListTeamNamesOK) Error() string

func (*ListTeamNamesOK) GetPayload

func (*ListTeamNamesOK) IsClientError added in v1.21.0

func (o *ListTeamNamesOK) IsClientError() bool

IsClientError returns true when this list team names o k response has a 4xx status code

func (*ListTeamNamesOK) IsCode added in v1.21.0

func (o *ListTeamNamesOK) IsCode(code int) bool

IsCode returns true when this list team names o k response a status code equal to that given

func (*ListTeamNamesOK) IsRedirect added in v1.21.0

func (o *ListTeamNamesOK) IsRedirect() bool

IsRedirect returns true when this list team names o k response has a 3xx status code

func (*ListTeamNamesOK) IsServerError added in v1.21.0

func (o *ListTeamNamesOK) IsServerError() bool

IsServerError returns true when this list team names o k response has a 5xx status code

func (*ListTeamNamesOK) IsSuccess added in v1.21.0

func (o *ListTeamNamesOK) IsSuccess() bool

IsSuccess returns true when this list team names o k response has a 2xx status code

func (*ListTeamNamesOK) String added in v1.21.0

func (o *ListTeamNamesOK) String() string

type ListTeamNamesParams

type ListTeamNamesParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

ListTeamNamesParams contains all the parameters to send to the API endpoint

for the list team names operation.

Typically these are written to a http.Request.

func NewListTeamNamesParams

func NewListTeamNamesParams() *ListTeamNamesParams

NewListTeamNamesParams creates a new ListTeamNamesParams 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 NewListTeamNamesParamsWithContext

func NewListTeamNamesParamsWithContext(ctx context.Context) *ListTeamNamesParams

NewListTeamNamesParamsWithContext creates a new ListTeamNamesParams object with the ability to set a context for a request.

func NewListTeamNamesParamsWithHTTPClient

func NewListTeamNamesParamsWithHTTPClient(client *http.Client) *ListTeamNamesParams

NewListTeamNamesParamsWithHTTPClient creates a new ListTeamNamesParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamNamesParamsWithTimeout

func NewListTeamNamesParamsWithTimeout(timeout time.Duration) *ListTeamNamesParams

NewListTeamNamesParamsWithTimeout creates a new ListTeamNamesParams object with the ability to set a timeout on a request.

func (*ListTeamNamesParams) SetBookmarks

func (o *ListTeamNamesParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list team names params

func (*ListTeamNamesParams) SetContext

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

SetContext adds the context to the list team names params

func (*ListTeamNamesParams) SetDefaults

func (o *ListTeamNamesParams) SetDefaults()

SetDefaults hydrates default values in the list team names params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamNamesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list team names params

func (*ListTeamNamesParams) SetLimit

func (o *ListTeamNamesParams) SetLimit(limit *int32)

SetLimit adds the limit to the list team names params

func (*ListTeamNamesParams) SetMode

func (o *ListTeamNamesParams) SetMode(mode *string)

SetMode adds the mode to the list team names params

func (*ListTeamNamesParams) SetNoPage

func (o *ListTeamNamesParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list team names params

func (*ListTeamNamesParams) SetOffset

func (o *ListTeamNamesParams) SetOffset(offset *int32)

SetOffset adds the offset to the list team names params

func (*ListTeamNamesParams) SetOwner

func (o *ListTeamNamesParams) SetOwner(owner string)

SetOwner adds the owner to the list team names params

func (*ListTeamNamesParams) SetQuery

func (o *ListTeamNamesParams) SetQuery(query *string)

SetQuery adds the query to the list team names params

func (*ListTeamNamesParams) SetSort

func (o *ListTeamNamesParams) SetSort(sort *string)

SetSort adds the sort to the list team names params

func (*ListTeamNamesParams) SetTimeout

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

SetTimeout adds the timeout to the list team names params

func (*ListTeamNamesParams) WithBookmarks

func (o *ListTeamNamesParams) WithBookmarks(bookmarks *bool) *ListTeamNamesParams

WithBookmarks adds the bookmarks to the list team names params

func (*ListTeamNamesParams) WithContext

WithContext adds the context to the list team names params

func (*ListTeamNamesParams) WithDefaults

func (o *ListTeamNamesParams) WithDefaults() *ListTeamNamesParams

WithDefaults hydrates default values in the list team names params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamNamesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list team names params

func (*ListTeamNamesParams) WithLimit

func (o *ListTeamNamesParams) WithLimit(limit *int32) *ListTeamNamesParams

WithLimit adds the limit to the list team names params

func (*ListTeamNamesParams) WithMode

func (o *ListTeamNamesParams) WithMode(mode *string) *ListTeamNamesParams

WithMode adds the mode to the list team names params

func (*ListTeamNamesParams) WithNoPage

func (o *ListTeamNamesParams) WithNoPage(noPage *bool) *ListTeamNamesParams

WithNoPage adds the noPage to the list team names params

func (*ListTeamNamesParams) WithOffset

func (o *ListTeamNamesParams) WithOffset(offset *int32) *ListTeamNamesParams

WithOffset adds the offset to the list team names params

func (*ListTeamNamesParams) WithOwner

func (o *ListTeamNamesParams) WithOwner(owner string) *ListTeamNamesParams

WithOwner adds the owner to the list team names params

func (*ListTeamNamesParams) WithQuery

func (o *ListTeamNamesParams) WithQuery(query *string) *ListTeamNamesParams

WithQuery adds the query to the list team names params

func (*ListTeamNamesParams) WithSort

func (o *ListTeamNamesParams) WithSort(sort *string) *ListTeamNamesParams

WithSort adds the sort to the list team names params

func (*ListTeamNamesParams) WithTimeout

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

WithTimeout adds the timeout to the list team names params

func (*ListTeamNamesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamNamesReader

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

ListTeamNamesReader is a Reader for the ListTeamNames structure.

func (*ListTeamNamesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamsDefault

type ListTeamsDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListTeamsDefault describes a response with status code -1, with default header values.

An unexpected error response.

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

func (*ListTeamsDefault) GetPayload

func (o *ListTeamsDefault) GetPayload() *service_model.RuntimeError

func (*ListTeamsDefault) IsClientError added in v1.21.0

func (o *ListTeamsDefault) IsClientError() bool

IsClientError returns true when this list teams default response has a 4xx status code

func (*ListTeamsDefault) IsCode added in v1.21.0

func (o *ListTeamsDefault) IsCode(code int) bool

IsCode returns true when this list teams default response a status code equal to that given

func (*ListTeamsDefault) IsRedirect added in v1.21.0

func (o *ListTeamsDefault) IsRedirect() bool

IsRedirect returns true when this list teams default response has a 3xx status code

func (*ListTeamsDefault) IsServerError added in v1.21.0

func (o *ListTeamsDefault) IsServerError() bool

IsServerError returns true when this list teams default response has a 5xx status code

func (*ListTeamsDefault) IsSuccess added in v1.21.0

func (o *ListTeamsDefault) IsSuccess() bool

IsSuccess returns true when this list teams default response has a 2xx status code

func (*ListTeamsDefault) String added in v1.21.0

func (o *ListTeamsDefault) String() string

type ListTeamsForbidden

type ListTeamsForbidden struct {
	Payload interface{}
}
ListTeamsForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListTeamsForbidden

func NewListTeamsForbidden() *ListTeamsForbidden

NewListTeamsForbidden creates a ListTeamsForbidden with default headers values

func (*ListTeamsForbidden) Code added in v1.22.0

func (o *ListTeamsForbidden) Code() int

Code gets the status code for the list teams forbidden response

func (*ListTeamsForbidden) Error

func (o *ListTeamsForbidden) Error() string

func (*ListTeamsForbidden) GetPayload

func (o *ListTeamsForbidden) GetPayload() interface{}

func (*ListTeamsForbidden) IsClientError added in v1.21.0

func (o *ListTeamsForbidden) IsClientError() bool

IsClientError returns true when this list teams forbidden response has a 4xx status code

func (*ListTeamsForbidden) IsCode added in v1.21.0

func (o *ListTeamsForbidden) IsCode(code int) bool

IsCode returns true when this list teams forbidden response a status code equal to that given

func (*ListTeamsForbidden) IsRedirect added in v1.21.0

func (o *ListTeamsForbidden) IsRedirect() bool

IsRedirect returns true when this list teams forbidden response has a 3xx status code

func (*ListTeamsForbidden) IsServerError added in v1.21.0

func (o *ListTeamsForbidden) IsServerError() bool

IsServerError returns true when this list teams forbidden response has a 5xx status code

func (*ListTeamsForbidden) IsSuccess added in v1.21.0

func (o *ListTeamsForbidden) IsSuccess() bool

IsSuccess returns true when this list teams forbidden response has a 2xx status code

func (*ListTeamsForbidden) String added in v1.21.0

func (o *ListTeamsForbidden) String() string

type ListTeamsNoContent

type ListTeamsNoContent struct {
	Payload interface{}
}
ListTeamsNoContent describes a response with status code 204, with default header values.

No content.

func NewListTeamsNoContent

func NewListTeamsNoContent() *ListTeamsNoContent

NewListTeamsNoContent creates a ListTeamsNoContent with default headers values

func (*ListTeamsNoContent) Code added in v1.22.0

func (o *ListTeamsNoContent) Code() int

Code gets the status code for the list teams no content response

func (*ListTeamsNoContent) Error

func (o *ListTeamsNoContent) Error() string

func (*ListTeamsNoContent) GetPayload

func (o *ListTeamsNoContent) GetPayload() interface{}

func (*ListTeamsNoContent) IsClientError added in v1.21.0

func (o *ListTeamsNoContent) IsClientError() bool

IsClientError returns true when this list teams no content response has a 4xx status code

func (*ListTeamsNoContent) IsCode added in v1.21.0

func (o *ListTeamsNoContent) IsCode(code int) bool

IsCode returns true when this list teams no content response a status code equal to that given

func (*ListTeamsNoContent) IsRedirect added in v1.21.0

func (o *ListTeamsNoContent) IsRedirect() bool

IsRedirect returns true when this list teams no content response has a 3xx status code

func (*ListTeamsNoContent) IsServerError added in v1.21.0

func (o *ListTeamsNoContent) IsServerError() bool

IsServerError returns true when this list teams no content response has a 5xx status code

func (*ListTeamsNoContent) IsSuccess added in v1.21.0

func (o *ListTeamsNoContent) IsSuccess() bool

IsSuccess returns true when this list teams no content response has a 2xx status code

func (*ListTeamsNoContent) String added in v1.21.0

func (o *ListTeamsNoContent) String() string

type ListTeamsNotFound

type ListTeamsNotFound struct {
	Payload interface{}
}
ListTeamsNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListTeamsNotFound

func NewListTeamsNotFound() *ListTeamsNotFound

NewListTeamsNotFound creates a ListTeamsNotFound with default headers values

func (*ListTeamsNotFound) Code added in v1.22.0

func (o *ListTeamsNotFound) Code() int

Code gets the status code for the list teams not found response

func (*ListTeamsNotFound) Error

func (o *ListTeamsNotFound) Error() string

func (*ListTeamsNotFound) GetPayload

func (o *ListTeamsNotFound) GetPayload() interface{}

func (*ListTeamsNotFound) IsClientError added in v1.21.0

func (o *ListTeamsNotFound) IsClientError() bool

IsClientError returns true when this list teams not found response has a 4xx status code

func (*ListTeamsNotFound) IsCode added in v1.21.0

func (o *ListTeamsNotFound) IsCode(code int) bool

IsCode returns true when this list teams not found response a status code equal to that given

func (*ListTeamsNotFound) IsRedirect added in v1.21.0

func (o *ListTeamsNotFound) IsRedirect() bool

IsRedirect returns true when this list teams not found response has a 3xx status code

func (*ListTeamsNotFound) IsServerError added in v1.21.0

func (o *ListTeamsNotFound) IsServerError() bool

IsServerError returns true when this list teams not found response has a 5xx status code

func (*ListTeamsNotFound) IsSuccess added in v1.21.0

func (o *ListTeamsNotFound) IsSuccess() bool

IsSuccess returns true when this list teams not found response has a 2xx status code

func (*ListTeamsNotFound) String added in v1.21.0

func (o *ListTeamsNotFound) String() string

type ListTeamsOK

type ListTeamsOK struct {
	Payload *service_model.V1ListTeamsResponse
}
ListTeamsOK describes a response with status code 200, with default header values.

A successful response.

func NewListTeamsOK

func NewListTeamsOK() *ListTeamsOK

NewListTeamsOK creates a ListTeamsOK with default headers values

func (*ListTeamsOK) Code added in v1.22.0

func (o *ListTeamsOK) Code() int

Code gets the status code for the list teams o k response

func (*ListTeamsOK) Error

func (o *ListTeamsOK) Error() string

func (*ListTeamsOK) GetPayload

func (*ListTeamsOK) IsClientError added in v1.21.0

func (o *ListTeamsOK) IsClientError() bool

IsClientError returns true when this list teams o k response has a 4xx status code

func (*ListTeamsOK) IsCode added in v1.21.0

func (o *ListTeamsOK) IsCode(code int) bool

IsCode returns true when this list teams o k response a status code equal to that given

func (*ListTeamsOK) IsRedirect added in v1.21.0

func (o *ListTeamsOK) IsRedirect() bool

IsRedirect returns true when this list teams o k response has a 3xx status code

func (*ListTeamsOK) IsServerError added in v1.21.0

func (o *ListTeamsOK) IsServerError() bool

IsServerError returns true when this list teams o k response has a 5xx status code

func (*ListTeamsOK) IsSuccess added in v1.21.0

func (o *ListTeamsOK) IsSuccess() bool

IsSuccess returns true when this list teams o k response has a 2xx status code

func (*ListTeamsOK) String added in v1.21.0

func (o *ListTeamsOK) String() string

type ListTeamsParams

type ListTeamsParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

	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 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 NewListTeamsParamsWithContext

func NewListTeamsParamsWithContext(ctx context.Context) *ListTeamsParams

NewListTeamsParamsWithContext creates a new ListTeamsParams object with 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 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 ability to set a timeout on a request.

func (*ListTeamsParams) SetBookmarks

func (o *ListTeamsParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list teams params

func (*ListTeamsParams) SetContext

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

SetContext adds the context to the list teams params

func (*ListTeamsParams) SetDefaults

func (o *ListTeamsParams) SetDefaults()

SetDefaults hydrates default values in the list teams params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) SetLimit

func (o *ListTeamsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list teams params

func (*ListTeamsParams) SetMode

func (o *ListTeamsParams) SetMode(mode *string)

SetMode adds the mode to the list teams params

func (*ListTeamsParams) SetNoPage

func (o *ListTeamsParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list teams params

func (*ListTeamsParams) SetOffset

func (o *ListTeamsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list teams params

func (*ListTeamsParams) SetOwner

func (o *ListTeamsParams) SetOwner(owner string)

SetOwner adds the owner to the list teams params

func (*ListTeamsParams) SetQuery

func (o *ListTeamsParams) SetQuery(query *string)

SetQuery adds the query to the list teams params

func (*ListTeamsParams) SetSort

func (o *ListTeamsParams) SetSort(sort *string)

SetSort adds the sort 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) WithBookmarks

func (o *ListTeamsParams) WithBookmarks(bookmarks *bool) *ListTeamsParams

WithBookmarks adds the bookmarks 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) WithDefaults

func (o *ListTeamsParams) WithDefaults() *ListTeamsParams

WithDefaults hydrates default values in the list teams params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) WithLimit

func (o *ListTeamsParams) WithLimit(limit *int32) *ListTeamsParams

WithLimit adds the limit to the list teams params

func (*ListTeamsParams) WithMode

func (o *ListTeamsParams) WithMode(mode *string) *ListTeamsParams

WithMode adds the mode to the list teams params

func (*ListTeamsParams) WithNoPage

func (o *ListTeamsParams) WithNoPage(noPage *bool) *ListTeamsParams

WithNoPage adds the noPage to the list teams params

func (*ListTeamsParams) WithOffset

func (o *ListTeamsParams) WithOffset(offset *int32) *ListTeamsParams

WithOffset adds the offset to the list teams params

func (*ListTeamsParams) WithOwner

func (o *ListTeamsParams) WithOwner(owner string) *ListTeamsParams

WithOwner adds the owner to the list teams params

func (*ListTeamsParams) WithQuery

func (o *ListTeamsParams) WithQuery(query *string) *ListTeamsParams

WithQuery adds the query to the list teams params

func (*ListTeamsParams) WithSort

func (o *ListTeamsParams) WithSort(sort *string) *ListTeamsParams

WithSort adds the sort 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 PatchTeamDefault

type PatchTeamDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PatchTeamDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchTeamDefault

func NewPatchTeamDefault(code int) *PatchTeamDefault

NewPatchTeamDefault creates a PatchTeamDefault with default headers values

func (*PatchTeamDefault) Code

func (o *PatchTeamDefault) Code() int

Code gets the status code for the patch team default response

func (*PatchTeamDefault) Error

func (o *PatchTeamDefault) Error() string

func (*PatchTeamDefault) GetPayload

func (o *PatchTeamDefault) GetPayload() *service_model.RuntimeError

func (*PatchTeamDefault) IsClientError added in v1.21.0

func (o *PatchTeamDefault) IsClientError() bool

IsClientError returns true when this patch team default response has a 4xx status code

func (*PatchTeamDefault) IsCode added in v1.21.0

func (o *PatchTeamDefault) IsCode(code int) bool

IsCode returns true when this patch team default response a status code equal to that given

func (*PatchTeamDefault) IsRedirect added in v1.21.0

func (o *PatchTeamDefault) IsRedirect() bool

IsRedirect returns true when this patch team default response has a 3xx status code

func (*PatchTeamDefault) IsServerError added in v1.21.0

func (o *PatchTeamDefault) IsServerError() bool

IsServerError returns true when this patch team default response has a 5xx status code

func (*PatchTeamDefault) IsSuccess added in v1.21.0

func (o *PatchTeamDefault) IsSuccess() bool

IsSuccess returns true when this patch team default response has a 2xx status code

func (*PatchTeamDefault) String added in v1.21.0

func (o *PatchTeamDefault) String() string

type PatchTeamForbidden

type PatchTeamForbidden struct {
	Payload interface{}
}
PatchTeamForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPatchTeamForbidden

func NewPatchTeamForbidden() *PatchTeamForbidden

NewPatchTeamForbidden creates a PatchTeamForbidden with default headers values

func (*PatchTeamForbidden) Code added in v1.22.0

func (o *PatchTeamForbidden) Code() int

Code gets the status code for the patch team forbidden response

func (*PatchTeamForbidden) Error

func (o *PatchTeamForbidden) Error() string

func (*PatchTeamForbidden) GetPayload

func (o *PatchTeamForbidden) GetPayload() interface{}

func (*PatchTeamForbidden) IsClientError added in v1.21.0

func (o *PatchTeamForbidden) IsClientError() bool

IsClientError returns true when this patch team forbidden response has a 4xx status code

func (*PatchTeamForbidden) IsCode added in v1.21.0

func (o *PatchTeamForbidden) IsCode(code int) bool

IsCode returns true when this patch team forbidden response a status code equal to that given

func (*PatchTeamForbidden) IsRedirect added in v1.21.0

func (o *PatchTeamForbidden) IsRedirect() bool

IsRedirect returns true when this patch team forbidden response has a 3xx status code

func (*PatchTeamForbidden) IsServerError added in v1.21.0

func (o *PatchTeamForbidden) IsServerError() bool

IsServerError returns true when this patch team forbidden response has a 5xx status code

func (*PatchTeamForbidden) IsSuccess added in v1.21.0

func (o *PatchTeamForbidden) IsSuccess() bool

IsSuccess returns true when this patch team forbidden response has a 2xx status code

func (*PatchTeamForbidden) String added in v1.21.0

func (o *PatchTeamForbidden) String() string

type PatchTeamMemberDefault

type PatchTeamMemberDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PatchTeamMemberDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchTeamMemberDefault

func NewPatchTeamMemberDefault(code int) *PatchTeamMemberDefault

NewPatchTeamMemberDefault creates a PatchTeamMemberDefault with default headers values

func (*PatchTeamMemberDefault) Code

func (o *PatchTeamMemberDefault) Code() int

Code gets the status code for the patch team member default response

func (*PatchTeamMemberDefault) Error

func (o *PatchTeamMemberDefault) Error() string

func (*PatchTeamMemberDefault) GetPayload

func (*PatchTeamMemberDefault) IsClientError added in v1.21.0

func (o *PatchTeamMemberDefault) IsClientError() bool

IsClientError returns true when this patch team member default response has a 4xx status code

func (*PatchTeamMemberDefault) IsCode added in v1.21.0

func (o *PatchTeamMemberDefault) IsCode(code int) bool

IsCode returns true when this patch team member default response a status code equal to that given

func (*PatchTeamMemberDefault) IsRedirect added in v1.21.0

func (o *PatchTeamMemberDefault) IsRedirect() bool

IsRedirect returns true when this patch team member default response has a 3xx status code

func (*PatchTeamMemberDefault) IsServerError added in v1.21.0

func (o *PatchTeamMemberDefault) IsServerError() bool

IsServerError returns true when this patch team member default response has a 5xx status code

func (*PatchTeamMemberDefault) IsSuccess added in v1.21.0

func (o *PatchTeamMemberDefault) IsSuccess() bool

IsSuccess returns true when this patch team member default response has a 2xx status code

func (*PatchTeamMemberDefault) String added in v1.21.0

func (o *PatchTeamMemberDefault) String() string

type PatchTeamMemberForbidden

type PatchTeamMemberForbidden struct {
	Payload interface{}
}
PatchTeamMemberForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPatchTeamMemberForbidden

func NewPatchTeamMemberForbidden() *PatchTeamMemberForbidden

NewPatchTeamMemberForbidden creates a PatchTeamMemberForbidden with default headers values

func (*PatchTeamMemberForbidden) Code added in v1.22.0

func (o *PatchTeamMemberForbidden) Code() int

Code gets the status code for the patch team member forbidden response

func (*PatchTeamMemberForbidden) Error

func (o *PatchTeamMemberForbidden) Error() string

func (*PatchTeamMemberForbidden) GetPayload

func (o *PatchTeamMemberForbidden) GetPayload() interface{}

func (*PatchTeamMemberForbidden) IsClientError added in v1.21.0

func (o *PatchTeamMemberForbidden) IsClientError() bool

IsClientError returns true when this patch team member forbidden response has a 4xx status code

func (*PatchTeamMemberForbidden) IsCode added in v1.21.0

func (o *PatchTeamMemberForbidden) IsCode(code int) bool

IsCode returns true when this patch team member forbidden response a status code equal to that given

func (*PatchTeamMemberForbidden) IsRedirect added in v1.21.0

func (o *PatchTeamMemberForbidden) IsRedirect() bool

IsRedirect returns true when this patch team member forbidden response has a 3xx status code

func (*PatchTeamMemberForbidden) IsServerError added in v1.21.0

func (o *PatchTeamMemberForbidden) IsServerError() bool

IsServerError returns true when this patch team member forbidden response has a 5xx status code

func (*PatchTeamMemberForbidden) IsSuccess added in v1.21.0

func (o *PatchTeamMemberForbidden) IsSuccess() bool

IsSuccess returns true when this patch team member forbidden response has a 2xx status code

func (*PatchTeamMemberForbidden) String added in v1.21.0

func (o *PatchTeamMemberForbidden) String() string

type PatchTeamMemberNoContent

type PatchTeamMemberNoContent struct {
	Payload interface{}
}
PatchTeamMemberNoContent describes a response with status code 204, with default header values.

No content.

func NewPatchTeamMemberNoContent

func NewPatchTeamMemberNoContent() *PatchTeamMemberNoContent

NewPatchTeamMemberNoContent creates a PatchTeamMemberNoContent with default headers values

func (*PatchTeamMemberNoContent) Code added in v1.22.0

func (o *PatchTeamMemberNoContent) Code() int

Code gets the status code for the patch team member no content response

func (*PatchTeamMemberNoContent) Error

func (o *PatchTeamMemberNoContent) Error() string

func (*PatchTeamMemberNoContent) GetPayload

func (o *PatchTeamMemberNoContent) GetPayload() interface{}

func (*PatchTeamMemberNoContent) IsClientError added in v1.21.0

func (o *PatchTeamMemberNoContent) IsClientError() bool

IsClientError returns true when this patch team member no content response has a 4xx status code

func (*PatchTeamMemberNoContent) IsCode added in v1.21.0

func (o *PatchTeamMemberNoContent) IsCode(code int) bool

IsCode returns true when this patch team member no content response a status code equal to that given

func (*PatchTeamMemberNoContent) IsRedirect added in v1.21.0

func (o *PatchTeamMemberNoContent) IsRedirect() bool

IsRedirect returns true when this patch team member no content response has a 3xx status code

func (*PatchTeamMemberNoContent) IsServerError added in v1.21.0

func (o *PatchTeamMemberNoContent) IsServerError() bool

IsServerError returns true when this patch team member no content response has a 5xx status code

func (*PatchTeamMemberNoContent) IsSuccess added in v1.21.0

func (o *PatchTeamMemberNoContent) IsSuccess() bool

IsSuccess returns true when this patch team member no content response has a 2xx status code

func (*PatchTeamMemberNoContent) String added in v1.21.0

func (o *PatchTeamMemberNoContent) String() string

type PatchTeamMemberNotFound

type PatchTeamMemberNotFound struct {
	Payload interface{}
}
PatchTeamMemberNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPatchTeamMemberNotFound

func NewPatchTeamMemberNotFound() *PatchTeamMemberNotFound

NewPatchTeamMemberNotFound creates a PatchTeamMemberNotFound with default headers values

func (*PatchTeamMemberNotFound) Code added in v1.22.0

func (o *PatchTeamMemberNotFound) Code() int

Code gets the status code for the patch team member not found response

func (*PatchTeamMemberNotFound) Error

func (o *PatchTeamMemberNotFound) Error() string

func (*PatchTeamMemberNotFound) GetPayload

func (o *PatchTeamMemberNotFound) GetPayload() interface{}

func (*PatchTeamMemberNotFound) IsClientError added in v1.21.0

func (o *PatchTeamMemberNotFound) IsClientError() bool

IsClientError returns true when this patch team member not found response has a 4xx status code

func (*PatchTeamMemberNotFound) IsCode added in v1.21.0

func (o *PatchTeamMemberNotFound) IsCode(code int) bool

IsCode returns true when this patch team member not found response a status code equal to that given

func (*PatchTeamMemberNotFound) IsRedirect added in v1.21.0

func (o *PatchTeamMemberNotFound) IsRedirect() bool

IsRedirect returns true when this patch team member not found response has a 3xx status code

func (*PatchTeamMemberNotFound) IsServerError added in v1.21.0

func (o *PatchTeamMemberNotFound) IsServerError() bool

IsServerError returns true when this patch team member not found response has a 5xx status code

func (*PatchTeamMemberNotFound) IsSuccess added in v1.21.0

func (o *PatchTeamMemberNotFound) IsSuccess() bool

IsSuccess returns true when this patch team member not found response has a 2xx status code

func (*PatchTeamMemberNotFound) String added in v1.21.0

func (o *PatchTeamMemberNotFound) String() string

type PatchTeamMemberOK

type PatchTeamMemberOK struct {
	Payload *service_model.V1TeamMember
}
PatchTeamMemberOK describes a response with status code 200, with default header values.

A successful response.

func NewPatchTeamMemberOK

func NewPatchTeamMemberOK() *PatchTeamMemberOK

NewPatchTeamMemberOK creates a PatchTeamMemberOK with default headers values

func (*PatchTeamMemberOK) Code added in v1.22.0

func (o *PatchTeamMemberOK) Code() int

Code gets the status code for the patch team member o k response

func (*PatchTeamMemberOK) Error

func (o *PatchTeamMemberOK) Error() string

func (*PatchTeamMemberOK) GetPayload

func (o *PatchTeamMemberOK) GetPayload() *service_model.V1TeamMember

func (*PatchTeamMemberOK) IsClientError added in v1.21.0

func (o *PatchTeamMemberOK) IsClientError() bool

IsClientError returns true when this patch team member o k response has a 4xx status code

func (*PatchTeamMemberOK) IsCode added in v1.21.0

func (o *PatchTeamMemberOK) IsCode(code int) bool

IsCode returns true when this patch team member o k response a status code equal to that given

func (*PatchTeamMemberOK) IsRedirect added in v1.21.0

func (o *PatchTeamMemberOK) IsRedirect() bool

IsRedirect returns true when this patch team member o k response has a 3xx status code

func (*PatchTeamMemberOK) IsServerError added in v1.21.0

func (o *PatchTeamMemberOK) IsServerError() bool

IsServerError returns true when this patch team member o k response has a 5xx status code

func (*PatchTeamMemberOK) IsSuccess added in v1.21.0

func (o *PatchTeamMemberOK) IsSuccess() bool

IsSuccess returns true when this patch team member o k response has a 2xx status code

func (*PatchTeamMemberOK) String added in v1.21.0

func (o *PatchTeamMemberOK) String() string

type PatchTeamMemberParams

type PatchTeamMemberParams struct {

	/* Body.

	   Team body
	*/
	Body *service_model.V1TeamMember

	/* MemberUser.

	   User
	*/
	MemberUser string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Team.

	   Team
	*/
	Team string

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

PatchTeamMemberParams contains all the parameters to send to the API endpoint

for the patch team member operation.

Typically these are written to a http.Request.

func NewPatchTeamMemberParams

func NewPatchTeamMemberParams() *PatchTeamMemberParams

NewPatchTeamMemberParams creates a new PatchTeamMemberParams 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 NewPatchTeamMemberParamsWithContext

func NewPatchTeamMemberParamsWithContext(ctx context.Context) *PatchTeamMemberParams

NewPatchTeamMemberParamsWithContext creates a new PatchTeamMemberParams object with the ability to set a context for a request.

func NewPatchTeamMemberParamsWithHTTPClient

func NewPatchTeamMemberParamsWithHTTPClient(client *http.Client) *PatchTeamMemberParams

NewPatchTeamMemberParamsWithHTTPClient creates a new PatchTeamMemberParams object with the ability to set a custom HTTPClient for a request.

func NewPatchTeamMemberParamsWithTimeout

func NewPatchTeamMemberParamsWithTimeout(timeout time.Duration) *PatchTeamMemberParams

NewPatchTeamMemberParamsWithTimeout creates a new PatchTeamMemberParams object with the ability to set a timeout on a request.

func (*PatchTeamMemberParams) SetBody

SetBody adds the body to the patch team member params

func (*PatchTeamMemberParams) SetContext

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

SetContext adds the context to the patch team member params

func (*PatchTeamMemberParams) SetDefaults

func (o *PatchTeamMemberParams) SetDefaults()

SetDefaults hydrates default values in the patch team member params (not the query body).

All values with no default are reset to their zero value.

func (*PatchTeamMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch team member params

func (*PatchTeamMemberParams) SetMemberUser

func (o *PatchTeamMemberParams) SetMemberUser(memberUser string)

SetMemberUser adds the memberUser to the patch team member params

func (*PatchTeamMemberParams) SetOwner

func (o *PatchTeamMemberParams) SetOwner(owner string)

SetOwner adds the owner to the patch team member params

func (*PatchTeamMemberParams) SetTeam

func (o *PatchTeamMemberParams) SetTeam(team string)

SetTeam adds the team to the patch team member params

func (*PatchTeamMemberParams) SetTimeout

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

SetTimeout adds the timeout to the patch team member params

func (*PatchTeamMemberParams) WithBody

WithBody adds the body to the patch team member params

func (*PatchTeamMemberParams) WithContext

WithContext adds the context to the patch team member params

func (*PatchTeamMemberParams) WithDefaults

func (o *PatchTeamMemberParams) WithDefaults() *PatchTeamMemberParams

WithDefaults hydrates default values in the patch team member params (not the query body).

All values with no default are reset to their zero value.

func (*PatchTeamMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch team member params

func (*PatchTeamMemberParams) WithMemberUser

func (o *PatchTeamMemberParams) WithMemberUser(memberUser string) *PatchTeamMemberParams

WithMemberUser adds the memberUser to the patch team member params

func (*PatchTeamMemberParams) WithOwner

func (o *PatchTeamMemberParams) WithOwner(owner string) *PatchTeamMemberParams

WithOwner adds the owner to the patch team member params

func (*PatchTeamMemberParams) WithTeam

WithTeam adds the team to the patch team member params

func (*PatchTeamMemberParams) WithTimeout

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

WithTimeout adds the timeout to the patch team member params

func (*PatchTeamMemberParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchTeamMemberReader

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

PatchTeamMemberReader is a Reader for the PatchTeamMember structure.

func (*PatchTeamMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchTeamNoContent

type PatchTeamNoContent struct {
	Payload interface{}
}
PatchTeamNoContent describes a response with status code 204, with default header values.

No content.

func NewPatchTeamNoContent

func NewPatchTeamNoContent() *PatchTeamNoContent

NewPatchTeamNoContent creates a PatchTeamNoContent with default headers values

func (*PatchTeamNoContent) Code added in v1.22.0

func (o *PatchTeamNoContent) Code() int

Code gets the status code for the patch team no content response

func (*PatchTeamNoContent) Error

func (o *PatchTeamNoContent) Error() string

func (*PatchTeamNoContent) GetPayload

func (o *PatchTeamNoContent) GetPayload() interface{}

func (*PatchTeamNoContent) IsClientError added in v1.21.0

func (o *PatchTeamNoContent) IsClientError() bool

IsClientError returns true when this patch team no content response has a 4xx status code

func (*PatchTeamNoContent) IsCode added in v1.21.0

func (o *PatchTeamNoContent) IsCode(code int) bool

IsCode returns true when this patch team no content response a status code equal to that given

func (*PatchTeamNoContent) IsRedirect added in v1.21.0

func (o *PatchTeamNoContent) IsRedirect() bool

IsRedirect returns true when this patch team no content response has a 3xx status code

func (*PatchTeamNoContent) IsServerError added in v1.21.0

func (o *PatchTeamNoContent) IsServerError() bool

IsServerError returns true when this patch team no content response has a 5xx status code

func (*PatchTeamNoContent) IsSuccess added in v1.21.0

func (o *PatchTeamNoContent) IsSuccess() bool

IsSuccess returns true when this patch team no content response has a 2xx status code

func (*PatchTeamNoContent) String added in v1.21.0

func (o *PatchTeamNoContent) String() string

type PatchTeamNotFound

type PatchTeamNotFound struct {
	Payload interface{}
}
PatchTeamNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPatchTeamNotFound

func NewPatchTeamNotFound() *PatchTeamNotFound

NewPatchTeamNotFound creates a PatchTeamNotFound with default headers values

func (*PatchTeamNotFound) Code added in v1.22.0

func (o *PatchTeamNotFound) Code() int

Code gets the status code for the patch team not found response

func (*PatchTeamNotFound) Error

func (o *PatchTeamNotFound) Error() string

func (*PatchTeamNotFound) GetPayload

func (o *PatchTeamNotFound) GetPayload() interface{}

func (*PatchTeamNotFound) IsClientError added in v1.21.0

func (o *PatchTeamNotFound) IsClientError() bool

IsClientError returns true when this patch team not found response has a 4xx status code

func (*PatchTeamNotFound) IsCode added in v1.21.0

func (o *PatchTeamNotFound) IsCode(code int) bool

IsCode returns true when this patch team not found response a status code equal to that given

func (*PatchTeamNotFound) IsRedirect added in v1.21.0

func (o *PatchTeamNotFound) IsRedirect() bool

IsRedirect returns true when this patch team not found response has a 3xx status code

func (*PatchTeamNotFound) IsServerError added in v1.21.0

func (o *PatchTeamNotFound) IsServerError() bool

IsServerError returns true when this patch team not found response has a 5xx status code

func (*PatchTeamNotFound) IsSuccess added in v1.21.0

func (o *PatchTeamNotFound) IsSuccess() bool

IsSuccess returns true when this patch team not found response has a 2xx status code

func (*PatchTeamNotFound) String added in v1.21.0

func (o *PatchTeamNotFound) String() string

type PatchTeamOK

type PatchTeamOK struct {
	Payload *service_model.V1Team
}
PatchTeamOK describes a response with status code 200, with default header values.

A successful response.

func NewPatchTeamOK

func NewPatchTeamOK() *PatchTeamOK

NewPatchTeamOK creates a PatchTeamOK with default headers values

func (*PatchTeamOK) Code added in v1.22.0

func (o *PatchTeamOK) Code() int

Code gets the status code for the patch team o k response

func (*PatchTeamOK) Error

func (o *PatchTeamOK) Error() string

func (*PatchTeamOK) GetPayload

func (o *PatchTeamOK) GetPayload() *service_model.V1Team

func (*PatchTeamOK) IsClientError added in v1.21.0

func (o *PatchTeamOK) IsClientError() bool

IsClientError returns true when this patch team o k response has a 4xx status code

func (*PatchTeamOK) IsCode added in v1.21.0

func (o *PatchTeamOK) IsCode(code int) bool

IsCode returns true when this patch team o k response a status code equal to that given

func (*PatchTeamOK) IsRedirect added in v1.21.0

func (o *PatchTeamOK) IsRedirect() bool

IsRedirect returns true when this patch team o k response has a 3xx status code

func (*PatchTeamOK) IsServerError added in v1.21.0

func (o *PatchTeamOK) IsServerError() bool

IsServerError returns true when this patch team o k response has a 5xx status code

func (*PatchTeamOK) IsSuccess added in v1.21.0

func (o *PatchTeamOK) IsSuccess() bool

IsSuccess returns true when this patch team o k response has a 2xx status code

func (*PatchTeamOK) String added in v1.21.0

func (o *PatchTeamOK) String() string

type PatchTeamParams

type PatchTeamParams struct {

	/* Body.

	   Team body
	*/
	Body *service_model.V1Team

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* TeamName.

	   Name
	*/
	TeamName string

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

PatchTeamParams contains all the parameters to send to the API endpoint

for the patch team operation.

Typically these are written to a http.Request.

func NewPatchTeamParams

func NewPatchTeamParams() *PatchTeamParams

NewPatchTeamParams creates a new PatchTeamParams 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 NewPatchTeamParamsWithContext

func NewPatchTeamParamsWithContext(ctx context.Context) *PatchTeamParams

NewPatchTeamParamsWithContext creates a new PatchTeamParams object with the ability to set a context for a request.

func NewPatchTeamParamsWithHTTPClient

func NewPatchTeamParamsWithHTTPClient(client *http.Client) *PatchTeamParams

NewPatchTeamParamsWithHTTPClient creates a new PatchTeamParams object with the ability to set a custom HTTPClient for a request.

func NewPatchTeamParamsWithTimeout

func NewPatchTeamParamsWithTimeout(timeout time.Duration) *PatchTeamParams

NewPatchTeamParamsWithTimeout creates a new PatchTeamParams object with the ability to set a timeout on a request.

func (*PatchTeamParams) SetBody

func (o *PatchTeamParams) SetBody(body *service_model.V1Team)

SetBody adds the body to the patch team params

func (*PatchTeamParams) SetContext

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

SetContext adds the context to the patch team params

func (*PatchTeamParams) SetDefaults

func (o *PatchTeamParams) SetDefaults()

SetDefaults hydrates default values in the patch team params (not the query body).

All values with no default are reset to their zero value.

func (*PatchTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch team params

func (*PatchTeamParams) SetOwner

func (o *PatchTeamParams) SetOwner(owner string)

SetOwner adds the owner to the patch team params

func (*PatchTeamParams) SetTeamName

func (o *PatchTeamParams) SetTeamName(teamName string)

SetTeamName adds the teamName to the patch team params

func (*PatchTeamParams) SetTimeout

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

SetTimeout adds the timeout to the patch team params

func (*PatchTeamParams) WithBody

WithBody adds the body to the patch team params

func (*PatchTeamParams) WithContext

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

WithContext adds the context to the patch team params

func (*PatchTeamParams) WithDefaults

func (o *PatchTeamParams) WithDefaults() *PatchTeamParams

WithDefaults hydrates default values in the patch team params (not the query body).

All values with no default are reset to their zero value.

func (*PatchTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch team params

func (*PatchTeamParams) WithOwner

func (o *PatchTeamParams) WithOwner(owner string) *PatchTeamParams

WithOwner adds the owner to the patch team params

func (*PatchTeamParams) WithTeamName

func (o *PatchTeamParams) WithTeamName(teamName string) *PatchTeamParams

WithTeamName adds the teamName to the patch team params

func (*PatchTeamParams) WithTimeout

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

WithTimeout adds the timeout to the patch team params

func (*PatchTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchTeamReader

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

PatchTeamReader is a Reader for the PatchTeam structure.

func (*PatchTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateTeamDefault

type UpdateTeamDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
UpdateTeamDefault describes a response with status code -1, with default header values.

An unexpected error response.

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

func (*UpdateTeamDefault) GetPayload

func (o *UpdateTeamDefault) GetPayload() *service_model.RuntimeError

func (*UpdateTeamDefault) IsClientError added in v1.21.0

func (o *UpdateTeamDefault) IsClientError() bool

IsClientError returns true when this update team default response has a 4xx status code

func (*UpdateTeamDefault) IsCode added in v1.21.0

func (o *UpdateTeamDefault) IsCode(code int) bool

IsCode returns true when this update team default response a status code equal to that given

func (*UpdateTeamDefault) IsRedirect added in v1.21.0

func (o *UpdateTeamDefault) IsRedirect() bool

IsRedirect returns true when this update team default response has a 3xx status code

func (*UpdateTeamDefault) IsServerError added in v1.21.0

func (o *UpdateTeamDefault) IsServerError() bool

IsServerError returns true when this update team default response has a 5xx status code

func (*UpdateTeamDefault) IsSuccess added in v1.21.0

func (o *UpdateTeamDefault) IsSuccess() bool

IsSuccess returns true when this update team default response has a 2xx status code

func (*UpdateTeamDefault) String added in v1.21.0

func (o *UpdateTeamDefault) String() string

type UpdateTeamForbidden

type UpdateTeamForbidden struct {
	Payload interface{}
}
UpdateTeamForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewUpdateTeamForbidden

func NewUpdateTeamForbidden() *UpdateTeamForbidden

NewUpdateTeamForbidden creates a UpdateTeamForbidden with default headers values

func (*UpdateTeamForbidden) Code added in v1.22.0

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() interface{}

func (*UpdateTeamForbidden) IsClientError added in v1.21.0

func (o *UpdateTeamForbidden) IsClientError() bool

IsClientError returns true when this update team forbidden response has a 4xx status code

func (*UpdateTeamForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTeamForbidden) IsRedirect() bool

IsRedirect returns true when this update team forbidden response has a 3xx status code

func (*UpdateTeamForbidden) IsServerError added in v1.21.0

func (o *UpdateTeamForbidden) IsServerError() bool

IsServerError returns true when this update team forbidden response has a 5xx status code

func (*UpdateTeamForbidden) IsSuccess added in v1.21.0

func (o *UpdateTeamForbidden) IsSuccess() bool

IsSuccess returns true when this update team forbidden response has a 2xx status code

func (*UpdateTeamForbidden) String added in v1.21.0

func (o *UpdateTeamForbidden) String() string

type UpdateTeamMemberDefault

type UpdateTeamMemberDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
UpdateTeamMemberDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateTeamMemberDefault

func NewUpdateTeamMemberDefault(code int) *UpdateTeamMemberDefault

NewUpdateTeamMemberDefault creates a UpdateTeamMemberDefault with default headers values

func (*UpdateTeamMemberDefault) Code

func (o *UpdateTeamMemberDefault) Code() int

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

func (*UpdateTeamMemberDefault) Error

func (o *UpdateTeamMemberDefault) Error() string

func (*UpdateTeamMemberDefault) GetPayload

func (*UpdateTeamMemberDefault) IsClientError added in v1.21.0

func (o *UpdateTeamMemberDefault) IsClientError() bool

IsClientError returns true when this update team member default response has a 4xx status code

func (*UpdateTeamMemberDefault) IsCode added in v1.21.0

func (o *UpdateTeamMemberDefault) IsCode(code int) bool

IsCode returns true when this update team member default response a status code equal to that given

func (*UpdateTeamMemberDefault) IsRedirect added in v1.21.0

func (o *UpdateTeamMemberDefault) IsRedirect() bool

IsRedirect returns true when this update team member default response has a 3xx status code

func (*UpdateTeamMemberDefault) IsServerError added in v1.21.0

func (o *UpdateTeamMemberDefault) IsServerError() bool

IsServerError returns true when this update team member default response has a 5xx status code

func (*UpdateTeamMemberDefault) IsSuccess added in v1.21.0

func (o *UpdateTeamMemberDefault) IsSuccess() bool

IsSuccess returns true when this update team member default response has a 2xx status code

func (*UpdateTeamMemberDefault) String added in v1.21.0

func (o *UpdateTeamMemberDefault) String() string

type UpdateTeamMemberForbidden

type UpdateTeamMemberForbidden struct {
	Payload interface{}
}
UpdateTeamMemberForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewUpdateTeamMemberForbidden

func NewUpdateTeamMemberForbidden() *UpdateTeamMemberForbidden

NewUpdateTeamMemberForbidden creates a UpdateTeamMemberForbidden with default headers values

func (*UpdateTeamMemberForbidden) Code added in v1.22.0

func (o *UpdateTeamMemberForbidden) Code() int

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

func (*UpdateTeamMemberForbidden) Error

func (o *UpdateTeamMemberForbidden) Error() string

func (*UpdateTeamMemberForbidden) GetPayload

func (o *UpdateTeamMemberForbidden) GetPayload() interface{}

func (*UpdateTeamMemberForbidden) IsClientError added in v1.21.0

func (o *UpdateTeamMemberForbidden) IsClientError() bool

IsClientError returns true when this update team member forbidden response has a 4xx status code

func (*UpdateTeamMemberForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTeamMemberForbidden) IsRedirect() bool

IsRedirect returns true when this update team member forbidden response has a 3xx status code

func (*UpdateTeamMemberForbidden) IsServerError added in v1.21.0

func (o *UpdateTeamMemberForbidden) IsServerError() bool

IsServerError returns true when this update team member forbidden response has a 5xx status code

func (*UpdateTeamMemberForbidden) IsSuccess added in v1.21.0

func (o *UpdateTeamMemberForbidden) IsSuccess() bool

IsSuccess returns true when this update team member forbidden response has a 2xx status code

func (*UpdateTeamMemberForbidden) String added in v1.21.0

func (o *UpdateTeamMemberForbidden) String() string

type UpdateTeamMemberNoContent

type UpdateTeamMemberNoContent struct {
	Payload interface{}
}
UpdateTeamMemberNoContent describes a response with status code 204, with default header values.

No content.

func NewUpdateTeamMemberNoContent

func NewUpdateTeamMemberNoContent() *UpdateTeamMemberNoContent

NewUpdateTeamMemberNoContent creates a UpdateTeamMemberNoContent with default headers values

func (*UpdateTeamMemberNoContent) Code added in v1.22.0

func (o *UpdateTeamMemberNoContent) Code() int

Code gets the status code for the update team member no content response

func (*UpdateTeamMemberNoContent) Error

func (o *UpdateTeamMemberNoContent) Error() string

func (*UpdateTeamMemberNoContent) GetPayload

func (o *UpdateTeamMemberNoContent) GetPayload() interface{}

func (*UpdateTeamMemberNoContent) IsClientError added in v1.21.0

func (o *UpdateTeamMemberNoContent) IsClientError() bool

IsClientError returns true when this update team member no content response has a 4xx status code

func (*UpdateTeamMemberNoContent) IsCode added in v1.21.0

func (o *UpdateTeamMemberNoContent) IsCode(code int) bool

IsCode returns true when this update team member no content response a status code equal to that given

func (*UpdateTeamMemberNoContent) IsRedirect added in v1.21.0

func (o *UpdateTeamMemberNoContent) IsRedirect() bool

IsRedirect returns true when this update team member no content response has a 3xx status code

func (*UpdateTeamMemberNoContent) IsServerError added in v1.21.0

func (o *UpdateTeamMemberNoContent) IsServerError() bool

IsServerError returns true when this update team member no content response has a 5xx status code

func (*UpdateTeamMemberNoContent) IsSuccess added in v1.21.0

func (o *UpdateTeamMemberNoContent) IsSuccess() bool

IsSuccess returns true when this update team member no content response has a 2xx status code

func (*UpdateTeamMemberNoContent) String added in v1.21.0

func (o *UpdateTeamMemberNoContent) String() string

type UpdateTeamMemberNotFound

type UpdateTeamMemberNotFound struct {
	Payload interface{}
}
UpdateTeamMemberNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewUpdateTeamMemberNotFound

func NewUpdateTeamMemberNotFound() *UpdateTeamMemberNotFound

NewUpdateTeamMemberNotFound creates a UpdateTeamMemberNotFound with default headers values

func (*UpdateTeamMemberNotFound) Code added in v1.22.0

func (o *UpdateTeamMemberNotFound) Code() int

Code gets the status code for the update team member not found response

func (*UpdateTeamMemberNotFound) Error

func (o *UpdateTeamMemberNotFound) Error() string

func (*UpdateTeamMemberNotFound) GetPayload

func (o *UpdateTeamMemberNotFound) GetPayload() interface{}

func (*UpdateTeamMemberNotFound) IsClientError added in v1.21.0

func (o *UpdateTeamMemberNotFound) IsClientError() bool

IsClientError returns true when this update team member not found response has a 4xx status code

func (*UpdateTeamMemberNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTeamMemberNotFound) IsRedirect() bool

IsRedirect returns true when this update team member not found response has a 3xx status code

func (*UpdateTeamMemberNotFound) IsServerError added in v1.21.0

func (o *UpdateTeamMemberNotFound) IsServerError() bool

IsServerError returns true when this update team member not found response has a 5xx status code

func (*UpdateTeamMemberNotFound) IsSuccess added in v1.21.0

func (o *UpdateTeamMemberNotFound) IsSuccess() bool

IsSuccess returns true when this update team member not found response has a 2xx status code

func (*UpdateTeamMemberNotFound) String added in v1.21.0

func (o *UpdateTeamMemberNotFound) String() string

type UpdateTeamMemberOK

type UpdateTeamMemberOK struct {
	Payload *service_model.V1TeamMember
}
UpdateTeamMemberOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateTeamMemberOK

func NewUpdateTeamMemberOK() *UpdateTeamMemberOK

NewUpdateTeamMemberOK creates a UpdateTeamMemberOK with default headers values

func (*UpdateTeamMemberOK) Code added in v1.22.0

func (o *UpdateTeamMemberOK) Code() int

Code gets the status code for the update team member o k response

func (*UpdateTeamMemberOK) Error

func (o *UpdateTeamMemberOK) Error() string

func (*UpdateTeamMemberOK) GetPayload

func (*UpdateTeamMemberOK) IsClientError added in v1.21.0

func (o *UpdateTeamMemberOK) IsClientError() bool

IsClientError returns true when this update team member o k response has a 4xx status code

func (*UpdateTeamMemberOK) IsCode added in v1.21.0

func (o *UpdateTeamMemberOK) IsCode(code int) bool

IsCode returns true when this update team member o k response a status code equal to that given

func (*UpdateTeamMemberOK) IsRedirect added in v1.21.0

func (o *UpdateTeamMemberOK) IsRedirect() bool

IsRedirect returns true when this update team member o k response has a 3xx status code

func (*UpdateTeamMemberOK) IsServerError added in v1.21.0

func (o *UpdateTeamMemberOK) IsServerError() bool

IsServerError returns true when this update team member o k response has a 5xx status code

func (*UpdateTeamMemberOK) IsSuccess added in v1.21.0

func (o *UpdateTeamMemberOK) IsSuccess() bool

IsSuccess returns true when this update team member o k response has a 2xx status code

func (*UpdateTeamMemberOK) String added in v1.21.0

func (o *UpdateTeamMemberOK) String() string

type UpdateTeamMemberParams

type UpdateTeamMemberParams struct {

	/* Body.

	   Team body
	*/
	Body *service_model.V1TeamMember

	/* MemberUser.

	   User
	*/
	MemberUser string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Team.

	   Team
	*/
	Team string

	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) SetMemberUser

func (o *UpdateTeamMemberParams) SetMemberUser(memberUser string)

SetMemberUser adds the memberUser to the update team member params

func (*UpdateTeamMemberParams) SetOwner

func (o *UpdateTeamMemberParams) SetOwner(owner string)

SetOwner adds the owner to the update team member params

func (*UpdateTeamMemberParams) SetTeam

func (o *UpdateTeamMemberParams) SetTeam(team string)

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

func (o *UpdateTeamMemberParams) WithMemberUser(memberUser string) *UpdateTeamMemberParams

WithMemberUser adds the memberUser to the update team member params

func (*UpdateTeamMemberParams) WithOwner

WithOwner adds the owner to the update team member params

func (*UpdateTeamMemberParams) WithTeam

WithTeam adds the team to the update team member params

func (*UpdateTeamMemberParams) WithTimeout

WithTimeout adds the timeout 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 UpdateTeamNoContent

type UpdateTeamNoContent struct {
	Payload interface{}
}
UpdateTeamNoContent describes a response with status code 204, with default header values.

No content.

func NewUpdateTeamNoContent

func NewUpdateTeamNoContent() *UpdateTeamNoContent

NewUpdateTeamNoContent creates a UpdateTeamNoContent with default headers values

func (*UpdateTeamNoContent) Code added in v1.22.0

func (o *UpdateTeamNoContent) Code() int

Code gets the status code for the update team no content response

func (*UpdateTeamNoContent) Error

func (o *UpdateTeamNoContent) Error() string

func (*UpdateTeamNoContent) GetPayload

func (o *UpdateTeamNoContent) GetPayload() interface{}

func (*UpdateTeamNoContent) IsClientError added in v1.21.0

func (o *UpdateTeamNoContent) IsClientError() bool

IsClientError returns true when this update team no content response has a 4xx status code

func (*UpdateTeamNoContent) IsCode added in v1.21.0

func (o *UpdateTeamNoContent) IsCode(code int) bool

IsCode returns true when this update team no content response a status code equal to that given

func (*UpdateTeamNoContent) IsRedirect added in v1.21.0

func (o *UpdateTeamNoContent) IsRedirect() bool

IsRedirect returns true when this update team no content response has a 3xx status code

func (*UpdateTeamNoContent) IsServerError added in v1.21.0

func (o *UpdateTeamNoContent) IsServerError() bool

IsServerError returns true when this update team no content response has a 5xx status code

func (*UpdateTeamNoContent) IsSuccess added in v1.21.0

func (o *UpdateTeamNoContent) IsSuccess() bool

IsSuccess returns true when this update team no content response has a 2xx status code

func (*UpdateTeamNoContent) String added in v1.21.0

func (o *UpdateTeamNoContent) String() string

type UpdateTeamNotFound

type UpdateTeamNotFound struct {
	Payload interface{}
}
UpdateTeamNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewUpdateTeamNotFound

func NewUpdateTeamNotFound() *UpdateTeamNotFound

NewUpdateTeamNotFound creates a UpdateTeamNotFound with default headers values

func (*UpdateTeamNotFound) Code added in v1.22.0

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() interface{}

func (*UpdateTeamNotFound) IsClientError added in v1.21.0

func (o *UpdateTeamNotFound) IsClientError() bool

IsClientError returns true when this update team not found response has a 4xx status code

func (*UpdateTeamNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTeamNotFound) IsRedirect() bool

IsRedirect returns true when this update team not found response has a 3xx status code

func (*UpdateTeamNotFound) IsServerError added in v1.21.0

func (o *UpdateTeamNotFound) IsServerError() bool

IsServerError returns true when this update team not found response has a 5xx status code

func (*UpdateTeamNotFound) IsSuccess added in v1.21.0

func (o *UpdateTeamNotFound) IsSuccess() bool

IsSuccess returns true when this update team not found response has a 2xx status code

func (*UpdateTeamNotFound) String added in v1.21.0

func (o *UpdateTeamNotFound) String() string

type UpdateTeamOK

type UpdateTeamOK struct {
	Payload *service_model.V1Team
}
UpdateTeamOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateTeamOK

func NewUpdateTeamOK() *UpdateTeamOK

NewUpdateTeamOK creates a UpdateTeamOK with default headers values

func (*UpdateTeamOK) Code added in v1.22.0

func (o *UpdateTeamOK) Code() int

Code gets the status code for the update team o k response

func (*UpdateTeamOK) Error

func (o *UpdateTeamOK) Error() string

func (*UpdateTeamOK) GetPayload

func (o *UpdateTeamOK) GetPayload() *service_model.V1Team

func (*UpdateTeamOK) IsClientError added in v1.21.0

func (o *UpdateTeamOK) IsClientError() bool

IsClientError returns true when this update team o k response has a 4xx status code

func (*UpdateTeamOK) IsCode added in v1.21.0

func (o *UpdateTeamOK) IsCode(code int) bool

IsCode returns true when this update team o k response a status code equal to that given

func (*UpdateTeamOK) IsRedirect added in v1.21.0

func (o *UpdateTeamOK) IsRedirect() bool

IsRedirect returns true when this update team o k response has a 3xx status code

func (*UpdateTeamOK) IsServerError added in v1.21.0

func (o *UpdateTeamOK) IsServerError() bool

IsServerError returns true when this update team o k response has a 5xx status code

func (*UpdateTeamOK) IsSuccess added in v1.21.0

func (o *UpdateTeamOK) IsSuccess() bool

IsSuccess returns true when this update team o k response has a 2xx status code

func (*UpdateTeamOK) String added in v1.21.0

func (o *UpdateTeamOK) String() string

type UpdateTeamParams

type UpdateTeamParams struct {

	/* Body.

	   Team body
	*/
	Body *service_model.V1Team

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* TeamName.

	   Name
	*/
	TeamName 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 *service_model.V1Team)

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) SetOwner

func (o *UpdateTeamParams) SetOwner(owner string)

SetOwner adds the owner to the update team params

func (*UpdateTeamParams) SetTeamName

func (o *UpdateTeamParams) SetTeamName(teamName string)

SetTeamName adds the teamName 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) WithOwner

func (o *UpdateTeamParams) WithOwner(owner string) *UpdateTeamParams

WithOwner adds the owner to the update team params

func (*UpdateTeamParams) WithTeamName

func (o *UpdateTeamParams) WithTeamName(teamName string) *UpdateTeamParams

WithTeamName adds the teamName 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 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.

Jump to

Keyboard shortcuts

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