org_invites

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOrgInviteBadRequest

type AddOrgInviteBadRequest struct {
	Payload *models.ErrorResponseBody
}

AddOrgInviteBadRequest 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 NewAddOrgInviteBadRequest

func NewAddOrgInviteBadRequest() *AddOrgInviteBadRequest

NewAddOrgInviteBadRequest creates a AddOrgInviteBadRequest with default headers values

func (*AddOrgInviteBadRequest) Code

func (o *AddOrgInviteBadRequest) Code() int

Code gets the status code for the add org invite bad request response

func (*AddOrgInviteBadRequest) Error

func (o *AddOrgInviteBadRequest) Error() string

func (*AddOrgInviteBadRequest) GetPayload

func (*AddOrgInviteBadRequest) IsClientError

func (o *AddOrgInviteBadRequest) IsClientError() bool

IsClientError returns true when this add org invite bad request response has a 4xx status code

func (*AddOrgInviteBadRequest) IsCode

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

IsCode returns true when this add org invite bad request response a status code equal to that given

func (*AddOrgInviteBadRequest) IsRedirect

func (o *AddOrgInviteBadRequest) IsRedirect() bool

IsRedirect returns true when this add org invite bad request response has a 3xx status code

func (*AddOrgInviteBadRequest) IsServerError

func (o *AddOrgInviteBadRequest) IsServerError() bool

IsServerError returns true when this add org invite bad request response has a 5xx status code

func (*AddOrgInviteBadRequest) IsSuccess

func (o *AddOrgInviteBadRequest) IsSuccess() bool

IsSuccess returns true when this add org invite bad request response has a 2xx status code

func (*AddOrgInviteBadRequest) String

func (o *AddOrgInviteBadRequest) String() string

type AddOrgInviteForbidden

type AddOrgInviteForbidden struct {
	Payload *models.ErrorResponseBody
}

AddOrgInviteForbidden 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 NewAddOrgInviteForbidden

func NewAddOrgInviteForbidden() *AddOrgInviteForbidden

NewAddOrgInviteForbidden creates a AddOrgInviteForbidden with default headers values

func (*AddOrgInviteForbidden) Code

func (o *AddOrgInviteForbidden) Code() int

Code gets the status code for the add org invite forbidden response

func (*AddOrgInviteForbidden) Error

func (o *AddOrgInviteForbidden) Error() string

func (*AddOrgInviteForbidden) GetPayload

func (*AddOrgInviteForbidden) IsClientError

func (o *AddOrgInviteForbidden) IsClientError() bool

IsClientError returns true when this add org invite forbidden response has a 4xx status code

func (*AddOrgInviteForbidden) IsCode

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

IsCode returns true when this add org invite forbidden response a status code equal to that given

func (*AddOrgInviteForbidden) IsRedirect

func (o *AddOrgInviteForbidden) IsRedirect() bool

IsRedirect returns true when this add org invite forbidden response has a 3xx status code

func (*AddOrgInviteForbidden) IsServerError

func (o *AddOrgInviteForbidden) IsServerError() bool

IsServerError returns true when this add org invite forbidden response has a 5xx status code

func (*AddOrgInviteForbidden) IsSuccess

func (o *AddOrgInviteForbidden) IsSuccess() bool

IsSuccess returns true when this add org invite forbidden response has a 2xx status code

func (*AddOrgInviteForbidden) String

func (o *AddOrgInviteForbidden) String() string

type AddOrgInviteInternalServerError

type AddOrgInviteInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewAddOrgInviteInternalServerError

func NewAddOrgInviteInternalServerError() *AddOrgInviteInternalServerError

NewAddOrgInviteInternalServerError creates a AddOrgInviteInternalServerError with default headers values

func (*AddOrgInviteInternalServerError) Code

Code gets the status code for the add org invite internal server error response

func (*AddOrgInviteInternalServerError) Error

func (*AddOrgInviteInternalServerError) GetPayload

func (*AddOrgInviteInternalServerError) IsClientError

func (o *AddOrgInviteInternalServerError) IsClientError() bool

IsClientError returns true when this add org invite internal server error response has a 4xx status code

func (*AddOrgInviteInternalServerError) IsCode

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

IsCode returns true when this add org invite internal server error response a status code equal to that given

