sync_team_groups

package
v0.0.0-...-59d2d35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 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) Code

func (o *AddTeamGroupAPIBadRequest) Code() int

Code gets the status code for the add team group Api bad request response

func (*AddTeamGroupAPIBadRequest) Error

func (o *AddTeamGroupAPIBadRequest) Error() string

func (*AddTeamGroupAPIBadRequest) GetPayload

func (*AddTeamGroupAPIBadRequest) IsClientError

func (o *AddTeamGroupAPIBadRequest) IsClientError() bool

IsClientError returns true when this add team group Api bad request response has a 4xx status code

func (*AddTeamGroupAPIBadRequest) IsCode

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

IsCode returns true when this add team group Api bad request response a status code equal to that given

func (*AddTeamGroupAPIBadRequest) IsRedirect

func (o *AddTeamGroupAPIBadRequest) IsRedirect() bool

IsRedirect returns true when this add team group Api bad request response has a 3xx status code

func (*AddTeamGroupAPIBadRequest) IsServerError

func (o *AddTeamGroupAPIBadRequest) IsServerError() bool

IsServerError returns true when this add team group Api bad request response has a 5xx status code

func (*AddTeamGroupAPIBadRequest) IsSuccess

func (o *AddTeamGroupAPIBadRequest) IsSuccess() bool

IsSuccess returns true when this add team group Api bad request response has a 2xx status code

func (*AddTeamGroupAPIBadRequest) String

func (o *AddTeamGroupAPIBadRequest) String() string

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

func (o *AddTeamGroupAPIForbidden) Code() int

Code gets the status code for the add team group Api forbidden response

func (*AddTeamGroupAPIForbidden) Error

func (o *AddTeamGroupAPIForbidden) Error() string

func (*AddTeamGroupAPIForbidden) GetPayload

func (*AddTeamGroupAPIForbidden) IsClientError

func (o *AddTeamGroupAPIForbidden) IsClientError() bool

IsClientError returns true when this add team group Api forbidden response has a 4xx status code

func (*AddTeamGroupAPIForbidden) IsCode

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

IsCode returns true when this add team group Api forbidden response a status code equal to that given

func (*AddTeamGroupAPIForbidden) IsRedirect

func (o *AddTeamGroupAPIForbidden) IsRedirect() bool

IsRedirect returns true when this add team group Api forbidden response has a 3xx status code

func (*AddTeamGroupAPIForbidden) IsServerError

func (o *AddTeamGroupAPIForbidden) IsServerError() bool

IsServerError returns true when this add team group Api forbidden response has a 5xx status code

func (*AddTeamGroupAPIForbidden) IsSuccess

func (o *AddTeamGroupAPIForbidden) IsSuccess() bool

IsSuccess returns true when this add team group Api forbidden response has a 2xx status code

func (*AddTeamGroupAPIForbidden) String

func (o *AddTeamGroupAPIForbidden) String() string

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

Code gets the status code for the add team group Api internal server error response

func (*AddTeamGroupAPIInternalServerError) Error

func (*AddTeamGroupAPIInternalServerError) GetPayload

func (*AddTeamGroupAPIInternalServerError) IsClientError

func (o *AddTeamGroupAPIInternalServerError) IsClientError() bool

IsClientError returns true when this add team group Api internal server error response has a 4xx status code

func (*AddTeamGroupAPIInternalServerError) IsCode

IsCode returns true when this add team group Api internal server error response a status code equal to that given

func (*AddTeamGroupAPIInternalServerError) IsRedirect

func (o *AddTeamGroupAPIInternalServerError) IsRedirect() bool

IsRedirect returns true when this add team group Api internal server error response has a 3xx status code

func (*AddTeamGroupAPIInternalServerError) IsServerError

func (o *AddTeamGroupAPIInternalServerError) IsServerError() bool

IsServerError returns true when this add team group Api internal server error response has a 5xx status code

func (*AddTeamGroupAPIInternalServerError) IsSuccess

IsSuccess returns true when this add team group Api internal server error response has a 2xx status code

func (*AddTeamGroupAPIInternalServerError) String

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

func (o *AddTeamGroupAPINotFound) Code() int

Code gets the status code for the add team group Api not found response

func (*AddTeamGroupAPINotFound) Error

