sync_team_groups

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTeamGroupAPIBadRequest

type AddTeamGroupAPIBadRequest struct {
	Payload *models.ErrorResponseBody
}

AddTeamGroupAPIBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewAddTeamGroupAPIBadRequest

func NewAddTeamGroupAPIBadRequest() *AddTeamGroupAPIBadRequest

NewAddTeamGroupAPIBadRequest creates a AddTeamGroupAPIBadRequest with default headers values

func (*AddTeamGroupAPIBadRequest) Error

func (o *AddTeamGroupAPIBadRequest) Error() string

func (*AddTeamGroupAPIBadRequest) GetPayload

type AddTeamGroupAPIForbidden

type AddTeamGroupAPIForbidden struct {
	Payload *models.ErrorResponseBody
}

AddTeamGroupAPIForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAddTeamGroupAPIForbidden

func NewAddTeamGroupAPIForbidden() *AddTeamGroupAPIForbidden

NewAddTeamGroupAPIForbidden creates a AddTeamGroupAPIForbidden with default headers values

func (*AddTeamGroupAPIForbidden) Error

func (o *AddTeamGroupAPIForbidden) Error() string

func (*AddTeamGroupAPIForbidden) GetPayload

type AddTeamGroupAPIInternalServerError

type AddTeamGroupAPIInternalServerError struct {
	Payload *models.ErrorResponseBody
}

AddTeamGroupAPIInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewAddTeamGroupAPIInternalServerError

func NewAddTeamGroupAPIInternalServerError() *AddTeamGroupAPIInternalServerError

NewAddTeamGroupAPIInternalServerError creates a AddTeamGroupAPIInternalServerError with default headers values

func (*AddTeamGroupAPIInternalServerError) Error

func (*AddTeamGroupAPIInternalServerError) GetPayload

type AddTeamGroupAPINotFound

type AddTeamGroupAPINotFound struct {
	Payload *models.ErrorResponseBody
}

AddTeamGroupAPINotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewAddTeamGroupAPINotFound

func NewAddTeamGroupAPINotFound() *AddTeamGroupAPINotFound

NewAddTeamGroupAPINotFound creates a AddTeamGroupAPINotFound with default headers values

func (*AddTeamGroupAPINotFound) Error

func (o *AddTeamGroupAPINotFound) Error() string

func (*AddTeamGroupAPINotFound) GetPayload

type AddTeamGroupAPIOK

type AddTeamGroupAPIOK struct {
	Payload *models.SuccessResponseBody
}

AddTeamGroupAPIOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewAddTeamGroupAPIOK

func NewAddTeamGroupAPIOK() *AddTeamGroupAPIOK

NewAddTeamGroupAPIOK creates a AddTeamGroupAPIOK with default headers values

func (*AddTeamGroupAPIOK) Error

func (o *AddTeamGroupAPIOK) Error() string

func (*AddTeamGroupAPIOK) GetPayload

func (o *AddTeamGroupAPIOK) GetPayload() *models.SuccessResponseBody

type AddTeamGroupAPIParams