func (*AddOrgInviteInternalServerError) IsRedirect

func (o *AddOrgInviteInternalServerError) IsRedirect() bool

IsRedirect returns true when this add org invite internal server error response has a 3xx status code

func (*AddOrgInviteInternalServerError) IsServerError

func (o *AddOrgInviteInternalServerError) IsServerError() bool

IsServerError returns true when this add org invite internal server error response has a 5xx status code

func (*AddOrgInviteInternalServerError) IsSuccess

func (o *AddOrgInviteInternalServerError) IsSuccess() bool

IsSuccess returns true when this add org invite internal server error response has a 2xx status code

func (*AddOrgInviteInternalServerError) String

type AddOrgInviteOK

type AddOrgInviteOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAddOrgInviteOK

func NewAddOrgInviteOK() *AddOrgInviteOK

NewAddOrgInviteOK creates a AddOrgInviteOK with default headers values

func (*AddOrgInviteOK) Code

func (o *AddOrgInviteOK) Code() int

Code gets the status code for the add org invite Ok response

func (*AddOrgInviteOK) Error

func (o *AddOrgInviteOK) Error() string

func (*AddOrgInviteOK) GetPayload

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

func (*AddOrgInviteOK) IsClientError

func (o *AddOrgInviteOK) IsClientError() bool

IsClientError returns true when this add org invite Ok response has a 4xx status code

func (*AddOrgInviteOK) IsCode

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

IsCode returns true when this add org invite Ok response a status code equal to that given

func (*AddOrgInviteOK) IsRedirect

func (o *AddOrgInviteOK) IsRedirect() bool

IsRedirect returns true when this add org invite Ok response has a 3xx status code

func (*AddOrgInviteOK) IsServerError

func (o *AddOrgInviteOK) IsServerError() bool

IsServerError returns true when this add org invite Ok response has a 5xx status code

func (*AddOrgInviteOK) IsSuccess

func (o *AddOrgInviteOK) IsSuccess() bool

IsSuccess returns true when this add org invite Ok response has a 2xx status code

func (*AddOrgInviteOK) String

func (o *AddOrgInviteOK) String() string

type AddOrgInviteParams

