Documentation ¶
Index ¶
- type AcceptOrganizationInvitationBadRequest
- func (o *AcceptOrganizationInvitationBadRequest) Code() int
- func (o *AcceptOrganizationInvitationBadRequest) Error() string
- func (o *AcceptOrganizationInvitationBadRequest) GetPayload() *models.BasicFailedReply
- func (o *AcceptOrganizationInvitationBadRequest) IsClientError() bool
- func (o *AcceptOrganizationInvitationBadRequest) IsCode(code int) bool
- func (o *AcceptOrganizationInvitationBadRequest) IsRedirect() bool
- func (o *AcceptOrganizationInvitationBadRequest) IsServerError() bool
- func (o *AcceptOrganizationInvitationBadRequest) IsSuccess() bool
- func (o *AcceptOrganizationInvitationBadRequest) String() string
- type AcceptOrganizationInvitationForbidden
- func (o *AcceptOrganizationInvitationForbidden) Code() int
- func (o *AcceptOrganizationInvitationForbidden) Error() string
- func (o *AcceptOrganizationInvitationForbidden) GetPayload() *models.BasicFailedReply
- func (o *AcceptOrganizationInvitationForbidden) IsClientError() bool
- func (o *AcceptOrganizationInvitationForbidden) IsCode(code int) bool
- func (o *AcceptOrganizationInvitationForbidden) IsRedirect() bool
- func (o *AcceptOrganizationInvitationForbidden) IsServerError() bool
- func (o *AcceptOrganizationInvitationForbidden) IsSuccess() bool
- func (o *AcceptOrganizationInvitationForbidden) String() string
- type AcceptOrganizationInvitationNotFound
- func (o *AcceptOrganizationInvitationNotFound) Code() int
- func (o *AcceptOrganizationInvitationNotFound) Error() string
- func (o *AcceptOrganizationInvitationNotFound) GetPayload() *models.BasicFailedReply
- func (o *AcceptOrganizationInvitationNotFound) IsClientError() bool
- func (o *AcceptOrganizationInvitationNotFound) IsCode(code int) bool
- func (o *AcceptOrganizationInvitationNotFound) IsRedirect() bool
- func (o *AcceptOrganizationInvitationNotFound) IsServerError() bool
- func (o *AcceptOrganizationInvitationNotFound) IsSuccess() bool
- func (o *AcceptOrganizationInvitationNotFound) String() string
- type AcceptOrganizationInvitationOK
- func (o *AcceptOrganizationInvitationOK) Code() int
- func (o *AcceptOrganizationInvitationOK) Error() string
- func (o *AcceptOrganizationInvitationOK) GetPayload() models.EmptyResponse
- func (o *AcceptOrganizationInvitationOK) IsClientError() bool
- func (o *AcceptOrganizationInvitationOK) IsCode(code int) bool
- func (o *AcceptOrganizationInvitationOK) IsRedirect() bool
- func (o *AcceptOrganizationInvitationOK) IsServerError() bool
- func (o *AcceptOrganizationInvitationOK) IsSuccess() bool
- func (o *AcceptOrganizationInvitationOK) String() string
- type AcceptOrganizationInvitationParams
- func NewAcceptOrganizationInvitationParams() *AcceptOrganizationInvitationParams
- func NewAcceptOrganizationInvitationParamsWithContext(ctx context.Context) *AcceptOrganizationInvitationParams
- func NewAcceptOrganizationInvitationParamsWithHTTPClient(client *http.Client) *AcceptOrganizationInvitationParams
- func NewAcceptOrganizationInvitationParamsWithTimeout(timeout time.Duration) *AcceptOrganizationInvitationParams
- func (o *AcceptOrganizationInvitationParams) SetContext(ctx context.Context)
- func (o *AcceptOrganizationInvitationParams) SetDefaults()
- func (o *AcceptOrganizationInvitationParams) SetHTTPClient(client *http.Client)
- func (o *AcceptOrganizationInvitationParams) SetInvitationToken(invitationToken string)
- func (o *AcceptOrganizationInvitationParams) SetTimeout(timeout time.Duration)
- func (o *AcceptOrganizationInvitationParams) WithContext(ctx context.Context) *AcceptOrganizationInvitationParams
- func (o *AcceptOrganizationInvitationParams) WithDefaults() *AcceptOrganizationInvitationParams
- func (o *AcceptOrganizationInvitationParams) WithHTTPClient(client *http.Client) *AcceptOrganizationInvitationParams
- func (o *AcceptOrganizationInvitationParams) WithInvitationToken(invitationToken string) *AcceptOrganizationInvitationParams
- func (o *AcceptOrganizationInvitationParams) WithTimeout(timeout time.Duration) *AcceptOrganizationInvitationParams
- func (o *AcceptOrganizationInvitationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AcceptOrganizationInvitationReader
- type Client
- func (a *Client) AcceptOrganizationInvitation(params *AcceptOrganizationInvitationParams, ...) (*AcceptOrganizationInvitationOK, error)
- func (a *Client) CreateOrganizationInvitations(params *CreateOrganizationInvitationsParams, ...) (*CreateOrganizationInvitationsCreated, error)
- func (a *Client) DeleteOrganizationInvitations(params *DeleteOrganizationInvitationsParams, ...) (*DeleteOrganizationInvitationsOK, error)
- func (a *Client) DeleteOrganizationMemberships(params *DeleteOrganizationMembershipsParams, ...) (*DeleteOrganizationMembershipsOK, error)
- func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrganizationOK, error)
- func (a *Client) GetOrganizationInvitation(params *GetOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrganizationInvitationOK, error)
- func (a *Client) ListOrganizationInvitations(params *ListOrganizationInvitationsParams, ...) (*ListOrganizationInvitationsOK, error)
- func (a *Client) ListOrganizationMembers(params *ListOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrganizationMembersOK, error)
- func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrganizationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrganizationOK, error)
- type ClientOption
- type ClientService
- type CreateOrganizationInvitationsBadRequest
- func (o *CreateOrganizationInvitationsBadRequest) Code() int
- func (o *CreateOrganizationInvitationsBadRequest) Error() string
- func (o *CreateOrganizationInvitationsBadRequest) GetPayload() *models.BasicFailedReply
- func (o *CreateOrganizationInvitationsBadRequest) IsClientError() bool
- func (o *CreateOrganizationInvitationsBadRequest) IsCode(code int) bool
- func (o *CreateOrganizationInvitationsBadRequest) IsRedirect() bool
- func (o *CreateOrganizationInvitationsBadRequest) IsServerError() bool
- func (o *CreateOrganizationInvitationsBadRequest) IsSuccess() bool
- func (o *CreateOrganizationInvitationsBadRequest) String() string
- type CreateOrganizationInvitationsCreated
- func (o *CreateOrganizationInvitationsCreated) Code() int
- func (o *CreateOrganizationInvitationsCreated) Error() string
- func (o *CreateOrganizationInvitationsCreated) GetPayload() *models.OrganizationInvitations
- func (o *CreateOrganizationInvitationsCreated) IsClientError() bool
- func (o *CreateOrganizationInvitationsCreated) IsCode(code int) bool
- func (o *CreateOrganizationInvitationsCreated) IsRedirect() bool
- func (o *CreateOrganizationInvitationsCreated) IsServerError() bool
- func (o *CreateOrganizationInvitationsCreated) IsSuccess() bool
- func (o *CreateOrganizationInvitationsCreated) String() string
- type CreateOrganizationInvitationsForbidden
- func (o *CreateOrganizationInvitationsForbidden) Code() int
- func (o *CreateOrganizationInvitationsForbidden) Error() string
- func (o *CreateOrganizationInvitationsForbidden) GetPayload() *models.BasicFailedReply
- func (o *CreateOrganizationInvitationsForbidden) IsClientError() bool
- func (o *CreateOrganizationInvitationsForbidden) IsCode(code int) bool
- func (o *CreateOrganizationInvitationsForbidden) IsRedirect() bool
- func (o *CreateOrganizationInvitationsForbidden) IsServerError() bool
- func (o *CreateOrganizationInvitationsForbidden) IsSuccess() bool
- func (o *CreateOrganizationInvitationsForbidden) String() string
- type CreateOrganizationInvitationsNotFound
- func (o *CreateOrganizationInvitationsNotFound) Code() int
- func (o *CreateOrganizationInvitationsNotFound) Error() string
- func (o *CreateOrganizationInvitationsNotFound) GetPayload() *models.BasicFailedReply
- func (o *CreateOrganizationInvitationsNotFound) IsClientError() bool
- func (o *CreateOrganizationInvitationsNotFound) IsCode(code int) bool
- func (o *CreateOrganizationInvitationsNotFound) IsRedirect() bool
- func (o *CreateOrganizationInvitationsNotFound) IsServerError() bool
- func (o *CreateOrganizationInvitationsNotFound) IsSuccess() bool
- func (o *CreateOrganizationInvitationsNotFound) String() string
- type CreateOrganizationInvitationsParams
- func NewCreateOrganizationInvitationsParams() *CreateOrganizationInvitationsParams
- func NewCreateOrganizationInvitationsParamsWithContext(ctx context.Context) *CreateOrganizationInvitationsParams
- func NewCreateOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *CreateOrganizationInvitationsParams
- func NewCreateOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) SetBody(body *models.OrganizationInvitationRequest)
- func (o *CreateOrganizationInvitationsParams) SetContext(ctx context.Context)
- func (o *CreateOrganizationInvitationsParams) SetDefaults()
- func (o *CreateOrganizationInvitationsParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrganizationInvitationsParams) SetOrganizationID(organizationID string)
- func (o *CreateOrganizationInvitationsParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrganizationInvitationsParams) WithBody(body *models.OrganizationInvitationRequest) *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) WithContext(ctx context.Context) *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) WithDefaults() *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) WithHTTPClient(client *http.Client) *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) WithOrganizationID(organizationID string) *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) WithTimeout(timeout time.Duration) *CreateOrganizationInvitationsParams
- func (o *CreateOrganizationInvitationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrganizationInvitationsReader
- type CreateOrganizationInvitationsTooManyRequests
- func (o *CreateOrganizationInvitationsTooManyRequests) Code() int
- func (o *CreateOrganizationInvitationsTooManyRequests) Error() string
- func (o *CreateOrganizationInvitationsTooManyRequests) GetPayload() *models.BasicFailedReply
- func (o *CreateOrganizationInvitationsTooManyRequests) IsClientError() bool
- func (o *CreateOrganizationInvitationsTooManyRequests) IsCode(code int) bool
- func (o *CreateOrganizationInvitationsTooManyRequests) IsRedirect() bool
- func (o *CreateOrganizationInvitationsTooManyRequests) IsServerError() bool
- func (o *CreateOrganizationInvitationsTooManyRequests) IsSuccess() bool
- func (o *CreateOrganizationInvitationsTooManyRequests) String() string
- type DeleteOrganizationInvitationsBadRequest
- func (o *DeleteOrganizationInvitationsBadRequest) Code() int
- func (o *DeleteOrganizationInvitationsBadRequest) Error() string
- func (o *DeleteOrganizationInvitationsBadRequest) GetPayload() *models.BasicFailedReply
- func (o *DeleteOrganizationInvitationsBadRequest) IsClientError() bool
- func (o *DeleteOrganizationInvitationsBadRequest) IsCode(code int) bool
- func (o *DeleteOrganizationInvitationsBadRequest) IsRedirect() bool
- func (o *DeleteOrganizationInvitationsBadRequest) IsServerError() bool
- func (o *DeleteOrganizationInvitationsBadRequest) IsSuccess() bool
- func (o *DeleteOrganizationInvitationsBadRequest) String() string
- type DeleteOrganizationInvitationsNotFound
- func (o *DeleteOrganizationInvitationsNotFound) Code() int
- func (o *DeleteOrganizationInvitationsNotFound) Error() string
- func (o *DeleteOrganizationInvitationsNotFound) GetPayload() *models.BasicFailedReply
- func (o *DeleteOrganizationInvitationsNotFound) IsClientError() bool
- func (o *DeleteOrganizationInvitationsNotFound) IsCode(code int) bool
- func (o *DeleteOrganizationInvitationsNotFound) IsRedirect() bool
- func (o *DeleteOrganizationInvitationsNotFound) IsServerError() bool
- func (o *DeleteOrganizationInvitationsNotFound) IsSuccess() bool
- func (o *DeleteOrganizationInvitationsNotFound) String() string
- type DeleteOrganizationInvitationsOK
- func (o *DeleteOrganizationInvitationsOK) Code() int
- func (o *DeleteOrganizationInvitationsOK) Error() string
- func (o *DeleteOrganizationInvitationsOK) GetPayload() models.EmptyResponse
- func (o *DeleteOrganizationInvitationsOK) IsClientError() bool
- func (o *DeleteOrganizationInvitationsOK) IsCode(code int) bool
- func (o *DeleteOrganizationInvitationsOK) IsRedirect() bool
- func (o *DeleteOrganizationInvitationsOK) IsServerError() bool
- func (o *DeleteOrganizationInvitationsOK) IsSuccess() bool
- func (o *DeleteOrganizationInvitationsOK) String() string
- type DeleteOrganizationInvitationsParams
- func NewDeleteOrganizationInvitationsParams() *DeleteOrganizationInvitationsParams
- func NewDeleteOrganizationInvitationsParamsWithContext(ctx context.Context) *DeleteOrganizationInvitationsParams
- func NewDeleteOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *DeleteOrganizationInvitationsParams
- func NewDeleteOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) SetContext(ctx context.Context)
- func (o *DeleteOrganizationInvitationsParams) SetDefaults()
- func (o *DeleteOrganizationInvitationsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganizationInvitationsParams) SetInvitationTokens(invitationTokens string)
- func (o *DeleteOrganizationInvitationsParams) SetOrganizationID(organizationID string)
- func (o *DeleteOrganizationInvitationsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganizationInvitationsParams) WithContext(ctx context.Context) *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) WithDefaults() *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) WithHTTPClient(client *http.Client) *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) WithInvitationTokens(invitationTokens string) *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) WithOrganizationID(organizationID string) *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) WithTimeout(timeout time.Duration) *DeleteOrganizationInvitationsParams
- func (o *DeleteOrganizationInvitationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationInvitationsReader
- type DeleteOrganizationMembershipsNotFound
- func (o *DeleteOrganizationMembershipsNotFound) Code() int
- func (o *DeleteOrganizationMembershipsNotFound) Error() string
- func (o *DeleteOrganizationMembershipsNotFound) GetPayload() *models.BasicFailedReply
- func (o *DeleteOrganizationMembershipsNotFound) IsClientError() bool
- func (o *DeleteOrganizationMembershipsNotFound) IsCode(code int) bool
- func (o *DeleteOrganizationMembershipsNotFound) IsRedirect() bool
- func (o *DeleteOrganizationMembershipsNotFound) IsServerError() bool
- func (o *DeleteOrganizationMembershipsNotFound) IsSuccess() bool
- func (o *DeleteOrganizationMembershipsNotFound) String() string
- type DeleteOrganizationMembershipsOK
- func (o *DeleteOrganizationMembershipsOK) Code() int
- func (o *DeleteOrganizationMembershipsOK) Error() string
- func (o *DeleteOrganizationMembershipsOK) GetPayload() models.EmptyResponse
- func (o *DeleteOrganizationMembershipsOK) IsClientError() bool
- func (o *DeleteOrganizationMembershipsOK) IsCode(code int) bool
- func (o *DeleteOrganizationMembershipsOK) IsRedirect() bool
- func (o *DeleteOrganizationMembershipsOK) IsServerError() bool
- func (o *DeleteOrganizationMembershipsOK) IsSuccess() bool
- func (o *DeleteOrganizationMembershipsOK) String() string
- type DeleteOrganizationMembershipsParams
- func NewDeleteOrganizationMembershipsParams() *DeleteOrganizationMembershipsParams
- func NewDeleteOrganizationMembershipsParamsWithContext(ctx context.Context) *DeleteOrganizationMembershipsParams
- func NewDeleteOrganizationMembershipsParamsWithHTTPClient(client *http.Client) *DeleteOrganizationMembershipsParams
- func NewDeleteOrganizationMembershipsParamsWithTimeout(timeout time.Duration) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) SetContext(ctx context.Context)
- func (o *DeleteOrganizationMembershipsParams) SetDefaults()
- func (o *DeleteOrganizationMembershipsParams) SetForce(force *bool)
- func (o *DeleteOrganizationMembershipsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganizationMembershipsParams) SetOrganizationID(organizationID string)
- func (o *DeleteOrganizationMembershipsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganizationMembershipsParams) SetUserIds(userIds string)
- func (o *DeleteOrganizationMembershipsParams) WithContext(ctx context.Context) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WithDefaults() *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WithForce(force *bool) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WithHTTPClient(client *http.Client) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WithOrganizationID(organizationID string) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WithTimeout(timeout time.Duration) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WithUserIds(userIds string) *DeleteOrganizationMembershipsParams
- func (o *DeleteOrganizationMembershipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationMembershipsReader
- type GetOrganizationForbidden
- func (o *GetOrganizationForbidden) Code() int
- func (o *GetOrganizationForbidden) Error() string
- func (o *GetOrganizationForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetOrganizationForbidden) IsClientError() bool
- func (o *GetOrganizationForbidden) IsCode(code int) bool
- func (o *GetOrganizationForbidden) IsRedirect() bool
- func (o *GetOrganizationForbidden) IsServerError() bool
- func (o *GetOrganizationForbidden) IsSuccess() bool
- func (o *GetOrganizationForbidden) String() string
- type GetOrganizationInvitationNotFound
- func (o *GetOrganizationInvitationNotFound) Code() int
- func (o *GetOrganizationInvitationNotFound) Error() string
- func (o *GetOrganizationInvitationNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetOrganizationInvitationNotFound) IsClientError() bool
- func (o *GetOrganizationInvitationNotFound) IsCode(code int) bool
- func (o *GetOrganizationInvitationNotFound) IsRedirect() bool
- func (o *GetOrganizationInvitationNotFound) IsServerError() bool
- func (o *GetOrganizationInvitationNotFound) IsSuccess() bool
- func (o *GetOrganizationInvitationNotFound) String() string
- type GetOrganizationInvitationOK
- func (o *GetOrganizationInvitationOK) Code() int
- func (o *GetOrganizationInvitationOK) Error() string
- func (o *GetOrganizationInvitationOK) GetPayload() *models.OrganizationInvitation
- func (o *GetOrganizationInvitationOK) IsClientError() bool
- func (o *GetOrganizationInvitationOK) IsCode(code int) bool
- func (o *GetOrganizationInvitationOK) IsRedirect() bool
- func (o *GetOrganizationInvitationOK) IsServerError() bool
- func (o *GetOrganizationInvitationOK) IsSuccess() bool
- func (o *GetOrganizationInvitationOK) String() string
- type GetOrganizationInvitationParams
- func NewGetOrganizationInvitationParams() *GetOrganizationInvitationParams
- func NewGetOrganizationInvitationParamsWithContext(ctx context.Context) *GetOrganizationInvitationParams
- func NewGetOrganizationInvitationParamsWithHTTPClient(client *http.Client) *GetOrganizationInvitationParams
- func NewGetOrganizationInvitationParamsWithTimeout(timeout time.Duration) *GetOrganizationInvitationParams
- func (o *GetOrganizationInvitationParams) SetContext(ctx context.Context)
- func (o *GetOrganizationInvitationParams) SetDefaults()
- func (o *GetOrganizationInvitationParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationInvitationParams) SetInvitationToken(invitationToken string)
- func (o *GetOrganizationInvitationParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationInvitationParams) WithContext(ctx context.Context) *GetOrganizationInvitationParams
- func (o *GetOrganizationInvitationParams) WithDefaults() *GetOrganizationInvitationParams
- func (o *GetOrganizationInvitationParams) WithHTTPClient(client *http.Client) *GetOrganizationInvitationParams
- func (o *GetOrganizationInvitationParams) WithInvitationToken(invitationToken string) *GetOrganizationInvitationParams
- func (o *GetOrganizationInvitationParams) WithTimeout(timeout time.Duration) *GetOrganizationInvitationParams
- func (o *GetOrganizationInvitationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationInvitationReader
- type GetOrganizationNotFound
- func (o *GetOrganizationNotFound) Code() int
- func (o *GetOrganizationNotFound) Error() string
- func (o *GetOrganizationNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetOrganizationNotFound) IsClientError() bool
- func (o *GetOrganizationNotFound) IsCode(code int) bool
- func (o *GetOrganizationNotFound) IsRedirect() bool
- func (o *GetOrganizationNotFound) IsServerError() bool
- func (o *GetOrganizationNotFound) IsSuccess() bool
- func (o *GetOrganizationNotFound) String() string
- type GetOrganizationOK
- func (o *GetOrganizationOK) Code() int
- func (o *GetOrganizationOK) Error() string
- func (o *GetOrganizationOK) GetPayload() *models.Organization
- func (o *GetOrganizationOK) IsClientError() bool
- func (o *GetOrganizationOK) IsCode(code int) bool
- func (o *GetOrganizationOK) IsRedirect() bool
- func (o *GetOrganizationOK) IsServerError() bool
- func (o *GetOrganizationOK) IsSuccess() bool
- func (o *GetOrganizationOK) String() string
- type GetOrganizationParams
- func NewGetOrganizationParams() *GetOrganizationParams
- func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams
- func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizationParams
- func NewGetOrganizationParamsWithTimeout(timeout time.Duration) *GetOrganizationParams
- func (o *GetOrganizationParams) SetContext(ctx context.Context)
- func (o *GetOrganizationParams) SetDefaults()
- func (o *GetOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationParams) WithContext(ctx context.Context) *GetOrganizationParams
- func (o *GetOrganizationParams) WithDefaults() *GetOrganizationParams
- func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams
- func (o *GetOrganizationParams) WithOrganizationID(organizationID string) *GetOrganizationParams
- func (o *GetOrganizationParams) WithTimeout(timeout time.Duration) *GetOrganizationParams
- func (o *GetOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationReader
- type GetOrganizationUnauthorized
- func (o *GetOrganizationUnauthorized) Code() int
- func (o *GetOrganizationUnauthorized) Error() string
- func (o *GetOrganizationUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *GetOrganizationUnauthorized) IsClientError() bool
- func (o *GetOrganizationUnauthorized) IsCode(code int) bool
- func (o *GetOrganizationUnauthorized) IsRedirect() bool
- func (o *GetOrganizationUnauthorized) IsServerError() bool
- func (o *GetOrganizationUnauthorized) IsSuccess() bool
- func (o *GetOrganizationUnauthorized) String() string
- type ListOrganizationInvitationsNotFound
- func (o *ListOrganizationInvitationsNotFound) Code() int
- func (o *ListOrganizationInvitationsNotFound) Error() string
- func (o *ListOrganizationInvitationsNotFound) GetPayload() *models.BasicFailedReply
- func (o *ListOrganizationInvitationsNotFound) IsClientError() bool
- func (o *ListOrganizationInvitationsNotFound) IsCode(code int) bool
- func (o *ListOrganizationInvitationsNotFound) IsRedirect() bool
- func (o *ListOrganizationInvitationsNotFound) IsServerError() bool
- func (o *ListOrganizationInvitationsNotFound) IsSuccess() bool
- func (o *ListOrganizationInvitationsNotFound) String() string
- type ListOrganizationInvitationsOK
- func (o *ListOrganizationInvitationsOK) Code() int
- func (o *ListOrganizationInvitationsOK) Error() string
- func (o *ListOrganizationInvitationsOK) GetPayload() *models.OrganizationInvitations
- func (o *ListOrganizationInvitationsOK) IsClientError() bool
- func (o *ListOrganizationInvitationsOK) IsCode(code int) bool
- func (o *ListOrganizationInvitationsOK) IsRedirect() bool
- func (o *ListOrganizationInvitationsOK) IsServerError() bool
- func (o *ListOrganizationInvitationsOK) IsSuccess() bool
- func (o *ListOrganizationInvitationsOK) String() string
- type ListOrganizationInvitationsParams
- func NewListOrganizationInvitationsParams() *ListOrganizationInvitationsParams
- func NewListOrganizationInvitationsParamsWithContext(ctx context.Context) *ListOrganizationInvitationsParams
- func NewListOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *ListOrganizationInvitationsParams
- func NewListOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *ListOrganizationInvitationsParams
- func (o *ListOrganizationInvitationsParams) SetContext(ctx context.Context)
- func (o *ListOrganizationInvitationsParams) SetDefaults()
- func (o *ListOrganizationInvitationsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrganizationInvitationsParams) SetOrganizationID(organizationID string)
- func (o *ListOrganizationInvitationsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrganizationInvitationsParams) WithContext(ctx context.Context) *ListOrganizationInvitationsParams
- func (o *ListOrganizationInvitationsParams) WithDefaults() *ListOrganizationInvitationsParams
- func (o *ListOrganizationInvitationsParams) WithHTTPClient(client *http.Client) *ListOrganizationInvitationsParams
- func (o *ListOrganizationInvitationsParams) WithOrganizationID(organizationID string) *ListOrganizationInvitationsParams
- func (o *ListOrganizationInvitationsParams) WithTimeout(timeout time.Duration) *ListOrganizationInvitationsParams
- func (o *ListOrganizationInvitationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrganizationInvitationsReader
- type ListOrganizationMembersNotFound
- func (o *ListOrganizationMembersNotFound) Code() int
- func (o *ListOrganizationMembersNotFound) Error() string
- func (o *ListOrganizationMembersNotFound) GetPayload() *models.BasicFailedReply
- func (o *ListOrganizationMembersNotFound) IsClientError() bool
- func (o *ListOrganizationMembersNotFound) IsCode(code int) bool
- func (o *ListOrganizationMembersNotFound) IsRedirect() bool
- func (o *ListOrganizationMembersNotFound) IsServerError() bool
- func (o *ListOrganizationMembersNotFound) IsSuccess() bool
- func (o *ListOrganizationMembersNotFound) String() string
- type ListOrganizationMembersOK
- func (o *ListOrganizationMembersOK) Code() int
- func (o *ListOrganizationMembersOK) Error() string
- func (o *ListOrganizationMembersOK) GetPayload() *models.OrganizationMemberships
- func (o *ListOrganizationMembersOK) IsClientError() bool
- func (o *ListOrganizationMembersOK) IsCode(code int) bool
- func (o *ListOrganizationMembersOK) IsRedirect() bool
- func (o *ListOrganizationMembersOK) IsServerError() bool
- func (o *ListOrganizationMembersOK) IsSuccess() bool
- func (o *ListOrganizationMembersOK) String() string
- type ListOrganizationMembersParams
- func NewListOrganizationMembersParams() *ListOrganizationMembersParams
- func NewListOrganizationMembersParamsWithContext(ctx context.Context) *ListOrganizationMembersParams
- func NewListOrganizationMembersParamsWithHTTPClient(client *http.Client) *ListOrganizationMembersParams
- func NewListOrganizationMembersParamsWithTimeout(timeout time.Duration) *ListOrganizationMembersParams
- func (o *ListOrganizationMembersParams) SetContext(ctx context.Context)
- func (o *ListOrganizationMembersParams) SetDefaults()
- func (o *ListOrganizationMembersParams) SetHTTPClient(client *http.Client)
- func (o *ListOrganizationMembersParams) SetOrganizationID(organizationID string)
- func (o *ListOrganizationMembersParams) SetTimeout(timeout time.Duration)
- func (o *ListOrganizationMembersParams) WithContext(ctx context.Context) *ListOrganizationMembersParams
- func (o *ListOrganizationMembersParams) WithDefaults() *ListOrganizationMembersParams
- func (o *ListOrganizationMembersParams) WithHTTPClient(client *http.Client) *ListOrganizationMembersParams
- func (o *ListOrganizationMembersParams) WithOrganizationID(organizationID string) *ListOrganizationMembersParams
- func (o *ListOrganizationMembersParams) WithTimeout(timeout time.Duration) *ListOrganizationMembersParams
- func (o *ListOrganizationMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrganizationMembersReader
- type ListOrganizationsOK
- func (o *ListOrganizationsOK) Code() int
- func (o *ListOrganizationsOK) Error() string
- func (o *ListOrganizationsOK) GetPayload() *models.OrganizationList
- func (o *ListOrganizationsOK) IsClientError() bool
- func (o *ListOrganizationsOK) IsCode(code int) bool
- func (o *ListOrganizationsOK) IsRedirect() bool
- func (o *ListOrganizationsOK) IsServerError() bool
- func (o *ListOrganizationsOK) IsSuccess() bool
- func (o *ListOrganizationsOK) String() string
- type ListOrganizationsParams
- func NewListOrganizationsParams() *ListOrganizationsParams
- func NewListOrganizationsParamsWithContext(ctx context.Context) *ListOrganizationsParams
- func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganizationsParams
- func NewListOrganizationsParamsWithTimeout(timeout time.Duration) *ListOrganizationsParams
- func (o *ListOrganizationsParams) SetContext(ctx context.Context)
- func (o *ListOrganizationsParams) SetDefaults()
- func (o *ListOrganizationsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrganizationsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrganizationsParams) WithContext(ctx context.Context) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithDefaults() *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithHTTPClient(client *http.Client) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithTimeout(timeout time.Duration) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrganizationsReader
- type ListOrganizationsUnauthorized
- func (o *ListOrganizationsUnauthorized) Code() int
- func (o *ListOrganizationsUnauthorized) Error() string
- func (o *ListOrganizationsUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *ListOrganizationsUnauthorized) IsClientError() bool
- func (o *ListOrganizationsUnauthorized) IsCode(code int) bool
- func (o *ListOrganizationsUnauthorized) IsRedirect() bool
- func (o *ListOrganizationsUnauthorized) IsServerError() bool
- func (o *ListOrganizationsUnauthorized) IsSuccess() bool
- func (o *ListOrganizationsUnauthorized) String() string
- type UpdateOrganizationBadRequest
- func (o *UpdateOrganizationBadRequest) Code() int
- func (o *UpdateOrganizationBadRequest) Error() string
- func (o *UpdateOrganizationBadRequest) GetPayload() *models.BasicFailedReply
- func (o *UpdateOrganizationBadRequest) IsClientError() bool
- func (o *UpdateOrganizationBadRequest) IsCode(code int) bool
- func (o *UpdateOrganizationBadRequest) IsRedirect() bool
- func (o *UpdateOrganizationBadRequest) IsServerError() bool
- func (o *UpdateOrganizationBadRequest) IsSuccess() bool
- func (o *UpdateOrganizationBadRequest) String() string
- type UpdateOrganizationForbidden
- func (o *UpdateOrganizationForbidden) Code() int
- func (o *UpdateOrganizationForbidden) Error() string
- func (o *UpdateOrganizationForbidden) GetPayload() *models.BasicFailedReply
- func (o *UpdateOrganizationForbidden) IsClientError() bool
- func (o *UpdateOrganizationForbidden) IsCode(code int) bool
- func (o *UpdateOrganizationForbidden) IsRedirect() bool
- func (o *UpdateOrganizationForbidden) IsServerError() bool
- func (o *UpdateOrganizationForbidden) IsSuccess() bool
- func (o *UpdateOrganizationForbidden) String() string
- type UpdateOrganizationNotFound
- func (o *UpdateOrganizationNotFound) Code() int
- func (o *UpdateOrganizationNotFound) Error() string
- func (o *UpdateOrganizationNotFound) GetPayload() *models.BasicFailedReply
- func (o *UpdateOrganizationNotFound) IsClientError() bool
- func (o *UpdateOrganizationNotFound) IsCode(code int) bool
- func (o *UpdateOrganizationNotFound) IsRedirect() bool
- func (o *UpdateOrganizationNotFound) IsServerError() bool
- func (o *UpdateOrganizationNotFound) IsSuccess() bool
- func (o *UpdateOrganizationNotFound) String() string
- type UpdateOrganizationOK
- func (o *UpdateOrganizationOK) Code() int
- func (o *UpdateOrganizationOK) Error() string
- func (o *UpdateOrganizationOK) GetPayload() *models.Organization
- func (o *UpdateOrganizationOK) IsClientError() bool
- func (o *UpdateOrganizationOK) IsCode(code int) bool
- func (o *UpdateOrganizationOK) IsRedirect() bool
- func (o *UpdateOrganizationOK) IsServerError() bool
- func (o *UpdateOrganizationOK) IsSuccess() bool
- func (o *UpdateOrganizationOK) String() string
- type UpdateOrganizationParams
- func NewUpdateOrganizationParams() *UpdateOrganizationParams
- func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams
- func NewUpdateOrganizationParamsWithHTTPClient(client *http.Client) *UpdateOrganizationParams
- func NewUpdateOrganizationParamsWithTimeout(timeout time.Duration) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) SetBody(body *models.OrganizationRequest)
- func (o *UpdateOrganizationParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationParams) SetDefaults()
- func (o *UpdateOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationParams) SetOrganizationID(organizationID string)
- func (o *UpdateOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationParams) WithBody(body *models.OrganizationRequest) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithContext(ctx context.Context) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithDefaults() *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithHTTPClient(client *http.Client) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithOrganizationID(organizationID string) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithTimeout(timeout time.Duration) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationReader
- type UpdateOrganizationUnauthorized
- func (o *UpdateOrganizationUnauthorized) Code() int
- func (o *UpdateOrganizationUnauthorized) Error() string
- func (o *UpdateOrganizationUnauthorized) GetPayload() *models.BasicFailedReply
- func (o *UpdateOrganizationUnauthorized) IsClientError() bool
- func (o *UpdateOrganizationUnauthorized) IsCode(code int) bool
- func (o *UpdateOrganizationUnauthorized) IsRedirect() bool
- func (o *UpdateOrganizationUnauthorized) IsServerError() bool
- func (o *UpdateOrganizationUnauthorized) IsSuccess() bool
- func (o *UpdateOrganizationUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptOrganizationInvitationBadRequest ¶
type AcceptOrganizationInvitationBadRequest struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
AcceptOrganizationInvitationBadRequest describes a response with status code 400, with default header values.
User already belongs to organization. (code: `organization.user_organization_already_belongs`)
func NewAcceptOrganizationInvitationBadRequest ¶
func NewAcceptOrganizationInvitationBadRequest() *AcceptOrganizationInvitationBadRequest
NewAcceptOrganizationInvitationBadRequest creates a AcceptOrganizationInvitationBadRequest with default headers values
func (*AcceptOrganizationInvitationBadRequest) Code ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) Code() int
Code gets the status code for the accept organization invitation bad request response
func (*AcceptOrganizationInvitationBadRequest) Error ¶
func (o *AcceptOrganizationInvitationBadRequest) Error() string
func (*AcceptOrganizationInvitationBadRequest) GetPayload ¶
func (o *AcceptOrganizationInvitationBadRequest) GetPayload() *models.BasicFailedReply
func (*AcceptOrganizationInvitationBadRequest) IsClientError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) IsClientError() bool
IsClientError returns true when this accept organization invitation bad request response has a 4xx status code
func (*AcceptOrganizationInvitationBadRequest) IsCode ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) IsCode(code int) bool
IsCode returns true when this accept organization invitation bad request response a status code equal to that given
func (*AcceptOrganizationInvitationBadRequest) IsRedirect ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) IsRedirect() bool
IsRedirect returns true when this accept organization invitation bad request response has a 3xx status code
func (*AcceptOrganizationInvitationBadRequest) IsServerError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) IsServerError() bool
IsServerError returns true when this accept organization invitation bad request response has a 5xx status code
func (*AcceptOrganizationInvitationBadRequest) IsSuccess ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) IsSuccess() bool
IsSuccess returns true when this accept organization invitation bad request response has a 2xx status code
func (*AcceptOrganizationInvitationBadRequest) String ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationBadRequest) String() string
type AcceptOrganizationInvitationForbidden ¶
type AcceptOrganizationInvitationForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
AcceptOrganizationInvitationForbidden describes a response with status code 403, with default header values.
The current user authentication is not valid. (code: `root.invalid_authentication`)
func NewAcceptOrganizationInvitationForbidden ¶
func NewAcceptOrganizationInvitationForbidden() *AcceptOrganizationInvitationForbidden
NewAcceptOrganizationInvitationForbidden creates a AcceptOrganizationInvitationForbidden with default headers values
func (*AcceptOrganizationInvitationForbidden) Code ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) Code() int
Code gets the status code for the accept organization invitation forbidden response
func (*AcceptOrganizationInvitationForbidden) Error ¶
func (o *AcceptOrganizationInvitationForbidden) Error() string
func (*AcceptOrganizationInvitationForbidden) GetPayload ¶
func (o *AcceptOrganizationInvitationForbidden) GetPayload() *models.BasicFailedReply
func (*AcceptOrganizationInvitationForbidden) IsClientError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) IsClientError() bool
IsClientError returns true when this accept organization invitation forbidden response has a 4xx status code
func (*AcceptOrganizationInvitationForbidden) IsCode ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) IsCode(code int) bool
IsCode returns true when this accept organization invitation forbidden response a status code equal to that given
func (*AcceptOrganizationInvitationForbidden) IsRedirect ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) IsRedirect() bool
IsRedirect returns true when this accept organization invitation forbidden response has a 3xx status code
func (*AcceptOrganizationInvitationForbidden) IsServerError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) IsServerError() bool
IsServerError returns true when this accept organization invitation forbidden response has a 5xx status code
func (*AcceptOrganizationInvitationForbidden) IsSuccess ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) IsSuccess() bool
IsSuccess returns true when this accept organization invitation forbidden response has a 2xx status code
func (*AcceptOrganizationInvitationForbidden) String ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationForbidden) String() string
type AcceptOrganizationInvitationNotFound ¶
type AcceptOrganizationInvitationNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
AcceptOrganizationInvitationNotFound describes a response with status code 404, with default header values. * Organization not found. (code: `organization.not_found`)
* User not found. (code: `user.not_found`) * Invitation not found. (code: `organization.invitation_not_found`)
func NewAcceptOrganizationInvitationNotFound ¶
func NewAcceptOrganizationInvitationNotFound() *AcceptOrganizationInvitationNotFound
NewAcceptOrganizationInvitationNotFound creates a AcceptOrganizationInvitationNotFound with default headers values
func (*AcceptOrganizationInvitationNotFound) Code ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) Code() int
Code gets the status code for the accept organization invitation not found response
func (*AcceptOrganizationInvitationNotFound) Error ¶
func (o *AcceptOrganizationInvitationNotFound) Error() string
func (*AcceptOrganizationInvitationNotFound) GetPayload ¶
func (o *AcceptOrganizationInvitationNotFound) GetPayload() *models.BasicFailedReply
func (*AcceptOrganizationInvitationNotFound) IsClientError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) IsClientError() bool
IsClientError returns true when this accept organization invitation not found response has a 4xx status code
func (*AcceptOrganizationInvitationNotFound) IsCode ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) IsCode(code int) bool
IsCode returns true when this accept organization invitation not found response a status code equal to that given
func (*AcceptOrganizationInvitationNotFound) IsRedirect ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) IsRedirect() bool
IsRedirect returns true when this accept organization invitation not found response has a 3xx status code
func (*AcceptOrganizationInvitationNotFound) IsServerError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) IsServerError() bool
IsServerError returns true when this accept organization invitation not found response has a 5xx status code
func (*AcceptOrganizationInvitationNotFound) IsSuccess ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) IsSuccess() bool
IsSuccess returns true when this accept organization invitation not found response has a 2xx status code
func (*AcceptOrganizationInvitationNotFound) String ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationNotFound) String() string
type AcceptOrganizationInvitationOK ¶
type AcceptOrganizationInvitationOK struct {
Payload models.EmptyResponse
}
AcceptOrganizationInvitationOK describes a response with status code 200, with default header values.
Organization invitation accepted successfully
func NewAcceptOrganizationInvitationOK ¶
func NewAcceptOrganizationInvitationOK() *AcceptOrganizationInvitationOK
NewAcceptOrganizationInvitationOK creates a AcceptOrganizationInvitationOK with default headers values
func (*AcceptOrganizationInvitationOK) Code ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) Code() int
Code gets the status code for the accept organization invitation o k response
func (*AcceptOrganizationInvitationOK) Error ¶
func (o *AcceptOrganizationInvitationOK) Error() string
func (*AcceptOrganizationInvitationOK) GetPayload ¶
func (o *AcceptOrganizationInvitationOK) GetPayload() models.EmptyResponse
func (*AcceptOrganizationInvitationOK) IsClientError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) IsClientError() bool
IsClientError returns true when this accept organization invitation o k response has a 4xx status code
func (*AcceptOrganizationInvitationOK) IsCode ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) IsCode(code int) bool
IsCode returns true when this accept organization invitation o k response a status code equal to that given
func (*AcceptOrganizationInvitationOK) IsRedirect ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) IsRedirect() bool
IsRedirect returns true when this accept organization invitation o k response has a 3xx status code
func (*AcceptOrganizationInvitationOK) IsServerError ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) IsServerError() bool
IsServerError returns true when this accept organization invitation o k response has a 5xx status code
func (*AcceptOrganizationInvitationOK) IsSuccess ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) IsSuccess() bool
IsSuccess returns true when this accept organization invitation o k response has a 2xx status code
func (*AcceptOrganizationInvitationOK) String ¶ added in v1.13.0
func (o *AcceptOrganizationInvitationOK) String() string
type AcceptOrganizationInvitationParams ¶
type AcceptOrganizationInvitationParams struct { /* InvitationToken. Organization invitation token */ InvitationToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AcceptOrganizationInvitationParams contains all the parameters to send to the API endpoint
for the accept organization invitation operation. Typically these are written to a http.Request.
func NewAcceptOrganizationInvitationParams ¶
func NewAcceptOrganizationInvitationParams() *AcceptOrganizationInvitationParams
NewAcceptOrganizationInvitationParams creates a new AcceptOrganizationInvitationParams 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 NewAcceptOrganizationInvitationParamsWithContext ¶
func NewAcceptOrganizationInvitationParamsWithContext(ctx context.Context) *AcceptOrganizationInvitationParams
NewAcceptOrganizationInvitationParamsWithContext creates a new AcceptOrganizationInvitationParams object with the ability to set a context for a request.
func NewAcceptOrganizationInvitationParamsWithHTTPClient ¶
func NewAcceptOrganizationInvitationParamsWithHTTPClient(client *http.Client) *AcceptOrganizationInvitationParams
NewAcceptOrganizationInvitationParamsWithHTTPClient creates a new AcceptOrganizationInvitationParams object with the ability to set a custom HTTPClient for a request.
func NewAcceptOrganizationInvitationParamsWithTimeout ¶
func NewAcceptOrganizationInvitationParamsWithTimeout(timeout time.Duration) *AcceptOrganizationInvitationParams
NewAcceptOrganizationInvitationParamsWithTimeout creates a new AcceptOrganizationInvitationParams object with the ability to set a timeout on a request.
func (*AcceptOrganizationInvitationParams) SetContext ¶
func (o *AcceptOrganizationInvitationParams) SetContext(ctx context.Context)
SetContext adds the context to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) SetDefaults ¶
func (o *AcceptOrganizationInvitationParams) SetDefaults()
SetDefaults hydrates default values in the accept organization invitation params (not the query body).
All values with no default are reset to their zero value.
func (*AcceptOrganizationInvitationParams) SetHTTPClient ¶
func (o *AcceptOrganizationInvitationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) SetInvitationToken ¶
func (o *AcceptOrganizationInvitationParams) SetInvitationToken(invitationToken string)
SetInvitationToken adds the invitationToken to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) SetTimeout ¶
func (o *AcceptOrganizationInvitationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) WithContext ¶
func (o *AcceptOrganizationInvitationParams) WithContext(ctx context.Context) *AcceptOrganizationInvitationParams
WithContext adds the context to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) WithDefaults ¶
func (o *AcceptOrganizationInvitationParams) WithDefaults() *AcceptOrganizationInvitationParams
WithDefaults hydrates default values in the accept organization invitation params (not the query body).
All values with no default are reset to their zero value.
func (*AcceptOrganizationInvitationParams) WithHTTPClient ¶
func (o *AcceptOrganizationInvitationParams) WithHTTPClient(client *http.Client) *AcceptOrganizationInvitationParams
WithHTTPClient adds the HTTPClient to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) WithInvitationToken ¶
func (o *AcceptOrganizationInvitationParams) WithInvitationToken(invitationToken string) *AcceptOrganizationInvitationParams
WithInvitationToken adds the invitationToken to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) WithTimeout ¶
func (o *AcceptOrganizationInvitationParams) WithTimeout(timeout time.Duration) *AcceptOrganizationInvitationParams
WithTimeout adds the timeout to the accept organization invitation params
func (*AcceptOrganizationInvitationParams) WriteToRequest ¶
func (o *AcceptOrganizationInvitationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AcceptOrganizationInvitationReader ¶
type AcceptOrganizationInvitationReader struct {
// contains filtered or unexported fields
}
AcceptOrganizationInvitationReader is a Reader for the AcceptOrganizationInvitation structure.
func (*AcceptOrganizationInvitationReader) ReadResponse ¶
func (o *AcceptOrganizationInvitationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for organizations API
func (*Client) AcceptOrganizationInvitation ¶
func (a *Client) AcceptOrganizationInvitation(params *AcceptOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptOrganizationInvitationOK, error)
AcceptOrganizationInvitation accepts an organization invitation
Accepts an organization invitation. Currently unavailable in self-hosted ECE.
func (*Client) CreateOrganizationInvitations ¶
func (a *Client) CreateOrganizationInvitations(params *CreateOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationInvitationsCreated, error)
CreateOrganizationInvitations creates organization invitations
Creates or refreshes organization invitations. Currently unavailable in self-hosted ECE.
func (*Client) DeleteOrganizationInvitations ¶
func (a *Client) DeleteOrganizationInvitations(params *DeleteOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationInvitationsOK, error)
DeleteOrganizationInvitations deletes organization invitations
Deletes one or more organization invitations. Currently unavailable in self-hosted ECE.
func (*Client) DeleteOrganizationMemberships ¶
func (a *Client) DeleteOrganizationMemberships(params *DeleteOrganizationMembershipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationMembershipsOK, error)
DeleteOrganizationMemberships deletes organization memberships
Deletes one or more organization memberships. Currently unavailable in self-hosted ECE.
func (*Client) GetOrganization ¶
func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error)
GetOrganization fetches organization information
Fetch a single organization by id. Currently unavailable in self-hosted ECE.
func (*Client) GetOrganizationInvitation ¶
func (a *Client) GetOrganizationInvitation(params *GetOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInvitationOK, error)
GetOrganizationInvitation gets organization invitation
Gets a single invitation to an organization by token. Currently unavailable in self-hosted ECE.
func (*Client) ListOrganizationInvitations ¶
func (a *Client) ListOrganizationInvitations(params *ListOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationInvitationsOK, error)
ListOrganizationInvitations lists organization invitations
Fetch open invitations to the selected organization. Currently unavailable in self-hosted ECE.
func (*Client) ListOrganizationMembers ¶
func (a *Client) ListOrganizationMembers(params *ListOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationMembersOK, error)
ListOrganizationMembers lists organization members
Fetch users belonging to the selected organization. Currently unavailable in self-hosted ECE.
func (*Client) ListOrganizations ¶
func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error)
ListOrganizations lists organizations
Fetch organizations available to the current user. Currently unavailable in self-hosted ECE.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrganization ¶
func (a *Client) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationOK, error)
UpdateOrganization updates organization > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version.
Updates an existing organization. Currently unavailable in self-hosted ECE.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AcceptOrganizationInvitation(params *AcceptOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptOrganizationInvitationOK, error) CreateOrganizationInvitations(params *CreateOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationInvitationsCreated, error) DeleteOrganizationInvitations(params *DeleteOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationInvitationsOK, error) DeleteOrganizationMemberships(params *DeleteOrganizationMembershipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationMembershipsOK, error) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error) GetOrganizationInvitation(params *GetOrganizationInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInvitationOK, error) ListOrganizationInvitations(params *ListOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationInvitationsOK, error) ListOrganizationMembers(params *ListOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationMembersOK, error) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationOK, 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 organizations API client.
type CreateOrganizationInvitationsBadRequest ¶
type CreateOrganizationInvitationsBadRequest struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateOrganizationInvitationsBadRequest describes a response with status code 400, with default header values. * Invitation email was not valid. (code: `organization.invitation_invalid_email`)
* Invitation already sent. (code: `organization.invitation_already_exists`) * User already belongs to organization. (code: `organization.user_organization_already_belongs`)
func NewCreateOrganizationInvitationsBadRequest ¶
func NewCreateOrganizationInvitationsBadRequest() *CreateOrganizationInvitationsBadRequest
NewCreateOrganizationInvitationsBadRequest creates a CreateOrganizationInvitationsBadRequest with default headers values
func (*CreateOrganizationInvitationsBadRequest) Code ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) Code() int
Code gets the status code for the create organization invitations bad request response
func (*CreateOrganizationInvitationsBadRequest) Error ¶
func (o *CreateOrganizationInvitationsBadRequest) Error() string
func (*CreateOrganizationInvitationsBadRequest) GetPayload ¶
func (o *CreateOrganizationInvitationsBadRequest) GetPayload() *models.BasicFailedReply
func (*CreateOrganizationInvitationsBadRequest) IsClientError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) IsClientError() bool
IsClientError returns true when this create organization invitations bad request response has a 4xx status code
func (*CreateOrganizationInvitationsBadRequest) IsCode ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) IsCode(code int) bool
IsCode returns true when this create organization invitations bad request response a status code equal to that given
func (*CreateOrganizationInvitationsBadRequest) IsRedirect ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) IsRedirect() bool
IsRedirect returns true when this create organization invitations bad request response has a 3xx status code
func (*CreateOrganizationInvitationsBadRequest) IsServerError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) IsServerError() bool
IsServerError returns true when this create organization invitations bad request response has a 5xx status code
func (*CreateOrganizationInvitationsBadRequest) IsSuccess ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) IsSuccess() bool
IsSuccess returns true when this create organization invitations bad request response has a 2xx status code
func (*CreateOrganizationInvitationsBadRequest) String ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsBadRequest) String() string
type CreateOrganizationInvitationsCreated ¶
type CreateOrganizationInvitationsCreated struct {
Payload *models.OrganizationInvitations
}
CreateOrganizationInvitationsCreated describes a response with status code 201, with default header values.
Organization invitations created successfully
func NewCreateOrganizationInvitationsCreated ¶
func NewCreateOrganizationInvitationsCreated() *CreateOrganizationInvitationsCreated
NewCreateOrganizationInvitationsCreated creates a CreateOrganizationInvitationsCreated with default headers values
func (*CreateOrganizationInvitationsCreated) Code ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) Code() int
Code gets the status code for the create organization invitations created response
func (*CreateOrganizationInvitationsCreated) Error ¶
func (o *CreateOrganizationInvitationsCreated) Error() string
func (*CreateOrganizationInvitationsCreated) GetPayload ¶
func (o *CreateOrganizationInvitationsCreated) GetPayload() *models.OrganizationInvitations
func (*CreateOrganizationInvitationsCreated) IsClientError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) IsClientError() bool
IsClientError returns true when this create organization invitations created response has a 4xx status code
func (*CreateOrganizationInvitationsCreated) IsCode ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) IsCode(code int) bool
IsCode returns true when this create organization invitations created response a status code equal to that given
func (*CreateOrganizationInvitationsCreated) IsRedirect ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) IsRedirect() bool
IsRedirect returns true when this create organization invitations created response has a 3xx status code
func (*CreateOrganizationInvitationsCreated) IsServerError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) IsServerError() bool
IsServerError returns true when this create organization invitations created response has a 5xx status code
func (*CreateOrganizationInvitationsCreated) IsSuccess ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) IsSuccess() bool
IsSuccess returns true when this create organization invitations created response has a 2xx status code
func (*CreateOrganizationInvitationsCreated) String ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsCreated) String() string
type CreateOrganizationInvitationsForbidden ¶
type CreateOrganizationInvitationsForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateOrganizationInvitationsForbidden describes a response with status code 403, with default header values.
The current user authentication is not valid. (code: `root.invalid_authentication`)
func NewCreateOrganizationInvitationsForbidden ¶
func NewCreateOrganizationInvitationsForbidden() *CreateOrganizationInvitationsForbidden
NewCreateOrganizationInvitationsForbidden creates a CreateOrganizationInvitationsForbidden with default headers values
func (*CreateOrganizationInvitationsForbidden) Code ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) Code() int
Code gets the status code for the create organization invitations forbidden response
func (*CreateOrganizationInvitationsForbidden) Error ¶
func (o *CreateOrganizationInvitationsForbidden) Error() string
func (*CreateOrganizationInvitationsForbidden) GetPayload ¶
func (o *CreateOrganizationInvitationsForbidden) GetPayload() *models.BasicFailedReply
func (*CreateOrganizationInvitationsForbidden) IsClientError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) IsClientError() bool
IsClientError returns true when this create organization invitations forbidden response has a 4xx status code
func (*CreateOrganizationInvitationsForbidden) IsCode ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) IsCode(code int) bool
IsCode returns true when this create organization invitations forbidden response a status code equal to that given
func (*CreateOrganizationInvitationsForbidden) IsRedirect ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) IsRedirect() bool
IsRedirect returns true when this create organization invitations forbidden response has a 3xx status code
func (*CreateOrganizationInvitationsForbidden) IsServerError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) IsServerError() bool
IsServerError returns true when this create organization invitations forbidden response has a 5xx status code
func (*CreateOrganizationInvitationsForbidden) IsSuccess ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) IsSuccess() bool
IsSuccess returns true when this create organization invitations forbidden response has a 2xx status code
func (*CreateOrganizationInvitationsForbidden) String ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsForbidden) String() string
type CreateOrganizationInvitationsNotFound ¶
type CreateOrganizationInvitationsNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateOrganizationInvitationsNotFound describes a response with status code 404, with default header values. * Organization not found. (code: `organization.not_found`)
* User not found. (code: `user.not_found`) * Invitation sender does not belong to organization. (code: `organization.user_organization_does_not_belong`)
func NewCreateOrganizationInvitationsNotFound ¶
func NewCreateOrganizationInvitationsNotFound() *CreateOrganizationInvitationsNotFound
NewCreateOrganizationInvitationsNotFound creates a CreateOrganizationInvitationsNotFound with default headers values
func (*CreateOrganizationInvitationsNotFound) Code ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) Code() int
Code gets the status code for the create organization invitations not found response
func (*CreateOrganizationInvitationsNotFound) Error ¶
func (o *CreateOrganizationInvitationsNotFound) Error() string
func (*CreateOrganizationInvitationsNotFound) GetPayload ¶
func (o *CreateOrganizationInvitationsNotFound) GetPayload() *models.BasicFailedReply
func (*CreateOrganizationInvitationsNotFound) IsClientError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) IsClientError() bool
IsClientError returns true when this create organization invitations not found response has a 4xx status code
func (*CreateOrganizationInvitationsNotFound) IsCode ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) IsCode(code int) bool
IsCode returns true when this create organization invitations not found response a status code equal to that given
func (*CreateOrganizationInvitationsNotFound) IsRedirect ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) IsRedirect() bool
IsRedirect returns true when this create organization invitations not found response has a 3xx status code
func (*CreateOrganizationInvitationsNotFound) IsServerError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) IsServerError() bool
IsServerError returns true when this create organization invitations not found response has a 5xx status code
func (*CreateOrganizationInvitationsNotFound) IsSuccess ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) IsSuccess() bool
IsSuccess returns true when this create organization invitations not found response has a 2xx status code
func (*CreateOrganizationInvitationsNotFound) String ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsNotFound) String() string
type CreateOrganizationInvitationsParams ¶
type CreateOrganizationInvitationsParams struct { /* Body. The organization invitations to create or refresh */ Body *models.OrganizationInvitationRequest /* OrganizationID. Identifier for the Organization */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOrganizationInvitationsParams contains all the parameters to send to the API endpoint
for the create organization invitations operation. Typically these are written to a http.Request.
func NewCreateOrganizationInvitationsParams ¶
func NewCreateOrganizationInvitationsParams() *CreateOrganizationInvitationsParams
NewCreateOrganizationInvitationsParams creates a new CreateOrganizationInvitationsParams 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 NewCreateOrganizationInvitationsParamsWithContext ¶
func NewCreateOrganizationInvitationsParamsWithContext(ctx context.Context) *CreateOrganizationInvitationsParams
NewCreateOrganizationInvitationsParamsWithContext creates a new CreateOrganizationInvitationsParams object with the ability to set a context for a request.
func NewCreateOrganizationInvitationsParamsWithHTTPClient ¶
func NewCreateOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *CreateOrganizationInvitationsParams
NewCreateOrganizationInvitationsParamsWithHTTPClient creates a new CreateOrganizationInvitationsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOrganizationInvitationsParamsWithTimeout ¶
func NewCreateOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *CreateOrganizationInvitationsParams
NewCreateOrganizationInvitationsParamsWithTimeout creates a new CreateOrganizationInvitationsParams object with the ability to set a timeout on a request.
func (*CreateOrganizationInvitationsParams) SetBody ¶
func (o *CreateOrganizationInvitationsParams) SetBody(body *models.OrganizationInvitationRequest)
SetBody adds the body to the create organization invitations params
func (*CreateOrganizationInvitationsParams) SetContext ¶
func (o *CreateOrganizationInvitationsParams) SetContext(ctx context.Context)
SetContext adds the context to the create organization invitations params
func (*CreateOrganizationInvitationsParams) SetDefaults ¶
func (o *CreateOrganizationInvitationsParams) SetDefaults()
SetDefaults hydrates default values in the create organization invitations params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOrganizationInvitationsParams) SetHTTPClient ¶
func (o *CreateOrganizationInvitationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create organization invitations params
func (*CreateOrganizationInvitationsParams) SetOrganizationID ¶
func (o *CreateOrganizationInvitationsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the create organization invitations params
func (*CreateOrganizationInvitationsParams) SetTimeout ¶
func (o *CreateOrganizationInvitationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create organization invitations params
func (*CreateOrganizationInvitationsParams) WithBody ¶
func (o *CreateOrganizationInvitationsParams) WithBody(body *models.OrganizationInvitationRequest) *CreateOrganizationInvitationsParams
WithBody adds the body to the create organization invitations params
func (*CreateOrganizationInvitationsParams) WithContext ¶
func (o *CreateOrganizationInvitationsParams) WithContext(ctx context.Context) *CreateOrganizationInvitationsParams
WithContext adds the context to the create organization invitations params
func (*CreateOrganizationInvitationsParams) WithDefaults ¶
func (o *CreateOrganizationInvitationsParams) WithDefaults() *CreateOrganizationInvitationsParams
WithDefaults hydrates default values in the create organization invitations params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOrganizationInvitationsParams) WithHTTPClient ¶
func (o *CreateOrganizationInvitationsParams) WithHTTPClient(client *http.Client) *CreateOrganizationInvitationsParams
WithHTTPClient adds the HTTPClient to the create organization invitations params
func (*CreateOrganizationInvitationsParams) WithOrganizationID ¶
func (o *CreateOrganizationInvitationsParams) WithOrganizationID(organizationID string) *CreateOrganizationInvitationsParams
WithOrganizationID adds the organizationID to the create organization invitations params
func (*CreateOrganizationInvitationsParams) WithTimeout ¶
func (o *CreateOrganizationInvitationsParams) WithTimeout(timeout time.Duration) *CreateOrganizationInvitationsParams
WithTimeout adds the timeout to the create organization invitations params
func (*CreateOrganizationInvitationsParams) WriteToRequest ¶
func (o *CreateOrganizationInvitationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrganizationInvitationsReader ¶
type CreateOrganizationInvitationsReader struct {
// contains filtered or unexported fields
}
CreateOrganizationInvitationsReader is a Reader for the CreateOrganizationInvitations structure.
func (*CreateOrganizationInvitationsReader) ReadResponse ¶
func (o *CreateOrganizationInvitationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrganizationInvitationsTooManyRequests ¶
type CreateOrganizationInvitationsTooManyRequests struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateOrganizationInvitationsTooManyRequests describes a response with status code 429, with default header values.
Request exceeds organization invitation creation rate limits. (code: `organization.invitations_rate_limit_exceeded`)
func NewCreateOrganizationInvitationsTooManyRequests ¶
func NewCreateOrganizationInvitationsTooManyRequests() *CreateOrganizationInvitationsTooManyRequests
NewCreateOrganizationInvitationsTooManyRequests creates a CreateOrganizationInvitationsTooManyRequests with default headers values
func (*CreateOrganizationInvitationsTooManyRequests) Code ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) Code() int
Code gets the status code for the create organization invitations too many requests response
func (*CreateOrganizationInvitationsTooManyRequests) Error ¶
func (o *CreateOrganizationInvitationsTooManyRequests) Error() string
func (*CreateOrganizationInvitationsTooManyRequests) GetPayload ¶
func (o *CreateOrganizationInvitationsTooManyRequests) GetPayload() *models.BasicFailedReply
func (*CreateOrganizationInvitationsTooManyRequests) IsClientError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) IsClientError() bool
IsClientError returns true when this create organization invitations too many requests response has a 4xx status code
func (*CreateOrganizationInvitationsTooManyRequests) IsCode ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) IsCode(code int) bool
IsCode returns true when this create organization invitations too many requests response a status code equal to that given
func (*CreateOrganizationInvitationsTooManyRequests) IsRedirect ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create organization invitations too many requests response has a 3xx status code
func (*CreateOrganizationInvitationsTooManyRequests) IsServerError ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) IsServerError() bool
IsServerError returns true when this create organization invitations too many requests response has a 5xx status code
func (*CreateOrganizationInvitationsTooManyRequests) IsSuccess ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create organization invitations too many requests response has a 2xx status code
func (*CreateOrganizationInvitationsTooManyRequests) String ¶ added in v1.13.0
func (o *CreateOrganizationInvitationsTooManyRequests) String() string
type DeleteOrganizationInvitationsBadRequest ¶
type DeleteOrganizationInvitationsBadRequest struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteOrganizationInvitationsBadRequest describes a response with status code 400, with default header values.
No valid invitation token was supplied. (code: `root.invalid_data`)
func NewDeleteOrganizationInvitationsBadRequest ¶
func NewDeleteOrganizationInvitationsBadRequest() *DeleteOrganizationInvitationsBadRequest
NewDeleteOrganizationInvitationsBadRequest creates a DeleteOrganizationInvitationsBadRequest with default headers values
func (*DeleteOrganizationInvitationsBadRequest) Code ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) Code() int
Code gets the status code for the delete organization invitations bad request response
func (*DeleteOrganizationInvitationsBadRequest) Error ¶
func (o *DeleteOrganizationInvitationsBadRequest) Error() string
func (*DeleteOrganizationInvitationsBadRequest) GetPayload ¶
func (o *DeleteOrganizationInvitationsBadRequest) GetPayload() *models.BasicFailedReply
func (*DeleteOrganizationInvitationsBadRequest) IsClientError ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) IsClientError() bool
IsClientError returns true when this delete organization invitations bad request response has a 4xx status code
func (*DeleteOrganizationInvitationsBadRequest) IsCode ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) IsCode(code int) bool
IsCode returns true when this delete organization invitations bad request response a status code equal to that given
func (*DeleteOrganizationInvitationsBadRequest) IsRedirect ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete organization invitations bad request response has a 3xx status code
func (*DeleteOrganizationInvitationsBadRequest) IsServerError ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) IsServerError() bool
IsServerError returns true when this delete organization invitations bad request response has a 5xx status code
func (*DeleteOrganizationInvitationsBadRequest) IsSuccess ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete organization invitations bad request response has a 2xx status code
func (*DeleteOrganizationInvitationsBadRequest) String ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsBadRequest) String() string
type DeleteOrganizationInvitationsNotFound ¶
type DeleteOrganizationInvitationsNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteOrganizationInvitationsNotFound describes a response with status code 404, with default header values. * Organization not found. (code: `organization.not_found`)
* Invitation not found. (code: `organization.invitation_not_found`)
func NewDeleteOrganizationInvitationsNotFound ¶
func NewDeleteOrganizationInvitationsNotFound() *DeleteOrganizationInvitationsNotFound
NewDeleteOrganizationInvitationsNotFound creates a DeleteOrganizationInvitationsNotFound with default headers values
func (*DeleteOrganizationInvitationsNotFound) Code ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) Code() int
Code gets the status code for the delete organization invitations not found response
func (*DeleteOrganizationInvitationsNotFound) Error ¶
func (o *DeleteOrganizationInvitationsNotFound) Error() string
func (*DeleteOrganizationInvitationsNotFound) GetPayload ¶
func (o *DeleteOrganizationInvitationsNotFound) GetPayload() *models.BasicFailedReply
func (*DeleteOrganizationInvitationsNotFound) IsClientError ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) IsClientError() bool
IsClientError returns true when this delete organization invitations not found response has a 4xx status code
func (*DeleteOrganizationInvitationsNotFound) IsCode ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) IsCode(code int) bool
IsCode returns true when this delete organization invitations not found response a status code equal to that given
func (*DeleteOrganizationInvitationsNotFound) IsRedirect ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) IsRedirect() bool
IsRedirect returns true when this delete organization invitations not found response has a 3xx status code
func (*DeleteOrganizationInvitationsNotFound) IsServerError ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) IsServerError() bool
IsServerError returns true when this delete organization invitations not found response has a 5xx status code
func (*DeleteOrganizationInvitationsNotFound) IsSuccess ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) IsSuccess() bool
IsSuccess returns true when this delete organization invitations not found response has a 2xx status code
func (*DeleteOrganizationInvitationsNotFound) String ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsNotFound) String() string
type DeleteOrganizationInvitationsOK ¶
type DeleteOrganizationInvitationsOK struct {
Payload models.EmptyResponse
}
DeleteOrganizationInvitationsOK describes a response with status code 200, with default header values.
Organization invitations deleted successfully
func NewDeleteOrganizationInvitationsOK ¶
func NewDeleteOrganizationInvitationsOK() *DeleteOrganizationInvitationsOK
NewDeleteOrganizationInvitationsOK creates a DeleteOrganizationInvitationsOK with default headers values
func (*DeleteOrganizationInvitationsOK) Code ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) Code() int
Code gets the status code for the delete organization invitations o k response
func (*DeleteOrganizationInvitationsOK) Error ¶
func (o *DeleteOrganizationInvitationsOK) Error() string
func (*DeleteOrganizationInvitationsOK) GetPayload ¶
func (o *DeleteOrganizationInvitationsOK) GetPayload() models.EmptyResponse
func (*DeleteOrganizationInvitationsOK) IsClientError ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) IsClientError() bool
IsClientError returns true when this delete organization invitations o k response has a 4xx status code
func (*DeleteOrganizationInvitationsOK) IsCode ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) IsCode(code int) bool
IsCode returns true when this delete organization invitations o k response a status code equal to that given
func (*DeleteOrganizationInvitationsOK) IsRedirect ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) IsRedirect() bool
IsRedirect returns true when this delete organization invitations o k response has a 3xx status code
func (*DeleteOrganizationInvitationsOK) IsServerError ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) IsServerError() bool
IsServerError returns true when this delete organization invitations o k response has a 5xx status code
func (*DeleteOrganizationInvitationsOK) IsSuccess ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) IsSuccess() bool
IsSuccess returns true when this delete organization invitations o k response has a 2xx status code
func (*DeleteOrganizationInvitationsOK) String ¶ added in v1.13.0
func (o *DeleteOrganizationInvitationsOK) String() string
type DeleteOrganizationInvitationsParams ¶
type DeleteOrganizationInvitationsParams struct { /* InvitationTokens. CSV list of Invitation tokens */ InvitationTokens string /* OrganizationID. Identifier for the Organization */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrganizationInvitationsParams contains all the parameters to send to the API endpoint
for the delete organization invitations operation. Typically these are written to a http.Request.
func NewDeleteOrganizationInvitationsParams ¶
func NewDeleteOrganizationInvitationsParams() *DeleteOrganizationInvitationsParams
NewDeleteOrganizationInvitationsParams creates a new DeleteOrganizationInvitationsParams 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 NewDeleteOrganizationInvitationsParamsWithContext ¶
func NewDeleteOrganizationInvitationsParamsWithContext(ctx context.Context) *DeleteOrganizationInvitationsParams
NewDeleteOrganizationInvitationsParamsWithContext creates a new DeleteOrganizationInvitationsParams object with the ability to set a context for a request.
func NewDeleteOrganizationInvitationsParamsWithHTTPClient ¶
func NewDeleteOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *DeleteOrganizationInvitationsParams
NewDeleteOrganizationInvitationsParamsWithHTTPClient creates a new DeleteOrganizationInvitationsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOrganizationInvitationsParamsWithTimeout ¶
func NewDeleteOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *DeleteOrganizationInvitationsParams
NewDeleteOrganizationInvitationsParamsWithTimeout creates a new DeleteOrganizationInvitationsParams object with the ability to set a timeout on a request.
func (*DeleteOrganizationInvitationsParams) SetContext ¶
func (o *DeleteOrganizationInvitationsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) SetDefaults ¶
func (o *DeleteOrganizationInvitationsParams) SetDefaults()
SetDefaults hydrates default values in the delete organization invitations params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationInvitationsParams) SetHTTPClient ¶
func (o *DeleteOrganizationInvitationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) SetInvitationTokens ¶
func (o *DeleteOrganizationInvitationsParams) SetInvitationTokens(invitationTokens string)
SetInvitationTokens adds the invitationTokens to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) SetOrganizationID ¶
func (o *DeleteOrganizationInvitationsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) SetTimeout ¶
func (o *DeleteOrganizationInvitationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) WithContext ¶
func (o *DeleteOrganizationInvitationsParams) WithContext(ctx context.Context) *DeleteOrganizationInvitationsParams
WithContext adds the context to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) WithDefaults ¶
func (o *DeleteOrganizationInvitationsParams) WithDefaults() *DeleteOrganizationInvitationsParams
WithDefaults hydrates default values in the delete organization invitations params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationInvitationsParams) WithHTTPClient ¶
func (o *DeleteOrganizationInvitationsParams) WithHTTPClient(client *http.Client) *DeleteOrganizationInvitationsParams
WithHTTPClient adds the HTTPClient to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) WithInvitationTokens ¶
func (o *DeleteOrganizationInvitationsParams) WithInvitationTokens(invitationTokens string) *DeleteOrganizationInvitationsParams
WithInvitationTokens adds the invitationTokens to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) WithOrganizationID ¶
func (o *DeleteOrganizationInvitationsParams) WithOrganizationID(organizationID string) *DeleteOrganizationInvitationsParams
WithOrganizationID adds the organizationID to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) WithTimeout ¶
func (o *DeleteOrganizationInvitationsParams) WithTimeout(timeout time.Duration) *DeleteOrganizationInvitationsParams
WithTimeout adds the timeout to the delete organization invitations params
func (*DeleteOrganizationInvitationsParams) WriteToRequest ¶
func (o *DeleteOrganizationInvitationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrganizationInvitationsReader ¶
type DeleteOrganizationInvitationsReader struct {
// contains filtered or unexported fields
}
DeleteOrganizationInvitationsReader is a Reader for the DeleteOrganizationInvitations structure.
func (*DeleteOrganizationInvitationsReader) ReadResponse ¶
func (o *DeleteOrganizationInvitationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOrganizationMembershipsNotFound ¶
type DeleteOrganizationMembershipsNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteOrganizationMembershipsNotFound describes a response with status code 404, with default header values. * User not found. (code: `user.not_found`)
* Organization not found. (code: `organization.not_found`) * Organization membership not found. (code: `organization.membership_not_found`)
func NewDeleteOrganizationMembershipsNotFound ¶
func NewDeleteOrganizationMembershipsNotFound() *DeleteOrganizationMembershipsNotFound
NewDeleteOrganizationMembershipsNotFound creates a DeleteOrganizationMembershipsNotFound with default headers values
func (*DeleteOrganizationMembershipsNotFound) Code ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) Code() int
Code gets the status code for the delete organization memberships not found response
func (*DeleteOrganizationMembershipsNotFound) Error ¶
func (o *DeleteOrganizationMembershipsNotFound) Error() string
func (*DeleteOrganizationMembershipsNotFound) GetPayload ¶
func (o *DeleteOrganizationMembershipsNotFound) GetPayload() *models.BasicFailedReply
func (*DeleteOrganizationMembershipsNotFound) IsClientError ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) IsClientError() bool
IsClientError returns true when this delete organization memberships not found response has a 4xx status code
func (*DeleteOrganizationMembershipsNotFound) IsCode ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) IsCode(code int) bool
IsCode returns true when this delete organization memberships not found response a status code equal to that given
func (*DeleteOrganizationMembershipsNotFound) IsRedirect ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) IsRedirect() bool
IsRedirect returns true when this delete organization memberships not found response has a 3xx status code
func (*DeleteOrganizationMembershipsNotFound) IsServerError ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) IsServerError() bool
IsServerError returns true when this delete organization memberships not found response has a 5xx status code
func (*DeleteOrganizationMembershipsNotFound) IsSuccess ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) IsSuccess() bool
IsSuccess returns true when this delete organization memberships not found response has a 2xx status code
func (*DeleteOrganizationMembershipsNotFound) String ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsNotFound) String() string
type DeleteOrganizationMembershipsOK ¶
type DeleteOrganizationMembershipsOK struct {
Payload models.EmptyResponse
}
DeleteOrganizationMembershipsOK describes a response with status code 200, with default header values.
Organization membership deleted successfully
func NewDeleteOrganizationMembershipsOK ¶
func NewDeleteOrganizationMembershipsOK() *DeleteOrganizationMembershipsOK
NewDeleteOrganizationMembershipsOK creates a DeleteOrganizationMembershipsOK with default headers values
func (*DeleteOrganizationMembershipsOK) Code ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) Code() int
Code gets the status code for the delete organization memberships o k response
func (*DeleteOrganizationMembershipsOK) Error ¶
func (o *DeleteOrganizationMembershipsOK) Error() string
func (*DeleteOrganizationMembershipsOK) GetPayload ¶
func (o *DeleteOrganizationMembershipsOK) GetPayload() models.EmptyResponse
func (*DeleteOrganizationMembershipsOK) IsClientError ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) IsClientError() bool
IsClientError returns true when this delete organization memberships o k response has a 4xx status code
func (*DeleteOrganizationMembershipsOK) IsCode ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) IsCode(code int) bool
IsCode returns true when this delete organization memberships o k response a status code equal to that given
func (*DeleteOrganizationMembershipsOK) IsRedirect ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) IsRedirect() bool
IsRedirect returns true when this delete organization memberships o k response has a 3xx status code
func (*DeleteOrganizationMembershipsOK) IsServerError ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) IsServerError() bool
IsServerError returns true when this delete organization memberships o k response has a 5xx status code
func (*DeleteOrganizationMembershipsOK) IsSuccess ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) IsSuccess() bool
IsSuccess returns true when this delete organization memberships o k response has a 2xx status code
func (*DeleteOrganizationMembershipsOK) String ¶ added in v1.13.0
func (o *DeleteOrganizationMembershipsOK) String() string
type DeleteOrganizationMembershipsParams ¶
type DeleteOrganizationMembershipsParams struct { /* Force. Whether or not to force the removal of Org memberships (effective only for Platform Admins) */ Force *bool /* OrganizationID. Identifier for the Organization */ OrganizationID string /* UserIds. CSV list of User identifiers */ UserIds string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrganizationMembershipsParams contains all the parameters to send to the API endpoint
for the delete organization memberships operation. Typically these are written to a http.Request.
func NewDeleteOrganizationMembershipsParams ¶
func NewDeleteOrganizationMembershipsParams() *DeleteOrganizationMembershipsParams
NewDeleteOrganizationMembershipsParams creates a new DeleteOrganizationMembershipsParams 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 NewDeleteOrganizationMembershipsParamsWithContext ¶
func NewDeleteOrganizationMembershipsParamsWithContext(ctx context.Context) *DeleteOrganizationMembershipsParams
NewDeleteOrganizationMembershipsParamsWithContext creates a new DeleteOrganizationMembershipsParams object with the ability to set a context for a request.
func NewDeleteOrganizationMembershipsParamsWithHTTPClient ¶
func NewDeleteOrganizationMembershipsParamsWithHTTPClient(client *http.Client) *DeleteOrganizationMembershipsParams
NewDeleteOrganizationMembershipsParamsWithHTTPClient creates a new DeleteOrganizationMembershipsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOrganizationMembershipsParamsWithTimeout ¶
func NewDeleteOrganizationMembershipsParamsWithTimeout(timeout time.Duration) *DeleteOrganizationMembershipsParams
NewDeleteOrganizationMembershipsParamsWithTimeout creates a new DeleteOrganizationMembershipsParams object with the ability to set a timeout on a request.
func (*DeleteOrganizationMembershipsParams) SetContext ¶
func (o *DeleteOrganizationMembershipsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) SetDefaults ¶
func (o *DeleteOrganizationMembershipsParams) SetDefaults()
SetDefaults hydrates default values in the delete organization memberships params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationMembershipsParams) SetForce ¶
func (o *DeleteOrganizationMembershipsParams) SetForce(force *bool)
SetForce adds the force to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) SetHTTPClient ¶
func (o *DeleteOrganizationMembershipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) SetOrganizationID ¶
func (o *DeleteOrganizationMembershipsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) SetTimeout ¶
func (o *DeleteOrganizationMembershipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) SetUserIds ¶
func (o *DeleteOrganizationMembershipsParams) SetUserIds(userIds string)
SetUserIds adds the userIds to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WithContext ¶
func (o *DeleteOrganizationMembershipsParams) WithContext(ctx context.Context) *DeleteOrganizationMembershipsParams
WithContext adds the context to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WithDefaults ¶
func (o *DeleteOrganizationMembershipsParams) WithDefaults() *DeleteOrganizationMembershipsParams
WithDefaults hydrates default values in the delete organization memberships params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationMembershipsParams) WithForce ¶
func (o *DeleteOrganizationMembershipsParams) WithForce(force *bool) *DeleteOrganizationMembershipsParams
WithForce adds the force to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WithHTTPClient ¶
func (o *DeleteOrganizationMembershipsParams) WithHTTPClient(client *http.Client) *DeleteOrganizationMembershipsParams
WithHTTPClient adds the HTTPClient to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WithOrganizationID ¶
func (o *DeleteOrganizationMembershipsParams) WithOrganizationID(organizationID string) *DeleteOrganizationMembershipsParams
WithOrganizationID adds the organizationID to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WithTimeout ¶
func (o *DeleteOrganizationMembershipsParams) WithTimeout(timeout time.Duration) *DeleteOrganizationMembershipsParams
WithTimeout adds the timeout to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WithUserIds ¶
func (o *DeleteOrganizationMembershipsParams) WithUserIds(userIds string) *DeleteOrganizationMembershipsParams
WithUserIds adds the userIds to the delete organization memberships params
func (*DeleteOrganizationMembershipsParams) WriteToRequest ¶
func (o *DeleteOrganizationMembershipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrganizationMembershipsReader ¶
type DeleteOrganizationMembershipsReader struct {
// contains filtered or unexported fields
}
DeleteOrganizationMembershipsReader is a Reader for the DeleteOrganizationMemberships structure.
func (*DeleteOrganizationMembershipsReader) ReadResponse ¶
func (o *DeleteOrganizationMembershipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationForbidden ¶
type GetOrganizationForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetOrganizationForbidden describes a response with status code 403, with default header values.
The current user does not have access to the requested organization. (code: `organization.invalid_access`)
func NewGetOrganizationForbidden ¶
func NewGetOrganizationForbidden() *GetOrganizationForbidden
NewGetOrganizationForbidden creates a GetOrganizationForbidden with default headers values
func (*GetOrganizationForbidden) Code ¶ added in v1.13.0
func (o *GetOrganizationForbidden) Code() int
Code gets the status code for the get organization forbidden response
func (*GetOrganizationForbidden) Error ¶
func (o *GetOrganizationForbidden) Error() string
func (*GetOrganizationForbidden) GetPayload ¶
func (o *GetOrganizationForbidden) GetPayload() *models.BasicFailedReply
func (*GetOrganizationForbidden) IsClientError ¶ added in v1.13.0
func (o *GetOrganizationForbidden) IsClientError() bool
IsClientError returns true when this get organization forbidden response has a 4xx status code
func (*GetOrganizationForbidden) IsCode ¶ added in v1.13.0
func (o *GetOrganizationForbidden) IsCode(code int) bool
IsCode returns true when this get organization forbidden response a status code equal to that given
func (*GetOrganizationForbidden) IsRedirect ¶ added in v1.13.0
func (o *GetOrganizationForbidden) IsRedirect() bool
IsRedirect returns true when this get organization forbidden response has a 3xx status code
func (*GetOrganizationForbidden) IsServerError ¶ added in v1.13.0
func (o *GetOrganizationForbidden) IsServerError() bool
IsServerError returns true when this get organization forbidden response has a 5xx status code
func (*GetOrganizationForbidden) IsSuccess ¶ added in v1.13.0
func (o *GetOrganizationForbidden) IsSuccess() bool
IsSuccess returns true when this get organization forbidden response has a 2xx status code
func (*GetOrganizationForbidden) String ¶ added in v1.13.0
func (o *GetOrganizationForbidden) String() string
type GetOrganizationInvitationNotFound ¶
type GetOrganizationInvitationNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetOrganizationInvitationNotFound describes a response with status code 404, with default header values.
Invitation not found. (code: `organization.invitation_not_found`)
func NewGetOrganizationInvitationNotFound ¶
func NewGetOrganizationInvitationNotFound() *GetOrganizationInvitationNotFound
NewGetOrganizationInvitationNotFound creates a GetOrganizationInvitationNotFound with default headers values
func (*GetOrganizationInvitationNotFound) Code ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) Code() int
Code gets the status code for the get organization invitation not found response
func (*GetOrganizationInvitationNotFound) Error ¶
func (o *GetOrganizationInvitationNotFound) Error() string
func (*GetOrganizationInvitationNotFound) GetPayload ¶
func (o *GetOrganizationInvitationNotFound) GetPayload() *models.BasicFailedReply
func (*GetOrganizationInvitationNotFound) IsClientError ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) IsClientError() bool
IsClientError returns true when this get organization invitation not found response has a 4xx status code
func (*GetOrganizationInvitationNotFound) IsCode ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) IsCode(code int) bool
IsCode returns true when this get organization invitation not found response a status code equal to that given
func (*GetOrganizationInvitationNotFound) IsRedirect ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) IsRedirect() bool
IsRedirect returns true when this get organization invitation not found response has a 3xx status code
func (*GetOrganizationInvitationNotFound) IsServerError ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) IsServerError() bool
IsServerError returns true when this get organization invitation not found response has a 5xx status code
func (*GetOrganizationInvitationNotFound) IsSuccess ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) IsSuccess() bool
IsSuccess returns true when this get organization invitation not found response has a 2xx status code
func (*GetOrganizationInvitationNotFound) String ¶ added in v1.13.0
func (o *GetOrganizationInvitationNotFound) String() string
type GetOrganizationInvitationOK ¶
type GetOrganizationInvitationOK struct {
Payload *models.OrganizationInvitation
}
GetOrganizationInvitationOK describes a response with status code 200, with default header values.
Organization invitation fetched successfully
func NewGetOrganizationInvitationOK ¶
func NewGetOrganizationInvitationOK() *GetOrganizationInvitationOK
NewGetOrganizationInvitationOK creates a GetOrganizationInvitationOK with default headers values
func (*GetOrganizationInvitationOK) Code ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) Code() int
Code gets the status code for the get organization invitation o k response
func (*GetOrganizationInvitationOK) Error ¶
func (o *GetOrganizationInvitationOK) Error() string
func (*GetOrganizationInvitationOK) GetPayload ¶
func (o *GetOrganizationInvitationOK) GetPayload() *models.OrganizationInvitation
func (*GetOrganizationInvitationOK) IsClientError ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) IsClientError() bool
IsClientError returns true when this get organization invitation o k response has a 4xx status code
func (*GetOrganizationInvitationOK) IsCode ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) IsCode(code int) bool
IsCode returns true when this get organization invitation o k response a status code equal to that given
func (*GetOrganizationInvitationOK) IsRedirect ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) IsRedirect() bool
IsRedirect returns true when this get organization invitation o k response has a 3xx status code
func (*GetOrganizationInvitationOK) IsServerError ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) IsServerError() bool
IsServerError returns true when this get organization invitation o k response has a 5xx status code
func (*GetOrganizationInvitationOK) IsSuccess ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) IsSuccess() bool
IsSuccess returns true when this get organization invitation o k response has a 2xx status code
func (*GetOrganizationInvitationOK) String ¶ added in v1.13.0
func (o *GetOrganizationInvitationOK) String() string
type GetOrganizationInvitationParams ¶
type GetOrganizationInvitationParams struct { /* InvitationToken. Organization invitation token */ InvitationToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationInvitationParams contains all the parameters to send to the API endpoint
for the get organization invitation operation. Typically these are written to a http.Request.
func NewGetOrganizationInvitationParams ¶
func NewGetOrganizationInvitationParams() *GetOrganizationInvitationParams
NewGetOrganizationInvitationParams creates a new GetOrganizationInvitationParams 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 NewGetOrganizationInvitationParamsWithContext ¶
func NewGetOrganizationInvitationParamsWithContext(ctx context.Context) *GetOrganizationInvitationParams
NewGetOrganizationInvitationParamsWithContext creates a new GetOrganizationInvitationParams object with the ability to set a context for a request.
func NewGetOrganizationInvitationParamsWithHTTPClient ¶
func NewGetOrganizationInvitationParamsWithHTTPClient(client *http.Client) *GetOrganizationInvitationParams
NewGetOrganizationInvitationParamsWithHTTPClient creates a new GetOrganizationInvitationParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationInvitationParamsWithTimeout ¶
func NewGetOrganizationInvitationParamsWithTimeout(timeout time.Duration) *GetOrganizationInvitationParams
NewGetOrganizationInvitationParamsWithTimeout creates a new GetOrganizationInvitationParams object with the ability to set a timeout on a request.
func (*GetOrganizationInvitationParams) SetContext ¶
func (o *GetOrganizationInvitationParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization invitation params
func (*GetOrganizationInvitationParams) SetDefaults ¶
func (o *GetOrganizationInvitationParams) SetDefaults()
SetDefaults hydrates default values in the get organization invitation params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationInvitationParams) SetHTTPClient ¶
func (o *GetOrganizationInvitationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization invitation params
func (*GetOrganizationInvitationParams) SetInvitationToken ¶
func (o *GetOrganizationInvitationParams) SetInvitationToken(invitationToken string)
SetInvitationToken adds the invitationToken to the get organization invitation params
func (*GetOrganizationInvitationParams) SetTimeout ¶
func (o *GetOrganizationInvitationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization invitation params
func (*GetOrganizationInvitationParams) WithContext ¶
func (o *GetOrganizationInvitationParams) WithContext(ctx context.Context) *GetOrganizationInvitationParams
WithContext adds the context to the get organization invitation params
func (*GetOrganizationInvitationParams) WithDefaults ¶
func (o *GetOrganizationInvitationParams) WithDefaults() *GetOrganizationInvitationParams
WithDefaults hydrates default values in the get organization invitation params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationInvitationParams) WithHTTPClient ¶
func (o *GetOrganizationInvitationParams) WithHTTPClient(client *http.Client) *GetOrganizationInvitationParams
WithHTTPClient adds the HTTPClient to the get organization invitation params
func (*GetOrganizationInvitationParams) WithInvitationToken ¶
func (o *GetOrganizationInvitationParams) WithInvitationToken(invitationToken string) *GetOrganizationInvitationParams
WithInvitationToken adds the invitationToken to the get organization invitation params
func (*GetOrganizationInvitationParams) WithTimeout ¶
func (o *GetOrganizationInvitationParams) WithTimeout(timeout time.Duration) *GetOrganizationInvitationParams
WithTimeout adds the timeout to the get organization invitation params
func (*GetOrganizationInvitationParams) WriteToRequest ¶
func (o *GetOrganizationInvitationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationInvitationReader ¶
type GetOrganizationInvitationReader struct {
// contains filtered or unexported fields
}
GetOrganizationInvitationReader is a Reader for the GetOrganizationInvitation structure.
func (*GetOrganizationInvitationReader) ReadResponse ¶
func (o *GetOrganizationInvitationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationNotFound ¶
type GetOrganizationNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetOrganizationNotFound describes a response with status code 404, with default header values.
Organization not found. (code: `organization.not_found`)
func NewGetOrganizationNotFound ¶
func NewGetOrganizationNotFound() *GetOrganizationNotFound
NewGetOrganizationNotFound creates a GetOrganizationNotFound with default headers values
func (*GetOrganizationNotFound) Code ¶ added in v1.13.0
func (o *GetOrganizationNotFound) Code() int
Code gets the status code for the get organization not found response
func (*GetOrganizationNotFound) Error ¶
func (o *GetOrganizationNotFound) Error() string
func (*GetOrganizationNotFound) GetPayload ¶
func (o *GetOrganizationNotFound) GetPayload() *models.BasicFailedReply
func (*GetOrganizationNotFound) IsClientError ¶ added in v1.13.0
func (o *GetOrganizationNotFound) IsClientError() bool
IsClientError returns true when this get organization not found response has a 4xx status code
func (*GetOrganizationNotFound) IsCode ¶ added in v1.13.0
func (o *GetOrganizationNotFound) IsCode(code int) bool
IsCode returns true when this get organization not found response a status code equal to that given
func (*GetOrganizationNotFound) IsRedirect ¶ added in v1.13.0
func (o *GetOrganizationNotFound) IsRedirect() bool
IsRedirect returns true when this get organization not found response has a 3xx status code
func (*GetOrganizationNotFound) IsServerError ¶ added in v1.13.0
func (o *GetOrganizationNotFound) IsServerError() bool
IsServerError returns true when this get organization not found response has a 5xx status code
func (*GetOrganizationNotFound) IsSuccess ¶ added in v1.13.0
func (o *GetOrganizationNotFound) IsSuccess() bool
IsSuccess returns true when this get organization not found response has a 2xx status code
func (*GetOrganizationNotFound) String ¶ added in v1.13.0
func (o *GetOrganizationNotFound) String() string
type GetOrganizationOK ¶
type GetOrganizationOK struct {
Payload *models.Organization
}
GetOrganizationOK describes a response with status code 200, with default header values.
Organization fetched successfully
func NewGetOrganizationOK ¶
func NewGetOrganizationOK() *GetOrganizationOK
NewGetOrganizationOK creates a GetOrganizationOK with default headers values
func (*GetOrganizationOK) Code ¶ added in v1.13.0
func (o *GetOrganizationOK) Code() int
Code gets the status code for the get organization o k response
func (*GetOrganizationOK) Error ¶
func (o *GetOrganizationOK) Error() string
func (*GetOrganizationOK) GetPayload ¶
func (o *GetOrganizationOK) GetPayload() *models.Organization
func (*GetOrganizationOK) IsClientError ¶ added in v1.13.0
func (o *GetOrganizationOK) IsClientError() bool
IsClientError returns true when this get organization o k response has a 4xx status code
func (*GetOrganizationOK) IsCode ¶ added in v1.13.0
func (o *GetOrganizationOK) IsCode(code int) bool
IsCode returns true when this get organization o k response a status code equal to that given
func (*GetOrganizationOK) IsRedirect ¶ added in v1.13.0
func (o *GetOrganizationOK) IsRedirect() bool
IsRedirect returns true when this get organization o k response has a 3xx status code
func (*GetOrganizationOK) IsServerError ¶ added in v1.13.0
func (o *GetOrganizationOK) IsServerError() bool
IsServerError returns true when this get organization o k response has a 5xx status code
func (*GetOrganizationOK) IsSuccess ¶ added in v1.13.0
func (o *GetOrganizationOK) IsSuccess() bool
IsSuccess returns true when this get organization o k response has a 2xx status code
func (*GetOrganizationOK) String ¶ added in v1.13.0
func (o *GetOrganizationOK) String() string
type GetOrganizationParams ¶
type GetOrganizationParams struct { /* OrganizationID. Identifier for the Organization */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationParams contains all the parameters to send to the API endpoint
for the get organization operation. Typically these are written to a http.Request.
func NewGetOrganizationParams ¶
func NewGetOrganizationParams() *GetOrganizationParams
NewGetOrganizationParams creates a new GetOrganizationParams 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 NewGetOrganizationParamsWithContext ¶
func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams
NewGetOrganizationParamsWithContext creates a new GetOrganizationParams object with the ability to set a context for a request.
func NewGetOrganizationParamsWithHTTPClient ¶
func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizationParams
NewGetOrganizationParamsWithHTTPClient creates a new GetOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationParamsWithTimeout ¶
func NewGetOrganizationParamsWithTimeout(timeout time.Duration) *GetOrganizationParams
NewGetOrganizationParamsWithTimeout creates a new GetOrganizationParams object with the ability to set a timeout on a request.
func (*GetOrganizationParams) SetContext ¶
func (o *GetOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization params
func (*GetOrganizationParams) SetDefaults ¶
func (o *GetOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the get organization params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationParams) SetHTTPClient ¶
func (o *GetOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization params
func (*GetOrganizationParams) SetOrganizationID ¶
func (o *GetOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization params
func (*GetOrganizationParams) SetTimeout ¶
func (o *GetOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization params
func (*GetOrganizationParams) WithContext ¶
func (o *GetOrganizationParams) WithContext(ctx context.Context) *GetOrganizationParams
WithContext adds the context to the get organization params
func (*GetOrganizationParams) WithDefaults ¶
func (o *GetOrganizationParams) WithDefaults() *GetOrganizationParams
WithDefaults hydrates default values in the get organization params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationParams) WithHTTPClient ¶
func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams
WithHTTPClient adds the HTTPClient to the get organization params
func (*GetOrganizationParams) WithOrganizationID ¶
func (o *GetOrganizationParams) WithOrganizationID(organizationID string) *GetOrganizationParams
WithOrganizationID adds the organizationID to the get organization params
func (*GetOrganizationParams) WithTimeout ¶
func (o *GetOrganizationParams) WithTimeout(timeout time.Duration) *GetOrganizationParams
WithTimeout adds the timeout to the get organization params
func (*GetOrganizationParams) WriteToRequest ¶
func (o *GetOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationReader ¶
type GetOrganizationReader struct {
// contains filtered or unexported fields
}
GetOrganizationReader is a Reader for the GetOrganization structure.
func (*GetOrganizationReader) ReadResponse ¶
func (o *GetOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationUnauthorized ¶
type GetOrganizationUnauthorized struct { string }XCloudErrorCodes
GetOrganizationUnauthorized describes a response with status code 401, with default header values.
User not found. (code: `user.not_found`)
func NewGetOrganizationUnauthorized ¶
func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized
NewGetOrganizationUnauthorized creates a GetOrganizationUnauthorized with default headers values
func (*GetOrganizationUnauthorized) Code ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) Code() int
Code gets the status code for the get organization unauthorized response
func (*GetOrganizationUnauthorized) Error ¶
func (o *GetOrganizationUnauthorized) Error() string
func (*GetOrganizationUnauthorized) GetPayload ¶
func (o *GetOrganizationUnauthorized) GetPayload() *models.BasicFailedReply
func (*GetOrganizationUnauthorized) IsClientError ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) IsClientError() bool
IsClientError returns true when this get organization unauthorized response has a 4xx status code
func (*GetOrganizationUnauthorized) IsCode ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) IsCode(code int) bool
IsCode returns true when this get organization unauthorized response a status code equal to that given
func (*GetOrganizationUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get organization unauthorized response has a 3xx status code
func (*GetOrganizationUnauthorized) IsServerError ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) IsServerError() bool
IsServerError returns true when this get organization unauthorized response has a 5xx status code
func (*GetOrganizationUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get organization unauthorized response has a 2xx status code
func (*GetOrganizationUnauthorized) String ¶ added in v1.13.0
func (o *GetOrganizationUnauthorized) String() string
type ListOrganizationInvitationsNotFound ¶
type ListOrganizationInvitationsNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
ListOrganizationInvitationsNotFound describes a response with status code 404, with default header values.
Organization not found. (code: `organization.not_found`)
func NewListOrganizationInvitationsNotFound ¶
func NewListOrganizationInvitationsNotFound() *ListOrganizationInvitationsNotFound
NewListOrganizationInvitationsNotFound creates a ListOrganizationInvitationsNotFound with default headers values
func (*ListOrganizationInvitationsNotFound) Code ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) Code() int
Code gets the status code for the list organization invitations not found response
func (*ListOrganizationInvitationsNotFound) Error ¶
func (o *ListOrganizationInvitationsNotFound) Error() string
func (*ListOrganizationInvitationsNotFound) GetPayload ¶
func (o *ListOrganizationInvitationsNotFound) GetPayload() *models.BasicFailedReply
func (*ListOrganizationInvitationsNotFound) IsClientError ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) IsClientError() bool
IsClientError returns true when this list organization invitations not found response has a 4xx status code
func (*ListOrganizationInvitationsNotFound) IsCode ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) IsCode(code int) bool
IsCode returns true when this list organization invitations not found response a status code equal to that given
func (*ListOrganizationInvitationsNotFound) IsRedirect ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) IsRedirect() bool
IsRedirect returns true when this list organization invitations not found response has a 3xx status code
func (*ListOrganizationInvitationsNotFound) IsServerError ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) IsServerError() bool
IsServerError returns true when this list organization invitations not found response has a 5xx status code
func (*ListOrganizationInvitationsNotFound) IsSuccess ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) IsSuccess() bool
IsSuccess returns true when this list organization invitations not found response has a 2xx status code
func (*ListOrganizationInvitationsNotFound) String ¶ added in v1.13.0
func (o *ListOrganizationInvitationsNotFound) String() string
type ListOrganizationInvitationsOK ¶
type ListOrganizationInvitationsOK struct {
Payload *models.OrganizationInvitations
}
ListOrganizationInvitationsOK describes a response with status code 200, with default header values.
Organization invitations fetched successfully
func NewListOrganizationInvitationsOK ¶
func NewListOrganizationInvitationsOK() *ListOrganizationInvitationsOK
NewListOrganizationInvitationsOK creates a ListOrganizationInvitationsOK with default headers values
func (*ListOrganizationInvitationsOK) Code ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) Code() int
Code gets the status code for the list organization invitations o k response
func (*ListOrganizationInvitationsOK) Error ¶
func (o *ListOrganizationInvitationsOK) Error() string
func (*ListOrganizationInvitationsOK) GetPayload ¶
func (o *ListOrganizationInvitationsOK) GetPayload() *models.OrganizationInvitations
func (*ListOrganizationInvitationsOK) IsClientError ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) IsClientError() bool
IsClientError returns true when this list organization invitations o k response has a 4xx status code
func (*ListOrganizationInvitationsOK) IsCode ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) IsCode(code int) bool
IsCode returns true when this list organization invitations o k response a status code equal to that given
func (*ListOrganizationInvitationsOK) IsRedirect ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) IsRedirect() bool
IsRedirect returns true when this list organization invitations o k response has a 3xx status code
func (*ListOrganizationInvitationsOK) IsServerError ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) IsServerError() bool
IsServerError returns true when this list organization invitations o k response has a 5xx status code
func (*ListOrganizationInvitationsOK) IsSuccess ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) IsSuccess() bool
IsSuccess returns true when this list organization invitations o k response has a 2xx status code
func (*ListOrganizationInvitationsOK) String ¶ added in v1.13.0
func (o *ListOrganizationInvitationsOK) String() string
type ListOrganizationInvitationsParams ¶
type ListOrganizationInvitationsParams struct { /* OrganizationID. Identifier for the Organization */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrganizationInvitationsParams contains all the parameters to send to the API endpoint
for the list organization invitations operation. Typically these are written to a http.Request.
func NewListOrganizationInvitationsParams ¶
func NewListOrganizationInvitationsParams() *ListOrganizationInvitationsParams
NewListOrganizationInvitationsParams creates a new ListOrganizationInvitationsParams 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 NewListOrganizationInvitationsParamsWithContext ¶
func NewListOrganizationInvitationsParamsWithContext(ctx context.Context) *ListOrganizationInvitationsParams
NewListOrganizationInvitationsParamsWithContext creates a new ListOrganizationInvitationsParams object with the ability to set a context for a request.
func NewListOrganizationInvitationsParamsWithHTTPClient ¶
func NewListOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *ListOrganizationInvitationsParams
NewListOrganizationInvitationsParamsWithHTTPClient creates a new ListOrganizationInvitationsParams object with the ability to set a custom HTTPClient for a request.
func NewListOrganizationInvitationsParamsWithTimeout ¶
func NewListOrganizationInvitationsParamsWithTimeout(timeout time.Duration) *ListOrganizationInvitationsParams
NewListOrganizationInvitationsParamsWithTimeout creates a new ListOrganizationInvitationsParams object with the ability to set a timeout on a request.
func (*ListOrganizationInvitationsParams) SetContext ¶
func (o *ListOrganizationInvitationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list organization invitations params
func (*ListOrganizationInvitationsParams) SetDefaults ¶
func (o *ListOrganizationInvitationsParams) SetDefaults()
SetDefaults hydrates default values in the list organization invitations params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationInvitationsParams) SetHTTPClient ¶
func (o *ListOrganizationInvitationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list organization invitations params
func (*ListOrganizationInvitationsParams) SetOrganizationID ¶
func (o *ListOrganizationInvitationsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the list organization invitations params
func (*ListOrganizationInvitationsParams) SetTimeout ¶
func (o *ListOrganizationInvitationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list organization invitations params
func (*ListOrganizationInvitationsParams) WithContext ¶
func (o *ListOrganizationInvitationsParams) WithContext(ctx context.Context) *ListOrganizationInvitationsParams
WithContext adds the context to the list organization invitations params
func (*ListOrganizationInvitationsParams) WithDefaults ¶
func (o *ListOrganizationInvitationsParams) WithDefaults() *ListOrganizationInvitationsParams
WithDefaults hydrates default values in the list organization invitations params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationInvitationsParams) WithHTTPClient ¶
func (o *ListOrganizationInvitationsParams) WithHTTPClient(client *http.Client) *ListOrganizationInvitationsParams
WithHTTPClient adds the HTTPClient to the list organization invitations params
func (*ListOrganizationInvitationsParams) WithOrganizationID ¶
func (o *ListOrganizationInvitationsParams) WithOrganizationID(organizationID string) *ListOrganizationInvitationsParams
WithOrganizationID adds the organizationID to the list organization invitations params
func (*ListOrganizationInvitationsParams) WithTimeout ¶
func (o *ListOrganizationInvitationsParams) WithTimeout(timeout time.Duration) *ListOrganizationInvitationsParams
WithTimeout adds the timeout to the list organization invitations params
func (*ListOrganizationInvitationsParams) WriteToRequest ¶
func (o *ListOrganizationInvitationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrganizationInvitationsReader ¶
type ListOrganizationInvitationsReader struct {
// contains filtered or unexported fields
}
ListOrganizationInvitationsReader is a Reader for the ListOrganizationInvitations structure.
func (*ListOrganizationInvitationsReader) ReadResponse ¶
func (o *ListOrganizationInvitationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrganizationMembersNotFound ¶
type ListOrganizationMembersNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
ListOrganizationMembersNotFound describes a response with status code 404, with default header values.
Organization not found. (code: `organization.not_found`)
func NewListOrganizationMembersNotFound ¶
func NewListOrganizationMembersNotFound() *ListOrganizationMembersNotFound
NewListOrganizationMembersNotFound creates a ListOrganizationMembersNotFound with default headers values
func (*ListOrganizationMembersNotFound) Code ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) Code() int
Code gets the status code for the list organization members not found response
func (*ListOrganizationMembersNotFound) Error ¶
func (o *ListOrganizationMembersNotFound) Error() string
func (*ListOrganizationMembersNotFound) GetPayload ¶
func (o *ListOrganizationMembersNotFound) GetPayload() *models.BasicFailedReply
func (*ListOrganizationMembersNotFound) IsClientError ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) IsClientError() bool
IsClientError returns true when this list organization members not found response has a 4xx status code
func (*ListOrganizationMembersNotFound) IsCode ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) IsCode(code int) bool
IsCode returns true when this list organization members not found response a status code equal to that given
func (*ListOrganizationMembersNotFound) IsRedirect ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) IsRedirect() bool
IsRedirect returns true when this list organization members not found response has a 3xx status code
func (*ListOrganizationMembersNotFound) IsServerError ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) IsServerError() bool
IsServerError returns true when this list organization members not found response has a 5xx status code
func (*ListOrganizationMembersNotFound) IsSuccess ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) IsSuccess() bool
IsSuccess returns true when this list organization members not found response has a 2xx status code
func (*ListOrganizationMembersNotFound) String ¶ added in v1.13.0
func (o *ListOrganizationMembersNotFound) String() string
type ListOrganizationMembersOK ¶
type ListOrganizationMembersOK struct {
Payload *models.OrganizationMemberships
}
ListOrganizationMembersOK describes a response with status code 200, with default header values.
Organization members fetched successfully
func NewListOrganizationMembersOK ¶
func NewListOrganizationMembersOK() *ListOrganizationMembersOK
NewListOrganizationMembersOK creates a ListOrganizationMembersOK with default headers values
func (*ListOrganizationMembersOK) Code ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) Code() int
Code gets the status code for the list organization members o k response
func (*ListOrganizationMembersOK) Error ¶
func (o *ListOrganizationMembersOK) Error() string
func (*ListOrganizationMembersOK) GetPayload ¶
func (o *ListOrganizationMembersOK) GetPayload() *models.OrganizationMemberships
func (*ListOrganizationMembersOK) IsClientError ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) IsClientError() bool
IsClientError returns true when this list organization members o k response has a 4xx status code
func (*ListOrganizationMembersOK) IsCode ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) IsCode(code int) bool
IsCode returns true when this list organization members o k response a status code equal to that given
func (*ListOrganizationMembersOK) IsRedirect ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) IsRedirect() bool
IsRedirect returns true when this list organization members o k response has a 3xx status code
func (*ListOrganizationMembersOK) IsServerError ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) IsServerError() bool
IsServerError returns true when this list organization members o k response has a 5xx status code
func (*ListOrganizationMembersOK) IsSuccess ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) IsSuccess() bool
IsSuccess returns true when this list organization members o k response has a 2xx status code
func (*ListOrganizationMembersOK) String ¶ added in v1.13.0
func (o *ListOrganizationMembersOK) String() string
type ListOrganizationMembersParams ¶
type ListOrganizationMembersParams struct { /* OrganizationID. Identifier for the Organization */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrganizationMembersParams contains all the parameters to send to the API endpoint
for the list organization members operation. Typically these are written to a http.Request.
func NewListOrganizationMembersParams ¶
func NewListOrganizationMembersParams() *ListOrganizationMembersParams
NewListOrganizationMembersParams creates a new ListOrganizationMembersParams 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 NewListOrganizationMembersParamsWithContext ¶
func NewListOrganizationMembersParamsWithContext(ctx context.Context) *ListOrganizationMembersParams
NewListOrganizationMembersParamsWithContext creates a new ListOrganizationMembersParams object with the ability to set a context for a request.
func NewListOrganizationMembersParamsWithHTTPClient ¶
func NewListOrganizationMembersParamsWithHTTPClient(client *http.Client) *ListOrganizationMembersParams
NewListOrganizationMembersParamsWithHTTPClient creates a new ListOrganizationMembersParams object with the ability to set a custom HTTPClient for a request.
func NewListOrganizationMembersParamsWithTimeout ¶
func NewListOrganizationMembersParamsWithTimeout(timeout time.Duration) *ListOrganizationMembersParams
NewListOrganizationMembersParamsWithTimeout creates a new ListOrganizationMembersParams object with the ability to set a timeout on a request.
func (*ListOrganizationMembersParams) SetContext ¶
func (o *ListOrganizationMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the list organization members params
func (*ListOrganizationMembersParams) SetDefaults ¶
func (o *ListOrganizationMembersParams) SetDefaults()
SetDefaults hydrates default values in the list organization members params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationMembersParams) SetHTTPClient ¶
func (o *ListOrganizationMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list organization members params
func (*ListOrganizationMembersParams) SetOrganizationID ¶
func (o *ListOrganizationMembersParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the list organization members params
func (*ListOrganizationMembersParams) SetTimeout ¶
func (o *ListOrganizationMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list organization members params
func (*ListOrganizationMembersParams) WithContext ¶
func (o *ListOrganizationMembersParams) WithContext(ctx context.Context) *ListOrganizationMembersParams
WithContext adds the context to the list organization members params
func (*ListOrganizationMembersParams) WithDefaults ¶
func (o *ListOrganizationMembersParams) WithDefaults() *ListOrganizationMembersParams
WithDefaults hydrates default values in the list organization members params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationMembersParams) WithHTTPClient ¶
func (o *ListOrganizationMembersParams) WithHTTPClient(client *http.Client) *ListOrganizationMembersParams
WithHTTPClient adds the HTTPClient to the list organization members params
func (*ListOrganizationMembersParams) WithOrganizationID ¶
func (o *ListOrganizationMembersParams) WithOrganizationID(organizationID string) *ListOrganizationMembersParams
WithOrganizationID adds the organizationID to the list organization members params
func (*ListOrganizationMembersParams) WithTimeout ¶
func (o *ListOrganizationMembersParams) WithTimeout(timeout time.Duration) *ListOrganizationMembersParams
WithTimeout adds the timeout to the list organization members params
func (*ListOrganizationMembersParams) WriteToRequest ¶
func (o *ListOrganizationMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrganizationMembersReader ¶
type ListOrganizationMembersReader struct {
// contains filtered or unexported fields
}
ListOrganizationMembersReader is a Reader for the ListOrganizationMembers structure.
func (*ListOrganizationMembersReader) ReadResponse ¶
func (o *ListOrganizationMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrganizationsOK ¶
type ListOrganizationsOK struct {
Payload *models.OrganizationList
}
ListOrganizationsOK describes a response with status code 200, with default header values.
Organizations fetched successfully
func NewListOrganizationsOK ¶
func NewListOrganizationsOK() *ListOrganizationsOK
NewListOrganizationsOK creates a ListOrganizationsOK with default headers values
func (*ListOrganizationsOK) Code ¶ added in v1.13.0
func (o *ListOrganizationsOK) Code() int
Code gets the status code for the list organizations o k response
func (*ListOrganizationsOK) Error ¶
func (o *ListOrganizationsOK) Error() string
func (*ListOrganizationsOK) GetPayload ¶
func (o *ListOrganizationsOK) GetPayload() *models.OrganizationList
func (*ListOrganizationsOK) IsClientError ¶ added in v1.13.0
func (o *ListOrganizationsOK) IsClientError() bool
IsClientError returns true when this list organizations o k response has a 4xx status code
func (*ListOrganizationsOK) IsCode ¶ added in v1.13.0
func (o *ListOrganizationsOK) IsCode(code int) bool
IsCode returns true when this list organizations o k response a status code equal to that given
func (*ListOrganizationsOK) IsRedirect ¶ added in v1.13.0
func (o *ListOrganizationsOK) IsRedirect() bool
IsRedirect returns true when this list organizations o k response has a 3xx status code
func (*ListOrganizationsOK) IsServerError ¶ added in v1.13.0
func (o *ListOrganizationsOK) IsServerError() bool
IsServerError returns true when this list organizations o k response has a 5xx status code
func (*ListOrganizationsOK) IsSuccess ¶ added in v1.13.0
func (o *ListOrganizationsOK) IsSuccess() bool
IsSuccess returns true when this list organizations o k response has a 2xx status code
func (*ListOrganizationsOK) String ¶ added in v1.13.0
func (o *ListOrganizationsOK) String() string
type ListOrganizationsParams ¶
type ListOrganizationsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrganizationsParams contains all the parameters to send to the API endpoint
for the list organizations operation. Typically these are written to a http.Request.
func NewListOrganizationsParams ¶
func NewListOrganizationsParams() *ListOrganizationsParams
NewListOrganizationsParams creates a new ListOrganizationsParams 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 NewListOrganizationsParamsWithContext ¶
func NewListOrganizationsParamsWithContext(ctx context.Context) *ListOrganizationsParams
NewListOrganizationsParamsWithContext creates a new ListOrganizationsParams object with the ability to set a context for a request.
func NewListOrganizationsParamsWithHTTPClient ¶
func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganizationsParams
NewListOrganizationsParamsWithHTTPClient creates a new ListOrganizationsParams object with the ability to set a custom HTTPClient for a request.
func NewListOrganizationsParamsWithTimeout ¶
func NewListOrganizationsParamsWithTimeout(timeout time.Duration) *ListOrganizationsParams
NewListOrganizationsParamsWithTimeout creates a new ListOrganizationsParams object with the ability to set a timeout on a request.
func (*ListOrganizationsParams) SetContext ¶
func (o *ListOrganizationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list organizations params
func (*ListOrganizationsParams) SetDefaults ¶
func (o *ListOrganizationsParams) SetDefaults()
SetDefaults hydrates default values in the list organizations params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationsParams) SetHTTPClient ¶
func (o *ListOrganizationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list organizations params
func (*ListOrganizationsParams) SetTimeout ¶
func (o *ListOrganizationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list organizations params
func (*ListOrganizationsParams) WithContext ¶
func (o *ListOrganizationsParams) WithContext(ctx context.Context) *ListOrganizationsParams
WithContext adds the context to the list organizations params
func (*ListOrganizationsParams) WithDefaults ¶
func (o *ListOrganizationsParams) WithDefaults() *ListOrganizationsParams
WithDefaults hydrates default values in the list organizations params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationsParams) WithHTTPClient ¶
func (o *ListOrganizationsParams) WithHTTPClient(client *http.Client) *ListOrganizationsParams
WithHTTPClient adds the HTTPClient to the list organizations params
func (*ListOrganizationsParams) WithTimeout ¶
func (o *ListOrganizationsParams) WithTimeout(timeout time.Duration) *ListOrganizationsParams
WithTimeout adds the timeout to the list organizations params
func (*ListOrganizationsParams) WriteToRequest ¶
func (o *ListOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrganizationsReader ¶
type ListOrganizationsReader struct {
// contains filtered or unexported fields
}
ListOrganizationsReader is a Reader for the ListOrganizations structure.
func (*ListOrganizationsReader) ReadResponse ¶
func (o *ListOrganizationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrganizationsUnauthorized ¶
type ListOrganizationsUnauthorized struct { string }XCloudErrorCodes
ListOrganizationsUnauthorized describes a response with status code 401, with default header values.
User not found. (code: `user.not_found`)
func NewListOrganizationsUnauthorized ¶
func NewListOrganizationsUnauthorized() *ListOrganizationsUnauthorized
NewListOrganizationsUnauthorized creates a ListOrganizationsUnauthorized with default headers values
func (*ListOrganizationsUnauthorized) Code ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) Code() int
Code gets the status code for the list organizations unauthorized response
func (*ListOrganizationsUnauthorized) Error ¶
func (o *ListOrganizationsUnauthorized) Error() string
func (*ListOrganizationsUnauthorized) GetPayload ¶
func (o *ListOrganizationsUnauthorized) GetPayload() *models.BasicFailedReply
func (*ListOrganizationsUnauthorized) IsClientError ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) IsClientError() bool
IsClientError returns true when this list organizations unauthorized response has a 4xx status code
func (*ListOrganizationsUnauthorized) IsCode ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) IsCode(code int) bool
IsCode returns true when this list organizations unauthorized response a status code equal to that given
func (*ListOrganizationsUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list organizations unauthorized response has a 3xx status code
func (*ListOrganizationsUnauthorized) IsServerError ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) IsServerError() bool
IsServerError returns true when this list organizations unauthorized response has a 5xx status code
func (*ListOrganizationsUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list organizations unauthorized response has a 2xx status code
func (*ListOrganizationsUnauthorized) String ¶ added in v1.13.0
func (o *ListOrganizationsUnauthorized) String() string
type UpdateOrganizationBadRequest ¶
type UpdateOrganizationBadRequest struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateOrganizationBadRequest describes a response with status code 400, with default header values. * Name must be between 2 and 30 characters. (code: `organization.invalid_name`)
* User already has an organization. (code: `organization.user_organization_already_exists`)
func NewUpdateOrganizationBadRequest ¶
func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest
NewUpdateOrganizationBadRequest creates a UpdateOrganizationBadRequest with default headers values
func (*UpdateOrganizationBadRequest) Code ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) Code() int
Code gets the status code for the update organization bad request response
func (*UpdateOrganizationBadRequest) Error ¶
func (o *UpdateOrganizationBadRequest) Error() string
func (*UpdateOrganizationBadRequest) GetPayload ¶
func (o *UpdateOrganizationBadRequest) GetPayload() *models.BasicFailedReply
func (*UpdateOrganizationBadRequest) IsClientError ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) IsClientError() bool
IsClientError returns true when this update organization bad request response has a 4xx status code
func (*UpdateOrganizationBadRequest) IsCode ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) IsCode(code int) bool
IsCode returns true when this update organization bad request response a status code equal to that given
func (*UpdateOrganizationBadRequest) IsRedirect ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) IsRedirect() bool
IsRedirect returns true when this update organization bad request response has a 3xx status code
func (*UpdateOrganizationBadRequest) IsServerError ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) IsServerError() bool
IsServerError returns true when this update organization bad request response has a 5xx status code
func (*UpdateOrganizationBadRequest) IsSuccess ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) IsSuccess() bool
IsSuccess returns true when this update organization bad request response has a 2xx status code
func (*UpdateOrganizationBadRequest) String ¶ added in v1.13.0
func (o *UpdateOrganizationBadRequest) String() string
type UpdateOrganizationForbidden ¶
type UpdateOrganizationForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateOrganizationForbidden describes a response with status code 403, with default header values.
The current user does not have access to the requested organization. (code: `organization.invalid_access`)
func NewUpdateOrganizationForbidden ¶
func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden
NewUpdateOrganizationForbidden creates a UpdateOrganizationForbidden with default headers values
func (*UpdateOrganizationForbidden) Code ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) Code() int
Code gets the status code for the update organization forbidden response
func (*UpdateOrganizationForbidden) Error ¶
func (o *UpdateOrganizationForbidden) Error() string
func (*UpdateOrganizationForbidden) GetPayload ¶
func (o *UpdateOrganizationForbidden) GetPayload() *models.BasicFailedReply
func (*UpdateOrganizationForbidden) IsClientError ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) IsClientError() bool
IsClientError returns true when this update organization forbidden response has a 4xx status code
func (*UpdateOrganizationForbidden) IsCode ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) IsCode(code int) bool
IsCode returns true when this update organization forbidden response a status code equal to that given
func (*UpdateOrganizationForbidden) IsRedirect ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) IsRedirect() bool
IsRedirect returns true when this update organization forbidden response has a 3xx status code
func (*UpdateOrganizationForbidden) IsServerError ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) IsServerError() bool
IsServerError returns true when this update organization forbidden response has a 5xx status code
func (*UpdateOrganizationForbidden) IsSuccess ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) IsSuccess() bool
IsSuccess returns true when this update organization forbidden response has a 2xx status code
func (*UpdateOrganizationForbidden) String ¶ added in v1.13.0
func (o *UpdateOrganizationForbidden) String() string
type UpdateOrganizationNotFound ¶
type UpdateOrganizationNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateOrganizationNotFound describes a response with status code 404, with default header values.
Organization not found. (code: `organization.not_found`)
func NewUpdateOrganizationNotFound ¶
func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound
NewUpdateOrganizationNotFound creates a UpdateOrganizationNotFound with default headers values
func (*UpdateOrganizationNotFound) Code ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) Code() int
Code gets the status code for the update organization not found response
func (*UpdateOrganizationNotFound) Error ¶
func (o *UpdateOrganizationNotFound) Error() string
func (*UpdateOrganizationNotFound) GetPayload ¶
func (o *UpdateOrganizationNotFound) GetPayload() *models.BasicFailedReply
func (*UpdateOrganizationNotFound) IsClientError ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) IsClientError() bool
IsClientError returns true when this update organization not found response has a 4xx status code
func (*UpdateOrganizationNotFound) IsCode ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) IsCode(code int) bool
IsCode returns true when this update organization not found response a status code equal to that given
func (*UpdateOrganizationNotFound) IsRedirect ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) IsRedirect() bool
IsRedirect returns true when this update organization not found response has a 3xx status code
func (*UpdateOrganizationNotFound) IsServerError ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) IsServerError() bool
IsServerError returns true when this update organization not found response has a 5xx status code
func (*UpdateOrganizationNotFound) IsSuccess ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) IsSuccess() bool
IsSuccess returns true when this update organization not found response has a 2xx status code
func (*UpdateOrganizationNotFound) String ¶ added in v1.13.0
func (o *UpdateOrganizationNotFound) String() string
type UpdateOrganizationOK ¶
type UpdateOrganizationOK struct {
Payload *models.Organization
}
UpdateOrganizationOK describes a response with status code 200, with default header values.
Organization updated successfully
func NewUpdateOrganizationOK ¶
func NewUpdateOrganizationOK() *UpdateOrganizationOK
NewUpdateOrganizationOK creates a UpdateOrganizationOK with default headers values
func (*UpdateOrganizationOK) Code ¶ added in v1.13.0
func (o *UpdateOrganizationOK) Code() int
Code gets the status code for the update organization o k response
func (*UpdateOrganizationOK) Error ¶
func (o *UpdateOrganizationOK) Error() string
func (*UpdateOrganizationOK) GetPayload ¶
func (o *UpdateOrganizationOK) GetPayload() *models.Organization
func (*UpdateOrganizationOK) IsClientError ¶ added in v1.13.0
func (o *UpdateOrganizationOK) IsClientError() bool
IsClientError returns true when this update organization o k response has a 4xx status code
func (*UpdateOrganizationOK) IsCode ¶ added in v1.13.0
func (o *UpdateOrganizationOK) IsCode(code int) bool
IsCode returns true when this update organization o k response a status code equal to that given
func (*UpdateOrganizationOK) IsRedirect ¶ added in v1.13.0
func (o *UpdateOrganizationOK) IsRedirect() bool
IsRedirect returns true when this update organization o k response has a 3xx status code
func (*UpdateOrganizationOK) IsServerError ¶ added in v1.13.0
func (o *UpdateOrganizationOK) IsServerError() bool
IsServerError returns true when this update organization o k response has a 5xx status code
func (*UpdateOrganizationOK) IsSuccess ¶ added in v1.13.0
func (o *UpdateOrganizationOK) IsSuccess() bool
IsSuccess returns true when this update organization o k response has a 2xx status code
func (*UpdateOrganizationOK) String ¶ added in v1.13.0
func (o *UpdateOrganizationOK) String() string
type UpdateOrganizationParams ¶
type UpdateOrganizationParams struct { /* Body. The organization to update */ Body *models.OrganizationRequest /* OrganizationID. Identifier for the Organization */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrganizationParams contains all the parameters to send to the API endpoint
for the update organization operation. Typically these are written to a http.Request.
func NewUpdateOrganizationParams ¶
func NewUpdateOrganizationParams() *UpdateOrganizationParams
NewUpdateOrganizationParams creates a new UpdateOrganizationParams 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 NewUpdateOrganizationParamsWithContext ¶
func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithContext creates a new UpdateOrganizationParams object with the ability to set a context for a request.
func NewUpdateOrganizationParamsWithHTTPClient ¶
func NewUpdateOrganizationParamsWithHTTPClient(client *http.Client) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithHTTPClient creates a new UpdateOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrganizationParamsWithTimeout ¶
func NewUpdateOrganizationParamsWithTimeout(timeout time.Duration) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithTimeout creates a new UpdateOrganizationParams object with the ability to set a timeout on a request.
func (*UpdateOrganizationParams) SetBody ¶
func (o *UpdateOrganizationParams) SetBody(body *models.OrganizationRequest)
SetBody adds the body to the update organization params
func (*UpdateOrganizationParams) SetContext ¶
func (o *UpdateOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the update organization params
func (*UpdateOrganizationParams) SetDefaults ¶
func (o *UpdateOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the update organization params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrganizationParams) SetHTTPClient ¶
func (o *UpdateOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update organization params
func (*UpdateOrganizationParams) SetOrganizationID ¶
func (o *UpdateOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the update organization params
func (*UpdateOrganizationParams) SetTimeout ¶
func (o *UpdateOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update organization params
func (*UpdateOrganizationParams) WithBody ¶
func (o *UpdateOrganizationParams) WithBody(body *models.OrganizationRequest) *UpdateOrganizationParams
WithBody adds the body to the update organization params
func (*UpdateOrganizationParams) WithContext ¶
func (o *UpdateOrganizationParams) WithContext(ctx context.Context) *UpdateOrganizationParams
WithContext adds the context to the update organization params
func (*UpdateOrganizationParams) WithDefaults ¶
func (o *UpdateOrganizationParams) WithDefaults() *UpdateOrganizationParams
WithDefaults hydrates default values in the update organization params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrganizationParams) WithHTTPClient ¶
func (o *UpdateOrganizationParams) WithHTTPClient(client *http.Client) *UpdateOrganizationParams
WithHTTPClient adds the HTTPClient to the update organization params
func (*UpdateOrganizationParams) WithOrganizationID ¶
func (o *UpdateOrganizationParams) WithOrganizationID(organizationID string) *UpdateOrganizationParams
WithOrganizationID adds the organizationID to the update organization params
func (*UpdateOrganizationParams) WithTimeout ¶
func (o *UpdateOrganizationParams) WithTimeout(timeout time.Duration) *UpdateOrganizationParams
WithTimeout adds the timeout to the update organization params
func (*UpdateOrganizationParams) WriteToRequest ¶
func (o *UpdateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrganizationReader ¶
type UpdateOrganizationReader struct {
// contains filtered or unexported fields
}
UpdateOrganizationReader is a Reader for the UpdateOrganization structure.
func (*UpdateOrganizationReader) ReadResponse ¶
func (o *UpdateOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrganizationUnauthorized ¶
type UpdateOrganizationUnauthorized struct {
}UpdateOrganizationUnauthorized describes a response with status code 401, with default header values.
You are not authorized to perform this action
func NewUpdateOrganizationUnauthorized ¶
func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized
NewUpdateOrganizationUnauthorized creates a UpdateOrganizationUnauthorized with default headers values
func (*UpdateOrganizationUnauthorized) Code ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) Code() int
Code gets the status code for the update organization unauthorized response
func (*UpdateOrganizationUnauthorized) Error ¶
func (o *UpdateOrganizationUnauthorized) Error() string
func (*UpdateOrganizationUnauthorized) GetPayload ¶
func (o *UpdateOrganizationUnauthorized) GetPayload() *models.BasicFailedReply
func (*UpdateOrganizationUnauthorized) IsClientError ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) IsClientError() bool
IsClientError returns true when this update organization unauthorized response has a 4xx status code
func (*UpdateOrganizationUnauthorized) IsCode ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) IsCode(code int) bool
IsCode returns true when this update organization unauthorized response a status code equal to that given
func (*UpdateOrganizationUnauthorized) IsRedirect ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) IsRedirect() bool
IsRedirect returns true when this update organization unauthorized response has a 3xx status code
func (*UpdateOrganizationUnauthorized) IsServerError ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) IsServerError() bool
IsServerError returns true when this update organization unauthorized response has a 5xx status code
func (*UpdateOrganizationUnauthorized) IsSuccess ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) IsSuccess() bool
IsSuccess returns true when this update organization unauthorized response has a 2xx status code
func (*UpdateOrganizationUnauthorized) String ¶ added in v1.13.0
func (o *UpdateOrganizationUnauthorized) String() string
Source Files ¶
- accept_organization_invitation_parameters.go
- accept_organization_invitation_responses.go
- create_organization_invitations_parameters.go
- create_organization_invitations_responses.go
- delete_organization_invitations_parameters.go
- delete_organization_invitations_responses.go
- delete_organization_memberships_parameters.go
- delete_organization_memberships_responses.go
- get_organization_invitation_parameters.go
- get_organization_invitation_responses.go
- get_organization_parameters.go
- get_organization_responses.go
- list_organization_invitations_parameters.go
- list_organization_invitations_responses.go
- list_organization_members_parameters.go
- list_organization_members_responses.go
- list_organizations_parameters.go
- list_organizations_responses.go
- organizations_client.go
- update_organization_parameters.go
- update_organization_responses.go