func (o *AddTeamGroupAPINotFound) Error() string

func (*AddTeamGroupAPINotFound) GetPayload

func (*AddTeamGroupAPINotFound) IsClientError

func (o *AddTeamGroupAPINotFound) IsClientError() bool

IsClientError returns true when this add team group Api not found response has a 4xx status code

func (*AddTeamGroupAPINotFound) IsCode

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

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

func (*AddTeamGroupAPINotFound) IsRedirect

func (o *AddTeamGroupAPINotFound) IsRedirect() bool

IsRedirect returns true when this add team group Api not found response has a 3xx status code

func (*AddTeamGroupAPINotFound) IsServerError

func (o *AddTeamGroupAPINotFound) IsServerError() bool

IsServerError returns true when this add team group Api not found response has a 5xx status code

func (*AddTeamGroupAPINotFound) IsSuccess

func (o *AddTeamGroupAPINotFound) IsSuccess() bool

IsSuccess returns true when this add team group Api not found response has a 2xx status code

func (*AddTeamGroupAPINotFound) String

func (o *AddTeamGroupAPINotFound) String() string

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

func (o *AddTeamGroupAPIOK) Code() int

Code gets the status code for the add team group Api Ok response

func (*AddTeamGroupAPIOK) Error

func (o *AddTeamGroupAPIOK) Error() string

func (*AddTeamGroupAPIOK) GetPayload

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

func (*AddTeamGroupAPIOK) IsClientError

func (o *AddTeamGroupAPIOK) IsClientError() bool

IsClientError returns true when this add team group Api Ok response has a 4xx status code

func (*AddTeamGroupAPIOK) IsCode

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

IsCode returns true when this add team group Api Ok response a status code equal to that given

func (*AddTeamGroupAPIOK) IsRedirect

func (o *AddTeamGroupAPIOK) IsRedirect() bool

IsRedirect returns true when this add team group Api Ok response has a 3xx status code

func (*AddTeamGroupAPIOK) IsServerError

func (o *AddTeamGroupAPIOK) IsServerError() bool

IsServerError returns true when this add team group Api Ok response has a 5xx status code

func (*AddTeamGroupAPIOK) IsSuccess

func (o *AddTeamGroupAPIOK) IsSuccess() bool

IsSuccess returns true when this add team group Api Ok response has a 2xx status code

func (*AddTeamGroupAPIOK) String

func (o *AddTeamGroupAPIOK) String() string

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

func (o *AddTeamGroupAPIUnauthorized) Code() int

Code gets the status code for the add team group Api unauthorized response

func (*AddTeamGroupAPIUnauthorized) Error

func (*AddTeamGroupAPIUnauthorized) GetPayload

func (*AddTeamGroupAPIUnauthorized) IsClientError

func (o *AddTeamGroupAPIUnauthorized) IsClientError() bool

IsClientError returns true when this add team group Api unauthorized response has a 4xx status code

func (*AddTeamGroupAPIUnauthorized) IsCode

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

IsCode returns true when this add team group Api unauthorized response a status code equal to that given

func (*AddTeamGroupAPIUnauthorized) IsRedirect

func (o *AddTeamGroupAPIUnauthorized) IsRedirect() bool

IsRedirect returns true when this add team group Api unauthorized response has a 3xx status code

func (*AddTeamGroupAPIUnauthorized) IsServerError

func (o *AddTeamGroupAPIUnauthorized) IsServerError() bool

IsServerError returns true when this add team group Api unauthorized response has a 5xx status code

func (*AddTeamGroupAPIUnauthorized) IsSuccess

func (o *AddTeamGroupAPIUnauthorized) IsSuccess() bool

IsSuccess returns true when this add team group Api unauthorized response has a 2xx status code

func (*AddTeamGroupAPIUnauthorized) String

func (o *AddTeamGroupAPIUnauthorized) String() string

type Client

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

Client for sync team groups API

func (*Client) AddTeamGroupAPI

func (a *Client) AddTeamGroupAPI(teamID int64, body *models.TeamGroupMapping, opts ...ClientOption) (*AddTeamGroupAPIOK, error)

AddTeamGroupAPI adds external group

func (*Client) AddTeamGroupAPIWithParams

