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) TeamMembershipsInspect(params *TeamMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter) (*TeamMembershipsInspectOK, error)
- func (a *Client) TeamUpdate(params *TeamUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*TeamUpdateOK, error)
- type TeamCreateBadRequest
- type TeamCreateConflict
- type TeamCreateForbidden
- type TeamCreateInternalServerError
- type TeamCreateOK
- type TeamCreateParams
- func (o *TeamCreateParams) SetBody(body *models.TeamCreateRequest)
- func (o *TeamCreateParams) SetContext(ctx context.Context)
- func (o *TeamCreateParams) SetHTTPClient(client *http.Client)
- func (o *TeamCreateParams) SetTimeout(timeout time.Duration)
- func (o *TeamCreateParams) WithBody(body *models.TeamCreateRequest) *TeamCreateParams
- func (o *TeamCreateParams) WithContext(ctx context.Context) *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
- type TeamDeleteInternalServerError
- type TeamDeleteNoContent
- type TeamDeleteNotFound
- type TeamDeleteParams
- func (o *TeamDeleteParams) SetContext(ctx context.Context)
- 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) 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
- type TeamInspectForbidden
- type TeamInspectInternalServerError
- type TeamInspectNotFound
- type TeamInspectOK
- type TeamInspectParams
- func (o *TeamInspectParams) SetContext(ctx context.Context)
- 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) 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
- type TeamListOK
- type TeamListParams
- func (o *TeamListParams) SetContext(ctx context.Context)
- func (o *TeamListParams) SetHTTPClient(client *http.Client)
- func (o *TeamListParams) SetTimeout(timeout time.Duration)
- func (o *TeamListParams) WithContext(ctx context.Context) *TeamListParams
- func (o *TeamListParams) WithHTTPClient(client *http.Client) *TeamListParams
- func (o *TeamListParams) WithTimeout(timeout time.Duration) *TeamListParams
- func (o *TeamListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamListReader
- type TeamMembershipsInspectBadRequest
- type TeamMembershipsInspectForbidden
- type TeamMembershipsInspectInternalServerError
- type TeamMembershipsInspectOK
- type TeamMembershipsInspectParams
- func NewTeamMembershipsInspectParams() *TeamMembershipsInspectParams
- func NewTeamMembershipsInspectParamsWithContext(ctx context.Context) *TeamMembershipsInspectParams
- func NewTeamMembershipsInspectParamsWithHTTPClient(client *http.Client) *TeamMembershipsInspectParams
- func NewTeamMembershipsInspectParamsWithTimeout(timeout time.Duration) *TeamMembershipsInspectParams
- func (o *TeamMembershipsInspectParams) SetContext(ctx context.Context)
- func (o *TeamMembershipsInspectParams) SetHTTPClient(client *http.Client)
- func (o *TeamMembershipsInspectParams) SetID(id int64)
- func (o *TeamMembershipsInspectParams) SetTimeout(timeout time.Duration)
- func (o *TeamMembershipsInspectParams) WithContext(ctx context.Context) *TeamMembershipsInspectParams
- func (o *TeamMembershipsInspectParams) WithHTTPClient(client *http.Client) *TeamMembershipsInspectParams
- func (o *TeamMembershipsInspectParams) WithID(id int64) *TeamMembershipsInspectParams
- func (o *TeamMembershipsInspectParams) WithTimeout(timeout time.Duration) *TeamMembershipsInspectParams
- func (o *TeamMembershipsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TeamMembershipsInspectReader
- type TeamUpdateBadRequest
- type TeamUpdateInternalServerError
- type TeamUpdateNotFound
- type TeamUpdateOK
- type TeamUpdateParams
- func (o *TeamUpdateParams) SetBody(body *models.TeamUpdateRequest)
- func (o *TeamUpdateParams) SetContext(ctx context.Context)
- 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.TeamUpdateRequest) *TeamUpdateParams
- func (o *TeamUpdateParams) WithContext(ctx context.Context) *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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new teams API client.
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) (*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) (*TeamDeleteNoContent, error)
TeamDelete removes a team
Remove a team. **Access policy**: administrator
func (*Client) TeamInspect ¶
func (a *Client) TeamInspect(params *TeamInspectParams, authInfo runtime.ClientAuthInfoWriter) (*TeamInspectOK, error)
TeamInspect inspects a team
Retrieve details about a team. Access is only available for administrator and leaders of that team. **Access policy**: restricted
func (*Client) TeamList ¶
func (a *Client) TeamList(params *TeamListParams, authInfo runtime.ClientAuthInfoWriter) (*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) TeamMembershipsInspect ¶
func (a *Client) TeamMembershipsInspect(params *TeamMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter) (*TeamMembershipsInspectOK, error)
TeamMembershipsInspect inspects a team memberships
Inspect a team memberships. Access is only available for administrator and leaders of that team. **Access policy**: restricted
func (*Client) TeamUpdate ¶
func (a *Client) TeamUpdate(params *TeamUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*TeamUpdateOK, error)
TeamUpdate updates a team
Update a team. **Access policy**: administrator
type TeamCreateBadRequest ¶
type TeamCreateBadRequest struct {
Payload *models.GenericError
}
TeamCreateBadRequest handles this case with default header values.
Invalid request
func NewTeamCreateBadRequest ¶
func NewTeamCreateBadRequest() *TeamCreateBadRequest
NewTeamCreateBadRequest creates a TeamCreateBadRequest with default headers values
func (*TeamCreateBadRequest) Error ¶
func (o *TeamCreateBadRequest) Error() string
type TeamCreateConflict ¶
type TeamCreateConflict struct {
Payload *models.GenericError
}
TeamCreateConflict handles this case with default header values.
Team already exists
func NewTeamCreateConflict ¶
func NewTeamCreateConflict() *TeamCreateConflict
NewTeamCreateConflict creates a TeamCreateConflict with default headers values
func (*TeamCreateConflict) Error ¶
func (o *TeamCreateConflict) Error() string
type TeamCreateForbidden ¶
type TeamCreateForbidden struct {
Payload *models.GenericError
}
TeamCreateForbidden handles this case with default header values.
Unauthorized
func NewTeamCreateForbidden ¶
func NewTeamCreateForbidden() *TeamCreateForbidden
NewTeamCreateForbidden creates a TeamCreateForbidden with default headers values
func (*TeamCreateForbidden) Error ¶
func (o *TeamCreateForbidden) Error() string
type TeamCreateInternalServerError ¶
type TeamCreateInternalServerError struct {
Payload *models.GenericError
}
TeamCreateInternalServerError handles this case with default header values.
Server error
func NewTeamCreateInternalServerError ¶
func NewTeamCreateInternalServerError() *TeamCreateInternalServerError
NewTeamCreateInternalServerError creates a TeamCreateInternalServerError with default headers values
func (*TeamCreateInternalServerError) Error ¶
func (o *TeamCreateInternalServerError) Error() string
type TeamCreateOK ¶
TeamCreateOK handles this case with default header values.
Success
func NewTeamCreateOK ¶
func NewTeamCreateOK() *TeamCreateOK
NewTeamCreateOK creates a TeamCreateOK with default headers values
func (*TeamCreateOK) Error ¶
func (o *TeamCreateOK) Error() string
type TeamCreateParams ¶
type TeamCreateParams struct {
/*Body
Team details
*/
Body *models.TeamCreateRequest
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 values initialized.
func NewTeamCreateParamsWithContext ¶
func NewTeamCreateParamsWithContext(ctx context.Context) *TeamCreateParams
NewTeamCreateParamsWithContext creates a new TeamCreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*TeamCreateParams) SetBody ¶
func (o *TeamCreateParams) SetBody(body *models.TeamCreateRequest)
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) 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.TeamCreateRequest) *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) 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 {
Payload *models.GenericError
}
TeamDeleteBadRequest handles this case with default header values.
Invalid request
func NewTeamDeleteBadRequest ¶
func NewTeamDeleteBadRequest() *TeamDeleteBadRequest
NewTeamDeleteBadRequest creates a TeamDeleteBadRequest with default headers values
func (*TeamDeleteBadRequest) Error ¶
func (o *TeamDeleteBadRequest) Error() string
type TeamDeleteInternalServerError ¶
type TeamDeleteInternalServerError struct {
Payload *models.GenericError
}
TeamDeleteInternalServerError handles this case with default header values.
Server error
func NewTeamDeleteInternalServerError ¶
func NewTeamDeleteInternalServerError() *TeamDeleteInternalServerError
NewTeamDeleteInternalServerError creates a TeamDeleteInternalServerError with default headers values
func (*TeamDeleteInternalServerError) Error ¶
func (o *TeamDeleteInternalServerError) Error() string
type TeamDeleteNoContent ¶
type TeamDeleteNoContent struct {
}
TeamDeleteNoContent handles this case with default header values.
Success
func NewTeamDeleteNoContent ¶
func NewTeamDeleteNoContent() *TeamDeleteNoContent
NewTeamDeleteNoContent creates a TeamDeleteNoContent with default headers values
func (*TeamDeleteNoContent) Error ¶
func (o *TeamDeleteNoContent) Error() string
type TeamDeleteNotFound ¶
type TeamDeleteNotFound struct {
Payload *models.GenericError
}
TeamDeleteNotFound handles this case with default header values.
Team not found
func NewTeamDeleteNotFound ¶
func NewTeamDeleteNotFound() *TeamDeleteNotFound
NewTeamDeleteNotFound creates a TeamDeleteNotFound with default headers values
func (*TeamDeleteNotFound) Error ¶
func (o *TeamDeleteNotFound) Error() string
type TeamDeleteParams ¶
type TeamDeleteParams struct {
/*ID
Team identifier
*/
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 values initialized.
func NewTeamDeleteParamsWithContext ¶
func NewTeamDeleteParamsWithContext(ctx context.Context) *TeamDeleteParams
NewTeamDeleteParamsWithContext creates a new TeamDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
Payload *models.GenericError
}
TeamInspectBadRequest handles this case with default header values.
Invalid request
func NewTeamInspectBadRequest ¶
func NewTeamInspectBadRequest() *TeamInspectBadRequest
NewTeamInspectBadRequest creates a TeamInspectBadRequest with default headers values
func (*TeamInspectBadRequest) Error ¶
func (o *TeamInspectBadRequest) Error() string
type TeamInspectForbidden ¶
type TeamInspectForbidden struct {
Payload *models.GenericError
}
TeamInspectForbidden handles this case with default header values.
Unauthorized
func NewTeamInspectForbidden ¶
func NewTeamInspectForbidden() *TeamInspectForbidden
NewTeamInspectForbidden creates a TeamInspectForbidden with default headers values
func (*TeamInspectForbidden) Error ¶
func (o *TeamInspectForbidden) Error() string
type TeamInspectInternalServerError ¶
type TeamInspectInternalServerError struct {
Payload *models.GenericError
}
TeamInspectInternalServerError handles this case with default header values.
Server error
func NewTeamInspectInternalServerError ¶
func NewTeamInspectInternalServerError() *TeamInspectInternalServerError
NewTeamInspectInternalServerError creates a TeamInspectInternalServerError with default headers values
func (*TeamInspectInternalServerError) Error ¶
func (o *TeamInspectInternalServerError) Error() string
type TeamInspectNotFound ¶
type TeamInspectNotFound struct {
Payload *models.GenericError
}
TeamInspectNotFound handles this case with default header values.
Team not found
func NewTeamInspectNotFound ¶
func NewTeamInspectNotFound() *TeamInspectNotFound
NewTeamInspectNotFound creates a TeamInspectNotFound with default headers values
func (*TeamInspectNotFound) Error ¶
func (o *TeamInspectNotFound) Error() string
type TeamInspectOK ¶
TeamInspectOK handles this case with default header values.
Success
func NewTeamInspectOK ¶
func NewTeamInspectOK() *TeamInspectOK
NewTeamInspectOK creates a TeamInspectOK with default headers values
func (*TeamInspectOK) Error ¶
func (o *TeamInspectOK) Error() 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 values initialized.
func NewTeamInspectParamsWithContext ¶
func NewTeamInspectParamsWithContext(ctx context.Context) *TeamInspectParams
NewTeamInspectParamsWithContext creates a new TeamInspectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
Payload *models.GenericError
}
TeamListInternalServerError handles this case with default header values.
Server error
func NewTeamListInternalServerError ¶
func NewTeamListInternalServerError() *TeamListInternalServerError
NewTeamListInternalServerError creates a TeamListInternalServerError with default headers values
func (*TeamListInternalServerError) Error ¶
func (o *TeamListInternalServerError) Error() string
type TeamListOK ¶
type TeamListOK struct {
Payload models.TeamListResponse
}
TeamListOK handles this case with default header values.
Success
func NewTeamListOK ¶
func NewTeamListOK() *TeamListOK
NewTeamListOK creates a TeamListOK with default headers values
func (*TeamListOK) Error ¶
func (o *TeamListOK) Error() string
type TeamListParams ¶
type TeamListParams struct {
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 values initialized.
func NewTeamListParamsWithContext ¶
func NewTeamListParamsWithContext(ctx context.Context) *TeamListParams
NewTeamListParamsWithContext creates a new TeamListParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *TeamListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithHTTPClient ¶
func (o *TeamListParams) WithHTTPClient(client *http.Client) *TeamListParams
WithHTTPClient adds the HTTPClient 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 TeamMembershipsInspectBadRequest ¶
type TeamMembershipsInspectBadRequest struct {
Payload *models.GenericError
}
TeamMembershipsInspectBadRequest handles this case with default header values.
Invalid request
func NewTeamMembershipsInspectBadRequest ¶
func NewTeamMembershipsInspectBadRequest() *TeamMembershipsInspectBadRequest
NewTeamMembershipsInspectBadRequest creates a TeamMembershipsInspectBadRequest with default headers values
func (*TeamMembershipsInspectBadRequest) Error ¶
func (o *TeamMembershipsInspectBadRequest) Error() string
type TeamMembershipsInspectForbidden ¶
type TeamMembershipsInspectForbidden struct {
Payload *models.GenericError
}
TeamMembershipsInspectForbidden handles this case with default header values.
Unauthorized
func NewTeamMembershipsInspectForbidden ¶
func NewTeamMembershipsInspectForbidden() *TeamMembershipsInspectForbidden
NewTeamMembershipsInspectForbidden creates a TeamMembershipsInspectForbidden with default headers values
func (*TeamMembershipsInspectForbidden) Error ¶
func (o *TeamMembershipsInspectForbidden) Error() string
type TeamMembershipsInspectInternalServerError ¶
type TeamMembershipsInspectInternalServerError struct {
Payload *models.GenericError
}
TeamMembershipsInspectInternalServerError handles this case with default header values.
Server error
func NewTeamMembershipsInspectInternalServerError ¶
func NewTeamMembershipsInspectInternalServerError() *TeamMembershipsInspectInternalServerError
NewTeamMembershipsInspectInternalServerError creates a TeamMembershipsInspectInternalServerError with default headers values
func (*TeamMembershipsInspectInternalServerError) Error ¶
func (o *TeamMembershipsInspectInternalServerError) Error() string
type TeamMembershipsInspectOK ¶
type TeamMembershipsInspectOK struct {
Payload models.TeamMembershipsResponse
}
TeamMembershipsInspectOK handles this case with default header values.
Success
func NewTeamMembershipsInspectOK ¶
func NewTeamMembershipsInspectOK() *TeamMembershipsInspectOK
NewTeamMembershipsInspectOK creates a TeamMembershipsInspectOK with default headers values
func (*TeamMembershipsInspectOK) Error ¶
func (o *TeamMembershipsInspectOK) Error() string
type TeamMembershipsInspectParams ¶
type TeamMembershipsInspectParams struct {
/*ID
Team identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
TeamMembershipsInspectParams contains all the parameters to send to the API endpoint for the team memberships inspect operation typically these are written to a http.Request
func NewTeamMembershipsInspectParams ¶
func NewTeamMembershipsInspectParams() *TeamMembershipsInspectParams
NewTeamMembershipsInspectParams creates a new TeamMembershipsInspectParams object with the default values initialized.
func NewTeamMembershipsInspectParamsWithContext ¶
func NewTeamMembershipsInspectParamsWithContext(ctx context.Context) *TeamMembershipsInspectParams
NewTeamMembershipsInspectParamsWithContext creates a new TeamMembershipsInspectParams object with the default values initialized, and the ability to set a context for a request
func NewTeamMembershipsInspectParamsWithHTTPClient ¶
func NewTeamMembershipsInspectParamsWithHTTPClient(client *http.Client) *TeamMembershipsInspectParams
NewTeamMembershipsInspectParamsWithHTTPClient creates a new TeamMembershipsInspectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTeamMembershipsInspectParamsWithTimeout ¶
func NewTeamMembershipsInspectParamsWithTimeout(timeout time.Duration) *TeamMembershipsInspectParams
NewTeamMembershipsInspectParamsWithTimeout creates a new TeamMembershipsInspectParams object with the default values initialized, and the ability to set a timeout on a request
func (*TeamMembershipsInspectParams) SetContext ¶
func (o *TeamMembershipsInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the team memberships inspect params
func (*TeamMembershipsInspectParams) SetHTTPClient ¶
func (o *TeamMembershipsInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the team memberships inspect params
func (*TeamMembershipsInspectParams) SetID ¶
func (o *TeamMembershipsInspectParams) SetID(id int64)
SetID adds the id to the team memberships inspect params
func (*TeamMembershipsInspectParams) SetTimeout ¶
func (o *TeamMembershipsInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the team memberships inspect params
func (*TeamMembershipsInspectParams) WithContext ¶
func (o *TeamMembershipsInspectParams) WithContext(ctx context.Context) *TeamMembershipsInspectParams
WithContext adds the context to the team memberships inspect params
func (*TeamMembershipsInspectParams) WithHTTPClient ¶
func (o *TeamMembershipsInspectParams) WithHTTPClient(client *http.Client) *TeamMembershipsInspectParams
WithHTTPClient adds the HTTPClient to the team memberships inspect params
func (*TeamMembershipsInspectParams) WithID ¶
func (o *TeamMembershipsInspectParams) WithID(id int64) *TeamMembershipsInspectParams
WithID adds the id to the team memberships inspect params
func (*TeamMembershipsInspectParams) WithTimeout ¶
func (o *TeamMembershipsInspectParams) WithTimeout(timeout time.Duration) *TeamMembershipsInspectParams
WithTimeout adds the timeout to the team memberships inspect params
func (*TeamMembershipsInspectParams) WriteToRequest ¶
func (o *TeamMembershipsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TeamMembershipsInspectReader ¶
type TeamMembershipsInspectReader struct {
// contains filtered or unexported fields
}
TeamMembershipsInspectReader is a Reader for the TeamMembershipsInspect structure.
func (*TeamMembershipsInspectReader) ReadResponse ¶
func (o *TeamMembershipsInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TeamUpdateBadRequest ¶
type TeamUpdateBadRequest struct {
Payload *models.GenericError
}
TeamUpdateBadRequest handles this case with default header values.
Invalid request
func NewTeamUpdateBadRequest ¶
func NewTeamUpdateBadRequest() *TeamUpdateBadRequest
NewTeamUpdateBadRequest creates a TeamUpdateBadRequest with default headers values
func (*TeamUpdateBadRequest) Error ¶
func (o *TeamUpdateBadRequest) Error() string
type TeamUpdateInternalServerError ¶
type TeamUpdateInternalServerError struct {
Payload *models.GenericError
}
TeamUpdateInternalServerError handles this case with default header values.
Server error
func NewTeamUpdateInternalServerError ¶
func NewTeamUpdateInternalServerError() *TeamUpdateInternalServerError
NewTeamUpdateInternalServerError creates a TeamUpdateInternalServerError with default headers values
func (*TeamUpdateInternalServerError) Error ¶
func (o *TeamUpdateInternalServerError) Error() string
type TeamUpdateNotFound ¶
type TeamUpdateNotFound struct {
Payload *models.GenericError
}
TeamUpdateNotFound handles this case with default header values.
Team not found
func NewTeamUpdateNotFound ¶
func NewTeamUpdateNotFound() *TeamUpdateNotFound
NewTeamUpdateNotFound creates a TeamUpdateNotFound with default headers values
func (*TeamUpdateNotFound) Error ¶
func (o *TeamUpdateNotFound) Error() string
type TeamUpdateOK ¶
type TeamUpdateOK struct {
}
TeamUpdateOK handles this case with default header values.
Success
func NewTeamUpdateOK ¶
func NewTeamUpdateOK() *TeamUpdateOK
NewTeamUpdateOK creates a TeamUpdateOK with default headers values
func (*TeamUpdateOK) Error ¶
func (o *TeamUpdateOK) Error() string
type TeamUpdateParams ¶
type TeamUpdateParams struct {
/*Body
Team details
*/
Body *models.TeamUpdateRequest
/*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 values initialized.
func NewTeamUpdateParamsWithContext ¶
func NewTeamUpdateParamsWithContext(ctx context.Context) *TeamUpdateParams
NewTeamUpdateParamsWithContext creates a new TeamUpdateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*TeamUpdateParams) SetBody ¶
func (o *TeamUpdateParams) SetBody(body *models.TeamUpdateRequest)
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) 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.TeamUpdateRequest) *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) 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.
Source Files
¶
- team_create_parameters.go
- team_create_responses.go
- team_delete_parameters.go
- team_delete_responses.go
- team_inspect_parameters.go
- team_inspect_responses.go
- team_list_parameters.go
- team_list_responses.go
- team_memberships_inspect_parameters.go
- team_memberships_inspect_responses.go
- team_update_parameters.go
- team_update_responses.go
- teams_client.go