Documentation ¶
Index ¶
- type AddOrgInviteBadRequest
- func (o *AddOrgInviteBadRequest) Code() int
- func (o *AddOrgInviteBadRequest) Error() string
- func (o *AddOrgInviteBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *AddOrgInviteBadRequest) IsClientError() bool
- func (o *AddOrgInviteBadRequest) IsCode(code int) bool
- func (o *AddOrgInviteBadRequest) IsRedirect() bool
- func (o *AddOrgInviteBadRequest) IsServerError() bool
- func (o *AddOrgInviteBadRequest) IsSuccess() bool
- func (o *AddOrgInviteBadRequest) String() string
- type AddOrgInviteForbidden
- func (o *AddOrgInviteForbidden) Code() int
- func (o *AddOrgInviteForbidden) Error() string
- func (o *AddOrgInviteForbidden) GetPayload() *models.ErrorResponseBody
- func (o *AddOrgInviteForbidden) IsClientError() bool
- func (o *AddOrgInviteForbidden) IsCode(code int) bool
- func (o *AddOrgInviteForbidden) IsRedirect() bool
- func (o *AddOrgInviteForbidden) IsServerError() bool
- func (o *AddOrgInviteForbidden) IsSuccess() bool
- func (o *AddOrgInviteForbidden) String() string
- type AddOrgInviteInternalServerError
- func (o *AddOrgInviteInternalServerError) Code() int
- func (o *AddOrgInviteInternalServerError) Error() string
- func (o *AddOrgInviteInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *AddOrgInviteInternalServerError) IsClientError() bool
- func (o *AddOrgInviteInternalServerError) IsCode(code int) bool
- func (o *AddOrgInviteInternalServerError) IsRedirect() bool
- func (o *AddOrgInviteInternalServerError) IsServerError() bool
- func (o *AddOrgInviteInternalServerError) IsSuccess() bool
- func (o *AddOrgInviteInternalServerError) String() string
- type AddOrgInviteOK
- func (o *AddOrgInviteOK) Code() int
- func (o *AddOrgInviteOK) Error() string
- func (o *AddOrgInviteOK) GetPayload() *models.SuccessResponseBody
- func (o *AddOrgInviteOK) IsClientError() bool
- func (o *AddOrgInviteOK) IsCode(code int) bool
- func (o *AddOrgInviteOK) IsRedirect() bool
- func (o *AddOrgInviteOK) IsServerError() bool
- func (o *AddOrgInviteOK) IsSuccess() bool
- func (o *AddOrgInviteOK) String() string
- type AddOrgInviteParams
- func (o *AddOrgInviteParams) SetBody(body *models.AddInviteForm)
- func (o *AddOrgInviteParams) SetContext(ctx context.Context)
- func (o *AddOrgInviteParams) SetDefaults()
- func (o *AddOrgInviteParams) SetHTTPClient(client *http.Client)
- func (o *AddOrgInviteParams) SetTimeout(timeout time.Duration)
- func (o *AddOrgInviteParams) WithBody(body *models.AddInviteForm) *AddOrgInviteParams
- func (o *AddOrgInviteParams) WithContext(ctx context.Context) *AddOrgInviteParams
- func (o *AddOrgInviteParams) WithDefaults() *AddOrgInviteParams
- func (o *AddOrgInviteParams) WithHTTPClient(client *http.Client) *AddOrgInviteParams
- func (o *AddOrgInviteParams) WithTimeout(timeout time.Duration) *AddOrgInviteParams
- func (o *AddOrgInviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrgInvitePreconditionFailed
- func (o *AddOrgInvitePreconditionFailed) Code() int
- func (o *AddOrgInvitePreconditionFailed) Error() string
- func (o *AddOrgInvitePreconditionFailed) IsClientError() bool
- func (o *AddOrgInvitePreconditionFailed) IsCode(code int) bool
- func (o *AddOrgInvitePreconditionFailed) IsRedirect() bool
- func (o *AddOrgInvitePreconditionFailed) IsServerError() bool
- func (o *AddOrgInvitePreconditionFailed) IsSuccess() bool
- func (o *AddOrgInvitePreconditionFailed) String() string
- type AddOrgInviteReader
- type AddOrgInviteUnauthorized
- func (o *AddOrgInviteUnauthorized) Code() int
- func (o *AddOrgInviteUnauthorized) Error() string
- func (o *AddOrgInviteUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *AddOrgInviteUnauthorized) IsClientError() bool
- func (o *AddOrgInviteUnauthorized) IsCode(code int) bool
- func (o *AddOrgInviteUnauthorized) IsRedirect() bool
- func (o *AddOrgInviteUnauthorized) IsServerError() bool
- func (o *AddOrgInviteUnauthorized) IsSuccess() bool
- func (o *AddOrgInviteUnauthorized) String() string
- type Client
- func (a *Client) AddOrgInvite(body *models.AddInviteForm, opts ...ClientOption) (*AddOrgInviteOK, error)
- func (a *Client) AddOrgInviteWithParams(params *AddOrgInviteParams, opts ...ClientOption) (*AddOrgInviteOK, error)
- func (a *Client) GetPendingOrgInvites(opts ...ClientOption) (*GetPendingOrgInvitesOK, error)
- func (a *Client) GetPendingOrgInvitesWithParams(params *GetPendingOrgInvitesParams, opts ...ClientOption) (*GetPendingOrgInvitesOK, error)
- func (a *Client) RevokeInvite(invitationCode string, opts ...ClientOption) (*RevokeInviteOK, error)
- func (a *Client) RevokeInviteWithParams(params *RevokeInviteParams, opts ...ClientOption) (*RevokeInviteOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPendingOrgInvitesForbidden
- func (o *GetPendingOrgInvitesForbidden) Code() int
- func (o *GetPendingOrgInvitesForbidden) Error() string
- func (o *GetPendingOrgInvitesForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetPendingOrgInvitesForbidden) IsClientError() bool
- func (o *GetPendingOrgInvitesForbidden) IsCode(code int) bool
- func (o *GetPendingOrgInvitesForbidden) IsRedirect() bool
- func (o *GetPendingOrgInvitesForbidden) IsServerError() bool
- func (o *GetPendingOrgInvitesForbidden) IsSuccess() bool
- func (o *GetPendingOrgInvitesForbidden) String() string
- type GetPendingOrgInvitesInternalServerError
- func (o *GetPendingOrgInvitesInternalServerError) Code() int
- func (o *GetPendingOrgInvitesInternalServerError) Error() string
- func (o *GetPendingOrgInvitesInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetPendingOrgInvitesInternalServerError) IsClientError() bool
- func (o *GetPendingOrgInvitesInternalServerError) IsCode(code int) bool
- func (o *GetPendingOrgInvitesInternalServerError) IsRedirect() bool
- func (o *GetPendingOrgInvitesInternalServerError) IsServerError() bool
- func (o *GetPendingOrgInvitesInternalServerError) IsSuccess() bool
- func (o *GetPendingOrgInvitesInternalServerError) String() string
- type GetPendingOrgInvitesOK
- func (o *GetPendingOrgInvitesOK) Code() int
- func (o *GetPendingOrgInvitesOK) Error() string
- func (o *GetPendingOrgInvitesOK) GetPayload() []*models.TempUserDTO
- func (o *GetPendingOrgInvitesOK) IsClientError() bool
- func (o *GetPendingOrgInvitesOK) IsCode(code int) bool
- func (o *GetPendingOrgInvitesOK) IsRedirect() bool
- func (o *GetPendingOrgInvitesOK) IsServerError() bool
- func (o *GetPendingOrgInvitesOK) IsSuccess() bool
- func (o *GetPendingOrgInvitesOK) String() string
- type GetPendingOrgInvitesParams
- func NewGetPendingOrgInvitesParams() *GetPendingOrgInvitesParams
- func NewGetPendingOrgInvitesParamsWithContext(ctx context.Context) *GetPendingOrgInvitesParams
- func NewGetPendingOrgInvitesParamsWithHTTPClient(client *http.Client) *GetPendingOrgInvitesParams
- func NewGetPendingOrgInvitesParamsWithTimeout(timeout time.Duration) *GetPendingOrgInvitesParams
- func (o *GetPendingOrgInvitesParams) SetContext(ctx context.Context)
- func (o *GetPendingOrgInvitesParams) SetDefaults()
- func (o *GetPendingOrgInvitesParams) SetHTTPClient(client *http.Client)
- func (o *GetPendingOrgInvitesParams) SetTimeout(timeout time.Duration)
- func (o *GetPendingOrgInvitesParams) WithContext(ctx context.Context) *GetPendingOrgInvitesParams
- func (o *GetPendingOrgInvitesParams) WithDefaults() *GetPendingOrgInvitesParams
- func (o *GetPendingOrgInvitesParams) WithHTTPClient(client *http.Client) *GetPendingOrgInvitesParams
- func (o *GetPendingOrgInvitesParams) WithTimeout(timeout time.Duration) *GetPendingOrgInvitesParams
- func (o *GetPendingOrgInvitesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPendingOrgInvitesReader
- type GetPendingOrgInvitesUnauthorized
- func (o *GetPendingOrgInvitesUnauthorized) Code() int
- func (o *GetPendingOrgInvitesUnauthorized) Error() string
- func (o *GetPendingOrgInvitesUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetPendingOrgInvitesUnauthorized) IsClientError() bool
- func (o *GetPendingOrgInvitesUnauthorized) IsCode(code int) bool
- func (o *GetPendingOrgInvitesUnauthorized) IsRedirect() bool
- func (o *GetPendingOrgInvitesUnauthorized) IsServerError() bool
- func (o *GetPendingOrgInvitesUnauthorized) IsSuccess() bool
- func (o *GetPendingOrgInvitesUnauthorized) String() string
- type RevokeInviteForbidden
- func (o *RevokeInviteForbidden) Code() int
- func (o *RevokeInviteForbidden) Error() string
- func (o *RevokeInviteForbidden) GetPayload() *models.ErrorResponseBody
- func (o *RevokeInviteForbidden) IsClientError() bool
- func (o *RevokeInviteForbidden) IsCode(code int) bool
- func (o *RevokeInviteForbidden) IsRedirect() bool
- func (o *RevokeInviteForbidden) IsServerError() bool
- func (o *RevokeInviteForbidden) IsSuccess() bool
- func (o *RevokeInviteForbidden) String() string
- type RevokeInviteInternalServerError
- func (o *RevokeInviteInternalServerError) Code() int
- func (o *RevokeInviteInternalServerError) Error() string
- func (o *RevokeInviteInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *RevokeInviteInternalServerError) IsClientError() bool
- func (o *RevokeInviteInternalServerError) IsCode(code int) bool
- func (o *RevokeInviteInternalServerError) IsRedirect() bool
- func (o *RevokeInviteInternalServerError) IsServerError() bool
- func (o *RevokeInviteInternalServerError) IsSuccess() bool
- func (o *RevokeInviteInternalServerError) String() string
- type RevokeInviteNotFound
- func (o *RevokeInviteNotFound) Code() int
- func (o *RevokeInviteNotFound) Error() string
- func (o *RevokeInviteNotFound) GetPayload() *models.ErrorResponseBody
- func (o *RevokeInviteNotFound) IsClientError() bool
- func (o *RevokeInviteNotFound) IsCode(code int) bool
- func (o *RevokeInviteNotFound) IsRedirect() bool
- func (o *RevokeInviteNotFound) IsServerError() bool
- func (o *RevokeInviteNotFound) IsSuccess() bool
- func (o *RevokeInviteNotFound) String() string
- type RevokeInviteOK
- func (o *RevokeInviteOK) Code() int
- func (o *RevokeInviteOK) Error() string
- func (o *RevokeInviteOK) GetPayload() *models.SuccessResponseBody
- func (o *RevokeInviteOK) IsClientError() bool
- func (o *RevokeInviteOK) IsCode(code int) bool
- func (o *RevokeInviteOK) IsRedirect() bool
- func (o *RevokeInviteOK) IsServerError() bool
- func (o *RevokeInviteOK) IsSuccess() bool
- func (o *RevokeInviteOK) String() string
- type RevokeInviteParams
- func (o *RevokeInviteParams) SetContext(ctx context.Context)
- func (o *RevokeInviteParams) SetDefaults()
- func (o *RevokeInviteParams) SetHTTPClient(client *http.Client)
- func (o *RevokeInviteParams) SetInvitationCode(invitationCode string)
- func (o *RevokeInviteParams) SetTimeout(timeout time.Duration)
- func (o *RevokeInviteParams) WithContext(ctx context.Context) *RevokeInviteParams
- func (o *RevokeInviteParams) WithDefaults() *RevokeInviteParams
- func (o *RevokeInviteParams) WithHTTPClient(client *http.Client) *RevokeInviteParams
- func (o *RevokeInviteParams) WithInvitationCode(invitationCode string) *RevokeInviteParams
- func (o *RevokeInviteParams) WithTimeout(timeout time.Duration) *RevokeInviteParams
- func (o *RevokeInviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeInviteReader
- type RevokeInviteUnauthorized
- func (o *RevokeInviteUnauthorized) Code() int
- func (o *RevokeInviteUnauthorized) Error() string
- func (o *RevokeInviteUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *RevokeInviteUnauthorized) IsClientError() bool
- func (o *RevokeInviteUnauthorized) IsCode(code int) bool
- func (o *RevokeInviteUnauthorized) IsRedirect() bool
- func (o *RevokeInviteUnauthorized) IsServerError() bool
- func (o *RevokeInviteUnauthorized) IsSuccess() bool
- func (o *RevokeInviteUnauthorized) String() string
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 (o *AddOrgInviteBadRequest) GetPayload() *models.ErrorResponseBody
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 (o *AddOrgInviteForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *AddOrgInviteInternalServerError) Code() int
Code gets the status code for the add org invite internal server error response
func (*AddOrgInviteInternalServerError) Error ¶
func (o *AddOrgInviteInternalServerError) Error() string
func (*AddOrgInviteInternalServerError) GetPayload ¶
func (o *AddOrgInviteInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *AddOrgInviteInternalServerError) String() 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 ¶
func (o *AddOrgInviteParams) WithBody(body *models.AddInviteForm) *AddOrgInviteParams
WithBody adds the body to the add org invite params
func (*AddOrgInviteParams) WithContext ¶
func (o *AddOrgInviteParams) WithContext(ctx context.Context) *AddOrgInviteParams
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 ¶
func (o *AddOrgInvitePreconditionFailed) Code() int
Code gets the status code for the add org invite precondition failed response
func (*AddOrgInvitePreconditionFailed) Error ¶
func (o *AddOrgInvitePreconditionFailed) Error() string
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 ¶
func (o *AddOrgInvitePreconditionFailed) String() 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 {
}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 (o *AddOrgInviteUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPendingOrgInvitesForbidden) Code() int
Code gets the status code for the get pending org invites forbidden response
func (*GetPendingOrgInvitesForbidden) Error ¶
func (o *GetPendingOrgInvitesForbidden) Error() string
func (*GetPendingOrgInvitesForbidden) GetPayload ¶
func (o *GetPendingOrgInvitesForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPendingOrgInvitesForbidden) String() 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 ¶
func (o *GetPendingOrgInvitesInternalServerError) Code() int
Code gets the status code for the get pending org invites internal server error response
func (*GetPendingOrgInvitesInternalServerError) Error ¶
func (o *GetPendingOrgInvitesInternalServerError) Error() string
func (*GetPendingOrgInvitesInternalServerError) GetPayload ¶
func (o *GetPendingOrgInvitesInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPendingOrgInvitesInternalServerError) IsCode(code int) bool
IsCode returns true when this get pending org invites internal server error response a status code equal to that given
func (*GetPendingOrgInvitesInternalServerError) IsRedirect ¶
func (o *GetPendingOrgInvitesInternalServerError) IsRedirect() bool
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 ¶
func (o *GetPendingOrgInvitesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get pending org invites internal server error response has a 2xx status code
func (*GetPendingOrgInvitesInternalServerError) String ¶
func (o *GetPendingOrgInvitesInternalServerError) String() 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 ¶
func (o *GetPendingOrgInvitesParams) WithContext(ctx context.Context) *GetPendingOrgInvitesParams
WithContext adds the context to the get pending org invites params
func (*GetPendingOrgInvitesParams) WithDefaults ¶
func (o *GetPendingOrgInvitesParams) WithDefaults() *GetPendingOrgInvitesParams
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 ¶
func (o *GetPendingOrgInvitesParams) WithHTTPClient(client *http.Client) *GetPendingOrgInvitesParams
WithHTTPClient adds the HTTPClient to the get pending org invites params
func (*GetPendingOrgInvitesParams) WithTimeout ¶
func (o *GetPendingOrgInvitesParams) WithTimeout(timeout time.Duration) *GetPendingOrgInvitesParams
WithTimeout adds the timeout to the get pending org invites params
func (*GetPendingOrgInvitesParams) WriteToRequest ¶
func (o *GetPendingOrgInvitesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetPendingOrgInvitesUnauthorized) Code() int
Code gets the status code for the get pending org invites unauthorized response
func (*GetPendingOrgInvitesUnauthorized) Error ¶
func (o *GetPendingOrgInvitesUnauthorized) Error() string
func (*GetPendingOrgInvitesUnauthorized) GetPayload ¶
func (o *GetPendingOrgInvitesUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPendingOrgInvitesUnauthorized) String() 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 (o *RevokeInviteForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *RevokeInviteInternalServerError) Code() int
Code gets the status code for the revoke invite internal server error response
func (*RevokeInviteInternalServerError) Error ¶
func (o *RevokeInviteInternalServerError) Error() string
func (*RevokeInviteInternalServerError) GetPayload ¶
func (o *RevokeInviteInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *RevokeInviteInternalServerError) String() 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 (o *RevokeInviteNotFound) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *RevokeInviteParams) WithContext(ctx context.Context) *RevokeInviteParams
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 {
}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 (o *RevokeInviteUnauthorized) GetPayload() *models.ErrorResponseBody
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