Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TeamCreate(params *TeamCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TeamCreateOK, error)
- func (a *Client) TeamDelete(params *TeamDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TeamDeleteNoContent, error)
- func (a *Client) TeamInspect(params *TeamInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TeamInspectOK, error)
- func (a *Client) TeamList(params *TeamListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TeamListOK, error)
- func (a *Client) TeamUpdate(params *TeamUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TeamUpdateOK, error)
- type ClientOption
- type ClientService
- type TeamCreateBadRequest
- func (o *TeamCreateBadRequest) Code() int
- func (o *TeamCreateBadRequest) Error() string
- func (o *TeamCreateBadRequest) IsClientError() bool
- func (o *TeamCreateBadRequest) IsCode(code int) bool
- func (o *TeamCreateBadRequest) IsRedirect() bool
- func (o *TeamCreateBadRequest) IsServerError() bool
- func (o *TeamCreateBadRequest) IsSuccess() bool
- func (o *TeamCreateBadRequest) String() string
- type TeamCreateConflict
- func (o *TeamCreateConflict) Code() int
- func (o *TeamCreateConflict) Error() string
- func (o *TeamCreateConflict) IsClientError() bool
- func (o *TeamCreateConflict) IsCode(code int) bool
- func (o *TeamCreateConflict) IsRedirect() bool
- func (o *TeamCreateConflict) IsServerError() bool
- func (o *TeamCreateConflict) IsSuccess() bool
- func (o *TeamCreateConflict) String() string
- type TeamCreateInternalServerError
- func (o *TeamCreateInternalServerError) Code() int
- func (o *TeamCreateInternalServerError) Error() string
- func (o *TeamCreateInternalServerError) IsClientError() bool
- func (o *TeamCreateInternalServerError) IsCode(code int) bool
- func (o *TeamCreateInternalServerError) IsRedirect() bool
- func (o *TeamCreateInternalServerError) IsServerError() bool
- func (o *TeamCreateInternalServerError) IsSuccess() bool
- func (o *TeamCreateInternalServerError) String() string
- type TeamCreateOK
- func (o *TeamCreateOK) Code() int
- func (o *TeamCreateOK) Error() string
- func (o *TeamCreateOK) GetPayload() *models.PortainerTeam
- func (o *TeamCreateOK) IsClientError() bool
- func (o *TeamCreateOK) IsCode(code int) bool
- func (o *TeamCreateOK) IsRedirect() bool
- func (o *TeamCreateOK) IsServerError() bool
- func (o *TeamCreateOK) IsSuccess() bool
- func (o *TeamCreateOK) String() string
- type TeamCreateParams
- func (o *TeamCreateParams) SetBody(body *models.TeamsTeamCreatePayload)
- func (o *TeamCreateParams) SetContext(ctx context.Context)
- func (o *TeamCreateParams) SetDefaults()
- func (o *TeamCreateParams) SetHTTPClient(client *http.Client)
- func (o *TeamCreateParams) SetTimeout(timeout time.Duration)
- func (o *TeamCreateParams) WithBody(body *models.TeamsTeamCreatePayload) *TeamCreateParams
- func (o *TeamCreateParams) WithContext(ctx context.Context) *TeamCreateParams
- func (o *TeamCreateParams) WithDefaults() *TeamCreateParams
- func (o *TeamCreateParams) WithHTTPClient(client *http.Client) *TeamCreateParams
- func (o *TeamCreateParams) WithTimeout(timeout time.Duration) *TeamCreateParams
- func (o *TeamCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamCreateReader
- type TeamDeleteBadRequest
- func (o *TeamDeleteBadRequest) Code() int
- func (o *TeamDeleteBadRequest) Error() string
- func (o *TeamDeleteBadRequest) IsClientError() bool
- func (o *TeamDeleteBadRequest) IsCode(code int) bool
- func (o *TeamDeleteBadRequest) IsRedirect() bool
- func (o *TeamDeleteBadRequest) IsServerError() bool
- func (o *TeamDeleteBadRequest) IsSuccess() bool
- func (o *TeamDeleteBadRequest) String() string
- type TeamDeleteForbidden
- func (o *TeamDeleteForbidden) Code() int
- func (o *TeamDeleteForbidden) Error() string
- func (o *TeamDeleteForbidden) IsClientError() bool
- func (o *TeamDeleteForbidden) IsCode(code int) bool
- func (o *TeamDeleteForbidden) IsRedirect() bool
- func (o *TeamDeleteForbidden) IsServerError() bool
- func (o *TeamDeleteForbidden) IsSuccess() bool
- func (o *TeamDeleteForbidden) String() string
- type TeamDeleteInternalServerError
- func (o *TeamDeleteInternalServerError) Code() int
- func (o *TeamDeleteInternalServerError) Error() string
- func (o *TeamDeleteInternalServerError) IsClientError() bool
- func (o *TeamDeleteInternalServerError) IsCode(code int) bool
- func (o *TeamDeleteInternalServerError) IsRedirect() bool
- func (o *TeamDeleteInternalServerError) IsServerError() bool
- func (o *TeamDeleteInternalServerError) IsSuccess() bool
- func (o *TeamDeleteInternalServerError) String() string
- type TeamDeleteNoContent
- func (o *TeamDeleteNoContent) Code() int
- func (o *TeamDeleteNoContent) Error() string
- func (o *TeamDeleteNoContent) IsClientError() bool
- func (o *TeamDeleteNoContent) IsCode(code int) bool
- func (o *TeamDeleteNoContent) IsRedirect() bool
- func (o *TeamDeleteNoContent) IsServerError() bool
- func (o *TeamDeleteNoContent) IsSuccess() bool
- func (o *TeamDeleteNoContent) String() string
- type TeamDeleteNotFound
- func (o *TeamDeleteNotFound) Code() int
- func (o *TeamDeleteNotFound) Error() string
- func (o *TeamDeleteNotFound) IsClientError() bool
- func (o *TeamDeleteNotFound) IsCode(code int) bool
- func (o *TeamDeleteNotFound) IsRedirect() bool
- func (o *TeamDeleteNotFound) IsServerError() bool
- func (o *TeamDeleteNotFound) IsSuccess() bool
- func (o *TeamDeleteNotFound) String() string
- type TeamDeleteParams
- func (o *TeamDeleteParams) SetContext(ctx context.Context)
- func (o *TeamDeleteParams) SetDefaults()
- func (o *TeamDeleteParams) SetHTTPClient(client *http.Client)
- func (o *TeamDeleteParams) SetID(id int64)
- func (o *TeamDeleteParams) SetTimeout(timeout time.Duration)
- func (o *TeamDeleteParams) WithContext(ctx context.Context) *TeamDeleteParams
- func (o *TeamDeleteParams) WithDefaults() *TeamDeleteParams
- func (o *TeamDeleteParams) WithHTTPClient(client *http.Client) *TeamDeleteParams
- func (o *TeamDeleteParams) WithID(id int64) *TeamDeleteParams
- func (o *TeamDeleteParams) WithTimeout(timeout time.Duration) *TeamDeleteParams
- func (o *TeamDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamDeleteReader
- type TeamInspectBadRequest
- func (o *TeamInspectBadRequest) Code() int
- func (o *TeamInspectBadRequest) Error() string
- func (o *TeamInspectBadRequest) IsClientError() bool
- func (o *TeamInspectBadRequest) IsCode(code int) bool
- func (o *TeamInspectBadRequest) IsRedirect() bool
- func (o *TeamInspectBadRequest) IsServerError() bool
- func (o *TeamInspectBadRequest) IsSuccess() bool
- func (o *TeamInspectBadRequest) String() string
- type TeamInspectForbidden
- func (o *TeamInspectForbidden) Code() int
- func (o *TeamInspectForbidden) Error() string
- func (o *TeamInspectForbidden) IsClientError() bool
- func (o *TeamInspectForbidden) IsCode(code int) bool
- func (o *TeamInspectForbidden) IsRedirect() bool
- func (o *TeamInspectForbidden) IsServerError() bool
- func (o *TeamInspectForbidden) IsSuccess() bool
- func (o *TeamInspectForbidden) String() string
- type TeamInspectInternalServerError
- func (o *TeamInspectInternalServerError) Code() int
- func (o *TeamInspectInternalServerError) Error() string
- func (o *TeamInspectInternalServerError) IsClientError() bool
- func (o *TeamInspectInternalServerError) IsCode(code int) bool
- func (o *TeamInspectInternalServerError) IsRedirect() bool
- func (o *TeamInspectInternalServerError) IsServerError() bool
- func (o *TeamInspectInternalServerError) IsSuccess() bool
- func (o *TeamInspectInternalServerError) String() string
- type TeamInspectNotFound
- func (o *TeamInspectNotFound) Code() int
- func (o *TeamInspectNotFound) Error() string
- func (o *TeamInspectNotFound) IsClientError() bool
- func (o *TeamInspectNotFound) IsCode(code int) bool
- func (o *TeamInspectNotFound) IsRedirect() bool
- func (o *TeamInspectNotFound) IsServerError() bool
- func (o *TeamInspectNotFound) IsSuccess() bool
- func (o *TeamInspectNotFound) String() string
- type TeamInspectOK
- func (o *TeamInspectOK) Code() int
- func (o *TeamInspectOK) Error() string
- func (o *TeamInspectOK) GetPayload() *models.PortainerTeam
- func (o *TeamInspectOK) IsClientError() bool
- func (o *TeamInspectOK) IsCode(code int) bool
- func (o *TeamInspectOK) IsRedirect() bool
- func (o *TeamInspectOK) IsServerError() bool
- func (o *TeamInspectOK) IsSuccess() bool
- func (o *TeamInspectOK) String() string
- type TeamInspectParams
- func (o *TeamInspectParams) SetContext(ctx context.Context)
- func (o *TeamInspectParams) SetDefaults()
- func (o *TeamInspectParams) SetHTTPClient(client *http.Client)
- func (o *TeamInspectParams) SetID(id int64)
- func (o *TeamInspectParams) SetTimeout(timeout time.Duration)
- func (o *TeamInspectParams) WithContext(ctx context.Context) *TeamInspectParams
- func (o *TeamInspectParams) WithDefaults() *TeamInspectParams
- func (o *TeamInspectParams) WithHTTPClient(client *http.Client) *TeamInspectParams
- func (o *TeamInspectParams) WithID(id int64) *TeamInspectParams
- func (o *TeamInspectParams) WithTimeout(timeout time.Duration) *TeamInspectParams
- func (o *TeamInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamInspectReader
- type TeamListInternalServerError
- func (o *TeamListInternalServerError) Code() int
- func (o *TeamListInternalServerError) Error() string
- func (o *TeamListInternalServerError) IsClientError() bool
- func (o *TeamListInternalServerError) IsCode(code int) bool
- func (o *TeamListInternalServerError) IsRedirect() bool
- func (o *TeamListInternalServerError) IsServerError() bool
- func (o *TeamListInternalServerError) IsSuccess() bool
- func (o *TeamListInternalServerError) String() string
- type TeamListOK
- func (o *TeamListOK) Code() int
- func (o *TeamListOK) Error() string
- func (o *TeamListOK) GetPayload() []*models.PortainerTeam
- func (o *TeamListOK) IsClientError() bool
- func (o *TeamListOK) IsCode(code int) bool
- func (o *TeamListOK) IsRedirect() bool
- func (o *TeamListOK) IsServerError() bool
- func (o *TeamListOK) IsSuccess() bool
- func (o *TeamListOK) String() string
- type TeamListParams
- func (o *TeamListParams) SetContext(ctx context.Context)
- func (o *TeamListParams) SetDefaults()
- func (o *TeamListParams) SetEnvironmentID(environmentID *int64)
- func (o *TeamListParams) SetHTTPClient(client *http.Client)
- func (o *TeamListParams) SetOnlyLedTeams(onlyLedTeams *bool)
- func (o *TeamListParams) SetTimeout(timeout time.Duration)
- func (o *TeamListParams) WithContext(ctx context.Context) *TeamListParams
- func (o *TeamListParams) WithDefaults() *TeamListParams
- func (o *TeamListParams) WithEnvironmentID(environmentID *int64) *TeamListParams
- func (o *TeamListParams) WithHTTPClient(client *http.Client) *TeamListParams
- func (o *TeamListParams) WithOnlyLedTeams(onlyLedTeams *bool) *TeamListParams
- func (o *TeamListParams) WithTimeout(timeout time.Duration) *TeamListParams
- func (o *TeamListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamListReader
- type TeamUpdateBadRequest
- func (o *TeamUpdateBadRequest) Code() int
- func (o *TeamUpdateBadRequest) Error() string
- func (o *TeamUpdateBadRequest) IsClientError() bool
- func (o *TeamUpdateBadRequest) IsCode(code int) bool
- func (o *TeamUpdateBadRequest) IsRedirect() bool
- func (o *TeamUpdateBadRequest) IsServerError() bool
- func (o *TeamUpdateBadRequest) IsSuccess() bool
- func (o *TeamUpdateBadRequest) String() string
- type TeamUpdateForbidden
- func (o *TeamUpdateForbidden) Code() int
- func (o *TeamUpdateForbidden) Error() string
- func (o *TeamUpdateForbidden) IsClientError() bool
- func (o *TeamUpdateForbidden) IsCode(code int) bool
- func (o *TeamUpdateForbidden) IsRedirect() bool
- func (o *TeamUpdateForbidden) IsServerError() bool
- func (o *TeamUpdateForbidden) IsSuccess() bool
- func (o *TeamUpdateForbidden) String() string
- type TeamUpdateInternalServerError
- func (o *TeamUpdateInternalServerError) Code() int
- func (o *TeamUpdateInternalServerError) Error() string
- func (o *TeamUpdateInternalServerError) IsClientError() bool
- func (o *TeamUpdateInternalServerError) IsCode(code int) bool
- func (o *TeamUpdateInternalServerError) IsRedirect() bool
- func (o *TeamUpdateInternalServerError) IsServerError() bool
- func (o *TeamUpdateInternalServerError) IsSuccess() bool
- func (o *TeamUpdateInternalServerError) String() string
- type TeamUpdateNotFound
- func (o *TeamUpdateNotFound) Code() int
- func (o *TeamUpdateNotFound) Error() string
- func (o *TeamUpdateNotFound) IsClientError() bool
- func (o *TeamUpdateNotFound) IsCode(code int) bool
- func (o *TeamUpdateNotFound) IsRedirect() bool
- func (o *TeamUpdateNotFound) IsServerError() bool
- func (o *TeamUpdateNotFound) IsSuccess() bool
- func (o *TeamUpdateNotFound) String() string
- type TeamUpdateOK
- func (o *TeamUpdateOK) Code() int
- func (o *TeamUpdateOK) Error() string
- func (o *TeamUpdateOK) GetPayload() *models.PortainerTeam
- func (o *TeamUpdateOK) IsClientError() bool
- func (o *TeamUpdateOK) IsCode(code int) bool
- func (o *TeamUpdateOK) IsRedirect() bool
- func (o *TeamUpdateOK) IsServerError() bool
- func (o *TeamUpdateOK) IsSuccess() bool
- func (o *TeamUpdateOK) String() string
- type TeamUpdateParams
- func (o *TeamUpdateParams) SetBody(body *models.TeamsTeamUpdatePayload)
- func (o *TeamUpdateParams) SetContext(ctx context.Context)
- func (o *TeamUpdateParams) SetDefaults()
- func (o *TeamUpdateParams) SetHTTPClient(client *http.Client)
- func (o *TeamUpdateParams) SetID(id int64)
- func (o *TeamUpdateParams) SetTimeout(timeout time.Duration)
- func (o *TeamUpdateParams) WithBody(body *models.TeamsTeamUpdatePayload) *TeamUpdateParams
- func (o *TeamUpdateParams) WithContext(ctx context.Context) *TeamUpdateParams
- func (o *TeamUpdateParams) WithDefaults() *TeamUpdateParams
- func (o *TeamUpdateParams) WithHTTPClient(client *http.Client) *TeamUpdateParams
- func (o *TeamUpdateParams) WithID(id int64) *TeamUpdateParams
- func (o *TeamUpdateParams) WithTimeout(timeout time.Duration) *TeamUpdateParams
- func (o *TeamUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamUpdateReader
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 API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TeamCreate ¶
func (a *Client) TeamCreate(params *TeamCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamCreateOK, error)
TeamCreate creates a new team Create a new team.
**Access policy**: administrator
func (*Client) TeamDelete ¶
func (a *Client) TeamDelete(params *TeamDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamDeleteNoContent, error)
TeamDelete removes a team Remove a team.
**Access policy**: administrator
func (*Client) TeamInspect ¶
func (a *Client) TeamInspect(params *TeamInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamInspectOK, error)
TeamInspect inspects a team Retrieve details about a team. Access is only available for administrator and leaders of that team.
**Access policy**: administrator or team leader
func (*Client) TeamList ¶
func (a *Client) TeamList(params *TeamListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamListOK, error)
TeamList lists teams List teams. For non-administrator users, will only list the teams they are member of.
**Access policy**: restricted
func (*Client) TeamUpdate ¶
func (a *Client) TeamUpdate(params *TeamUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamUpdateOK, error)
TeamUpdate updates a team Update a team.
**Access policy**: administrator
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
TeamCreate(params *TeamCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamCreateOK, error)
TeamDelete(params *TeamDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamDeleteNoContent, error)
TeamInspect(params *TeamInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamInspectOK, error)
TeamList(params *TeamListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamListOK, error)
TeamUpdate(params *TeamUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TeamUpdateOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new teams API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new teams API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new teams API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type TeamCreateBadRequest ¶
type TeamCreateBadRequest struct {
}
TeamCreateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewTeamCreateBadRequest ¶
func NewTeamCreateBadRequest() *TeamCreateBadRequest
NewTeamCreateBadRequest creates a TeamCreateBadRequest with default headers values
func (*TeamCreateBadRequest) Code ¶
func (o *TeamCreateBadRequest) Code() int
Code gets the status code for the team create bad request response
func (*TeamCreateBadRequest) Error ¶
func (o *TeamCreateBadRequest) Error() string
func (*TeamCreateBadRequest) IsClientError ¶
func (o *TeamCreateBadRequest) IsClientError() bool
IsClientError returns true when this team create bad request response has a 4xx status code
func (*TeamCreateBadRequest) IsCode ¶
func (o *TeamCreateBadRequest) IsCode(code int) bool
IsCode returns true when this team create bad request response a status code equal to that given
func (*TeamCreateBadRequest) IsRedirect ¶
func (o *TeamCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this team create bad request response has a 3xx status code
func (*TeamCreateBadRequest) IsServerError ¶
func (o *TeamCreateBadRequest) IsServerError() bool
IsServerError returns true when this team create bad request response has a 5xx status code
func (*TeamCreateBadRequest) IsSuccess ¶
func (o *TeamCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this team create bad request response has a 2xx status code
func (*TeamCreateBadRequest) String ¶
func (o *TeamCreateBadRequest) String() string
type TeamCreateConflict ¶
type TeamCreateConflict struct {
}
TeamCreateConflict describes a response with status code 409, with default header values.
A team with the same name already exists
func NewTeamCreateConflict ¶
func NewTeamCreateConflict() *TeamCreateConflict
NewTeamCreateConflict creates a TeamCreateConflict with default headers values
func (*TeamCreateConflict) Code ¶
func (o *TeamCreateConflict) Code() int
Code gets the status code for the team create conflict response
func (*TeamCreateConflict) Error ¶
func (o *TeamCreateConflict) Error() string
func (*TeamCreateConflict) IsClientError ¶
func (o *TeamCreateConflict) IsClientError() bool
IsClientError returns true when this team create conflict response has a 4xx status code
func (*TeamCreateConflict) IsCode ¶
func (o *TeamCreateConflict) IsCode(code int) bool
IsCode returns true when this team create conflict response a status code equal to that given
func (*TeamCreateConflict) IsRedirect ¶
func (o *TeamCreateConflict) IsRedirect() bool
IsRedirect returns true when this team create conflict response has a 3xx status code
func (*TeamCreateConflict) IsServerError ¶
func (o *TeamCreateConflict) IsServerError() bool
IsServerError returns true when this team create conflict response has a 5xx status code
func (*TeamCreateConflict) IsSuccess ¶
func (o *TeamCreateConflict) IsSuccess() bool
IsSuccess returns true when this team create conflict response has a 2xx status code
func (*TeamCreateConflict) String ¶
func (o *TeamCreateConflict) String() string
type TeamCreateInternalServerError ¶
type TeamCreateInternalServerError struct {
}
TeamCreateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewTeamCreateInternalServerError ¶
func NewTeamCreateInternalServerError() *TeamCreateInternalServerError
NewTeamCreateInternalServerError creates a TeamCreateInternalServerError with default headers values
func (*TeamCreateInternalServerError) Code ¶
func (o *TeamCreateInternalServerError) Code() int
Code gets the status code for the team create internal server error response
func (*TeamCreateInternalServerError) Error ¶
func (o *TeamCreateInternalServerError) Error() string
func (*TeamCreateInternalServerError) IsClientError ¶
func (o *TeamCreateInternalServerError) IsClientError() bool
IsClientError returns true when this team create internal server error response has a 4xx status code
func (*TeamCreateInternalServerError) IsCode ¶
func (o *TeamCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this team create internal server error response a status code equal to that given
func (*TeamCreateInternalServerError) IsRedirect ¶
func (o *TeamCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this team create internal server error response has a 3xx status code
func (*TeamCreateInternalServerError) IsServerError ¶
func (o *TeamCreateInternalServerError) IsServerError() bool
IsServerError returns true when this team create internal server error response has a 5xx status code
func (*TeamCreateInternalServerError) IsSuccess ¶
func (o *TeamCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this team create internal server error response has a 2xx status code
func (*TeamCreateInternalServerError) String ¶
func (o *TeamCreateInternalServerError) String() string
type TeamCreateOK ¶
type TeamCreateOK struct {
Payload *models.PortainerTeam
}
TeamCreateOK describes a response with status code 200, with default header values.
Success
func NewTeamCreateOK ¶
func NewTeamCreateOK() *TeamCreateOK
NewTeamCreateOK creates a TeamCreateOK with default headers values
func (*TeamCreateOK) Code ¶
func (o *TeamCreateOK) Code() int
Code gets the status code for the team create o k response
func (*TeamCreateOK) Error ¶
func (o *TeamCreateOK) Error() string
func (*TeamCreateOK) GetPayload ¶
func (o *TeamCreateOK) GetPayload() *models.PortainerTeam
func (*TeamCreateOK) IsClientError ¶
func (o *TeamCreateOK) IsClientError() bool
IsClientError returns true when this team create o k response has a 4xx status code
func (*TeamCreateOK) IsCode ¶
func (o *TeamCreateOK) IsCode(code int) bool
IsCode returns true when this team create o k response a status code equal to that given
func (*TeamCreateOK) IsRedirect ¶
func (o *TeamCreateOK) IsRedirect() bool
IsRedirect returns true when this team create o k response has a 3xx status code
func (*TeamCreateOK) IsServerError ¶
func (o *TeamCreateOK) IsServerError() bool
IsServerError returns true when this team create o k response has a 5xx status code
func (*TeamCreateOK) IsSuccess ¶
func (o *TeamCreateOK) IsSuccess() bool
IsSuccess returns true when this team create o k response has a 2xx status code
func (*TeamCreateOK) String ¶
func (o *TeamCreateOK) String() string
type TeamCreateParams ¶
type TeamCreateParams struct {
/* Body.
details
*/
Body *models.TeamsTeamCreatePayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TeamCreateParams contains all the parameters to send to the API endpoint
for the team create operation. Typically these are written to a http.Request.
func NewTeamCreateParams ¶
func NewTeamCreateParams() *TeamCreateParams
NewTeamCreateParams creates a new TeamCreateParams 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 NewTeamCreateParamsWithContext ¶
func NewTeamCreateParamsWithContext(ctx context.Context) *TeamCreateParams
NewTeamCreateParamsWithContext creates a new TeamCreateParams object with the ability to set a context for a request.
func NewTeamCreateParamsWithHTTPClient ¶
func NewTeamCreateParamsWithHTTPClient(client *http.Client) *TeamCreateParams
NewTeamCreateParamsWithHTTPClient creates a new TeamCreateParams object with the ability to set a custom HTTPClient for a request.
func NewTeamCreateParamsWithTimeout ¶
func NewTeamCreateParamsWithTimeout(timeout time.Duration) *TeamCreateParams
NewTeamCreateParamsWithTimeout creates a new TeamCreateParams object with the ability to set a timeout on a request.
func (*TeamCreateParams) SetBody ¶
func (o *TeamCreateParams) SetBody(body *models.TeamsTeamCreatePayload)
SetBody adds the body to the team create params
func (*TeamCreateParams) SetContext ¶
func (o *TeamCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the team create params
func (*TeamCreateParams) SetDefaults ¶
func (o *TeamCreateParams) SetDefaults()
SetDefaults hydrates default values in the team create params (not the query body).
All values with no default are reset to their zero value.
func (*TeamCreateParams) SetHTTPClient ¶
func (o *TeamCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the team create params
func (*TeamCreateParams) SetTimeout ¶
func (o *TeamCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the team create params
func (*TeamCreateParams) WithBody ¶
func (o *TeamCreateParams) WithBody(body *models.TeamsTeamCreatePayload) *TeamCreateParams
WithBody adds the body to the team create params
func (*TeamCreateParams) WithContext ¶
func (o *TeamCreateParams) WithContext(ctx context.Context) *TeamCreateParams
WithContext adds the context to the team create params
func (*TeamCreateParams) WithDefaults ¶
func (o *TeamCreateParams) WithDefaults() *TeamCreateParams
WithDefaults hydrates default values in the team create params (not the query body).
All values with no default are reset to their zero value.
func (*TeamCreateParams) WithHTTPClient ¶
func (o *TeamCreateParams) WithHTTPClient(client *http.Client) *TeamCreateParams
WithHTTPClient adds the HTTPClient to the team create params
func (*TeamCreateParams) WithTimeout ¶
func (o *TeamCreateParams) WithTimeout(timeout time.Duration) *TeamCreateParams
WithTimeout adds the timeout to the team create params
func (*TeamCreateParams) WriteToRequest ¶
func (o *TeamCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TeamCreateReader ¶
type TeamCreateReader struct {
// contains filtered or unexported fields
}
TeamCreateReader is a Reader for the TeamCreate structure.
func (*TeamCreateReader) ReadResponse ¶
func (o *TeamCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TeamDeleteBadRequest ¶
type TeamDeleteBadRequest struct {
}
TeamDeleteBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewTeamDeleteBadRequest ¶
func NewTeamDeleteBadRequest() *TeamDeleteBadRequest
NewTeamDeleteBadRequest creates a TeamDeleteBadRequest with default headers values
func (*TeamDeleteBadRequest) Code ¶
func (o *TeamDeleteBadRequest) Code() int
Code gets the status code for the team delete bad request response
func (*TeamDeleteBadRequest) Error ¶
func (o *TeamDeleteBadRequest) Error() string
func (*TeamDeleteBadRequest) IsClientError ¶
func (o *TeamDeleteBadRequest) IsClientError() bool
IsClientError returns true when this team delete bad request response has a 4xx status code
func (*TeamDeleteBadRequest) IsCode ¶
func (o *TeamDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this team delete bad request response a status code equal to that given
func (*TeamDeleteBadRequest) IsRedirect ¶
func (o *TeamDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this team delete bad request response has a 3xx status code
func (*TeamDeleteBadRequest) IsServerError ¶
func (o *TeamDeleteBadRequest) IsServerError() bool
IsServerError returns true when this team delete bad request response has a 5xx status code
func (*TeamDeleteBadRequest) IsSuccess ¶
func (o *TeamDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this team delete bad request response has a 2xx status code
func (*TeamDeleteBadRequest) String ¶
func (o *TeamDeleteBadRequest) String() string
type TeamDeleteForbidden ¶
type TeamDeleteForbidden struct {
}
TeamDeleteForbidden describes a response with status code 403, with default header values.
Permission denied
func NewTeamDeleteForbidden ¶
func NewTeamDeleteForbidden() *TeamDeleteForbidden
NewTeamDeleteForbidden creates a TeamDeleteForbidden with default headers values
func (*TeamDeleteForbidden) Code ¶
func (o *TeamDeleteForbidden) Code() int
Code gets the status code for the team delete forbidden response
func (*TeamDeleteForbidden) Error ¶
func (o *TeamDeleteForbidden) Error() string
func (*TeamDeleteForbidden) IsClientError ¶
func (o *TeamDeleteForbidden) IsClientError() bool
IsClientError returns true when this team delete forbidden response has a 4xx status code
func (*TeamDeleteForbidden) IsCode ¶
func (o *TeamDeleteForbidden) IsCode(code int) bool
IsCode returns true when this team delete forbidden response a status code equal to that given
func (*TeamDeleteForbidden) IsRedirect ¶
func (o *TeamDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this team delete forbidden response has a 3xx status code
func (*TeamDeleteForbidden) IsServerError ¶
func (o *TeamDeleteForbidden) IsServerError() bool
IsServerError returns true when this team delete forbidden response has a 5xx status code
func (*TeamDeleteForbidden) IsSuccess ¶
func (o *TeamDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this team delete forbidden response has a 2xx status code
func (*TeamDeleteForbidden) String ¶
func (o *TeamDeleteForbidden) String() string
type TeamDeleteInternalServerError ¶
type TeamDeleteInternalServerError struct {
}
TeamDeleteInternalServerError describes a response with status code 500, with default header values.
Server error
func NewTeamDeleteInternalServerError ¶
func NewTeamDeleteInternalServerError() *TeamDeleteInternalServerError
NewTeamDeleteInternalServerError creates a TeamDeleteInternalServerError with default headers values
func (*TeamDeleteInternalServerError) Code ¶
func (o *TeamDeleteInternalServerError) Code() int
Code gets the status code for the team delete internal server error response
func (*TeamDeleteInternalServerError) Error ¶
func (o *TeamDeleteInternalServerError) Error() string
func (*TeamDeleteInternalServerError) IsClientError ¶
func (o *TeamDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this team delete internal server error response has a 4xx status code
func (*TeamDeleteInternalServerError) IsCode ¶
func (o *TeamDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this team delete internal server error response a status code equal to that given
func (*TeamDeleteInternalServerError) IsRedirect ¶
func (o *TeamDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this team delete internal server error response has a 3xx status code
func (*TeamDeleteInternalServerError) IsServerError ¶
func (o *TeamDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this team delete internal server error response has a 5xx status code
func (*TeamDeleteInternalServerError) IsSuccess ¶
func (o *TeamDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this team delete internal server error response has a 2xx status code
func (*TeamDeleteInternalServerError) String ¶
func (o *TeamDeleteInternalServerError) String() string
type TeamDeleteNoContent ¶
type TeamDeleteNoContent struct {
}
TeamDeleteNoContent describes a response with status code 204, with default header values.
Success
func NewTeamDeleteNoContent ¶
func NewTeamDeleteNoContent() *TeamDeleteNoContent
NewTeamDeleteNoContent creates a TeamDeleteNoContent with default headers values
func (*TeamDeleteNoContent) Code ¶
func (o *TeamDeleteNoContent) Code() int
Code gets the status code for the team delete no content response
func (*TeamDeleteNoContent) Error ¶
func (o *TeamDeleteNoContent) Error() string
func (*TeamDeleteNoContent) IsClientError ¶
func (o *TeamDeleteNoContent) IsClientError() bool
IsClientError returns true when this team delete no content response has a 4xx status code
func (*TeamDeleteNoContent) IsCode ¶
func (o *TeamDeleteNoContent) IsCode(code int) bool
IsCode returns true when this team delete no content response a status code equal to that given
func (*TeamDeleteNoContent) IsRedirect ¶
func (o *TeamDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this team delete no content response has a 3xx status code
func (*TeamDeleteNoContent) IsServerError ¶
func (o *TeamDeleteNoContent) IsServerError() bool
IsServerError returns true when this team delete no content response has a 5xx status code
func (*TeamDeleteNoContent) IsSuccess ¶
func (o *TeamDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this team delete no content response has a 2xx status code
func (*TeamDeleteNoContent) String ¶
func (o *TeamDeleteNoContent) String() string
type TeamDeleteNotFound ¶
type TeamDeleteNotFound struct {
}
TeamDeleteNotFound describes a response with status code 404, with default header values.
Team not found
func NewTeamDeleteNotFound ¶
func NewTeamDeleteNotFound() *TeamDeleteNotFound
NewTeamDeleteNotFound creates a TeamDeleteNotFound with default headers values
func (*TeamDeleteNotFound) Code ¶
func (o *TeamDeleteNotFound) Code() int
Code gets the status code for the team delete not found response
func (*TeamDeleteNotFound) Error ¶
func (o *TeamDeleteNotFound) Error() string
func (*TeamDeleteNotFound) IsClientError ¶
func (o *TeamDeleteNotFound) IsClientError() bool
IsClientError returns true when this team delete not found response has a 4xx status code
func (*TeamDeleteNotFound) IsCode ¶
func (o *TeamDeleteNotFound) IsCode(code int) bool
IsCode returns true when this team delete not found response a status code equal to that given
func (*TeamDeleteNotFound) IsRedirect ¶
func (o *TeamDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this team delete not found response has a 3xx status code
func (*TeamDeleteNotFound) IsServerError ¶
func (o *TeamDeleteNotFound) IsServerError() bool
IsServerError returns true when this team delete not found response has a 5xx status code
func (*TeamDeleteNotFound) IsSuccess ¶
func (o *TeamDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this team delete not found response has a 2xx status code
func (*TeamDeleteNotFound) String ¶
func (o *TeamDeleteNotFound) String() string
type TeamDeleteParams ¶
type TeamDeleteParams struct {
/* ID.
Team Id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TeamDeleteParams contains all the parameters to send to the API endpoint
for the team delete operation. Typically these are written to a http.Request.
func NewTeamDeleteParams ¶
func NewTeamDeleteParams() *TeamDeleteParams
NewTeamDeleteParams creates a new TeamDeleteParams 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 NewTeamDeleteParamsWithContext ¶
func NewTeamDeleteParamsWithContext(ctx context.Context) *TeamDeleteParams
NewTeamDeleteParamsWithContext creates a new TeamDeleteParams object with the ability to set a context for a request.
func NewTeamDeleteParamsWithHTTPClient ¶
func NewTeamDeleteParamsWithHTTPClient(client *http.Client) *TeamDeleteParams
NewTeamDeleteParamsWithHTTPClient creates a new TeamDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewTeamDeleteParamsWithTimeout ¶
func NewTeamDeleteParamsWithTimeout(timeout time.Duration) *TeamDeleteParams
NewTeamDeleteParamsWithTimeout creates a new TeamDeleteParams object with the ability to set a timeout on a request.
func (*TeamDeleteParams) SetContext ¶
func (o *TeamDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the team delete params
func (*TeamDeleteParams) SetDefaults ¶
func (o *TeamDeleteParams) SetDefaults()
SetDefaults hydrates default values in the team delete params (not the query body).
All values with no default are reset to their zero value.
func (*TeamDeleteParams) SetHTTPClient ¶
func (o *TeamDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the team delete params
func (*TeamDeleteParams) SetID ¶
func (o *TeamDeleteParams) SetID(id int64)
SetID adds the id to the team delete params
func (*TeamDeleteParams) SetTimeout ¶
func (o *TeamDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the team delete params
func (*TeamDeleteParams) WithContext ¶
func (o *TeamDeleteParams) WithContext(ctx context.Context) *TeamDeleteParams
WithContext adds the context to the team delete params
func (*TeamDeleteParams) WithDefaults ¶
func (o *TeamDeleteParams) WithDefaults() *TeamDeleteParams
WithDefaults hydrates default values in the team delete params (not the query body).
All values with no default are reset to their zero value.
func (*TeamDeleteParams) WithHTTPClient ¶
func (o *TeamDeleteParams) WithHTTPClient(client *http.Client) *TeamDeleteParams
WithHTTPClient adds the HTTPClient to the team delete params
func (*TeamDeleteParams) WithID ¶
func (o *TeamDeleteParams) WithID(id int64) *TeamDeleteParams
WithID adds the id to the team delete params
func (*TeamDeleteParams) WithTimeout ¶
func (o *TeamDeleteParams) WithTimeout(timeout time.Duration) *TeamDeleteParams
WithTimeout adds the timeout to the team delete params
func (*TeamDeleteParams) WriteToRequest ¶
func (o *TeamDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TeamDeleteReader ¶
type TeamDeleteReader struct {
// contains filtered or unexported fields
}
TeamDeleteReader is a Reader for the TeamDelete structure.
func (*TeamDeleteReader) ReadResponse ¶
func (o *TeamDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TeamInspectBadRequest ¶
type TeamInspectBadRequest struct {
}
TeamInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewTeamInspectBadRequest ¶
func NewTeamInspectBadRequest() *TeamInspectBadRequest
NewTeamInspectBadRequest creates a TeamInspectBadRequest with default headers values
func (*TeamInspectBadRequest) Code ¶
func (o *TeamInspectBadRequest) Code() int
Code gets the status code for the team inspect bad request response
func (*TeamInspectBadRequest) Error ¶
func (o *TeamInspectBadRequest) Error() string
func (*TeamInspectBadRequest) IsClientError ¶
func (o *TeamInspectBadRequest) IsClientError() bool
IsClientError returns true when this team inspect bad request response has a 4xx status code
func (*TeamInspectBadRequest) IsCode ¶
func (o *TeamInspectBadRequest) IsCode(code int) bool
IsCode returns true when this team inspect bad request response a status code equal to that given
func (*TeamInspectBadRequest) IsRedirect ¶
func (o *TeamInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this team inspect bad request response has a 3xx status code
func (*TeamInspectBadRequest) IsServerError ¶
func (o *TeamInspectBadRequest) IsServerError() bool
IsServerError returns true when this team inspect bad request response has a 5xx status code
func (*TeamInspectBadRequest) IsSuccess ¶
func (o *TeamInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this team inspect bad request response has a 2xx status code
func (*TeamInspectBadRequest) String ¶
func (o *TeamInspectBadRequest) String() string
type TeamInspectForbidden ¶
type TeamInspectForbidden struct {
}
TeamInspectForbidden describes a response with status code 403, with default header values.
Permission denied
func NewTeamInspectForbidden ¶
func NewTeamInspectForbidden() *TeamInspectForbidden
NewTeamInspectForbidden creates a TeamInspectForbidden with default headers values
func (*TeamInspectForbidden) Code ¶
func (o *TeamInspectForbidden) Code() int
Code gets the status code for the team inspect forbidden response
func (*TeamInspectForbidden) Error ¶
func (o *TeamInspectForbidden) Error() string
func (*TeamInspectForbidden) IsClientError ¶
func (o *TeamInspectForbidden) IsClientError() bool
IsClientError returns true when this team inspect forbidden response has a 4xx status code
func (*TeamInspectForbidden) IsCode ¶
func (o *TeamInspectForbidden) IsCode(code int) bool
IsCode returns true when this team inspect forbidden response a status code equal to that given
func (*TeamInspectForbidden) IsRedirect ¶
func (o *TeamInspectForbidden) IsRedirect() bool
IsRedirect returns true when this team inspect forbidden response has a 3xx status code
func (*TeamInspectForbidden) IsServerError ¶
func (o *TeamInspectForbidden) IsServerError() bool
IsServerError returns true when this team inspect forbidden response has a 5xx status code
func (*TeamInspectForbidden) IsSuccess ¶
func (o *TeamInspectForbidden) IsSuccess() bool
IsSuccess returns true when this team inspect forbidden response has a 2xx status code
func (*TeamInspectForbidden) String ¶
func (o *TeamInspectForbidden) String() string
type TeamInspectInternalServerError ¶
type TeamInspectInternalServerError struct {
}
TeamInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewTeamInspectInternalServerError ¶
func NewTeamInspectInternalServerError() *TeamInspectInternalServerError
NewTeamInspectInternalServerError creates a TeamInspectInternalServerError with default headers values
func (*TeamInspectInternalServerError) Code ¶
func (o *TeamInspectInternalServerError) Code() int
Code gets the status code for the team inspect internal server error response
func (*TeamInspectInternalServerError) Error ¶
func (o *TeamInspectInternalServerError) Error() string
func (*TeamInspectInternalServerError) IsClientError ¶
func (o *TeamInspectInternalServerError) IsClientError() bool
IsClientError returns true when this team inspect internal server error response has a 4xx status code
func (*TeamInspectInternalServerError) IsCode ¶
func (o *TeamInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this team inspect internal server error response a status code equal to that given
func (*TeamInspectInternalServerError) IsRedirect ¶
func (o *TeamInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this team inspect internal server error response has a 3xx status code
func (*TeamInspectInternalServerError) IsServerError ¶
func (o *TeamInspectInternalServerError) IsServerError() bool
IsServerError returns true when this team inspect internal server error response has a 5xx status code
func (*TeamInspectInternalServerError) IsSuccess ¶
func (o *TeamInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this team inspect internal server error response has a 2xx status code
func (*TeamInspectInternalServerError) String ¶
func (o *TeamInspectInternalServerError) String() string
type TeamInspectNotFound ¶
type TeamInspectNotFound struct {
}
TeamInspectNotFound describes a response with status code 404, with default header values.
Team not found
func NewTeamInspectNotFound ¶
func NewTeamInspectNotFound() *TeamInspectNotFound
NewTeamInspectNotFound creates a TeamInspectNotFound with default headers values
func (*TeamInspectNotFound) Code ¶
func (o *TeamInspectNotFound) Code() int
Code gets the status code for the team inspect not found response
func (*TeamInspectNotFound) Error ¶
func (o *TeamInspectNotFound) Error() string
func (*TeamInspectNotFound) IsClientError ¶
func (o *TeamInspectNotFound) IsClientError() bool
IsClientError returns true when this team inspect not found response has a 4xx status code
func (*TeamInspectNotFound) IsCode ¶
func (o *TeamInspectNotFound) IsCode(code int) bool
IsCode returns true when this team inspect not found response a status code equal to that given
func (*TeamInspectNotFound) IsRedirect ¶
func (o *TeamInspectNotFound) IsRedirect() bool
IsRedirect returns true when this team inspect not found response has a 3xx status code
func (*TeamInspectNotFound) IsServerError ¶
func (o *TeamInspectNotFound) IsServerError() bool
IsServerError returns true when this team inspect not found response has a 5xx status code
func (*TeamInspectNotFound) IsSuccess ¶
func (o *TeamInspectNotFound) IsSuccess() bool
IsSuccess returns true when this team inspect not found response has a 2xx status code
func (*TeamInspectNotFound) String ¶
func (o *TeamInspectNotFound) String() string
type TeamInspectOK ¶
type TeamInspectOK struct {
Payload *models.PortainerTeam
}
TeamInspectOK describes a response with status code 200, with default header values.
Success
func NewTeamInspectOK ¶
func NewTeamInspectOK() *TeamInspectOK
NewTeamInspectOK creates a TeamInspectOK with default headers values
func (*TeamInspectOK) Code ¶
func (o *TeamInspectOK) Code() int
Code gets the status code for the team inspect o k response
func (*TeamInspectOK) Error ¶
func (o *TeamInspectOK) Error() string
func (*TeamInspectOK) GetPayload ¶
func (o *TeamInspectOK) GetPayload() *models.PortainerTeam
func (*TeamInspectOK) IsClientError ¶
func (o *TeamInspectOK) IsClientError() bool
IsClientError returns true when this team inspect o k response has a 4xx status code
func (*TeamInspectOK) IsCode ¶
func (o *TeamInspectOK) IsCode(code int) bool
IsCode returns true when this team inspect o k response a status code equal to that given
func (*TeamInspectOK) IsRedirect ¶
func (o *TeamInspectOK) IsRedirect() bool
IsRedirect returns true when this team inspect o k response has a 3xx status code
func (*TeamInspectOK) IsServerError ¶
func (o *TeamInspectOK) IsServerError() bool
IsServerError returns true when this team inspect o k response has a 5xx status code
func (*TeamInspectOK) IsSuccess ¶
func (o *TeamInspectOK) IsSuccess() bool
IsSuccess returns true when this team inspect o k response has a 2xx status code
func (*TeamInspectOK) String ¶
func (o *TeamInspectOK) String() string
type TeamInspectParams ¶
type TeamInspectParams struct {
/* ID.
Team identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TeamInspectParams contains all the parameters to send to the API endpoint
for the team inspect operation. Typically these are written to a http.Request.
func NewTeamInspectParams ¶
func NewTeamInspectParams() *TeamInspectParams
NewTeamInspectParams creates a new TeamInspectParams 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 NewTeamInspectParamsWithContext ¶
func NewTeamInspectParamsWithContext(ctx context.Context) *TeamInspectParams
NewTeamInspectParamsWithContext creates a new TeamInspectParams object with the ability to set a context for a request.
func NewTeamInspectParamsWithHTTPClient ¶
func NewTeamInspectParamsWithHTTPClient(client *http.Client) *TeamInspectParams
NewTeamInspectParamsWithHTTPClient creates a new TeamInspectParams object with the ability to set a custom HTTPClient for a request.
func NewTeamInspectParamsWithTimeout ¶
func NewTeamInspectParamsWithTimeout(timeout time.Duration) *TeamInspectParams
NewTeamInspectParamsWithTimeout creates a new TeamInspectParams object with the ability to set a timeout on a request.
func (*TeamInspectParams) SetContext ¶
func (o *TeamInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the team inspect params
func (*TeamInspectParams) SetDefaults ¶
func (o *TeamInspectParams) SetDefaults()
SetDefaults hydrates default values in the team inspect params (not the query body).
All values with no default are reset to their zero value.
func (*TeamInspectParams) SetHTTPClient ¶
func (o *TeamInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the team inspect params
func (*TeamInspectParams) SetID ¶
func (o *TeamInspectParams) SetID(id int64)
SetID adds the id to the team inspect params
func (*TeamInspectParams) SetTimeout ¶
func (o *TeamInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the team inspect params
func (*TeamInspectParams) WithContext ¶
func (o *TeamInspectParams) WithContext(ctx context.Context) *TeamInspectParams
WithContext adds the context to the team inspect params
func (*TeamInspectParams) WithDefaults ¶
func (o *TeamInspectParams) WithDefaults() *TeamInspectParams
WithDefaults hydrates default values in the team inspect params (not the query body).
All values with no default are reset to their zero value.
func (*TeamInspectParams) WithHTTPClient ¶
func (o *TeamInspectParams) WithHTTPClient(client *http.Client) *TeamInspectParams
WithHTTPClient adds the HTTPClient to the team inspect params
func (*TeamInspectParams) WithID ¶
func (o *TeamInspectParams) WithID(id int64) *TeamInspectParams
WithID adds the id to the team inspect params
func (*TeamInspectParams) WithTimeout ¶
func (o *TeamInspectParams) WithTimeout(timeout time.Duration) *TeamInspectParams
WithTimeout adds the timeout to the team inspect params
func (*TeamInspectParams) WriteToRequest ¶
func (o *TeamInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TeamInspectReader ¶
type TeamInspectReader struct {
// contains filtered or unexported fields
}
TeamInspectReader is a Reader for the TeamInspect structure.
func (*TeamInspectReader) ReadResponse ¶
func (o *TeamInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TeamListInternalServerError ¶
type TeamListInternalServerError struct {
}
TeamListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewTeamListInternalServerError ¶
func NewTeamListInternalServerError() *TeamListInternalServerError
NewTeamListInternalServerError creates a TeamListInternalServerError with default headers values
func (*TeamListInternalServerError) Code ¶
func (o *TeamListInternalServerError) Code() int
Code gets the status code for the team list internal server error response
func (*TeamListInternalServerError) Error ¶
func (o *TeamListInternalServerError) Error() string
func (*TeamListInternalServerError) IsClientError ¶
func (o *TeamListInternalServerError) IsClientError() bool
IsClientError returns true when this team list internal server error response has a 4xx status code
func (*TeamListInternalServerError) IsCode ¶
func (o *TeamListInternalServerError) IsCode(code int) bool
IsCode returns true when this team list internal server error response a status code equal to that given
func (*TeamListInternalServerError) IsRedirect ¶
func (o *TeamListInternalServerError) IsRedirect() bool
IsRedirect returns true when this team list internal server error response has a 3xx status code
func (*TeamListInternalServerError) IsServerError ¶
func (o *TeamListInternalServerError) IsServerError() bool
IsServerError returns true when this team list internal server error response has a 5xx status code
func (*TeamListInternalServerError) IsSuccess ¶
func (o *TeamListInternalServerError) IsSuccess() bool
IsSuccess returns true when this team list internal server error response has a 2xx status code
func (*TeamListInternalServerError) String ¶
func (o *TeamListInternalServerError) String() string
type TeamListOK ¶
type TeamListOK struct {
Payload []*models.PortainerTeam
}
TeamListOK describes a response with status code 200, with default header values.
Success
func NewTeamListOK ¶
func NewTeamListOK() *TeamListOK
NewTeamListOK creates a TeamListOK with default headers values
func (*TeamListOK) Code ¶
func (o *TeamListOK) Code() int
Code gets the status code for the team list o k response
func (*TeamListOK) Error ¶
func (o *TeamListOK) Error() string
func (*TeamListOK) GetPayload ¶
func (o *TeamListOK) GetPayload() []*models.PortainerTeam
func (*TeamListOK) IsClientError ¶
func (o *TeamListOK) IsClientError() bool
IsClientError returns true when this team list o k response has a 4xx status code
func (*TeamListOK) IsCode ¶
func (o *TeamListOK) IsCode(code int) bool
IsCode returns true when this team list o k response a status code equal to that given
func (*TeamListOK) IsRedirect ¶
func (o *TeamListOK) IsRedirect() bool
IsRedirect returns true when this team list o k response has a 3xx status code
func (*TeamListOK) IsServerError ¶
func (o *TeamListOK) IsServerError() bool
IsServerError returns true when this team list o k response has a 5xx status code
func (*TeamListOK) IsSuccess ¶
func (o *TeamListOK) IsSuccess() bool
IsSuccess returns true when this team list o k response has a 2xx status code
func (*TeamListOK) String ¶
func (o *TeamListOK) String() string
type TeamListParams ¶
type TeamListParams struct {
/* EnvironmentID.
Identifier of the environment(endpoint) that will be used to filter the authorized teams
*/
EnvironmentID *int64
/* OnlyLedTeams.
Only list teams that the user is leader of
*/
OnlyLedTeams *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TeamListParams contains all the parameters to send to the API endpoint
for the team list operation. Typically these are written to a http.Request.
func NewTeamListParams ¶
func NewTeamListParams() *TeamListParams
NewTeamListParams creates a new TeamListParams 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 NewTeamListParamsWithContext ¶
func NewTeamListParamsWithContext(ctx context.Context) *TeamListParams
NewTeamListParamsWithContext creates a new TeamListParams object with the ability to set a context for a request.
func NewTeamListParamsWithHTTPClient ¶
func NewTeamListParamsWithHTTPClient(client *http.Client) *TeamListParams
NewTeamListParamsWithHTTPClient creates a new TeamListParams object with the ability to set a custom HTTPClient for a request.
func NewTeamListParamsWithTimeout ¶
func NewTeamListParamsWithTimeout(timeout time.Duration) *TeamListParams
NewTeamListParamsWithTimeout creates a new TeamListParams object with the ability to set a timeout on a request.
func (*TeamListParams) SetContext ¶
func (o *TeamListParams) SetContext(ctx context.Context)
SetContext adds the context to the team list params
func (*TeamListParams) SetDefaults ¶
func (o *TeamListParams) SetDefaults()
SetDefaults hydrates default values in the team list params (not the query body).
All values with no default are reset to their zero value.
func (*TeamListParams) SetEnvironmentID ¶
func (o *TeamListParams) SetEnvironmentID(environmentID *int64)
SetEnvironmentID adds the environmentId to the team list params
func (*TeamListParams) SetHTTPClient ¶
func (o *TeamListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the team list params
func (*TeamListParams) SetOnlyLedTeams ¶
func (o *TeamListParams) SetOnlyLedTeams(onlyLedTeams *bool)
SetOnlyLedTeams adds the onlyLedTeams to the team list params
func (*TeamListParams) SetTimeout ¶
func (o *TeamListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the team list params
func (*TeamListParams) WithContext ¶
func (o *TeamListParams) WithContext(ctx context.Context) *TeamListParams
WithContext adds the context to the team list params
func (*TeamListParams) WithDefaults ¶
func (o *TeamListParams) WithDefaults() *TeamListParams
WithDefaults hydrates default values in the team list params (not the query body).
All values with no default are reset to their zero value.
func (*TeamListParams) WithEnvironmentID ¶
func (o *TeamListParams) WithEnvironmentID(environmentID *int64) *TeamListParams
WithEnvironmentID adds the environmentID to the team list params
func (*TeamListParams) WithHTTPClient ¶
func (o *TeamListParams) WithHTTPClient(client *http.Client) *TeamListParams
WithHTTPClient adds the HTTPClient to the team list params
func (*TeamListParams) WithOnlyLedTeams ¶
func (o *TeamListParams) WithOnlyLedTeams(onlyLedTeams *bool) *TeamListParams
WithOnlyLedTeams adds the onlyLedTeams to the team list params
func (*TeamListParams) WithTimeout ¶
func (o *TeamListParams) WithTimeout(timeout time.Duration) *TeamListParams
WithTimeout adds the timeout to the team list params
func (*TeamListParams) WriteToRequest ¶
func (o *TeamListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TeamListReader ¶
type TeamListReader struct {
// contains filtered or unexported fields
}
TeamListReader is a Reader for the TeamList structure.
func (*TeamListReader) ReadResponse ¶
func (o *TeamListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TeamUpdateBadRequest ¶
type TeamUpdateBadRequest struct {
}
TeamUpdateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewTeamUpdateBadRequest ¶
func NewTeamUpdateBadRequest() *TeamUpdateBadRequest
NewTeamUpdateBadRequest creates a TeamUpdateBadRequest with default headers values
func (*TeamUpdateBadRequest) Code ¶
func (o *TeamUpdateBadRequest) Code() int
Code gets the status code for the team update bad request response
func (*TeamUpdateBadRequest) Error ¶
func (o *TeamUpdateBadRequest) Error() string
func (*TeamUpdateBadRequest) IsClientError ¶
func (o *TeamUpdateBadRequest) IsClientError() bool
IsClientError returns true when this team update bad request response has a 4xx status code
func (*TeamUpdateBadRequest) IsCode ¶
func (o *TeamUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this team update bad request response a status code equal to that given
func (*TeamUpdateBadRequest) IsRedirect ¶
func (o *TeamUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this team update bad request response has a 3xx status code
func (*TeamUpdateBadRequest) IsServerError ¶
func (o *TeamUpdateBadRequest) IsServerError() bool
IsServerError returns true when this team update bad request response has a 5xx status code
func (*TeamUpdateBadRequest) IsSuccess ¶
func (o *TeamUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this team update bad request response has a 2xx status code
func (*TeamUpdateBadRequest) String ¶
func (o *TeamUpdateBadRequest) String() string
type TeamUpdateForbidden ¶
type TeamUpdateForbidden struct {
}
TeamUpdateForbidden describes a response with status code 403, with default header values.
Permission denied
func NewTeamUpdateForbidden ¶
func NewTeamUpdateForbidden() *TeamUpdateForbidden
NewTeamUpdateForbidden creates a TeamUpdateForbidden with default headers values
func (*TeamUpdateForbidden) Code ¶
func (o *TeamUpdateForbidden) Code() int
Code gets the status code for the team update forbidden response
func (*TeamUpdateForbidden) Error ¶
func (o *TeamUpdateForbidden) Error() string
func (*TeamUpdateForbidden) IsClientError ¶
func (o *TeamUpdateForbidden) IsClientError() bool
IsClientError returns true when this team update forbidden response has a 4xx status code
func (*TeamUpdateForbidden) IsCode ¶
func (o *TeamUpdateForbidden) IsCode(code int) bool
IsCode returns true when this team update forbidden response a status code equal to that given
func (*TeamUpdateForbidden) IsRedirect ¶
func (o *TeamUpdateForbidden) IsRedirect() bool
IsRedirect returns true when this team update forbidden response has a 3xx status code
func (*TeamUpdateForbidden) IsServerError ¶
func (o *TeamUpdateForbidden) IsServerError() bool
IsServerError returns true when this team update forbidden response has a 5xx status code
func (*TeamUpdateForbidden) IsSuccess ¶
func (o *TeamUpdateForbidden) IsSuccess() bool
IsSuccess returns true when this team update forbidden response has a 2xx status code
func (*TeamUpdateForbidden) String ¶
func (o *TeamUpdateForbidden) String() string
type TeamUpdateInternalServerError ¶
type TeamUpdateInternalServerError struct {
}
TeamUpdateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewTeamUpdateInternalServerError ¶
func NewTeamUpdateInternalServerError() *TeamUpdateInternalServerError
NewTeamUpdateInternalServerError creates a TeamUpdateInternalServerError with default headers values
func (*TeamUpdateInternalServerError) Code ¶
func (o *TeamUpdateInternalServerError) Code() int
Code gets the status code for the team update internal server error response
func (*TeamUpdateInternalServerError) Error ¶
func (o *TeamUpdateInternalServerError) Error() string
func (*TeamUpdateInternalServerError) IsClientError ¶
func (o *TeamUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this team update internal server error response has a 4xx status code
func (*TeamUpdateInternalServerError) IsCode ¶
func (o *TeamUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this team update internal server error response a status code equal to that given
func (*TeamUpdateInternalServerError) IsRedirect ¶
func (o *TeamUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this team update internal server error response has a 3xx status code
func (*TeamUpdateInternalServerError) IsServerError ¶
func (o *TeamUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this team update internal server error response has a 5xx status code
func (*TeamUpdateInternalServerError) IsSuccess ¶
func (o *TeamUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this team update internal server error response has a 2xx status code
func (*TeamUpdateInternalServerError) String ¶
func (o *TeamUpdateInternalServerError) String() string
type TeamUpdateNotFound ¶
type TeamUpdateNotFound struct {
}
TeamUpdateNotFound describes a response with status code 404, with default header values.
Team not found
func NewTeamUpdateNotFound ¶
func NewTeamUpdateNotFound() *TeamUpdateNotFound
NewTeamUpdateNotFound creates a TeamUpdateNotFound with default headers values
func (*TeamUpdateNotFound) Code ¶
func (o *TeamUpdateNotFound) Code() int
Code gets the status code for the team update not found response
func (*TeamUpdateNotFound) Error ¶
func (o *TeamUpdateNotFound) Error() string
func (*TeamUpdateNotFound) IsClientError ¶
func (o *TeamUpdateNotFound) IsClientError() bool
IsClientError returns true when this team update not found response has a 4xx status code
func (*TeamUpdateNotFound) IsCode ¶
func (o *TeamUpdateNotFound) IsCode(code int) bool
IsCode returns true when this team update not found response a status code equal to that given
func (*TeamUpdateNotFound) IsRedirect ¶
func (o *TeamUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this team update not found response has a 3xx status code
func (*TeamUpdateNotFound) IsServerError ¶
func (o *TeamUpdateNotFound) IsServerError() bool
IsServerError returns true when this team update not found response has a 5xx status code
func (*TeamUpdateNotFound) IsSuccess ¶
func (o *TeamUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this team update not found response has a 2xx status code
func (*TeamUpdateNotFound) String ¶
func (o *TeamUpdateNotFound) String() string
type TeamUpdateOK ¶
type TeamUpdateOK struct {
Payload *models.PortainerTeam
}
TeamUpdateOK describes a response with status code 200, with default header values.
Success
func NewTeamUpdateOK ¶
func NewTeamUpdateOK() *TeamUpdateOK
NewTeamUpdateOK creates a TeamUpdateOK with default headers values
func (*TeamUpdateOK) Code ¶
func (o *TeamUpdateOK) Code() int
Code gets the status code for the team update o k response
func (*TeamUpdateOK) Error ¶
func (o *TeamUpdateOK) Error() string
func (*TeamUpdateOK) GetPayload ¶
func (o *TeamUpdateOK) GetPayload() *models.PortainerTeam
func (*TeamUpdateOK) IsClientError ¶
func (o *TeamUpdateOK) IsClientError() bool
IsClientError returns true when this team update o k response has a 4xx status code
func (*TeamUpdateOK) IsCode ¶
func (o *TeamUpdateOK) IsCode(code int) bool
IsCode returns true when this team update o k response a status code equal to that given
func (*TeamUpdateOK) IsRedirect ¶
func (o *TeamUpdateOK) IsRedirect() bool
IsRedirect returns true when this team update o k response has a 3xx status code
func (*TeamUpdateOK) IsServerError ¶
func (o *TeamUpdateOK) IsServerError() bool
IsServerError returns true when this team update o k response has a 5xx status code
func (*TeamUpdateOK) IsSuccess ¶
func (o *TeamUpdateOK) IsSuccess() bool
IsSuccess returns true when this team update o k response has a 2xx status code
func (*TeamUpdateOK) String ¶
func (o *TeamUpdateOK) String() string
type TeamUpdateParams ¶
type TeamUpdateParams struct {
/* Body.
Team details
*/
Body *models.TeamsTeamUpdatePayload
/* ID.
Team identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TeamUpdateParams contains all the parameters to send to the API endpoint
for the team update operation. Typically these are written to a http.Request.
func NewTeamUpdateParams ¶
func NewTeamUpdateParams() *TeamUpdateParams
NewTeamUpdateParams creates a new TeamUpdateParams 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 NewTeamUpdateParamsWithContext ¶
func NewTeamUpdateParamsWithContext(ctx context.Context) *TeamUpdateParams
NewTeamUpdateParamsWithContext creates a new TeamUpdateParams object with the ability to set a context for a request.
func NewTeamUpdateParamsWithHTTPClient ¶
func NewTeamUpdateParamsWithHTTPClient(client *http.Client) *TeamUpdateParams
NewTeamUpdateParamsWithHTTPClient creates a new TeamUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewTeamUpdateParamsWithTimeout ¶
func NewTeamUpdateParamsWithTimeout(timeout time.Duration) *TeamUpdateParams
NewTeamUpdateParamsWithTimeout creates a new TeamUpdateParams object with the ability to set a timeout on a request.
func (*TeamUpdateParams) SetBody ¶
func (o *TeamUpdateParams) SetBody(body *models.TeamsTeamUpdatePayload)
SetBody adds the body to the team update params
func (*TeamUpdateParams) SetContext ¶
func (o *TeamUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the team update params
func (*TeamUpdateParams) SetDefaults ¶
func (o *TeamUpdateParams) SetDefaults()
SetDefaults hydrates default values in the team update params (not the query body).
All values with no default are reset to their zero value.
func (*TeamUpdateParams) SetHTTPClient ¶
func (o *TeamUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the team update params
func (*TeamUpdateParams) SetID ¶
func (o *TeamUpdateParams) SetID(id int64)
SetID adds the id to the team update params
func (*TeamUpdateParams) SetTimeout ¶
func (o *TeamUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the team update params
func (*TeamUpdateParams) WithBody ¶
func (o *TeamUpdateParams) WithBody(body *models.TeamsTeamUpdatePayload) *TeamUpdateParams
WithBody adds the body to the team update params
func (*TeamUpdateParams) WithContext ¶
func (o *TeamUpdateParams) WithContext(ctx context.Context) *TeamUpdateParams
WithContext adds the context to the team update params
func (*TeamUpdateParams) WithDefaults ¶
func (o *TeamUpdateParams) WithDefaults() *TeamUpdateParams
WithDefaults hydrates default values in the team update params (not the query body).
All values with no default are reset to their zero value.
func (*TeamUpdateParams) WithHTTPClient ¶
func (o *TeamUpdateParams) WithHTTPClient(client *http.Client) *TeamUpdateParams
WithHTTPClient adds the HTTPClient to the team update params
func (*TeamUpdateParams) WithID ¶
func (o *TeamUpdateParams) WithID(id int64) *TeamUpdateParams
WithID adds the id to the team update params
func (*TeamUpdateParams) WithTimeout ¶
func (o *TeamUpdateParams) WithTimeout(timeout time.Duration) *TeamUpdateParams
WithTimeout adds the timeout to the team update params
func (*TeamUpdateParams) WriteToRequest ¶
func (o *TeamUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TeamUpdateReader ¶
type TeamUpdateReader struct {
// contains filtered or unexported fields
}
TeamUpdateReader is a Reader for the TeamUpdate structure.
func (*TeamUpdateReader) ReadResponse ¶
func (o *TeamUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.