func (a *Client) AddTeamGroupAPIWithParams(params *AddTeamGroupAPIParams, opts ...ClientOption) (*AddTeamGroupAPIOK, error)

func (*Client) GetTeamGroupsAPI

func (a *Client) GetTeamGroupsAPI(teamID int64, opts ...ClientOption) (*GetTeamGroupsAPIOK, error)

GetTeamGroupsAPI gets external groups

func (*Client) GetTeamGroupsAPIWithParams

func (a *Client) GetTeamGroupsAPIWithParams(params *GetTeamGroupsAPIParams, opts ...ClientOption) (*GetTeamGroupsAPIOK, error)

func (*Client) RemoveTeamGroupAPIQuery

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

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

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	AddTeamGroupAPI(teamID int64, body *models.TeamGroupMapping, opts ...ClientOption) (*AddTeamGroupAPIOK, error)
	AddTeamGroupAPIWithParams(params *AddTeamGroupAPIParams, opts ...ClientOption) (*AddTeamGroupAPIOK, error)

	GetTeamGroupsAPI(teamID int64, opts ...ClientOption) (*GetTeamGroupsAPIOK, error)
	GetTeamGroupsAPIWithParams(params *GetTeamGroupsAPIParams, opts ...ClientOption) (*GetTeamGroupsAPIOK, error)

	RemoveTeamGroupAPIQuery(params *RemoveTeamGroupAPIQueryParams, 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) Code

func (o *GetTeamGroupsAPIBadRequest) Code() int

Code gets the status code for the get team groups Api bad request response

func (*GetTeamGroupsAPIBadRequest) Error

func (*GetTeamGroupsAPIBadRequest) GetPayload

func (*GetTeamGroupsAPIBadRequest) IsClientError

func (o *GetTeamGroupsAPIBadRequest) IsClientError() bool

IsClientError returns true when this get team groups Api bad request response has a 4xx status code

func (*GetTeamGroupsAPIBadRequest) IsCode

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

IsCode returns true when this get team groups Api bad request response a status code equal to that given

func (*GetTeamGroupsAPIBadRequest) IsRedirect

func (o *GetTeamGroupsAPIBadRequest) IsRedirect() bool

IsRedirect returns true when this get team groups Api bad request response has a 3xx status code

func (*GetTeamGroupsAPIBadRequest) IsServerError

func (o *GetTeamGroupsAPIBadRequest) IsServerError() bool

IsServerError returns true when this get team groups Api bad request response has a 5xx status code

func (*GetTeamGroupsAPIBadRequest) IsSuccess

func (o *GetTeamGroupsAPIBadRequest) IsSuccess() bool

IsSuccess returns true when this get team groups Api bad request response has a 2xx status code

func (*GetTeamGroupsAPIBadRequest) String

func (o *GetTeamGroupsAPIBadRequest) String() string

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

func (o *GetTeamGroupsAPIForbidden) Code() int

Code gets the status code for the get team groups Api forbidden response

func (*GetTeamGroupsAPIForbidden) Error

func (o *GetTeamGroupsAPIForbidden) Error() string

func (*GetTeamGroupsAPIForbidden) GetPayload

func (*GetTeamGroupsAPIForbidden) IsClientError

func (o *GetTeamGroupsAPIForbidden) IsClientError() bool

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

func (*GetTeamGroupsAPIForbidden) IsCode

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

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

func (*GetTeamGroupsAPIForbidden) IsRedirect

func (o *GetTeamGroupsAPIForbidden) IsRedirect() bool

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

func (*GetTeamGroupsAPIForbidden) IsServerError

func (o *GetTeamGroupsAPIForbidden) IsServerError() bool

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

func (*GetTeamGroupsAPIForbidden) IsSuccess

func (o *GetTeamGroupsAPIForbidden) IsSuccess() bool

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

func (*GetTeamGroupsAPIForbidden) String

func (o *GetTeamGroupsAPIForbidden) String() string

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

Code gets the status code for the get team groups Api internal server error response

func (*GetTeamGroupsAPIInternalServerError) Error

func (*GetTeamGroupsAPIInternalServerError) GetPayload

func (*GetTeamGroupsAPIInternalServerError) IsClientError

func (o *GetTeamGroupsAPIInternalServerError) IsClientError() bool