type AddTeamGroupAPIParams struct {

	// Body.
	Body *models.TeamGroupMapping

	// TeamID.
	//
	// Format: int64
	TeamID int64

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

AddTeamGroupAPIParams contains all the parameters to send to the API endpoint

for the add team group Api operation.

Typically these are written to a http.Request.

func NewAddTeamGroupAPIParams

func NewAddTeamGroupAPIParams() *AddTeamGroupAPIParams

NewAddTeamGroupAPIParams creates a new AddTeamGroupAPIParams 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 NewAddTeamGroupAPIParamsWithContext

func NewAddTeamGroupAPIParamsWithContext(ctx context.Context) *AddTeamGroupAPIParams

NewAddTeamGroupAPIParamsWithContext creates a new AddTeamGroupAPIParams object with the ability to set a context for a request.

func NewAddTeamGroupAPIParamsWithHTTPClient

func NewAddTeamGroupAPIParamsWithHTTPClient(client *http.Client) *AddTeamGroupAPIParams

NewAddTeamGroupAPIParamsWithHTTPClient creates a new AddTeamGroupAPIParams object with the ability to set a custom HTTPClient for a request.

func NewAddTeamGroupAPIParamsWithTimeout

func NewAddTeamGroupAPIParamsWithTimeout(timeout time.Duration) *AddTeamGroupAPIParams

NewAddTeamGroupAPIParamsWithTimeout creates a new AddTeamGroupAPIParams object with the ability to set a timeout on a request.

func (*AddTeamGroupAPIParams) SetBody

func (o *AddTeamGroupAPIParams) SetBody(body *models.TeamGroupMapping)

SetBody adds the body to the add team group Api params

func (*AddTeamGroupAPIParams) SetContext

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

SetContext adds the context to the add team group Api params

func (*AddTeamGroupAPIParams) SetDefaults

func (o *AddTeamGroupAPIParams) SetDefaults()

SetDefaults hydrates default values in the add team group Api params (not the query body).

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

func (*AddTeamGroupAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add team group Api params

func (*AddTeamGroupAPIParams) SetTeamID

func (o *AddTeamGroupAPIParams) SetTeamID(teamID int64)

SetTeamID adds the teamId to the add team group Api params

func (*AddTeamGroupAPIParams) SetTimeout

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

SetTimeout adds the timeout to the add team group Api params

func (*AddTeamGroupAPIParams) WithBody

WithBody adds the body to the add team group Api params

func (*AddTeamGroupAPIParams) WithContext

WithContext adds the context to the add team group Api params

func (*AddTeamGroupAPIParams) WithDefaults

func (o *AddTeamGroupAPIParams) WithDefaults() *AddTeamGroupAPIParams

WithDefaults hydrates default values in the add team group Api params (not the query body).

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

func (*AddTeamGroupAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add team group Api params

func (*AddTeamGroupAPIParams) WithTeamID

func (o *AddTeamGroupAPIParams) WithTeamID(teamID int64) *AddTeamGroupAPIParams

WithTeamID adds the teamID to the add team group Api params

func (*AddTeamGroupAPIParams) WithTimeout

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

WithTimeout adds the timeout to the add team group Api params

func (*AddTeamGroupAPIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddTeamGroupAPIReader

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

AddTeamGroupAPIReader is a Reader for the AddTeamGroupAPI structure.

func (*AddTeamGroupAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddTeamGroupAPIUnauthorized

type AddTeamGroupAPIUnauthorized struct {
	Payload *models.ErrorResponseBody
}

AddTeamGroupAPIUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewAddTeamGroupAPIUnauthorized

func NewAddTeamGroupAPIUnauthorized() *AddTeamGroupAPIUnauthorized

NewAddTeamGroupAPIUnauthorized creates a AddTeamGroupAPIUnauthorized with default headers values

func (*AddTeamGroupAPIUnauthorized) Error

func (*AddTeamGroupAPIUnauthorized) GetPayload

type Client

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

Client for sync team groups API

func (*Client) AddTeamGroupAPI

func (a *Client) AddTeamGroupAPI(params *AddTeamGroupAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTeamGroupAPIOK, error)

AddTeamGroupAPI adds external group

func (*Client) GetTeamGroupsAPI

func (a *Client) GetTeamGroupsAPI(params *GetTeamGroupsAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTeamGroupsAPIOK, error)

GetTeamGroupsAPI gets external groups

func (*Client) RemoveTeamGroupAPI

func (a *Client) RemoveTeamGroupAPI(params *RemoveTeamGroupAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTeamGroupAPIOK, error)

RemoveTeamGroupAPI removes external group

func (*Client) RemoveTeamGroupAPIQuery

func (a *Client) RemoveTeamGroupAPIQuery(params *RemoveTeamGroupAPIQueryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTeamGroupAPIQueryOK, error)

RemoveTeamGroupAPIQuery removes external group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddTeamGroupAPI(params *AddTeamGroupAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTeamGroupAPIOK, error)

	GetTeamGroupsAPI(params *GetTeamGroupsAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTeamGroupsAPIOK, error)

	RemoveTeamGroupAPI(params *RemoveTeamGroupAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTeamGroupAPIOK, error)

	RemoveTeamGroupAPIQuery(params *RemoveTeamGroupAPIQueryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTeamGroupAPIQueryOK, 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 sync team groups API client.

type GetTeamGroupsAPIBadRequest

type GetTeamGroupsAPIBadRequest struct {
	Payload *models.ErrorResponseBody
}

GetTeamGroupsAPIBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetTeamGroupsAPIBadRequest

func NewGetTeamGroupsAPIBadRequest() *GetTeamGroupsAPIBadRequest

NewGetTeamGroupsAPIBadRequest creates a GetTeamGroupsAPIBadRequest with default headers values

func (*GetTeamGroupsAPIBadRequest) Error

func (*GetTeamGroupsAPIBadRequest) GetPayload

type GetTeamGroupsAPIForbidden

type GetTeamGroupsAPIForbidden struct {
	Payload *models.ErrorResponseBody
}

GetTeamGroupsAPIForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetTeamGroupsAPIForbidden

func NewGetTeamGroupsAPIForbidden() *GetTeamGroupsAPIForbidden

NewGetTeamGroupsAPIForbidden creates a GetTeamGroupsAPIForbidden with default headers values

func (*GetTeamGroupsAPIForbidden) Error

func (o *GetTeamGroupsAPIForbidden) Error() string

func (*GetTeamGroupsAPIForbidden) GetPayload

type GetTeamGroupsAPIInternalServerError

type GetTeamGroupsAPIInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetTeamGroupsAPIInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetTeamGroupsAPIInternalServerError

func NewGetTeamGroupsAPIInternalServerError() *GetTeamGroupsAPIInternalServerError

NewGetTeamGroupsAPIInternalServerError creates a GetTeamGroupsAPIInternalServerError with default headers values

func (*GetTeamGroupsAPIInternalServerError) Error

func (*GetTeamGroupsAPIInternalServerError) GetPayload

type GetTeamGroupsAPINotFound

type GetTeamGroupsAPINotFound struct {
	Payload *models.ErrorResponseBody
}

GetTeamGroupsAPINotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetTeamGroupsAPINotFound

func NewGetTeamGroupsAPINotFound() *GetTeamGroupsAPINotFound

NewGetTeamGroupsAPINotFound creates a GetTeamGroupsAPINotFound with default headers values

func (*GetTeamGroupsAPINotFound) Error

func (o *GetTeamGroupsAPINotFound) Error() string

func (*GetTeamGroupsAPINotFound) GetPayload

type GetTeamGroupsAPIOK

type GetTeamGroupsAPIOK struct {
	Payload []*models.TeamGroupDTO
}

GetTeamGroupsAPIOK describes a response with status code 200, with default header values.

(empty)

func NewGetTeamGroupsAPIOK

func NewGetTeamGroupsAPIOK() *GetTeamGroupsAPIOK

NewGetTeamGroupsAPIOK creates a GetTeamGroupsAPIOK with default headers values

func (*GetTeamGroupsAPIOK) Error

func (o *GetTeamGroupsAPIOK) Error() string

func (*GetTeamGroupsAPIOK) GetPayload

func (o *GetTeamGroupsAPIOK) GetPayload() []*models.TeamGroupDTO

type GetTeamGroupsAPIParams

type GetTeamGroupsAPIParams struct {

	// TeamID.
	//
	// Format: int64
	TeamID int64

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

GetTeamGroupsAPIParams contains all the parameters to send to the API endpoint

for the get team groups Api operation.

Typically these are written to a http.Request.

func NewGetTeamGroupsAPIParams

func NewGetTeamGroupsAPIParams() *GetTeamGroupsAPIParams

NewGetTeamGroupsAPIParams creates a new GetTeamGroupsAPIParams 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 NewGetTeamGroupsAPIParamsWithContext

func NewGetTeamGroupsAPIParamsWithContext(ctx context.Context) *GetTeamGroupsAPIParams

NewGetTeamGroupsAPIParamsWithContext creates a new GetTeamGroupsAPIParams object with the ability to set a context for a request.

func NewGetTeamGroupsAPIParamsWithHTTPClient

func NewGetTeamGroupsAPIParamsWithHTTPClient(client *http.Client) *GetTeamGroupsAPIParams

NewGetTeamGroupsAPIParamsWithHTTPClient creates a new GetTeamGroupsAPIParams object with the ability to set a custom HTTPClient for a request.

func NewGetTeamGroupsAPIParamsWithTimeout

func NewGetTeamGroupsAPIParamsWithTimeout(timeout time.Duration) *GetTeamGroupsAPIParams

NewGetTeamGroupsAPIParamsWithTimeout creates a new GetTeamGroupsAPIParams object with the ability to set a timeout on a request.

func (*GetTeamGroupsAPIParams) SetContext

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

SetContext adds the context to the get team groups Api params

func (*GetTeamGroupsAPIParams) SetDefaults

func (o *GetTeamGroupsAPIParams) SetDefaults()

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

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

func (*GetTeamGroupsAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get team groups Api params

func (*GetTeamGroupsAPIParams) SetTeamID

func (o *GetTeamGroupsAPIParams) SetTeamID(teamID int64)

SetTeamID adds the teamId to the get team groups Api params

func (*GetTeamGroupsAPIParams) SetTimeout

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

SetTimeout adds the timeout to the get team groups Api params

func (*GetTeamGroupsAPIParams) WithContext

WithContext adds the context to the get team groups Api params

func (*GetTeamGroupsAPIParams) WithDefaults

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

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

func (*GetTeamGroupsAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get team groups Api params

func (*GetTeamGroupsAPIParams) WithTeamID

func (o *GetTeamGroupsAPIParams) WithTeamID(teamID int64) *GetTeamGroupsAPIParams

WithTeamID adds the teamID to the get team groups Api params

func (*GetTeamGroupsAPIParams) WithTimeout

WithTimeout adds the timeout to the get team groups Api params

func (*GetTeamGroupsAPIParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTeamGroupsAPIReader

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

GetTeamGroupsAPIReader is a Reader for the GetTeamGroupsAPI structure.

func (*GetTeamGroupsAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTeamGroupsAPIUnauthorized

type GetTeamGroupsAPIUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetTeamGroupsAPIUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetTeamGroupsAPIUnauthorized

func NewGetTeamGroupsAPIUnauthorized() *GetTeamGroupsAPIUnauthorized

NewGetTeamGroupsAPIUnauthorized creates a GetTeamGroupsAPIUnauthorized with default headers values

func (*GetTeamGroupsAPIUnauthorized) Error

func (*GetTeamGroupsAPIUnauthorized) GetPayload

type RemoveTeamGroupAPIBadRequest

type RemoveTeamGroupAPIBadRequest struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewRemoveTeamGroupAPIBadRequest

func NewRemoveTeamGroupAPIBadRequest() *RemoveTeamGroupAPIBadRequest

NewRemoveTeamGroupAPIBadRequest creates a RemoveTeamGroupAPIBadRequest with default headers values

func (*RemoveTeamGroupAPIBadRequest) Error

func (*RemoveTeamGroupAPIBadRequest) GetPayload

type RemoveTeamGroupAPIForbidden

type RemoveTeamGroupAPIForbidden struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewRemoveTeamGroupAPIForbidden

func NewRemoveTeamGroupAPIForbidden() *RemoveTeamGroupAPIForbidden

NewRemoveTeamGroupAPIForbidden creates a RemoveTeamGroupAPIForbidden with default headers values

func (*RemoveTeamGroupAPIForbidden) Error

func (*RemoveTeamGroupAPIForbidden) GetPayload

type RemoveTeamGroupAPIInternalServerError

type RemoveTeamGroupAPIInternalServerError struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewRemoveTeamGroupAPIInternalServerError

func NewRemoveTeamGroupAPIInternalServerError() *RemoveTeamGroupAPIInternalServerError

NewRemoveTeamGroupAPIInternalServerError creates a RemoveTeamGroupAPIInternalServerError with default headers values

func (*RemoveTeamGroupAPIInternalServerError) Error

func (*RemoveTeamGroupAPIInternalServerError) GetPayload

type RemoveTeamGroupAPINotFound

type RemoveTeamGroupAPINotFound struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPINotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewRemoveTeamGroupAPINotFound

func NewRemoveTeamGroupAPINotFound() *RemoveTeamGroupAPINotFound

NewRemoveTeamGroupAPINotFound creates a RemoveTeamGroupAPINotFound with default headers values

func (*RemoveTeamGroupAPINotFound) Error

func (*RemoveTeamGroupAPINotFound) GetPayload

type RemoveTeamGroupAPIOK

type RemoveTeamGroupAPIOK struct {
	Payload *models.SuccessResponseBody
}

RemoveTeamGroupAPIOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewRemoveTeamGroupAPIOK

func NewRemoveTeamGroupAPIOK() *RemoveTeamGroupAPIOK

NewRemoveTeamGroupAPIOK creates a RemoveTeamGroupAPIOK with default headers values

func (*RemoveTeamGroupAPIOK) Error

func (o *RemoveTeamGroupAPIOK) Error() string

func (*RemoveTeamGroupAPIOK) GetPayload

type RemoveTeamGroupAPIParams

type RemoveTeamGroupAPIParams struct {

	// GroupID.
	GroupID string

	// TeamID.
	//
	// Format: int64
	TeamID int64

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

RemoveTeamGroupAPIParams contains all the parameters to send to the API endpoint

for the remove team group Api operation.

Typically these are written to a http.Request.

func NewRemoveTeamGroupAPIParams

func NewRemoveTeamGroupAPIParams() *RemoveTeamGroupAPIParams

NewRemoveTeamGroupAPIParams creates a new RemoveTeamGroupAPIParams 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 NewRemoveTeamGroupAPIParamsWithContext

func NewRemoveTeamGroupAPIParamsWithContext(ctx context.Context) *RemoveTeamGroupAPIParams

NewRemoveTeamGroupAPIParamsWithContext creates a new RemoveTeamGroupAPIParams object with the ability to set a context for a request.

func NewRemoveTeamGroupAPIParamsWithHTTPClient

func NewRemoveTeamGroupAPIParamsWithHTTPClient(client *http.Client) *RemoveTeamGroupAPIParams

NewRemoveTeamGroupAPIParamsWithHTTPClient creates a new RemoveTeamGroupAPIParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveTeamGroupAPIParamsWithTimeout

func NewRemoveTeamGroupAPIParamsWithTimeout(timeout time.Duration) *RemoveTeamGroupAPIParams

NewRemoveTeamGroupAPIParamsWithTimeout creates a new RemoveTeamGroupAPIParams object with the ability to set a timeout on a request.

func (*RemoveTeamGroupAPIParams) SetContext

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

SetContext adds the context to the remove team group Api params

func (*RemoveTeamGroupAPIParams) SetDefaults

func (o *RemoveTeamGroupAPIParams) SetDefaults()

SetDefaults hydrates default values in the remove team group Api params (not the query body).

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

func (*RemoveTeamGroupAPIParams) SetGroupID

func (o *RemoveTeamGroupAPIParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the remove team group Api params

func (*RemoveTeamGroupAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove team group Api params

func (*RemoveTeamGroupAPIParams) SetTeamID

func (o *RemoveTeamGroupAPIParams) SetTeamID(teamID int64)

SetTeamID adds the teamId to the remove team group Api params

func (*RemoveTeamGroupAPIParams) SetTimeout

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

SetTimeout adds the timeout to the remove team group Api params

func (*RemoveTeamGroupAPIParams) WithContext

WithContext adds the context to the remove team group Api params

func (*RemoveTeamGroupAPIParams) WithDefaults

WithDefaults hydrates default values in the remove team group Api params (not the query body).

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

func (*RemoveTeamGroupAPIParams) WithGroupID

func (o *RemoveTeamGroupAPIParams) WithGroupID(groupID string) *RemoveTeamGroupAPIParams

WithGroupID adds the groupID to the remove team group Api params

func (*RemoveTeamGroupAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove team group Api params

func (*RemoveTeamGroupAPIParams) WithTeamID

WithTeamID adds the teamID to the remove team group Api params

func (*RemoveTeamGroupAPIParams) WithTimeout

WithTimeout adds the timeout to the remove team group Api params

func (*RemoveTeamGroupAPIParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveTeamGroupAPIQueryBadRequest

type RemoveTeamGroupAPIQueryBadRequest struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIQueryBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewRemoveTeamGroupAPIQueryBadRequest

func NewRemoveTeamGroupAPIQueryBadRequest() *RemoveTeamGroupAPIQueryBadRequest

NewRemoveTeamGroupAPIQueryBadRequest creates a RemoveTeamGroupAPIQueryBadRequest with default headers values

func (*RemoveTeamGroupAPIQueryBadRequest) Error

func (*RemoveTeamGroupAPIQueryBadRequest) GetPayload

type RemoveTeamGroupAPIQueryForbidden

type RemoveTeamGroupAPIQueryForbidden struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIQueryForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewRemoveTeamGroupAPIQueryForbidden

func NewRemoveTeamGroupAPIQueryForbidden() *RemoveTeamGroupAPIQueryForbidden

NewRemoveTeamGroupAPIQueryForbidden creates a RemoveTeamGroupAPIQueryForbidden with default headers values

func (*RemoveTeamGroupAPIQueryForbidden) Error

func (*RemoveTeamGroupAPIQueryForbidden) GetPayload

type RemoveTeamGroupAPIQueryInternalServerError

type RemoveTeamGroupAPIQueryInternalServerError struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIQueryInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewRemoveTeamGroupAPIQueryInternalServerError

func NewRemoveTeamGroupAPIQueryInternalServerError() *RemoveTeamGroupAPIQueryInternalServerError

NewRemoveTeamGroupAPIQueryInternalServerError creates a RemoveTeamGroupAPIQueryInternalServerError with default headers values

func (*RemoveTeamGroupAPIQueryInternalServerError) Error

func (*RemoveTeamGroupAPIQueryInternalServerError) GetPayload

type RemoveTeamGroupAPIQueryNotFound

type RemoveTeamGroupAPIQueryNotFound struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIQueryNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewRemoveTeamGroupAPIQueryNotFound

func NewRemoveTeamGroupAPIQueryNotFound() *RemoveTeamGroupAPIQueryNotFound

NewRemoveTeamGroupAPIQueryNotFound creates a RemoveTeamGroupAPIQueryNotFound with default headers values

func (*RemoveTeamGroupAPIQueryNotFound) Error

func (*RemoveTeamGroupAPIQueryNotFound) GetPayload

type RemoveTeamGroupAPIQueryOK

type RemoveTeamGroupAPIQueryOK struct {
	Payload *models.SuccessResponseBody
}

RemoveTeamGroupAPIQueryOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewRemoveTeamGroupAPIQueryOK

func NewRemoveTeamGroupAPIQueryOK() *RemoveTeamGroupAPIQueryOK

NewRemoveTeamGroupAPIQueryOK creates a RemoveTeamGroupAPIQueryOK with default headers values

func (*RemoveTeamGroupAPIQueryOK) Error

func (o *RemoveTeamGroupAPIQueryOK) Error() string

func (*RemoveTeamGroupAPIQueryOK) GetPayload

type RemoveTeamGroupAPIQueryParams

type RemoveTeamGroupAPIQueryParams struct {

	// GroupID.
	GroupID *string

	// TeamID.
	//
	// Format: int64
	TeamID int64

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

RemoveTeamGroupAPIQueryParams contains all the parameters to send to the API endpoint

for the remove team group Api query operation.

Typically these are written to a http.Request.

func NewRemoveTeamGroupAPIQueryParams

func NewRemoveTeamGroupAPIQueryParams() *RemoveTeamGroupAPIQueryParams

NewRemoveTeamGroupAPIQueryParams creates a new RemoveTeamGroupAPIQueryParams 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 NewRemoveTeamGroupAPIQueryParamsWithContext

func NewRemoveTeamGroupAPIQueryParamsWithContext(ctx context.Context) *RemoveTeamGroupAPIQueryParams

NewRemoveTeamGroupAPIQueryParamsWithContext creates a new RemoveTeamGroupAPIQueryParams object with the ability to set a context for a request.

func NewRemoveTeamGroupAPIQueryParamsWithHTTPClient

func NewRemoveTeamGroupAPIQueryParamsWithHTTPClient(client *http.Client) *RemoveTeamGroupAPIQueryParams

NewRemoveTeamGroupAPIQueryParamsWithHTTPClient creates a new RemoveTeamGroupAPIQueryParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveTeamGroupAPIQueryParamsWithTimeout

func NewRemoveTeamGroupAPIQueryParamsWithTimeout(timeout time.Duration) *RemoveTeamGroupAPIQueryParams

NewRemoveTeamGroupAPIQueryParamsWithTimeout creates a new RemoveTeamGroupAPIQueryParams object with the ability to set a timeout on a request.

func (*RemoveTeamGroupAPIQueryParams) SetContext

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

SetContext adds the context to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) SetDefaults

func (o *RemoveTeamGroupAPIQueryParams) SetDefaults()

SetDefaults hydrates default values in the remove team group Api query params (not the query body).

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

func (*RemoveTeamGroupAPIQueryParams) SetGroupID

func (o *RemoveTeamGroupAPIQueryParams) SetGroupID(groupID *string)

SetGroupID adds the groupId to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) SetTeamID

func (o *RemoveTeamGroupAPIQueryParams) SetTeamID(teamID int64)

SetTeamID adds the teamId to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) SetTimeout

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

SetTimeout adds the timeout to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) WithContext

WithContext adds the context to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) WithDefaults

WithDefaults hydrates default values in the remove team group Api query params (not the query body).

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

func (*RemoveTeamGroupAPIQueryParams) WithGroupID

WithGroupID adds the groupID to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) WithTeamID

WithTeamID adds the teamID to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) WithTimeout

WithTimeout adds the timeout to the remove team group Api query params

func (*RemoveTeamGroupAPIQueryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveTeamGroupAPIQueryReader

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

RemoveTeamGroupAPIQueryReader is a Reader for the RemoveTeamGroupAPIQuery structure.

func (*RemoveTeamGroupAPIQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveTeamGroupAPIQueryUnauthorized

type RemoveTeamGroupAPIQueryUnauthorized struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIQueryUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewRemoveTeamGroupAPIQueryUnauthorized

func NewRemoveTeamGroupAPIQueryUnauthorized() *RemoveTeamGroupAPIQueryUnauthorized

NewRemoveTeamGroupAPIQueryUnauthorized creates a RemoveTeamGroupAPIQueryUnauthorized with default headers values

func (*RemoveTeamGroupAPIQueryUnauthorized) Error

func (*RemoveTeamGroupAPIQueryUnauthorized) GetPayload

type RemoveTeamGroupAPIReader

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

RemoveTeamGroupAPIReader is a Reader for the RemoveTeamGroupAPI structure.

func (*RemoveTeamGroupAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveTeamGroupAPIUnauthorized

type RemoveTeamGroupAPIUnauthorized struct {
	Payload *models.ErrorResponseBody
}

RemoveTeamGroupAPIUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewRemoveTeamGroupAPIUnauthorized

func NewRemoveTeamGroupAPIUnauthorized() *RemoveTeamGroupAPIUnauthorized

NewRemoveTeamGroupAPIUnauthorized creates a RemoveTeamGroupAPIUnauthorized with default headers values

func (*RemoveTeamGroupAPIUnauthorized) Error

func (*RemoveTeamGroupAPIUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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