type AddOrgInviteParams struct {

	// Body.
	Body *models.AddInviteForm

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

AddOrgInviteParams contains all the parameters to send to the API endpoint

for the add org invite operation.

Typically these are written to a http.Request.

func NewAddOrgInviteParams

func NewAddOrgInviteParams() *AddOrgInviteParams

NewAddOrgInviteParams creates a new AddOrgInviteParams 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 NewAddOrgInviteParamsWithContext

func NewAddOrgInviteParamsWithContext(ctx context.Context) *AddOrgInviteParams

NewAddOrgInviteParamsWithContext creates a new AddOrgInviteParams object with the ability to set a context for a request.

func NewAddOrgInviteParamsWithHTTPClient

func NewAddOrgInviteParamsWithHTTPClient(client *http.Client) *AddOrgInviteParams

NewAddOrgInviteParamsWithHTTPClient creates a new AddOrgInviteParams object with the ability to set a custom HTTPClient for a request.

func NewAddOrgInviteParamsWithTimeout

func NewAddOrgInviteParamsWithTimeout(timeout time.Duration) *AddOrgInviteParams

NewAddOrgInviteParamsWithTimeout creates a new AddOrgInviteParams object with the ability to set a timeout on a request.

func (*AddOrgInviteParams) SetBody

func (o *AddOrgInviteParams) SetBody(body *models.AddInviteForm)

SetBody adds the body to the add org invite params

func (*AddOrgInviteParams) SetContext

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

SetContext adds the context to the add org invite params

func (*AddOrgInviteParams) SetDefaults

func (o *AddOrgInviteParams) SetDefaults()

SetDefaults hydrates default values in the add org invite params (not the query body).

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

func (*AddOrgInviteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add org invite params

func (*AddOrgInviteParams) SetTimeout

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

SetTimeout adds the timeout to the add org invite params

func (*AddOrgInviteParams) WithBody

WithBody adds the body to the add org invite params

func (*AddOrgInviteParams) WithContext

WithContext adds the context to the add org invite params

func (*AddOrgInviteParams) WithDefaults

func (o *AddOrgInviteParams) WithDefaults() *AddOrgInviteParams

WithDefaults hydrates default values in the add org invite params (not the query body).

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

func (*AddOrgInviteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add org invite params

func (*AddOrgInviteParams) WithTimeout

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

WithTimeout adds the timeout to the add org invite params

func (*AddOrgInviteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddOrgInvitePreconditionFailed

type AddOrgInvitePreconditionFailed struct {
}

AddOrgInvitePreconditionFailed describes a response with status code 412, with default header values.

(empty)

func NewAddOrgInvitePreconditionFailed

func NewAddOrgInvitePreconditionFailed() *AddOrgInvitePreconditionFailed

NewAddOrgInvitePreconditionFailed creates a AddOrgInvitePreconditionFailed with default headers values

func (*AddOrgInvitePreconditionFailed) Code

Code gets the status code for the add org invite precondition failed response

func (*AddOrgInvitePreconditionFailed) Error

func (*AddOrgInvitePreconditionFailed) IsClientError

func (o *AddOrgInvitePreconditionFailed) IsClientError() bool

IsClientError returns true when this add org invite precondition failed response has a 4xx status code

func (*AddOrgInvitePreconditionFailed) IsCode

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

IsCode returns true when this add org invite precondition failed response a status code equal to that given

func (*AddOrgInvitePreconditionFailed) IsRedirect

func (o *AddOrgInvitePreconditionFailed) IsRedirect() bool

IsRedirect returns true when this add org invite precondition failed response has a 3xx status code

func (*AddOrgInvitePreconditionFailed) IsServerError

func (o *AddOrgInvitePreconditionFailed) IsServerError() bool

IsServerError returns true when this add org invite precondition failed response has a 5xx status code

func (*AddOrgInvitePreconditionFailed) IsSuccess

func (o *AddOrgInvitePreconditionFailed) IsSuccess() bool

IsSuccess returns true when this add org invite precondition failed response has a 2xx status code

func (*AddOrgInvitePreconditionFailed) String

type AddOrgInviteReader

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

AddOrgInviteReader is a Reader for the AddOrgInvite structure.

func (*AddOrgInviteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddOrgInviteUnauthorized

type AddOrgInviteUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewAddOrgInviteUnauthorized

func NewAddOrgInviteUnauthorized() *AddOrgInviteUnauthorized

NewAddOrgInviteUnauthorized creates a AddOrgInviteUnauthorized with default headers values

func (*AddOrgInviteUnauthorized) Code

func (o *AddOrgInviteUnauthorized) Code() int

Code gets the status code for the add org invite unauthorized response

func (*AddOrgInviteUnauthorized) Error

func (o *AddOrgInviteUnauthorized) Error() string

func (*AddOrgInviteUnauthorized) GetPayload

func (*AddOrgInviteUnauthorized) IsClientError

func (o *AddOrgInviteUnauthorized) IsClientError() bool

IsClientError returns true when this add org invite unauthorized response has a 4xx status code

func (*AddOrgInviteUnauthorized) IsCode

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

IsCode returns true when this add org invite unauthorized response a status code equal to that given

func (*AddOrgInviteUnauthorized) IsRedirect

func (o *AddOrgInviteUnauthorized) IsRedirect() bool

IsRedirect returns true when this add org invite unauthorized response has a 3xx status code

func (*AddOrgInviteUnauthorized) IsServerError

func (o *AddOrgInviteUnauthorized) IsServerError() bool

IsServerError returns true when this add org invite unauthorized response has a 5xx status code

func (*AddOrgInviteUnauthorized) IsSuccess

func (o *AddOrgInviteUnauthorized) IsSuccess() bool

IsSuccess returns true when this add org invite unauthorized response has a 2xx status code

func (*AddOrgInviteUnauthorized) String

func (o *AddOrgInviteUnauthorized) String() string

type Client

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

Client for org invites API

func (*Client) AddOrgInvite

func (a *Client) AddOrgInvite(body *models.AddInviteForm, opts ...ClientOption) (*AddOrgInviteOK, error)

AddOrgInvite adds invite

func (*Client) AddOrgInviteWithParams

func (a *Client) AddOrgInviteWithParams(params *AddOrgInviteParams, opts ...ClientOption) (*AddOrgInviteOK, error)

func (*Client) GetPendingOrgInvites

func (a *Client) GetPendingOrgInvites(opts ...ClientOption) (*GetPendingOrgInvitesOK, error)

GetPendingOrgInvites gets pending invites

func (*Client) GetPendingOrgInvitesWithParams

func (a *Client) GetPendingOrgInvitesWithParams(params *GetPendingOrgInvitesParams, opts ...ClientOption) (*GetPendingOrgInvitesOK, error)

func (*Client) RevokeInvite

func (a *Client) RevokeInvite(invitationCode string, opts ...ClientOption) (*RevokeInviteOK, error)

RevokeInvite revokes invite

func (*Client) RevokeInviteWithParams

func (a *Client) RevokeInviteWithParams(params *RevokeInviteParams, opts ...ClientOption) (*RevokeInviteOK, 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 {
	AddOrgInvite(body *models.AddInviteForm, opts ...ClientOption) (*AddOrgInviteOK, error)
	AddOrgInviteWithParams(params *AddOrgInviteParams, opts ...ClientOption) (*AddOrgInviteOK, error)

	GetPendingOrgInvites(opts ...ClientOption) (*GetPendingOrgInvitesOK, error)
	GetPendingOrgInvitesWithParams(params *GetPendingOrgInvitesParams, opts ...ClientOption) (*GetPendingOrgInvitesOK, error)

	RevokeInvite(invitationCode string, opts ...ClientOption) (*RevokeInviteOK, error)
	RevokeInviteWithParams(params *RevokeInviteParams, opts ...ClientOption) (*RevokeInviteOK, 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 org invites API client.

type GetPendingOrgInvitesForbidden

type GetPendingOrgInvitesForbidden struct {
	Payload *models.ErrorResponseBody
}

GetPendingOrgInvitesForbidden 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 NewGetPendingOrgInvitesForbidden

func NewGetPendingOrgInvitesForbidden() *GetPendingOrgInvitesForbidden

NewGetPendingOrgInvitesForbidden creates a GetPendingOrgInvitesForbidden with default headers values

func (*GetPendingOrgInvitesForbidden) Code

Code gets the status code for the get pending org invites forbidden response

func (*GetPendingOrgInvitesForbidden) Error

func (*GetPendingOrgInvitesForbidden) GetPayload

func (*GetPendingOrgInvitesForbidden) IsClientError

func (o *GetPendingOrgInvitesForbidden) IsClientError() bool

IsClientError returns true when this get pending org invites forbidden response has a 4xx status code

func (*GetPendingOrgInvitesForbidden) IsCode

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

IsCode returns true when this get pending org invites forbidden response a status code equal to that given

func (*GetPendingOrgInvitesForbidden) IsRedirect

func (o *GetPendingOrgInvitesForbidden) IsRedirect() bool

IsRedirect returns true when this get pending org invites forbidden response has a 3xx status code

func (*GetPendingOrgInvitesForbidden) IsServerError

func (o *GetPendingOrgInvitesForbidden) IsServerError() bool

IsServerError returns true when this get pending org invites forbidden response has a 5xx status code

func (*GetPendingOrgInvitesForbidden) IsSuccess

func (o *GetPendingOrgInvitesForbidden) IsSuccess() bool

IsSuccess returns true when this get pending org invites forbidden response has a 2xx status code

func (*GetPendingOrgInvitesForbidden) String

type GetPendingOrgInvitesInternalServerError

type GetPendingOrgInvitesInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetPendingOrgInvitesInternalServerError

func NewGetPendingOrgInvitesInternalServerError() *GetPendingOrgInvitesInternalServerError

NewGetPendingOrgInvitesInternalServerError creates a GetPendingOrgInvitesInternalServerError with default headers values

func (*GetPendingOrgInvitesInternalServerError) Code

Code gets the status code for the get pending org invites internal server error response

func (*GetPendingOrgInvitesInternalServerError) Error

func (*GetPendingOrgInvitesInternalServerError) GetPayload

func (*GetPendingOrgInvitesInternalServerError) IsClientError

func (o *GetPendingOrgInvitesInternalServerError) IsClientError() bool

IsClientError returns true when this get pending org invites internal server error response has a 4xx status code

func (*GetPendingOrgInvitesInternalServerError) IsCode

IsCode returns true when this get pending org invites internal server error response a status code equal to that given

func (*GetPendingOrgInvitesInternalServerError) IsRedirect

IsRedirect returns true when this get pending org invites internal server error response has a 3xx status code

func (*GetPendingOrgInvitesInternalServerError) IsServerError

func (o *GetPendingOrgInvitesInternalServerError) IsServerError() bool

IsServerError returns true when this get pending org invites internal server error response has a 5xx status code

func (*GetPendingOrgInvitesInternalServerError) IsSuccess

IsSuccess returns true when this get pending org invites internal server error response has a 2xx status code

func (*GetPendingOrgInvitesInternalServerError) String

type GetPendingOrgInvitesOK

type GetPendingOrgInvitesOK struct {
	Payload []*models.TempUserDTO
}

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

(empty)

func NewGetPendingOrgInvitesOK

func NewGetPendingOrgInvitesOK() *GetPendingOrgInvitesOK

NewGetPendingOrgInvitesOK creates a GetPendingOrgInvitesOK with default headers values

func (*GetPendingOrgInvitesOK) Code

func (o *GetPendingOrgInvitesOK) Code() int

Code gets the status code for the get pending org invites Ok response

func (*GetPendingOrgInvitesOK) Error

func (o *GetPendingOrgInvitesOK) Error() string

func (*GetPendingOrgInvitesOK) GetPayload

func (o *GetPendingOrgInvitesOK) GetPayload() []*models.TempUserDTO

func (*GetPendingOrgInvitesOK) IsClientError

func (o *GetPendingOrgInvitesOK) IsClientError() bool

IsClientError returns true when this get pending org invites Ok response has a 4xx status code

func (*GetPendingOrgInvitesOK) IsCode

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

IsCode returns true when this get pending org invites Ok response a status code equal to that given

func (*GetPendingOrgInvitesOK) IsRedirect

func (o *GetPendingOrgInvitesOK) IsRedirect() bool

IsRedirect returns true when this get pending org invites Ok response has a 3xx status code

func (*GetPendingOrgInvitesOK) IsServerError

func (o *GetPendingOrgInvitesOK) IsServerError() bool

IsServerError returns true when this get pending org invites Ok response has a 5xx status code

func (*GetPendingOrgInvitesOK) IsSuccess

func (o *GetPendingOrgInvitesOK) IsSuccess() bool

IsSuccess returns true when this get pending org invites Ok response has a 2xx status code

func (*GetPendingOrgInvitesOK) String

func (o *GetPendingOrgInvitesOK) String() string

type GetPendingOrgInvitesParams

type GetPendingOrgInvitesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPendingOrgInvitesParams contains all the parameters to send to the API endpoint

for the get pending org invites operation.

Typically these are written to a http.Request.

func NewGetPendingOrgInvitesParams

func NewGetPendingOrgInvitesParams() *GetPendingOrgInvitesParams

NewGetPendingOrgInvitesParams creates a new GetPendingOrgInvitesParams 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 NewGetPendingOrgInvitesParamsWithContext

func NewGetPendingOrgInvitesParamsWithContext(ctx context.Context) *GetPendingOrgInvitesParams

NewGetPendingOrgInvitesParamsWithContext creates a new GetPendingOrgInvitesParams object with the ability to set a context for a request.

func NewGetPendingOrgInvitesParamsWithHTTPClient

func NewGetPendingOrgInvitesParamsWithHTTPClient(client *http.Client) *GetPendingOrgInvitesParams

NewGetPendingOrgInvitesParamsWithHTTPClient creates a new GetPendingOrgInvitesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPendingOrgInvitesParamsWithTimeout

func NewGetPendingOrgInvitesParamsWithTimeout(timeout time.Duration) *GetPendingOrgInvitesParams

NewGetPendingOrgInvitesParamsWithTimeout creates a new GetPendingOrgInvitesParams object with the ability to set a timeout on a request.

func (*GetPendingOrgInvitesParams) SetContext

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

SetContext adds the context to the get pending org invites params

func (*GetPendingOrgInvitesParams) SetDefaults

func (o *GetPendingOrgInvitesParams) SetDefaults()

SetDefaults hydrates default values in the get pending org invites params (not the query body).

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

func (*GetPendingOrgInvitesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get pending org invites params

func (*GetPendingOrgInvitesParams) SetTimeout

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

SetTimeout adds the timeout to the get pending org invites params

func (*GetPendingOrgInvitesParams) WithContext

WithContext adds the context to the get pending org invites params

func (*GetPendingOrgInvitesParams) WithDefaults

WithDefaults hydrates default values in the get pending org invites params (not the query body).

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

func (*GetPendingOrgInvitesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get pending org invites params

func (*GetPendingOrgInvitesParams) WithTimeout

WithTimeout adds the timeout to the get pending org invites params

func (*GetPendingOrgInvitesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPendingOrgInvitesReader

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

GetPendingOrgInvitesReader is a Reader for the GetPendingOrgInvites structure.

func (*GetPendingOrgInvitesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPendingOrgInvitesUnauthorized

type GetPendingOrgInvitesUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetPendingOrgInvitesUnauthorized

func NewGetPendingOrgInvitesUnauthorized() *GetPendingOrgInvitesUnauthorized

NewGetPendingOrgInvitesUnauthorized creates a GetPendingOrgInvitesUnauthorized with default headers values

func (*GetPendingOrgInvitesUnauthorized) Code

Code gets the status code for the get pending org invites unauthorized response

func (*GetPendingOrgInvitesUnauthorized) Error

func (*GetPendingOrgInvitesUnauthorized) GetPayload

func (*GetPendingOrgInvitesUnauthorized) IsClientError

func (o *GetPendingOrgInvitesUnauthorized) IsClientError() bool

IsClientError returns true when this get pending org invites unauthorized response has a 4xx status code

func (*GetPendingOrgInvitesUnauthorized) IsCode

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

IsCode returns true when this get pending org invites unauthorized response a status code equal to that given

func (*GetPendingOrgInvitesUnauthorized) IsRedirect

func (o *GetPendingOrgInvitesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get pending org invites unauthorized response has a 3xx status code

func (*GetPendingOrgInvitesUnauthorized) IsServerError

func (o *GetPendingOrgInvitesUnauthorized) IsServerError() bool

IsServerError returns true when this get pending org invites unauthorized response has a 5xx status code

func (*GetPendingOrgInvitesUnauthorized) IsSuccess

func (o *GetPendingOrgInvitesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get pending org invites unauthorized response has a 2xx status code

func (*GetPendingOrgInvitesUnauthorized) String

type RevokeInviteForbidden

type RevokeInviteForbidden struct {
	Payload *models.ErrorResponseBody
}

RevokeInviteForbidden 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 NewRevokeInviteForbidden

func NewRevokeInviteForbidden() *RevokeInviteForbidden

NewRevokeInviteForbidden creates a RevokeInviteForbidden with default headers values

func (*RevokeInviteForbidden) Code

func (o *RevokeInviteForbidden) Code() int

Code gets the status code for the revoke invite forbidden response

func (*RevokeInviteForbidden) Error

func (o *RevokeInviteForbidden) Error() string

func (*RevokeInviteForbidden) GetPayload

func (*RevokeInviteForbidden) IsClientError

func (o *RevokeInviteForbidden) IsClientError() bool

IsClientError returns true when this revoke invite forbidden response has a 4xx status code

func (*RevokeInviteForbidden) IsCode

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

IsCode returns true when this revoke invite forbidden response a status code equal to that given

func (*RevokeInviteForbidden) IsRedirect

func (o *RevokeInviteForbidden) IsRedirect() bool

IsRedirect returns true when this revoke invite forbidden response has a 3xx status code

func (*RevokeInviteForbidden) IsServerError

func (o *RevokeInviteForbidden) IsServerError() bool

IsServerError returns true when this revoke invite forbidden response has a 5xx status code

func (*RevokeInviteForbidden) IsSuccess

func (o *RevokeInviteForbidden) IsSuccess() bool

IsSuccess returns true when this revoke invite forbidden response has a 2xx status code

func (*RevokeInviteForbidden) String

func (o *RevokeInviteForbidden) String() string

type RevokeInviteInternalServerError

type RevokeInviteInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRevokeInviteInternalServerError

func NewRevokeInviteInternalServerError() *RevokeInviteInternalServerError

NewRevokeInviteInternalServerError creates a RevokeInviteInternalServerError with default headers values

func (*RevokeInviteInternalServerError) Code

Code gets the status code for the revoke invite internal server error response

func (*RevokeInviteInternalServerError) Error

func (*RevokeInviteInternalServerError) GetPayload

func (*RevokeInviteInternalServerError) IsClientError

func (o *RevokeInviteInternalServerError) IsClientError() bool

IsClientError returns true when this revoke invite internal server error response has a 4xx status code

func (*RevokeInviteInternalServerError) IsCode

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

IsCode returns true when this revoke invite internal server error response a status code equal to that given

func (*RevokeInviteInternalServerError) IsRedirect

func (o *RevokeInviteInternalServerError) IsRedirect() bool

IsRedirect returns true when this revoke invite internal server error response has a 3xx status code

func (*RevokeInviteInternalServerError) IsServerError

func (o *RevokeInviteInternalServerError) IsServerError() bool

IsServerError returns true when this revoke invite internal server error response has a 5xx status code

func (*RevokeInviteInternalServerError) IsSuccess

func (o *RevokeInviteInternalServerError) IsSuccess() bool

IsSuccess returns true when this revoke invite internal server error response has a 2xx status code

func (*RevokeInviteInternalServerError) String

type RevokeInviteNotFound

type RevokeInviteNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewRevokeInviteNotFound

func NewRevokeInviteNotFound() *RevokeInviteNotFound

NewRevokeInviteNotFound creates a RevokeInviteNotFound with default headers values

func (*RevokeInviteNotFound) Code

func (o *RevokeInviteNotFound) Code() int

Code gets the status code for the revoke invite not found response

func (*RevokeInviteNotFound) Error

func (o *RevokeInviteNotFound) Error() string

func (*RevokeInviteNotFound) GetPayload

func (*RevokeInviteNotFound) IsClientError

func (o *RevokeInviteNotFound) IsClientError() bool

IsClientError returns true when this revoke invite not found response has a 4xx status code

func (*RevokeInviteNotFound) IsCode

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

IsCode returns true when this revoke invite not found response a status code equal to that given

func (*RevokeInviteNotFound) IsRedirect

func (o *RevokeInviteNotFound) IsRedirect() bool

IsRedirect returns true when this revoke invite not found response has a 3xx status code

func (*RevokeInviteNotFound) IsServerError

func (o *RevokeInviteNotFound) IsServerError() bool

IsServerError returns true when this revoke invite not found response has a 5xx status code

func (*RevokeInviteNotFound) IsSuccess

func (o *RevokeInviteNotFound) IsSuccess() bool

IsSuccess returns true when this revoke invite not found response has a 2xx status code

func (*RevokeInviteNotFound) String

func (o *RevokeInviteNotFound) String() string

type RevokeInviteOK

type RevokeInviteOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewRevokeInviteOK

func NewRevokeInviteOK() *RevokeInviteOK

NewRevokeInviteOK creates a RevokeInviteOK with default headers values

func (*RevokeInviteOK) Code

func (o *RevokeInviteOK) Code() int

Code gets the status code for the revoke invite Ok response

func (*RevokeInviteOK) Error

func (o *RevokeInviteOK) Error() string

func (*RevokeInviteOK) GetPayload

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

func (*RevokeInviteOK) IsClientError

func (o *RevokeInviteOK) IsClientError() bool

IsClientError returns true when this revoke invite Ok response has a 4xx status code

func (*RevokeInviteOK) IsCode

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

IsCode returns true when this revoke invite Ok response a status code equal to that given

func (*RevokeInviteOK) IsRedirect

func (o *RevokeInviteOK) IsRedirect() bool

IsRedirect returns true when this revoke invite Ok response has a 3xx status code

func (*RevokeInviteOK) IsServerError

func (o *RevokeInviteOK) IsServerError() bool

IsServerError returns true when this revoke invite Ok response has a 5xx status code

func (*RevokeInviteOK) IsSuccess

func (o *RevokeInviteOK) IsSuccess() bool

IsSuccess returns true when this revoke invite Ok response has a 2xx status code

func (*RevokeInviteOK) String

func (o *RevokeInviteOK) String() string

type RevokeInviteParams

type RevokeInviteParams struct {

	// InvitationCode.
	InvitationCode string

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

RevokeInviteParams contains all the parameters to send to the API endpoint

for the revoke invite operation.

Typically these are written to a http.Request.

func NewRevokeInviteParams

func NewRevokeInviteParams() *RevokeInviteParams

NewRevokeInviteParams creates a new RevokeInviteParams 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 NewRevokeInviteParamsWithContext

func NewRevokeInviteParamsWithContext(ctx context.Context) *RevokeInviteParams

NewRevokeInviteParamsWithContext creates a new RevokeInviteParams object with the ability to set a context for a request.

func NewRevokeInviteParamsWithHTTPClient

func NewRevokeInviteParamsWithHTTPClient(client *http.Client) *RevokeInviteParams

NewRevokeInviteParamsWithHTTPClient creates a new RevokeInviteParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeInviteParamsWithTimeout

func NewRevokeInviteParamsWithTimeout(timeout time.Duration) *RevokeInviteParams

NewRevokeInviteParamsWithTimeout creates a new RevokeInviteParams object with the ability to set a timeout on a request.

func (*RevokeInviteParams) SetContext

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

SetContext adds the context to the revoke invite params

func (*RevokeInviteParams) SetDefaults

func (o *RevokeInviteParams) SetDefaults()

SetDefaults hydrates default values in the revoke invite params (not the query body).

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

func (*RevokeInviteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke invite params

func (*RevokeInviteParams) SetInvitationCode

func (o *RevokeInviteParams) SetInvitationCode(invitationCode string)

SetInvitationCode adds the invitationCode to the revoke invite params

func (*RevokeInviteParams) SetTimeout

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

SetTimeout adds the timeout to the revoke invite params

func (*RevokeInviteParams) WithContext

WithContext adds the context to the revoke invite params

func (*RevokeInviteParams) WithDefaults

func (o *RevokeInviteParams) WithDefaults() *RevokeInviteParams

WithDefaults hydrates default values in the revoke invite params (not the query body).

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

func (*RevokeInviteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke invite params

func (*RevokeInviteParams) WithInvitationCode

func (o *RevokeInviteParams) WithInvitationCode(invitationCode string) *RevokeInviteParams

WithInvitationCode adds the invitationCode to the revoke invite params

func (*RevokeInviteParams) WithTimeout

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

WithTimeout adds the timeout to the revoke invite params

func (*RevokeInviteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RevokeInviteReader

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

RevokeInviteReader is a Reader for the RevokeInvite structure.

func (*RevokeInviteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeInviteUnauthorized

type RevokeInviteUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewRevokeInviteUnauthorized

func NewRevokeInviteUnauthorized() *RevokeInviteUnauthorized

NewRevokeInviteUnauthorized creates a RevokeInviteUnauthorized with default headers values

func (*RevokeInviteUnauthorized) Code

func (o *RevokeInviteUnauthorized) Code() int

Code gets the status code for the revoke invite unauthorized response

func (*RevokeInviteUnauthorized) Error

func (o *RevokeInviteUnauthorized) Error() string

func (*RevokeInviteUnauthorized) GetPayload

func (*RevokeInviteUnauthorized) IsClientError

func (o *RevokeInviteUnauthorized) IsClientError() bool

IsClientError returns true when this revoke invite unauthorized response has a 4xx status code

func (*RevokeInviteUnauthorized) IsCode

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

IsCode returns true when this revoke invite unauthorized response a status code equal to that given

func (*RevokeInviteUnauthorized) IsRedirect

func (o *RevokeInviteUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke invite unauthorized response has a 3xx status code

func (*RevokeInviteUnauthorized) IsServerError

func (o *RevokeInviteUnauthorized) IsServerError() bool

IsServerError returns true when this revoke invite unauthorized response has a 5xx status code

func (*RevokeInviteUnauthorized) IsSuccess

func (o *RevokeInviteUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke invite unauthorized response has a 2xx status code

func (*RevokeInviteUnauthorized) String

func (o *RevokeInviteUnauthorized) String() string

Jump to

Keyboard shortcuts

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