IsClientError returns true when this get team groups Api internal server error response has a 4xx status code

func (*GetTeamGroupsAPIInternalServerError) IsCode

IsCode returns true when this get team groups Api internal server error response a status code equal to that given

func (*GetTeamGroupsAPIInternalServerError) IsRedirect

func (o *GetTeamGroupsAPIInternalServerError) IsRedirect() bool

IsRedirect returns true when this get team groups Api internal server error response has a 3xx status code

func (*GetTeamGroupsAPIInternalServerError) IsServerError

func (o *GetTeamGroupsAPIInternalServerError) IsServerError() bool

IsServerError returns true when this get team groups Api internal server error response has a 5xx status code

func (*GetTeamGroupsAPIInternalServerError) IsSuccess

IsSuccess returns true when this get team groups Api internal server error response has a 2xx status code

func (*GetTeamGroupsAPIInternalServerError) String

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

func (o *GetTeamGroupsAPINotFound) Code() int

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

func (*GetTeamGroupsAPINotFound) Error

func (o *GetTeamGroupsAPINotFound) Error() string

func (*GetTeamGroupsAPINotFound) GetPayload

func (*GetTeamGroupsAPINotFound) IsClientError

func (o *GetTeamGroupsAPINotFound) IsClientError() bool

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

func (*GetTeamGroupsAPINotFound) IsCode

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

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

func (*GetTeamGroupsAPINotFound) IsRedirect

func (o *GetTeamGroupsAPINotFound) IsRedirect() bool

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

func (*GetTeamGroupsAPINotFound) IsServerError

func (o *GetTeamGroupsAPINotFound) IsServerError() bool

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

func (*GetTeamGroupsAPINotFound) IsSuccess

func (o *GetTeamGroupsAPINotFound) IsSuccess() bool

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

func (*GetTeamGroupsAPINotFound) String

func (o *GetTeamGroupsAPINotFound) String() string

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

func (o *GetTeamGroupsAPIOK) Code() int

Code gets the status code for the get team groups Api Ok response

func (*GetTeamGroupsAPIOK) Error

func (o *GetTeamGroupsAPIOK) Error() string

func (*GetTeamGroupsAPIOK) GetPayload

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

func (*GetTeamGroupsAPIOK) IsClientError

func (o *GetTeamGroupsAPIOK) IsClientError() bool

IsClientError returns true when this get team groups Api Ok response has a 4xx status code

func (*GetTeamGroupsAPIOK) IsCode

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

IsCode returns true when this get team groups Api Ok response a status code equal to that given

func (*GetTeamGroupsAPIOK) IsRedirect

func (o *GetTeamGroupsAPIOK) IsRedirect() bool

IsRedirect returns true when this get team groups Api Ok response has a 3xx status code

func (*GetTeamGroupsAPIOK) IsServerError

func (o *GetTeamGroupsAPIOK) IsServerError() bool

IsServerError returns true when this get team groups Api Ok response has a 5xx status code

func (*GetTeamGroupsAPIOK) IsSuccess

func (o *GetTeamGroupsAPIOK) IsSuccess() bool

IsSuccess returns true when this get team groups Api Ok response has a 2xx status code

func (*GetTeamGroupsAPIOK) String

func (o *GetTeamGroupsAPIOK) String() string

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

Code gets the status code for the get team groups Api unauthorized response

func (*GetTeamGroupsAPIUnauthorized) Error

func (*GetTeamGroupsAPIUnauthorized) GetPayload

func (*GetTeamGroupsAPIUnauthorized) IsClientError

func (o *GetTeamGroupsAPIUnauthorized) IsClientError() bool

IsClientError returns true when this get team groups Api unauthorized response has a 4xx status code

func (*GetTeamGroupsAPIUnauthorized) IsCode

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

IsCode returns true when this get team groups Api unauthorized response a status code equal to that given

func (*GetTeamGroupsAPIUnauthorized) IsRedirect

func (o *GetTeamGroupsAPIUnauthorized) IsRedirect() bool

IsRedirect returns true when this get team groups Api unauthorized response has a 3xx status code

func (*GetTeamGroupsAPIUnauthorized) IsServerError

func (o *GetTeamGroupsAPIUnauthorized) IsServerError() bool

IsServerError returns true when this get team groups Api unauthorized response has a 5xx status code

func (*GetTeamGroupsAPIUnauthorized) IsSuccess

func (o *GetTeamGroupsAPIUnauthorized) IsSuccess() bool

IsSuccess returns true when this get team groups Api unauthorized response has a 2xx status code

func (*GetTeamGroupsAPIUnauthorized) String

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

Code gets the status code for the remove team group Api query bad request response

func (*RemoveTeamGroupAPIQueryBadRequest) Error

func (*RemoveTeamGroupAPIQueryBadRequest) GetPayload

func (*RemoveTeamGroupAPIQueryBadRequest) IsClientError

func (o *RemoveTeamGroupAPIQueryBadRequest) IsClientError() bool

IsClientError returns true when this remove team group Api query bad request response has a 4xx status code

func (*RemoveTeamGroupAPIQueryBadRequest) IsCode

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

IsCode returns true when this remove team group Api query bad request response a status code equal to that given

func (*RemoveTeamGroupAPIQueryBadRequest) IsRedirect

func (o *RemoveTeamGroupAPIQueryBadRequest) IsRedirect() bool

IsRedirect returns true when this remove team group Api query bad request response has a 3xx status code

func (*RemoveTeamGroupAPIQueryBadRequest) IsServerError

func (o *RemoveTeamGroupAPIQueryBadRequest) IsServerError() bool

IsServerError returns true when this remove team group Api query bad request response has a 5xx status code

func (*RemoveTeamGroupAPIQueryBadRequest) IsSuccess

func (o *RemoveTeamGroupAPIQueryBadRequest) IsSuccess() bool

IsSuccess returns true when this remove team group Api query bad request response has a 2xx status code

func (*RemoveTeamGroupAPIQueryBadRequest) String

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

Code gets the status code for the remove team group Api query forbidden response

func (*RemoveTeamGroupAPIQueryForbidden) Error

func (*RemoveTeamGroupAPIQueryForbidden) GetPayload

func (*RemoveTeamGroupAPIQueryForbidden) IsClientError

func (o *RemoveTeamGroupAPIQueryForbidden) IsClientError() bool

IsClientError returns true when this remove team group Api query forbidden response has a 4xx status code

func (*RemoveTeamGroupAPIQueryForbidden) IsCode

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

IsCode returns true when this remove team group Api query forbidden response a status code equal to that given

func (*RemoveTeamGroupAPIQueryForbidden) IsRedirect

func (o *RemoveTeamGroupAPIQueryForbidden) IsRedirect() bool

IsRedirect returns true when this remove team group Api query forbidden response has a 3xx status code

func (*RemoveTeamGroupAPIQueryForbidden) IsServerError

func (o *RemoveTeamGroupAPIQueryForbidden) IsServerError() bool

IsServerError returns true when this remove team group Api query forbidden response has a 5xx status code

func (*RemoveTeamGroupAPIQueryForbidden) IsSuccess

func (o *RemoveTeamGroupAPIQueryForbidden) IsSuccess() bool

IsSuccess returns true when this remove team group Api query forbidden response has a 2xx status code

func (*RemoveTeamGroupAPIQueryForbidden) String

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

Code gets the status code for the remove team group Api query internal server error response

func (*RemoveTeamGroupAPIQueryInternalServerError) Error

func (*RemoveTeamGroupAPIQueryInternalServerError) GetPayload

func (*RemoveTeamGroupAPIQueryInternalServerError) IsClientError

IsClientError returns true when this remove team group Api query internal server error response has a 4xx status code

func (*RemoveTeamGroupAPIQueryInternalServerError) IsCode

IsCode returns true when this remove team group Api query internal server error response a status code equal to that given

func (*RemoveTeamGroupAPIQueryInternalServerError) IsRedirect

IsRedirect returns true when this remove team group Api query internal server error response has a 3xx status code

func (*RemoveTeamGroupAPIQueryInternalServerError) IsServerError

IsServerError returns true when this remove team group Api query internal server error response has a 5xx status code

func (*RemoveTeamGroupAPIQueryInternalServerError) IsSuccess

IsSuccess returns true when this remove team group Api query internal server error response has a 2xx status code

func (*RemoveTeamGroupAPIQueryInternalServerError) String

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

Code gets the status code for the remove team group Api query not found response

func (*RemoveTeamGroupAPIQueryNotFound) Error

func (*RemoveTeamGroupAPIQueryNotFound) GetPayload

func (*RemoveTeamGroupAPIQueryNotFound) IsClientError

func (o *RemoveTeamGroupAPIQueryNotFound) IsClientError() bool

IsClientError returns true when this remove team group Api query not found response has a 4xx status code

func (*RemoveTeamGroupAPIQueryNotFound) IsCode

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

IsCode returns true when this remove team group Api query not found response a status code equal to that given

func (*RemoveTeamGroupAPIQueryNotFound) IsRedirect

func (o *RemoveTeamGroupAPIQueryNotFound) IsRedirect() bool

IsRedirect returns true when this remove team group Api query not found response has a 3xx status code

func (*RemoveTeamGroupAPIQueryNotFound) IsServerError

func (o *RemoveTeamGroupAPIQueryNotFound) IsServerError() bool

IsServerError returns true when this remove team group Api query not found response has a 5xx status code

func (*RemoveTeamGroupAPIQueryNotFound) IsSuccess

func (o *RemoveTeamGroupAPIQueryNotFound) IsSuccess() bool

IsSuccess returns true when this remove team group Api query not found response has a 2xx status code

func (*RemoveTeamGroupAPIQueryNotFound) String

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

func (o *RemoveTeamGroupAPIQueryOK) Code() int

Code gets the status code for the remove team group Api query Ok response

func (*RemoveTeamGroupAPIQueryOK) Error

func (o *RemoveTeamGroupAPIQueryOK) Error() string

func (*RemoveTeamGroupAPIQueryOK) GetPayload

func (*RemoveTeamGroupAPIQueryOK) IsClientError

func (o *RemoveTeamGroupAPIQueryOK) IsClientError() bool

IsClientError returns true when this remove team group Api query Ok response has a 4xx status code

func (*RemoveTeamGroupAPIQueryOK) IsCode

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

IsCode returns true when this remove team group Api query Ok response a status code equal to that given

func (*RemoveTeamGroupAPIQueryOK) IsRedirect

func (o *RemoveTeamGroupAPIQueryOK) IsRedirect() bool

IsRedirect returns true when this remove team group Api query Ok response has a 3xx status code

func (*RemoveTeamGroupAPIQueryOK) IsServerError

func (o *RemoveTeamGroupAPIQueryOK) IsServerError() bool

IsServerError returns true when this remove team group Api query Ok response has a 5xx status code

func (*RemoveTeamGroupAPIQueryOK) IsSuccess

func (o *RemoveTeamGroupAPIQueryOK) IsSuccess() bool

IsSuccess returns true when this remove team group Api query Ok response has a 2xx status code

func (*RemoveTeamGroupAPIQueryOK) String

func (o *RemoveTeamGroupAPIQueryOK) String() string

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

Code gets the status code for the remove team group Api query unauthorized response

func (*RemoveTeamGroupAPIQueryUnauthorized) Error

func (*RemoveTeamGroupAPIQueryUnauthorized) GetPayload

func (*RemoveTeamGroupAPIQueryUnauthorized) IsClientError

func (o *RemoveTeamGroupAPIQueryUnauthorized) IsClientError() bool

IsClientError returns true when this remove team group Api query unauthorized response has a 4xx status code

func (*RemoveTeamGroupAPIQueryUnauthorized) IsCode

IsCode returns true when this remove team group Api query unauthorized response a status code equal to that given

func (*RemoveTeamGroupAPIQueryUnauthorized) IsRedirect

func (o *RemoveTeamGroupAPIQueryUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove team group Api query unauthorized response has a 3xx status code

func (*RemoveTeamGroupAPIQueryUnauthorized) IsServerError

func (o *RemoveTeamGroupAPIQueryUnauthorized) IsServerError() bool

IsServerError returns true when this remove team group Api query unauthorized response has a 5xx status code

func (*RemoveTeamGroupAPIQueryUnauthorized) IsSuccess

IsSuccess returns true when this remove team group Api query unauthorized response has a 2xx status code

func (*RemoveTeamGroupAPIQueryUnauthorized) String

Jump to

Keyboard shortcuts

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