organization

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package organization provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddOrganizationGroupMemberRequest added in v2.2.0

func NewAddOrganizationGroupMemberRequest(server string, id string, userId string) (*http.Request, error)

NewAddOrganizationGroupMemberRequest constructs an http.Request for the AddOrganizationGroupMember method

func NewCreateOrganizationGroupRequest added in v2.2.0

func NewCreateOrganizationGroupRequest(server string, body CreateOrganizationGroupJSONRequestBody) (*http.Request, error)

NewCreateOrganizationGroupRequest calls the generic CreateOrganizationGroup builder with application/json body

func NewCreateOrganizationGroupRequestWithBody added in v2.2.0

func NewCreateOrganizationGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrganizationGroupRequestWithBody constructs an http.Request for the CreateOrganizationGroup method, with any body, and a specified content type

func NewCreateOrganizationInviteRequest added in v2.2.0

func NewCreateOrganizationInviteRequest(server string, body CreateOrganizationInviteJSONRequestBody) (*http.Request, error)

NewCreateOrganizationInviteRequest calls the generic CreateOrganizationInvite builder with application/json body

func NewCreateOrganizationInviteRequestWithBody added in v2.2.0

func NewCreateOrganizationInviteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrganizationInviteRequestWithBody constructs an http.Request for the CreateOrganizationInvite method, with any body, and a specified content type

func NewCreateOrganizationRoleRequest added in v2.2.0

func NewCreateOrganizationRoleRequest(server string, body CreateOrganizationRoleJSONRequestBody) (*http.Request, error)

NewCreateOrganizationRoleRequest calls the generic CreateOrganizationRole builder with application/json body

func NewCreateOrganizationRoleRequestWithBody added in v2.2.0

func NewCreateOrganizationRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrganizationRoleRequestWithBody constructs an http.Request for the CreateOrganizationRole method, with any body, and a specified content type

func NewDeleteOrganizationGroupRequest added in v2.2.0

func NewDeleteOrganizationGroupRequest(server string, id string) (*http.Request, error)

NewDeleteOrganizationGroupRequest constructs an http.Request for the DeleteOrganizationGroup method

func NewDeleteOrganizationInviteRequest added in v2.2.0

func NewDeleteOrganizationInviteRequest(server string, id string) (*http.Request, error)

NewDeleteOrganizationInviteRequest constructs an http.Request for the DeleteOrganizationInvite method

func NewDeleteOrganizationRoleRequest added in v2.2.0

func NewDeleteOrganizationRoleRequest(server string, id string) (*http.Request, error)

NewDeleteOrganizationRoleRequest constructs an http.Request for the DeleteOrganizationRole method

func NewDeleteOrganizationUserRequest added in v2.2.0

func NewDeleteOrganizationUserRequest(server string, id string) (*http.Request, error)

NewDeleteOrganizationUserRequest constructs an http.Request for the DeleteOrganizationUser method

func NewGetOrganizationGroupRequest added in v2.2.0

func NewGetOrganizationGroupRequest(server string, id string) (*http.Request, error)

NewGetOrganizationGroupRequest constructs an http.Request for the GetOrganizationGroup method

func NewGetOrganizationInviteRequest added in v2.2.0

func NewGetOrganizationInviteRequest(server string, id string) (*http.Request, error)

NewGetOrganizationInviteRequest constructs an http.Request for the GetOrganizationInvite method

func NewGetOrganizationRequest

func NewGetOrganizationRequest(server string) (*http.Request, error)

NewGetOrganizationRequest constructs an http.Request for the GetOrganization method

func NewGetOrganizationRoleCapabilitiesRequest added in v2.2.0

func NewGetOrganizationRoleCapabilitiesRequest(server string, params *GetOrganizationRoleCapabilitiesParams) (*http.Request, error)

NewGetOrganizationRoleCapabilitiesRequest constructs an http.Request for the GetOrganizationRoleCapabilities method

func NewGetOrganizationRoleRequest added in v2.2.0

func NewGetOrganizationRoleRequest(server string, id string) (*http.Request, error)

NewGetOrganizationRoleRequest constructs an http.Request for the GetOrganizationRole method

func NewGetOrganizationUserRequest added in v2.2.0

func NewGetOrganizationUserRequest(server string, id string) (*http.Request, error)

NewGetOrganizationUserRequest constructs an http.Request for the GetOrganizationUser method

func NewListOrganizationGroupMembersRequest added in v2.2.0

func NewListOrganizationGroupMembersRequest(server string, id string, params *ListOrganizationGroupMembersParams) (*http.Request, error)

NewListOrganizationGroupMembersRequest constructs an http.Request for the ListOrganizationGroupMembers method

func NewListOrganizationGroupsRequest added in v2.2.0

func NewListOrganizationGroupsRequest(server string, params *ListOrganizationGroupsParams) (*http.Request, error)

NewListOrganizationGroupsRequest constructs an http.Request for the ListOrganizationGroups method

func NewListOrganizationInvitesRequest added in v2.2.0

func NewListOrganizationInvitesRequest(server string) (*http.Request, error)

NewListOrganizationInvitesRequest constructs an http.Request for the ListOrganizationInvites method

func NewListOrganizationRolesRequest added in v2.2.0

func NewListOrganizationRolesRequest(server string) (*http.Request, error)

NewListOrganizationRolesRequest constructs an http.Request for the ListOrganizationRoles method

func NewListOrganizationUsersRequest added in v2.2.0

func NewListOrganizationUsersRequest(server string) (*http.Request, error)

NewListOrganizationUsersRequest constructs an http.Request for the ListOrganizationUsers method

func NewRemoveOrganizationGroupMemberRequest added in v2.2.0

func NewRemoveOrganizationGroupMemberRequest(server string, id string, userId string) (*http.Request, error)

NewRemoveOrganizationGroupMemberRequest constructs an http.Request for the RemoveOrganizationGroupMember method

func NewUpdateOrganizationGroupRequest added in v2.2.0

func NewUpdateOrganizationGroupRequest(server string, id string, body UpdateOrganizationGroupJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationGroupRequest calls the generic UpdateOrganizationGroup builder with application/json body

func NewUpdateOrganizationGroupRequestWithBody added in v2.2.0

func NewUpdateOrganizationGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrganizationGroupRequestWithBody constructs an http.Request for the UpdateOrganizationGroup method, with any body, and a specified content type

func NewUpdateOrganizationRoleRequest added in v2.2.0

func NewUpdateOrganizationRoleRequest(server string, id string, body UpdateOrganizationRoleJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationRoleRequest calls the generic UpdateOrganizationRole builder with application/json body

func NewUpdateOrganizationRoleRequestWithBody added in v2.2.0

func NewUpdateOrganizationRoleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrganizationRoleRequestWithBody constructs an http.Request for the UpdateOrganizationRole method, with any body, and a specified content type

func NewUpdateOrganizationUserRequest added in v2.2.0

func NewUpdateOrganizationUserRequest(server string, id string, body UpdateOrganizationUserJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationUserRequest calls the generic UpdateOrganizationUser builder with application/json body

func NewUpdateOrganizationUserRequestWithBody added in v2.2.0

func NewUpdateOrganizationUserRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrganizationUserRequestWithBody constructs an http.Request for the UpdateOrganizationUser method, with any body, and a specified content type

Types

type AddOrganizationGroupMemberResult added in v2.2.0

type AddOrganizationGroupMemberResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *AddOrganizationGroupMemberResult204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *AddOrganizationGroupMemberResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *AddOrganizationGroupMemberResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *AddOrganizationGroupMemberResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *AddOrganizationGroupMemberResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *AddOrganizationGroupMemberResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *AddOrganizationGroupMemberResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *AddOrganizationGroupMemberResultDefaultHeaders
}

func ParseAddOrganizationGroupMemberResult added in v2.2.0

func ParseAddOrganizationGroupMemberResult(rsp *http.Response) (*AddOrganizationGroupMemberResult, error)

ParseAddOrganizationGroupMemberResult parses an HTTP response from a AddOrganizationGroupMemberWithResponse call

func (AddOrganizationGroupMemberResult) ContentType added in v2.2.0

func (r AddOrganizationGroupMemberResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON400 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON401 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON403 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON404 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON413 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON422 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSON429 added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (AddOrganizationGroupMemberResult) GetBody added in v2.2.0

func (r AddOrganizationGroupMemberResult) GetBody() []byte

GetBody returns the raw response body bytes

func (AddOrganizationGroupMemberResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (AddOrganizationGroupMemberResult) StatusCode added in v2.2.0

func (r AddOrganizationGroupMemberResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddOrganizationGroupMemberResult204Headers added in v2.2.0

type AddOrganizationGroupMemberResult204Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResult204Headers the declared response headers of an HTTP 204 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResult400Headers added in v2.2.0

type AddOrganizationGroupMemberResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResult400Headers the declared response headers of an HTTP 400 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResult403Headers added in v2.2.0

type AddOrganizationGroupMemberResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResult403Headers the declared response headers of an HTTP 403 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResult404Headers added in v2.2.0

type AddOrganizationGroupMemberResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResult404Headers the declared response headers of an HTTP 404 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResult413Headers added in v2.2.0

type AddOrganizationGroupMemberResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResult413Headers the declared response headers of an HTTP 413 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResult422Headers added in v2.2.0

type AddOrganizationGroupMemberResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResult422Headers the declared response headers of an HTTP 422 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResult429Headers added in v2.2.0

type AddOrganizationGroupMemberResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

AddOrganizationGroupMemberResult429Headers the declared response headers of an HTTP 429 response for AddOrganizationGroupMember

type AddOrganizationGroupMemberResultDefaultHeaders added in v2.2.0

type AddOrganizationGroupMemberResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

AddOrganizationGroupMemberResultDefaultHeaders the declared response headers of an HTTP default response for AddOrganizationGroupMember

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddOrganizationGroupMember added in v2.2.0

func (c *Client) AddOrganizationGroupMember(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

AddOrganizationGroupMember Add a member to a group

Adds the organization member to the group. The group and user must belong to the current organization. Adding an existing member is idempotent and returns the same no-content response.

Corresponds with PUT /v2/organization/groups/{id}/members/{userId} (the `AddOrganizationGroupMember` operationId).

func (*Client) CreateOrganizationGroup added in v2.2.0

func (c *Client) CreateOrganizationGroup(ctx context.Context, body CreateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationGroup Create a group in your current organization

Takes a body of the `application/json` content type.

Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).

func (*Client) CreateOrganizationGroupWithBody added in v2.2.0

func (c *Client) CreateOrganizationGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationGroupWithBody Create a group in your current organization

Takes any type of body and a specified content type.

Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).

func (*Client) CreateOrganizationInvite added in v2.2.0

func (c *Client) CreateOrganizationInvite(ctx context.Context, body CreateOrganizationInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationInvite Invite a user to your organization

Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).

func (*Client) CreateOrganizationInviteWithBody added in v2.2.0

func (c *Client) CreateOrganizationInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationInviteWithBody Invite a user to your organization

Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes any type of body and a specified content type.

Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).

func (*Client) CreateOrganizationRole added in v2.2.0

func (c *Client) CreateOrganizationRole(ctx context.Context, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationRole Create a custom organization role

Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).

func (*Client) CreateOrganizationRoleWithBody added in v2.2.0

func (c *Client) CreateOrganizationRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationRoleWithBody Create a custom organization role

Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes any type of body and a specified content type.

Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).

func (*Client) DeleteOrganizationGroup added in v2.2.0

func (c *Client) DeleteOrganizationGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrganizationGroup Delete a group in your current organization

Permanently deletes the group and its group memberships. Organization members are not removed. Returns 404 when the group does not exist in your current organization, including when it has already been deleted.

Corresponds with DELETE /v2/organization/groups/{id} (the `DeleteOrganizationGroup` operationId).

func (*Client) DeleteOrganizationInvite added in v2.2.0

func (c *Client) DeleteOrganizationInvite(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrganizationInvite Cancel an organization invite

Cancels one invitation to the authenticated caller's organization; the invitee can no longer accept it. Returns 404 when the ID is unknown to the caller's organization: never issued, already accepted, already cancelled, or issued by another organization. An expired invite can still be cancelled. Cancelling invites requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Corresponds with DELETE /v2/organization/invites/{id} (the `DeleteOrganizationInvite` operationId).

func (*Client) DeleteOrganizationRole added in v2.2.0

func (c *Client) DeleteOrganizationRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrganizationRole Delete a custom organization role

Deletes a custom role from the authenticated caller's organization. Returns 409 while a member or a pending invite holds the role: reassign those members and cancel those invites first, since deleting never changes anyone's role. Expired invites do not block deletion. Returns 400 for a built-in role, which cannot be deleted; 404 when the ID is unknown, names another organization's role, or was already deleted. Deleting roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Corresponds with DELETE /v2/organization/roles/{id} (the `DeleteOrganizationRole` operationId).

func (*Client) DeleteOrganizationUser added in v2.2.0

func (c *Client) DeleteOrganizationUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrganizationUser Remove an organization member

Removes one member from the authenticated caller's organization by user ID. Their group memberships end and the API keys attributed to them within the organization are revoked; the resources they created stay with the organization. Removing another member requires the organization's member-removal capability, which the built-in admin role holds; any member can remove themselves. The organization keeps at least one member with the built-in admin role, so removing the last one returns 409. A user who is not a member, including one from another organization, returns 404. A member without the capability removing someone else, a caller outside an organization, and a caller for whom organizations are unavailable receive 403.

Corresponds with DELETE /v2/organization/users/{id} (the `DeleteOrganizationUser` operationId).

func (*Client) GetOrganization

func (c *Client) GetOrganization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganization Get your current organization

Returns the authenticated caller's current organization. Organization context comes from the caller's membership; no organization selector is required. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Corresponds with GET /v2/organization (the `GetOrganization` operationId).

func (*Client) GetOrganizationGroup added in v2.2.0

func (c *Client) GetOrganizationGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganizationGroup Get a group in your current organization

Returns the group without its members. Returns 404 when the ID is unknown or belongs to another organization, or when the caller does not belong to an organization.

Corresponds with GET /v2/organization/groups/{id} (the `GetOrganizationGroup` operationId).

func (*Client) GetOrganizationInvite added in v2.2.0

func (c *Client) GetOrganizationInvite(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganizationInvite Get a pending organization invite

Returns one pending invitation to the authenticated caller's organization. Only unexpired invites are pending: an invite that has expired, been accepted or been revoked returns 404, as does an ID from another organization. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Corresponds with GET /v2/organization/invites/{id} (the `GetOrganizationInvite` operationId).

func (*Client) GetOrganizationRole added in v2.2.0

func (c *Client) GetOrganizationRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganizationRole Get an organization role

Returns one role a member or invite of the authenticated caller's organization can hold: a built-in role, or one of the organization's custom roles. Returns 404 when the ID is unknown or names another organization's custom role, or when the caller does not belong to an organization; 403 when the caller may not view the organization's roles or organizations are unavailable to the caller.

Corresponds with GET /v2/organization/roles/{id} (the `GetOrganizationRole` operationId).

func (*Client) GetOrganizationRoleCapabilities added in v2.2.0

func (c *Client) GetOrganizationRoleCapabilities(ctx context.Context, params *GetOrganizationRoleCapabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganizationRoleCapabilities List grantable role capabilities

Returns the capabilities a custom role can grant, grouped by family: each capability is a family and one of its verbs, written `FAMILY:VERB`. This is the set role creation accepts, not filtered to the caller's own access; saving a role also requires the caller to hold every capability it grants. `family` and `verb` narrow the result and apply together; with neither, the whole catalog is returned. Reading the catalog requires organization membership; other callers receive 403.

Corresponds with GET /v2/organization/roles/capabilities (the `GetOrganizationRoleCapabilities` operationId).

func (*Client) GetOrganizationUser added in v2.2.0

func (c *Client) GetOrganizationUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganizationUser Get an organization member

Returns one member of the authenticated caller's organization by user ID, with the role they hold. Any member can read it. A user who is not a member, including one from another organization, returns 404. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Corresponds with GET /v2/organization/users/{id} (the `GetOrganizationUser` operationId).

func (*Client) ListOrganizationGroupMembers added in v2.2.0

func (c *Client) ListOrganizationGroupMembers(ctx context.Context, id string, params *ListOrganizationGroupMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrganizationGroupMembers List members of a group

Members are ordered newest first by membership creation time, with a unique upstream tie-breaker. Returns 404 when the group does not exist in the current organization, or when the caller does not belong to an organization.

Corresponds with GET /v2/organization/groups/{id}/members (the `ListOrganizationGroupMembers` operationId).

func (*Client) ListOrganizationGroups added in v2.2.0

func (c *Client) ListOrganizationGroups(ctx context.Context, params *ListOrganizationGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrganizationGroups List groups in your current organization

Returns groups without their members or roles, ordered by creation time descending and then ID descending for deterministic pagination.

Corresponds with GET /v2/organization/groups (the `ListOrganizationGroups` operationId).

func (*Client) ListOrganizationInvites added in v2.2.0

func (c *Client) ListOrganizationInvites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrganizationInvites List pending organization invites

Returns the pending invitations to the authenticated caller's organization, newest first. Only unexpired invites are pending: an invite leaves the list once it is accepted, revoked or expired. The list is complete and takes no pagination parameters, because an organization's pending invites are capped. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Corresponds with GET /v2/organization/invites (the `ListOrganizationInvites` operationId).

func (*Client) ListOrganizationRoles added in v2.2.0

func (c *Client) ListOrganizationRoles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrganizationRoles List organization roles

Returns every role a member or invite of the authenticated caller's organization can hold: Runpod's built-in roles and the organization's custom roles, oldest first. The list is complete and takes no pagination parameters, because an organization's custom roles are capped. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Corresponds with GET /v2/organization/roles (the `ListOrganizationRoles` operationId).

func (*Client) ListOrganizationUsers added in v2.2.0

func (c *Client) ListOrganizationUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrganizationUsers List organization members

Returns every member of the authenticated caller's organization with the role each holds. Any member can read the roster. The list is complete and takes no pagination parameters. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Corresponds with GET /v2/organization/users (the `ListOrganizationUsers` operationId).

func (*Client) RemoveOrganizationGroupMember added in v2.2.0

func (c *Client) RemoveOrganizationGroupMember(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveOrganizationGroupMember Remove a member from a group

Removes the organization member from the group. The group and user must belong to the current organization. Returns 404 when the membership is absent, including repeated deletion, or when the group is unknown or belongs to another organization.

Corresponds with DELETE /v2/organization/groups/{id}/members/{userId} (the `RemoveOrganizationGroupMember` operationId).

func (*Client) UpdateOrganizationGroup added in v2.2.0

func (c *Client) UpdateOrganizationGroup(ctx context.Context, id string, body UpdateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationGroup Rename a group in your current organization

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).

func (*Client) UpdateOrganizationGroupWithBody added in v2.2.0

func (c *Client) UpdateOrganizationGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationGroupWithBody Rename a group in your current organization

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).

func (*Client) UpdateOrganizationRole added in v2.2.0

func (c *Client) UpdateOrganizationRole(ctx context.Context, id string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationRole Update a custom organization role

Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).

func (*Client) UpdateOrganizationRoleWithBody added in v2.2.0

func (c *Client) UpdateOrganizationRoleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationRoleWithBody Update a custom organization role

Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).

func (*Client) UpdateOrganizationUser added in v2.2.0

func (c *Client) UpdateOrganizationUser(ctx context.Context, id string, body UpdateOrganizationUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationUser Update an organization member

Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).

func (*Client) UpdateOrganizationUserWithBody added in v2.2.0

func (c *Client) UpdateOrganizationUserWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationUserWithBody Update an organization member

Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).

type ClientInterface

type ClientInterface interface {

	// GetOrganization Get your current organization
	//
	// Returns the authenticated caller's current organization. Organization context comes from the caller's membership; no organization selector is required. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization (the `GetOrganization` operationId).
	GetOrganization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationGroups List groups in your current organization
	//
	// Returns groups without their members or roles, ordered by creation time descending and then ID descending for deterministic pagination.
	//
	// Corresponds with GET /v2/organization/groups (the `ListOrganizationGroups` operationId).
	ListOrganizationGroups(ctx context.Context, params *ListOrganizationGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationGroupWithBody Create a group in your current organization
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).
	CreateOrganizationGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationGroup Create a group in your current organization
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).
	CreateOrganizationGroup(ctx context.Context, body CreateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationGroup Delete a group in your current organization
	//
	// Permanently deletes the group and its group memberships. Organization members are not removed. Returns 404 when the group does not exist in your current organization, including when it has already been deleted.
	//
	// Corresponds with DELETE /v2/organization/groups/{id} (the `DeleteOrganizationGroup` operationId).
	DeleteOrganizationGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationGroup Get a group in your current organization
	//
	// Returns the group without its members. Returns 404 when the ID is unknown or belongs to another organization, or when the caller does not belong to an organization.
	//
	// Corresponds with GET /v2/organization/groups/{id} (the `GetOrganizationGroup` operationId).
	GetOrganizationGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationGroupWithBody Rename a group in your current organization
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).
	UpdateOrganizationGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationGroup Rename a group in your current organization
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).
	UpdateOrganizationGroup(ctx context.Context, id string, body UpdateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationGroupMembers List members of a group
	//
	// Members are ordered newest first by membership creation time, with a unique upstream tie-breaker. Returns 404 when the group does not exist in the current organization, or when the caller does not belong to an organization.
	//
	// Corresponds with GET /v2/organization/groups/{id}/members (the `ListOrganizationGroupMembers` operationId).
	ListOrganizationGroupMembers(ctx context.Context, id string, params *ListOrganizationGroupMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveOrganizationGroupMember Remove a member from a group
	//
	// Removes the organization member from the group. The group and user must belong to the current organization. Returns 404 when the membership is absent, including repeated deletion, or when the group is unknown or belongs to another organization.
	//
	// Corresponds with DELETE /v2/organization/groups/{id}/members/{userId} (the `RemoveOrganizationGroupMember` operationId).
	RemoveOrganizationGroupMember(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddOrganizationGroupMember Add a member to a group
	//
	// Adds the organization member to the group. The group and user must belong to the current organization. Adding an existing member is idempotent and returns the same no-content response.
	//
	// Corresponds with PUT /v2/organization/groups/{id}/members/{userId} (the `AddOrganizationGroupMember` operationId).
	AddOrganizationGroupMember(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationInvites List pending organization invites
	//
	// Returns the pending invitations to the authenticated caller's organization, newest first. Only unexpired invites are pending: an invite leaves the list once it is accepted, revoked or expired. The list is complete and takes no pagination parameters, because an organization's pending invites are capped. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization/invites (the `ListOrganizationInvites` operationId).
	ListOrganizationInvites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationInviteWithBody Invite a user to your organization
	//
	// Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).
	CreateOrganizationInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationInvite Invite a user to your organization
	//
	// Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).
	CreateOrganizationInvite(ctx context.Context, body CreateOrganizationInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationInvite Cancel an organization invite
	//
	// Cancels one invitation to the authenticated caller's organization; the invitee can no longer accept it. Returns 404 when the ID is unknown to the caller's organization: never issued, already accepted, already cancelled, or issued by another organization. An expired invite can still be cancelled. Cancelling invites requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Corresponds with DELETE /v2/organization/invites/{id} (the `DeleteOrganizationInvite` operationId).
	DeleteOrganizationInvite(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationInvite Get a pending organization invite
	//
	// Returns one pending invitation to the authenticated caller's organization. Only unexpired invites are pending: an invite that has expired, been accepted or been revoked returns 404, as does an ID from another organization. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization/invites/{id} (the `GetOrganizationInvite` operationId).
	GetOrganizationInvite(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationRoles List organization roles
	//
	// Returns every role a member or invite of the authenticated caller's organization can hold: Runpod's built-in roles and the organization's custom roles, oldest first. The list is complete and takes no pagination parameters, because an organization's custom roles are capped. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization/roles (the `ListOrganizationRoles` operationId).
	ListOrganizationRoles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationRoleWithBody Create a custom organization role
	//
	// Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).
	CreateOrganizationRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationRole Create a custom organization role
	//
	// Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).
	CreateOrganizationRole(ctx context.Context, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationRoleCapabilities List grantable role capabilities
	//
	// Returns the capabilities a custom role can grant, grouped by family: each capability is a family and one of its verbs, written `FAMILY:VERB`. This is the set role creation accepts, not filtered to the caller's own access; saving a role also requires the caller to hold every capability it grants. `family` and `verb` narrow the result and apply together; with neither, the whole catalog is returned. Reading the catalog requires organization membership; other callers receive 403.
	//
	// Corresponds with GET /v2/organization/roles/capabilities (the `GetOrganizationRoleCapabilities` operationId).
	GetOrganizationRoleCapabilities(ctx context.Context, params *GetOrganizationRoleCapabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationRole Delete a custom organization role
	//
	// Deletes a custom role from the authenticated caller's organization. Returns 409 while a member or a pending invite holds the role: reassign those members and cancel those invites first, since deleting never changes anyone's role. Expired invites do not block deletion. Returns 400 for a built-in role, which cannot be deleted; 404 when the ID is unknown, names another organization's role, or was already deleted. Deleting roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Corresponds with DELETE /v2/organization/roles/{id} (the `DeleteOrganizationRole` operationId).
	DeleteOrganizationRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationRole Get an organization role
	//
	// Returns one role a member or invite of the authenticated caller's organization can hold: a built-in role, or one of the organization's custom roles. Returns 404 when the ID is unknown or names another organization's custom role, or when the caller does not belong to an organization; 403 when the caller may not view the organization's roles or organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization/roles/{id} (the `GetOrganizationRole` operationId).
	GetOrganizationRole(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationRoleWithBody Update a custom organization role
	//
	// Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).
	UpdateOrganizationRoleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationRole Update a custom organization role
	//
	// Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).
	UpdateOrganizationRole(ctx context.Context, id string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationUsers List organization members
	//
	// Returns every member of the authenticated caller's organization with the role each holds. Any member can read the roster. The list is complete and takes no pagination parameters. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization/users (the `ListOrganizationUsers` operationId).
	ListOrganizationUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationUser Remove an organization member
	//
	// Removes one member from the authenticated caller's organization by user ID. Their group memberships end and the API keys attributed to them within the organization are revoked; the resources they created stay with the organization. Removing another member requires the organization's member-removal capability, which the built-in admin role holds; any member can remove themselves. The organization keeps at least one member with the built-in admin role, so removing the last one returns 409. A user who is not a member, including one from another organization, returns 404. A member without the capability removing someone else, a caller outside an organization, and a caller for whom organizations are unavailable receive 403.
	//
	// Corresponds with DELETE /v2/organization/users/{id} (the `DeleteOrganizationUser` operationId).
	DeleteOrganizationUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationUser Get an organization member
	//
	// Returns one member of the authenticated caller's organization by user ID, with the role they hold. Any member can read it. A user who is not a member, including one from another organization, returns 404. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Corresponds with GET /v2/organization/users/{id} (the `GetOrganizationUser` operationId).
	GetOrganizationUser(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationUserWithBody Update an organization member
	//
	// Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).
	UpdateOrganizationUserWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationUser Update an organization member
	//
	// Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).
	UpdateOrganizationUser(ctx context.Context, id string, body UpdateOrganizationUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddOrganizationGroupMemberWithResponse added in v2.2.0

func (c *ClientWithResponses) AddOrganizationGroupMemberWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*AddOrganizationGroupMemberResult, error)

AddOrganizationGroupMemberWithResponse Add a member to a group

Adds the organization member to the group. The group and user must belong to the current organization. Adding an existing member is idempotent and returns the same no-content response.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/organization/groups/{id}/members/{userId} (the `AddOrganizationGroupMember` operationId).

func (*ClientWithResponses) CreateOrganizationGroupWithBodyWithResponse added in v2.2.0

func (c *ClientWithResponses) CreateOrganizationGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationGroupResult, error)

CreateOrganizationGroupWithBodyWithResponse Create a group in your current organization

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).

func (*ClientWithResponses) CreateOrganizationGroupWithResponse added in v2.2.0

func (c *ClientWithResponses) CreateOrganizationGroupWithResponse(ctx context.Context, body CreateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationGroupResult, error)

CreateOrganizationGroupWithResponse Create a group in your current organization

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).

func (*ClientWithResponses) CreateOrganizationInviteWithBodyWithResponse added in v2.2.0

func (c *ClientWithResponses) CreateOrganizationInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationInviteResult, error)

CreateOrganizationInviteWithBodyWithResponse Invite a user to your organization

Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).

func (*ClientWithResponses) CreateOrganizationInviteWithResponse added in v2.2.0

func (c *ClientWithResponses) CreateOrganizationInviteWithResponse(ctx context.Context, body CreateOrganizationInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationInviteResult, error)

CreateOrganizationInviteWithResponse Invite a user to your organization

Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).

func (*ClientWithResponses) CreateOrganizationRoleWithBodyWithResponse added in v2.2.0

func (c *ClientWithResponses) CreateOrganizationRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResult, error)

CreateOrganizationRoleWithBodyWithResponse Create a custom organization role

Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).

func (*ClientWithResponses) CreateOrganizationRoleWithResponse added in v2.2.0

func (c *ClientWithResponses) CreateOrganizationRoleWithResponse(ctx context.Context, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResult, error)

CreateOrganizationRoleWithResponse Create a custom organization role

Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).

func (*ClientWithResponses) DeleteOrganizationGroupWithResponse added in v2.2.0

func (c *ClientWithResponses) DeleteOrganizationGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationGroupResult, error)

DeleteOrganizationGroupWithResponse Delete a group in your current organization

Permanently deletes the group and its group memberships. Organization members are not removed. Returns 404 when the group does not exist in your current organization, including when it has already been deleted.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/organization/groups/{id} (the `DeleteOrganizationGroup` operationId).

func (*ClientWithResponses) DeleteOrganizationInviteWithResponse added in v2.2.0

func (c *ClientWithResponses) DeleteOrganizationInviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationInviteResult, error)

DeleteOrganizationInviteWithResponse Cancel an organization invite

Cancels one invitation to the authenticated caller's organization; the invitee can no longer accept it. Returns 404 when the ID is unknown to the caller's organization: never issued, already accepted, already cancelled, or issued by another organization. An expired invite can still be cancelled. Cancelling invites requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/organization/invites/{id} (the `DeleteOrganizationInvite` operationId).

func (*ClientWithResponses) DeleteOrganizationRoleWithResponse added in v2.2.0

func (c *ClientWithResponses) DeleteOrganizationRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationRoleResult, error)

DeleteOrganizationRoleWithResponse Delete a custom organization role

Deletes a custom role from the authenticated caller's organization. Returns 409 while a member or a pending invite holds the role: reassign those members and cancel those invites first, since deleting never changes anyone's role. Expired invites do not block deletion. Returns 400 for a built-in role, which cannot be deleted; 404 when the ID is unknown, names another organization's role, or was already deleted. Deleting roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/organization/roles/{id} (the `DeleteOrganizationRole` operationId).

func (*ClientWithResponses) DeleteOrganizationUserWithResponse added in v2.2.0

func (c *ClientWithResponses) DeleteOrganizationUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationUserResult, error)

DeleteOrganizationUserWithResponse Remove an organization member

Removes one member from the authenticated caller's organization by user ID. Their group memberships end and the API keys attributed to them within the organization are revoked; the resources they created stay with the organization. Removing another member requires the organization's member-removal capability, which the built-in admin role holds; any member can remove themselves. The organization keeps at least one member with the built-in admin role, so removing the last one returns 409. A user who is not a member, including one from another organization, returns 404. A member without the capability removing someone else, a caller outside an organization, and a caller for whom organizations are unavailable receive 403.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/organization/users/{id} (the `DeleteOrganizationUser` operationId).

func (*ClientWithResponses) GetOrganizationGroupWithResponse added in v2.2.0

func (c *ClientWithResponses) GetOrganizationGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationGroupResult, error)

GetOrganizationGroupWithResponse Get a group in your current organization

Returns the group without its members. Returns 404 when the ID is unknown or belongs to another organization, or when the caller does not belong to an organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/groups/{id} (the `GetOrganizationGroup` operationId).

func (*ClientWithResponses) GetOrganizationInviteWithResponse added in v2.2.0

func (c *ClientWithResponses) GetOrganizationInviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationInviteResult, error)

GetOrganizationInviteWithResponse Get a pending organization invite

Returns one pending invitation to the authenticated caller's organization. Only unexpired invites are pending: an invite that has expired, been accepted or been revoked returns 404, as does an ID from another organization. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/invites/{id} (the `GetOrganizationInvite` operationId).

func (*ClientWithResponses) GetOrganizationRoleCapabilitiesWithResponse added in v2.2.0

func (c *ClientWithResponses) GetOrganizationRoleCapabilitiesWithResponse(ctx context.Context, params *GetOrganizationRoleCapabilitiesParams, reqEditors ...RequestEditorFn) (*GetOrganizationRoleCapabilitiesResult, error)

GetOrganizationRoleCapabilitiesWithResponse List grantable role capabilities

Returns the capabilities a custom role can grant, grouped by family: each capability is a family and one of its verbs, written `FAMILY:VERB`. This is the set role creation accepts, not filtered to the caller's own access; saving a role also requires the caller to hold every capability it grants. `family` and `verb` narrow the result and apply together; with neither, the whole catalog is returned. Reading the catalog requires organization membership; other callers receive 403.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/roles/capabilities (the `GetOrganizationRoleCapabilities` operationId).

func (*ClientWithResponses) GetOrganizationRoleWithResponse added in v2.2.0

func (c *ClientWithResponses) GetOrganizationRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationRoleResult, error)

GetOrganizationRoleWithResponse Get an organization role

Returns one role a member or invite of the authenticated caller's organization can hold: a built-in role, or one of the organization's custom roles. Returns 404 when the ID is unknown or names another organization's custom role, or when the caller does not belong to an organization; 403 when the caller may not view the organization's roles or organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/roles/{id} (the `GetOrganizationRole` operationId).

func (*ClientWithResponses) GetOrganizationUserWithResponse added in v2.2.0

func (c *ClientWithResponses) GetOrganizationUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationUserResult, error)

GetOrganizationUserWithResponse Get an organization member

Returns one member of the authenticated caller's organization by user ID, with the role they hold. Any member can read it. A user who is not a member, including one from another organization, returns 404. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/users/{id} (the `GetOrganizationUser` operationId).

func (*ClientWithResponses) GetOrganizationWithResponse

func (c *ClientWithResponses) GetOrganizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationResult, error)

GetOrganizationWithResponse Get your current organization

Returns the authenticated caller's current organization. Organization context comes from the caller's membership; no organization selector is required. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization (the `GetOrganization` operationId).

func (*ClientWithResponses) ListOrganizationGroupMembersWithResponse added in v2.2.0

func (c *ClientWithResponses) ListOrganizationGroupMembersWithResponse(ctx context.Context, id string, params *ListOrganizationGroupMembersParams, reqEditors ...RequestEditorFn) (*ListOrganizationGroupMembersResult, error)

ListOrganizationGroupMembersWithResponse List members of a group

Members are ordered newest first by membership creation time, with a unique upstream tie-breaker. Returns 404 when the group does not exist in the current organization, or when the caller does not belong to an organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/groups/{id}/members (the `ListOrganizationGroupMembers` operationId).

func (*ClientWithResponses) ListOrganizationGroupsWithResponse added in v2.2.0

func (c *ClientWithResponses) ListOrganizationGroupsWithResponse(ctx context.Context, params *ListOrganizationGroupsParams, reqEditors ...RequestEditorFn) (*ListOrganizationGroupsResult, error)

ListOrganizationGroupsWithResponse List groups in your current organization

Returns groups without their members or roles, ordered by creation time descending and then ID descending for deterministic pagination.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/groups (the `ListOrganizationGroups` operationId).

func (*ClientWithResponses) ListOrganizationInvitesWithResponse added in v2.2.0

func (c *ClientWithResponses) ListOrganizationInvitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationInvitesResult, error)

ListOrganizationInvitesWithResponse List pending organization invites

Returns the pending invitations to the authenticated caller's organization, newest first. Only unexpired invites are pending: an invite leaves the list once it is accepted, revoked or expired. The list is complete and takes no pagination parameters, because an organization's pending invites are capped. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/invites (the `ListOrganizationInvites` operationId).

func (*ClientWithResponses) ListOrganizationRolesWithResponse added in v2.2.0

func (c *ClientWithResponses) ListOrganizationRolesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationRolesResult, error)

ListOrganizationRolesWithResponse List organization roles

Returns every role a member or invite of the authenticated caller's organization can hold: Runpod's built-in roles and the organization's custom roles, oldest first. The list is complete and takes no pagination parameters, because an organization's custom roles are capped. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/roles (the `ListOrganizationRoles` operationId).

func (*ClientWithResponses) ListOrganizationUsersWithResponse added in v2.2.0

func (c *ClientWithResponses) ListOrganizationUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationUsersResult, error)

ListOrganizationUsersWithResponse List organization members

Returns every member of the authenticated caller's organization with the role each holds. Any member can read the roster. The list is complete and takes no pagination parameters. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/organization/users (the `ListOrganizationUsers` operationId).

func (*ClientWithResponses) RemoveOrganizationGroupMemberWithResponse added in v2.2.0

func (c *ClientWithResponses) RemoveOrganizationGroupMemberWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*RemoveOrganizationGroupMemberResult, error)

RemoveOrganizationGroupMemberWithResponse Remove a member from a group

Removes the organization member from the group. The group and user must belong to the current organization. Returns 404 when the membership is absent, including repeated deletion, or when the group is unknown or belongs to another organization.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/organization/groups/{id}/members/{userId} (the `RemoveOrganizationGroupMember` operationId).

func (*ClientWithResponses) UpdateOrganizationGroupWithBodyWithResponse added in v2.2.0

func (c *ClientWithResponses) UpdateOrganizationGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationGroupResult, error)

UpdateOrganizationGroupWithBodyWithResponse Rename a group in your current organization

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).

func (*ClientWithResponses) UpdateOrganizationGroupWithResponse added in v2.2.0

func (c *ClientWithResponses) UpdateOrganizationGroupWithResponse(ctx context.Context, id string, body UpdateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationGroupResult, error)

UpdateOrganizationGroupWithResponse Rename a group in your current organization

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).

func (*ClientWithResponses) UpdateOrganizationRoleWithBodyWithResponse added in v2.2.0

func (c *ClientWithResponses) UpdateOrganizationRoleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResult, error)

UpdateOrganizationRoleWithBodyWithResponse Update a custom organization role

Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).

func (*ClientWithResponses) UpdateOrganizationRoleWithResponse added in v2.2.0

func (c *ClientWithResponses) UpdateOrganizationRoleWithResponse(ctx context.Context, id string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResult, error)

UpdateOrganizationRoleWithResponse Update a custom organization role

Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).

func (*ClientWithResponses) UpdateOrganizationUserWithBodyWithResponse added in v2.2.0

func (c *ClientWithResponses) UpdateOrganizationUserWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationUserResult, error)

UpdateOrganizationUserWithBodyWithResponse Update an organization member

Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).

func (*ClientWithResponses) UpdateOrganizationUserWithResponse added in v2.2.0

func (c *ClientWithResponses) UpdateOrganizationUserWithResponse(ctx context.Context, id string, body UpdateOrganizationUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationUserResult, error)

UpdateOrganizationUserWithResponse Update an organization member

Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetOrganizationWithResponse Get your current organization
	//
	// Returns the authenticated caller's current organization. Organization context comes from the caller's membership; no organization selector is required. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization (the `GetOrganization` operationId).
	GetOrganizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationResult, error)

	// ListOrganizationGroupsWithResponse List groups in your current organization
	//
	// Returns groups without their members or roles, ordered by creation time descending and then ID descending for deterministic pagination.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/groups (the `ListOrganizationGroups` operationId).
	ListOrganizationGroupsWithResponse(ctx context.Context, params *ListOrganizationGroupsParams, reqEditors ...RequestEditorFn) (*ListOrganizationGroupsResult, error)

	// CreateOrganizationGroupWithBodyWithResponse Create a group in your current organization
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).
	CreateOrganizationGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationGroupResult, error)

	// CreateOrganizationGroupWithResponse Create a group in your current organization
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/organization/groups (the `CreateOrganizationGroup` operationId).
	CreateOrganizationGroupWithResponse(ctx context.Context, body CreateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationGroupResult, error)

	// DeleteOrganizationGroupWithResponse Delete a group in your current organization
	//
	// Permanently deletes the group and its group memberships. Organization members are not removed. Returns 404 when the group does not exist in your current organization, including when it has already been deleted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/organization/groups/{id} (the `DeleteOrganizationGroup` operationId).
	DeleteOrganizationGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationGroupResult, error)

	// GetOrganizationGroupWithResponse Get a group in your current organization
	//
	// Returns the group without its members. Returns 404 when the ID is unknown or belongs to another organization, or when the caller does not belong to an organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/groups/{id} (the `GetOrganizationGroup` operationId).
	GetOrganizationGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationGroupResult, error)

	// UpdateOrganizationGroupWithBodyWithResponse Rename a group in your current organization
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).
	UpdateOrganizationGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationGroupResult, error)

	// UpdateOrganizationGroupWithResponse Rename a group in your current organization
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/organization/groups/{id} (the `UpdateOrganizationGroup` operationId).
	UpdateOrganizationGroupWithResponse(ctx context.Context, id string, body UpdateOrganizationGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationGroupResult, error)

	// ListOrganizationGroupMembersWithResponse List members of a group
	//
	// Members are ordered newest first by membership creation time, with a unique upstream tie-breaker. Returns 404 when the group does not exist in the current organization, or when the caller does not belong to an organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/groups/{id}/members (the `ListOrganizationGroupMembers` operationId).
	ListOrganizationGroupMembersWithResponse(ctx context.Context, id string, params *ListOrganizationGroupMembersParams, reqEditors ...RequestEditorFn) (*ListOrganizationGroupMembersResult, error)

	// RemoveOrganizationGroupMemberWithResponse Remove a member from a group
	//
	// Removes the organization member from the group. The group and user must belong to the current organization. Returns 404 when the membership is absent, including repeated deletion, or when the group is unknown or belongs to another organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/organization/groups/{id}/members/{userId} (the `RemoveOrganizationGroupMember` operationId).
	RemoveOrganizationGroupMemberWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*RemoveOrganizationGroupMemberResult, error)

	// AddOrganizationGroupMemberWithResponse Add a member to a group
	//
	// Adds the organization member to the group. The group and user must belong to the current organization. Adding an existing member is idempotent and returns the same no-content response.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/organization/groups/{id}/members/{userId} (the `AddOrganizationGroupMember` operationId).
	AddOrganizationGroupMemberWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*AddOrganizationGroupMemberResult, error)

	// ListOrganizationInvitesWithResponse List pending organization invites
	//
	// Returns the pending invitations to the authenticated caller's organization, newest first. Only unexpired invites are pending: an invite leaves the list once it is accepted, revoked or expired. The list is complete and takes no pagination parameters, because an organization's pending invites are capped. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/invites (the `ListOrganizationInvites` operationId).
	ListOrganizationInvitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationInvitesResult, error)

	// CreateOrganizationInviteWithBodyWithResponse Invite a user to your organization
	//
	// Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).
	CreateOrganizationInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationInviteResult, error)

	// CreateOrganizationInviteWithResponse Invite a user to your organization
	//
	// Sends an invitation to join the authenticated caller's organization and returns the pending invite; `expiresAt` is when it lapses. The invitee receives an email carrying the acceptance link, which is never returned here. Returns 409 when the address already belongs to a member or to a pending invite, or when the organization has reached its pending-invite limit; 404 when the role is unknown to the organization; and 403 when the caller does not hold every capability the role grants. Inviting requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/organization/invites (the `CreateOrganizationInvite` operationId).
	CreateOrganizationInviteWithResponse(ctx context.Context, body CreateOrganizationInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationInviteResult, error)

	// DeleteOrganizationInviteWithResponse Cancel an organization invite
	//
	// Cancels one invitation to the authenticated caller's organization; the invitee can no longer accept it. Returns 404 when the ID is unknown to the caller's organization: never issued, already accepted, already cancelled, or issued by another organization. An expired invite can still be cancelled. Cancelling invites requires the organization's invite-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/organization/invites/{id} (the `DeleteOrganizationInvite` operationId).
	DeleteOrganizationInviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationInviteResult, error)

	// GetOrganizationInviteWithResponse Get a pending organization invite
	//
	// Returns one pending invitation to the authenticated caller's organization. Only unexpired invites are pending: an invite that has expired, been accepted or been revoked returns 404, as does an ID from another organization. Reading invites requires the organization's invite-management capability, which the built-in admin role holds; other members receive 403. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/invites/{id} (the `GetOrganizationInvite` operationId).
	GetOrganizationInviteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationInviteResult, error)

	// ListOrganizationRolesWithResponse List organization roles
	//
	// Returns every role a member or invite of the authenticated caller's organization can hold: Runpod's built-in roles and the organization's custom roles, oldest first. The list is complete and takes no pagination parameters, because an organization's custom roles are capped. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/roles (the `ListOrganizationRoles` operationId).
	ListOrganizationRolesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationRolesResult, error)

	// CreateOrganizationRoleWithBodyWithResponse Create a custom organization role
	//
	// Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).
	CreateOrganizationRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResult, error)

	// CreateOrganizationRoleWithResponse Create a custom organization role
	//
	// Creates a custom role in the authenticated caller's organization and returns it. Returns 409 when the organization already has a role with this name or has reached its custom-role limit; 422 when a capability is unknown or the name is reserved; and 403 when the caller does not hold every capability the role grants. Creating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/organization/roles (the `CreateOrganizationRole` operationId).
	CreateOrganizationRoleWithResponse(ctx context.Context, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResult, error)

	// GetOrganizationRoleCapabilitiesWithResponse List grantable role capabilities
	//
	// Returns the capabilities a custom role can grant, grouped by family: each capability is a family and one of its verbs, written `FAMILY:VERB`. This is the set role creation accepts, not filtered to the caller's own access; saving a role also requires the caller to hold every capability it grants. `family` and `verb` narrow the result and apply together; with neither, the whole catalog is returned. Reading the catalog requires organization membership; other callers receive 403.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/roles/capabilities (the `GetOrganizationRoleCapabilities` operationId).
	GetOrganizationRoleCapabilitiesWithResponse(ctx context.Context, params *GetOrganizationRoleCapabilitiesParams, reqEditors ...RequestEditorFn) (*GetOrganizationRoleCapabilitiesResult, error)

	// DeleteOrganizationRoleWithResponse Delete a custom organization role
	//
	// Deletes a custom role from the authenticated caller's organization. Returns 409 while a member or a pending invite holds the role: reassign those members and cancel those invites first, since deleting never changes anyone's role. Expired invites do not block deletion. Returns 400 for a built-in role, which cannot be deleted; 404 when the ID is unknown, names another organization's role, or was already deleted. Deleting roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/organization/roles/{id} (the `DeleteOrganizationRole` operationId).
	DeleteOrganizationRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationRoleResult, error)

	// GetOrganizationRoleWithResponse Get an organization role
	//
	// Returns one role a member or invite of the authenticated caller's organization can hold: a built-in role, or one of the organization's custom roles. Returns 404 when the ID is unknown or names another organization's custom role, or when the caller does not belong to an organization; 403 when the caller may not view the organization's roles or organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/roles/{id} (the `GetOrganizationRole` operationId).
	GetOrganizationRoleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationRoleResult, error)

	// UpdateOrganizationRoleWithBodyWithResponse Update a custom organization role
	//
	// Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).
	UpdateOrganizationRoleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResult, error)

	// UpdateOrganizationRoleWithResponse Update a custom organization role
	//
	// Changes a custom role's name, its capabilities, or both, and returns the role. Sent capabilities replace the whole grant set. Returns 400 for a built-in role, which cannot be changed; 404 when the ID is unknown or names another organization's role; 403 when the caller does not hold every capability the role grants, before or after the change; 409 when the organization already has a role with the new name; and 422 when a capability is unknown or the name is reserved. Updating roles requires the organization's role-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/organization/roles/{id} (the `UpdateOrganizationRole` operationId).
	UpdateOrganizationRoleWithResponse(ctx context.Context, id string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResult, error)

	// ListOrganizationUsersWithResponse List organization members
	//
	// Returns every member of the authenticated caller's organization with the role each holds. Any member can read the roster. The list is complete and takes no pagination parameters. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/users (the `ListOrganizationUsers` operationId).
	ListOrganizationUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationUsersResult, error)

	// DeleteOrganizationUserWithResponse Remove an organization member
	//
	// Removes one member from the authenticated caller's organization by user ID. Their group memberships end and the API keys attributed to them within the organization are revoked; the resources they created stay with the organization. Removing another member requires the organization's member-removal capability, which the built-in admin role holds; any member can remove themselves. The organization keeps at least one member with the built-in admin role, so removing the last one returns 409. A user who is not a member, including one from another organization, returns 404. A member without the capability removing someone else, a caller outside an organization, and a caller for whom organizations are unavailable receive 403.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/organization/users/{id} (the `DeleteOrganizationUser` operationId).
	DeleteOrganizationUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteOrganizationUserResult, error)

	// GetOrganizationUserWithResponse Get an organization member
	//
	// Returns one member of the authenticated caller's organization by user ID, with the role they hold. Any member can read it. A user who is not a member, including one from another organization, returns 404. Returns 404 when the caller does not belong to an organization, or 403 when organizations are unavailable to the caller.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/organization/users/{id} (the `GetOrganizationUser` operationId).
	GetOrganizationUserWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationUserResult, error)

	// UpdateOrganizationUserWithBodyWithResponse Update an organization member
	//
	// Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).
	UpdateOrganizationUserWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationUserResult, error)

	// UpdateOrganizationUserWithResponse Update an organization member
	//
	// Changes one member of the authenticated caller's organization by user ID: assigns a role, replaces their set of groups, or both, applied together or not at all. Send at least one field; an omitted field is left as it is, and an empty `groups` list removes the member from every group. Updating members requires the organization's member-management capability, which the built-in admin role holds; other members, and callers outside an organization, receive 403, as does a caller for whom organizations are unavailable. Returns 403 when the caller changes their own role or assigns a role granting a capability the caller lacks; 409 when the change would leave the organization without a member in the built-in admin role; and 404 when the user is not a member or the role or a group is unknown to the organization, with the detail naming which.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/organization/users/{id} (the `UpdateOrganizationUser` operationId).
	UpdateOrganizationUserWithResponse(ctx context.Context, id string, body UpdateOrganizationUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationUserResult, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateOrganizationGroupJSONRequestBody added in v2.2.0

type CreateOrganizationGroupJSONRequestBody = externalRef0.CreateOrganizationGroupRequest

CreateOrganizationGroupJSONRequestBody defines body for CreateOrganizationGroup for application/json ContentType.

type CreateOrganizationGroupResult added in v2.2.0

type CreateOrganizationGroupResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *externalRef0.OrganizationGroup
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateOrganizationGroupResult201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateOrganizationGroupResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateOrganizationGroupResult403Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *CreateOrganizationGroupResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateOrganizationGroupResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateOrganizationGroupResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *CreateOrganizationGroupResultDefaultHeaders
}

func ParseCreateOrganizationGroupResult added in v2.2.0

func ParseCreateOrganizationGroupResult(rsp *http.Response) (*CreateOrganizationGroupResult, error)

ParseCreateOrganizationGroupResult parses an HTTP response from a CreateOrganizationGroupWithResponse call

func (CreateOrganizationGroupResult) ContentType added in v2.2.0

func (r CreateOrganizationGroupResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrganizationGroupResult) GetApplicationproblemJSON400 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSON401 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSON403 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSON409 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSON413 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSON422 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSON429 added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateOrganizationGroupResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r CreateOrganizationGroupResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateOrganizationGroupResult) GetBody added in v2.2.0

func (r CreateOrganizationGroupResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrganizationGroupResult) GetJSON201 added in v2.2.0

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrganizationGroupResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (CreateOrganizationGroupResult) StatusCode added in v2.2.0

func (r CreateOrganizationGroupResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationGroupResult201Headers added in v2.2.0

type CreateOrganizationGroupResult201Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationGroupResult201Headers the declared response headers of an HTTP 201 response for CreateOrganizationGroup

type CreateOrganizationGroupResult400Headers added in v2.2.0

type CreateOrganizationGroupResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationGroupResult400Headers the declared response headers of an HTTP 400 response for CreateOrganizationGroup

type CreateOrganizationGroupResult403Headers added in v2.2.0

type CreateOrganizationGroupResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationGroupResult403Headers the declared response headers of an HTTP 403 response for CreateOrganizationGroup

type CreateOrganizationGroupResult413Headers added in v2.2.0

type CreateOrganizationGroupResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationGroupResult413Headers the declared response headers of an HTTP 413 response for CreateOrganizationGroup

type CreateOrganizationGroupResult422Headers added in v2.2.0

type CreateOrganizationGroupResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationGroupResult422Headers the declared response headers of an HTTP 422 response for CreateOrganizationGroup

type CreateOrganizationGroupResult429Headers added in v2.2.0

type CreateOrganizationGroupResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

CreateOrganizationGroupResult429Headers the declared response headers of an HTTP 429 response for CreateOrganizationGroup

type CreateOrganizationGroupResultDefaultHeaders added in v2.2.0

type CreateOrganizationGroupResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationGroupResultDefaultHeaders the declared response headers of an HTTP default response for CreateOrganizationGroup

type CreateOrganizationInviteJSONRequestBody added in v2.2.0

type CreateOrganizationInviteJSONRequestBody = externalRef0.CreateOrganizationInviteRequest

CreateOrganizationInviteJSONRequestBody defines body for CreateOrganizationInvite for application/json ContentType.

type CreateOrganizationInviteResult added in v2.2.0

type CreateOrganizationInviteResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *externalRef0.OrganizationInvite
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateOrganizationInviteResult201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateOrganizationInviteResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateOrganizationInviteResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateOrganizationInviteResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *CreateOrganizationInviteResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateOrganizationInviteResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateOrganizationInviteResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *CreateOrganizationInviteResultDefaultHeaders
}

func ParseCreateOrganizationInviteResult added in v2.2.0

func ParseCreateOrganizationInviteResult(rsp *http.Response) (*CreateOrganizationInviteResult, error)

ParseCreateOrganizationInviteResult parses an HTTP response from a CreateOrganizationInviteWithResponse call

func (CreateOrganizationInviteResult) ContentType added in v2.2.0

func (r CreateOrganizationInviteResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrganizationInviteResult) GetApplicationproblemJSON400 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON401 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON403 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON404 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON409 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON413 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON422 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSON429 added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateOrganizationInviteResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r CreateOrganizationInviteResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateOrganizationInviteResult) GetBody added in v2.2.0

func (r CreateOrganizationInviteResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrganizationInviteResult) GetJSON201 added in v2.2.0

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrganizationInviteResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (CreateOrganizationInviteResult) StatusCode added in v2.2.0

func (r CreateOrganizationInviteResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationInviteResult201Headers added in v2.2.0

type CreateOrganizationInviteResult201Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResult201Headers the declared response headers of an HTTP 201 response for CreateOrganizationInvite

type CreateOrganizationInviteResult400Headers added in v2.2.0

type CreateOrganizationInviteResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResult400Headers the declared response headers of an HTTP 400 response for CreateOrganizationInvite

type CreateOrganizationInviteResult403Headers added in v2.2.0

type CreateOrganizationInviteResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResult403Headers the declared response headers of an HTTP 403 response for CreateOrganizationInvite

type CreateOrganizationInviteResult404Headers added in v2.2.0

type CreateOrganizationInviteResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResult404Headers the declared response headers of an HTTP 404 response for CreateOrganizationInvite

type CreateOrganizationInviteResult413Headers added in v2.2.0

type CreateOrganizationInviteResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResult413Headers the declared response headers of an HTTP 413 response for CreateOrganizationInvite

type CreateOrganizationInviteResult422Headers added in v2.2.0

type CreateOrganizationInviteResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResult422Headers the declared response headers of an HTTP 422 response for CreateOrganizationInvite

type CreateOrganizationInviteResult429Headers added in v2.2.0

type CreateOrganizationInviteResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

CreateOrganizationInviteResult429Headers the declared response headers of an HTTP 429 response for CreateOrganizationInvite

type CreateOrganizationInviteResultDefaultHeaders added in v2.2.0

type CreateOrganizationInviteResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationInviteResultDefaultHeaders the declared response headers of an HTTP default response for CreateOrganizationInvite

type CreateOrganizationRoleJSONRequestBody added in v2.2.0

type CreateOrganizationRoleJSONRequestBody = externalRef0.CreateOrganizationRoleRequest

CreateOrganizationRoleJSONRequestBody defines body for CreateOrganizationRole for application/json ContentType.

type CreateOrganizationRoleResult added in v2.2.0

type CreateOrganizationRoleResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *externalRef0.OrganizationRole
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateOrganizationRoleResult201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateOrganizationRoleResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateOrganizationRoleResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateOrganizationRoleResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *CreateOrganizationRoleResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateOrganizationRoleResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateOrganizationRoleResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *CreateOrganizationRoleResultDefaultHeaders
}

func ParseCreateOrganizationRoleResult added in v2.2.0

func ParseCreateOrganizationRoleResult(rsp *http.Response) (*CreateOrganizationRoleResult, error)

ParseCreateOrganizationRoleResult parses an HTTP response from a CreateOrganizationRoleWithResponse call

func (CreateOrganizationRoleResult) ContentType added in v2.2.0

func (r CreateOrganizationRoleResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrganizationRoleResult) GetApplicationproblemJSON400 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON401 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON403 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON404 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON409 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON413 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON422 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSON429 added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateOrganizationRoleResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r CreateOrganizationRoleResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateOrganizationRoleResult) GetBody added in v2.2.0

func (r CreateOrganizationRoleResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrganizationRoleResult) GetJSON201 added in v2.2.0

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrganizationRoleResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (CreateOrganizationRoleResult) StatusCode added in v2.2.0

func (r CreateOrganizationRoleResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationRoleResult201Headers added in v2.2.0

type CreateOrganizationRoleResult201Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResult201Headers the declared response headers of an HTTP 201 response for CreateOrganizationRole

type CreateOrganizationRoleResult400Headers added in v2.2.0

type CreateOrganizationRoleResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResult400Headers the declared response headers of an HTTP 400 response for CreateOrganizationRole

type CreateOrganizationRoleResult403Headers added in v2.2.0

type CreateOrganizationRoleResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResult403Headers the declared response headers of an HTTP 403 response for CreateOrganizationRole

type CreateOrganizationRoleResult404Headers added in v2.2.0

type CreateOrganizationRoleResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResult404Headers the declared response headers of an HTTP 404 response for CreateOrganizationRole

type CreateOrganizationRoleResult413Headers added in v2.2.0

type CreateOrganizationRoleResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResult413Headers the declared response headers of an HTTP 413 response for CreateOrganizationRole

type CreateOrganizationRoleResult422Headers added in v2.2.0

type CreateOrganizationRoleResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResult422Headers the declared response headers of an HTTP 422 response for CreateOrganizationRole

type CreateOrganizationRoleResult429Headers added in v2.2.0

type CreateOrganizationRoleResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

CreateOrganizationRoleResult429Headers the declared response headers of an HTTP 429 response for CreateOrganizationRole

type CreateOrganizationRoleResultDefaultHeaders added in v2.2.0

type CreateOrganizationRoleResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateOrganizationRoleResultDefaultHeaders the declared response headers of an HTTP default response for CreateOrganizationRole

type DeleteOrganizationGroupResult added in v2.2.0

type DeleteOrganizationGroupResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteOrganizationGroupResult204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *DeleteOrganizationGroupResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteOrganizationGroupResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteOrganizationGroupResult404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *DeleteOrganizationGroupResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteOrganizationGroupResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *DeleteOrganizationGroupResultDefaultHeaders
}

func ParseDeleteOrganizationGroupResult added in v2.2.0

func ParseDeleteOrganizationGroupResult(rsp *http.Response) (*DeleteOrganizationGroupResult, error)

ParseDeleteOrganizationGroupResult parses an HTTP response from a DeleteOrganizationGroupWithResponse call

func (DeleteOrganizationGroupResult) ContentType added in v2.2.0

func (r DeleteOrganizationGroupResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrganizationGroupResult) GetApplicationproblemJSON400 added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (DeleteOrganizationGroupResult) GetApplicationproblemJSON401 added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteOrganizationGroupResult) GetApplicationproblemJSON403 added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteOrganizationGroupResult) GetApplicationproblemJSON404 added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteOrganizationGroupResult) GetApplicationproblemJSON422 added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (DeleteOrganizationGroupResult) GetApplicationproblemJSON429 added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteOrganizationGroupResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r DeleteOrganizationGroupResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrganizationGroupResult) GetBody added in v2.2.0

func (r DeleteOrganizationGroupResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrganizationGroupResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (DeleteOrganizationGroupResult) StatusCode added in v2.2.0

func (r DeleteOrganizationGroupResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationGroupResult204Headers added in v2.2.0

type DeleteOrganizationGroupResult204Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationGroupResult204Headers the declared response headers of an HTTP 204 response for DeleteOrganizationGroup

type DeleteOrganizationGroupResult400Headers added in v2.2.0

type DeleteOrganizationGroupResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationGroupResult400Headers the declared response headers of an HTTP 400 response for DeleteOrganizationGroup

type DeleteOrganizationGroupResult403Headers added in v2.2.0

type DeleteOrganizationGroupResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationGroupResult403Headers the declared response headers of an HTTP 403 response for DeleteOrganizationGroup

type DeleteOrganizationGroupResult404Headers added in v2.2.0

type DeleteOrganizationGroupResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationGroupResult404Headers the declared response headers of an HTTP 404 response for DeleteOrganizationGroup

type DeleteOrganizationGroupResult422Headers added in v2.2.0

type DeleteOrganizationGroupResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationGroupResult422Headers the declared response headers of an HTTP 422 response for DeleteOrganizationGroup

type DeleteOrganizationGroupResult429Headers added in v2.2.0

type DeleteOrganizationGroupResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

DeleteOrganizationGroupResult429Headers the declared response headers of an HTTP 429 response for DeleteOrganizationGroup

type DeleteOrganizationGroupResultDefaultHeaders added in v2.2.0

type DeleteOrganizationGroupResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationGroupResultDefaultHeaders the declared response headers of an HTTP default response for DeleteOrganizationGroup

type DeleteOrganizationInviteResult added in v2.2.0

type DeleteOrganizationInviteResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteOrganizationInviteResult204Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteOrganizationInviteResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteOrganizationInviteResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteOrganizationInviteResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *DeleteOrganizationInviteResultDefaultHeaders
}

func ParseDeleteOrganizationInviteResult added in v2.2.0

func ParseDeleteOrganizationInviteResult(rsp *http.Response) (*DeleteOrganizationInviteResult, error)

ParseDeleteOrganizationInviteResult parses an HTTP response from a DeleteOrganizationInviteWithResponse call

func (DeleteOrganizationInviteResult) ContentType added in v2.2.0

func (r DeleteOrganizationInviteResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrganizationInviteResult) GetApplicationproblemJSON401 added in v2.2.0

func (r DeleteOrganizationInviteResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteOrganizationInviteResult) GetApplicationproblemJSON403 added in v2.2.0

func (r DeleteOrganizationInviteResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteOrganizationInviteResult) GetApplicationproblemJSON404 added in v2.2.0

func (r DeleteOrganizationInviteResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteOrganizationInviteResult) GetApplicationproblemJSON429 added in v2.2.0

func (r DeleteOrganizationInviteResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteOrganizationInviteResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r DeleteOrganizationInviteResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrganizationInviteResult) GetBody added in v2.2.0

func (r DeleteOrganizationInviteResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrganizationInviteResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (DeleteOrganizationInviteResult) StatusCode added in v2.2.0

func (r DeleteOrganizationInviteResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationInviteResult204Headers added in v2.2.0

type DeleteOrganizationInviteResult204Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationInviteResult204Headers the declared response headers of an HTTP 204 response for DeleteOrganizationInvite

type DeleteOrganizationInviteResult403Headers added in v2.2.0

type DeleteOrganizationInviteResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationInviteResult403Headers the declared response headers of an HTTP 403 response for DeleteOrganizationInvite

type DeleteOrganizationInviteResult404Headers added in v2.2.0

type DeleteOrganizationInviteResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationInviteResult404Headers the declared response headers of an HTTP 404 response for DeleteOrganizationInvite

type DeleteOrganizationInviteResult429Headers added in v2.2.0

type DeleteOrganizationInviteResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

DeleteOrganizationInviteResult429Headers the declared response headers of an HTTP 429 response for DeleteOrganizationInvite

type DeleteOrganizationInviteResultDefaultHeaders added in v2.2.0

type DeleteOrganizationInviteResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationInviteResultDefaultHeaders the declared response headers of an HTTP default response for DeleteOrganizationInvite

type DeleteOrganizationRoleResult added in v2.2.0

type DeleteOrganizationRoleResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteOrganizationRoleResult204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *DeleteOrganizationRoleResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteOrganizationRoleResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteOrganizationRoleResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteOrganizationRoleResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *DeleteOrganizationRoleResultDefaultHeaders
}

func ParseDeleteOrganizationRoleResult added in v2.2.0

func ParseDeleteOrganizationRoleResult(rsp *http.Response) (*DeleteOrganizationRoleResult, error)

ParseDeleteOrganizationRoleResult parses an HTTP response from a DeleteOrganizationRoleWithResponse call

func (DeleteOrganizationRoleResult) ContentType added in v2.2.0

func (r DeleteOrganizationRoleResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrganizationRoleResult) GetApplicationproblemJSON400 added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (DeleteOrganizationRoleResult) GetApplicationproblemJSON401 added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteOrganizationRoleResult) GetApplicationproblemJSON403 added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteOrganizationRoleResult) GetApplicationproblemJSON404 added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteOrganizationRoleResult) GetApplicationproblemJSON409 added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteOrganizationRoleResult) GetApplicationproblemJSON429 added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteOrganizationRoleResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r DeleteOrganizationRoleResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrganizationRoleResult) GetBody added in v2.2.0

func (r DeleteOrganizationRoleResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrganizationRoleResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (DeleteOrganizationRoleResult) StatusCode added in v2.2.0

func (r DeleteOrganizationRoleResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationRoleResult204Headers added in v2.2.0

type DeleteOrganizationRoleResult204Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationRoleResult204Headers the declared response headers of an HTTP 204 response for DeleteOrganizationRole

type DeleteOrganizationRoleResult400Headers added in v2.2.0

type DeleteOrganizationRoleResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationRoleResult400Headers the declared response headers of an HTTP 400 response for DeleteOrganizationRole

type DeleteOrganizationRoleResult403Headers added in v2.2.0

type DeleteOrganizationRoleResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationRoleResult403Headers the declared response headers of an HTTP 403 response for DeleteOrganizationRole

type DeleteOrganizationRoleResult404Headers added in v2.2.0

type DeleteOrganizationRoleResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationRoleResult404Headers the declared response headers of an HTTP 404 response for DeleteOrganizationRole

type DeleteOrganizationRoleResult429Headers added in v2.2.0

type DeleteOrganizationRoleResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

DeleteOrganizationRoleResult429Headers the declared response headers of an HTTP 429 response for DeleteOrganizationRole

type DeleteOrganizationRoleResultDefaultHeaders added in v2.2.0

type DeleteOrganizationRoleResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationRoleResultDefaultHeaders the declared response headers of an HTTP default response for DeleteOrganizationRole

type DeleteOrganizationUserResult added in v2.2.0

type DeleteOrganizationUserResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteOrganizationUserResult204Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteOrganizationUserResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteOrganizationUserResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteOrganizationUserResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *DeleteOrganizationUserResultDefaultHeaders
}

func ParseDeleteOrganizationUserResult added in v2.2.0

func ParseDeleteOrganizationUserResult(rsp *http.Response) (*DeleteOrganizationUserResult, error)

ParseDeleteOrganizationUserResult parses an HTTP response from a DeleteOrganizationUserWithResponse call

func (DeleteOrganizationUserResult) ContentType added in v2.2.0

func (r DeleteOrganizationUserResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOrganizationUserResult) GetApplicationproblemJSON401 added in v2.2.0

func (r DeleteOrganizationUserResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteOrganizationUserResult) GetApplicationproblemJSON403 added in v2.2.0

func (r DeleteOrganizationUserResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteOrganizationUserResult) GetApplicationproblemJSON404 added in v2.2.0

func (r DeleteOrganizationUserResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteOrganizationUserResult) GetApplicationproblemJSON409 added in v2.2.0

func (r DeleteOrganizationUserResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteOrganizationUserResult) GetApplicationproblemJSON429 added in v2.2.0

func (r DeleteOrganizationUserResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteOrganizationUserResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r DeleteOrganizationUserResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteOrganizationUserResult) GetBody added in v2.2.0

func (r DeleteOrganizationUserResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrganizationUserResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (DeleteOrganizationUserResult) StatusCode added in v2.2.0

func (r DeleteOrganizationUserResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationUserResult204Headers added in v2.2.0

type DeleteOrganizationUserResult204Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationUserResult204Headers the declared response headers of an HTTP 204 response for DeleteOrganizationUser

type DeleteOrganizationUserResult403Headers added in v2.2.0

type DeleteOrganizationUserResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationUserResult403Headers the declared response headers of an HTTP 403 response for DeleteOrganizationUser

type DeleteOrganizationUserResult404Headers added in v2.2.0

type DeleteOrganizationUserResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationUserResult404Headers the declared response headers of an HTTP 404 response for DeleteOrganizationUser

type DeleteOrganizationUserResult429Headers added in v2.2.0

type DeleteOrganizationUserResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

DeleteOrganizationUserResult429Headers the declared response headers of an HTTP 429 response for DeleteOrganizationUser

type DeleteOrganizationUserResultDefaultHeaders added in v2.2.0

type DeleteOrganizationUserResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteOrganizationUserResultDefaultHeaders the declared response headers of an HTTP default response for DeleteOrganizationUser

type GetOrganizationGroupResult added in v2.2.0

type GetOrganizationGroupResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationGroup
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetOrganizationGroupResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetOrganizationGroupResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetOrganizationGroupResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetOrganizationGroupResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetOrganizationGroupResultDefaultHeaders
}

func ParseGetOrganizationGroupResult added in v2.2.0

func ParseGetOrganizationGroupResult(rsp *http.Response) (*GetOrganizationGroupResult, error)

ParseGetOrganizationGroupResult parses an HTTP response from a GetOrganizationGroupWithResponse call

func (GetOrganizationGroupResult) ContentType added in v2.2.0

func (r GetOrganizationGroupResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrganizationGroupResult) GetApplicationproblemJSON401 added in v2.2.0

func (r GetOrganizationGroupResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetOrganizationGroupResult) GetApplicationproblemJSON403 added in v2.2.0

func (r GetOrganizationGroupResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetOrganizationGroupResult) GetApplicationproblemJSON404 added in v2.2.0

func (r GetOrganizationGroupResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetOrganizationGroupResult) GetApplicationproblemJSON429 added in v2.2.0

func (r GetOrganizationGroupResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetOrganizationGroupResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r GetOrganizationGroupResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrganizationGroupResult) GetBody added in v2.2.0

func (r GetOrganizationGroupResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationGroupResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationGroupResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (GetOrganizationGroupResult) StatusCode added in v2.2.0

func (r GetOrganizationGroupResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationGroupResult200Headers added in v2.2.0

type GetOrganizationGroupResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationGroupResult200Headers the declared response headers of an HTTP 200 response for GetOrganizationGroup

type GetOrganizationGroupResult403Headers added in v2.2.0

type GetOrganizationGroupResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationGroupResult403Headers the declared response headers of an HTTP 403 response for GetOrganizationGroup

type GetOrganizationGroupResult404Headers added in v2.2.0

type GetOrganizationGroupResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationGroupResult404Headers the declared response headers of an HTTP 404 response for GetOrganizationGroup

type GetOrganizationGroupResult429Headers added in v2.2.0

type GetOrganizationGroupResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetOrganizationGroupResult429Headers the declared response headers of an HTTP 429 response for GetOrganizationGroup

type GetOrganizationGroupResultDefaultHeaders added in v2.2.0

type GetOrganizationGroupResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationGroupResultDefaultHeaders the declared response headers of an HTTP default response for GetOrganizationGroup

type GetOrganizationInviteResult added in v2.2.0

type GetOrganizationInviteResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationInvite
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetOrganizationInviteResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetOrganizationInviteResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetOrganizationInviteResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetOrganizationInviteResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetOrganizationInviteResultDefaultHeaders
}

func ParseGetOrganizationInviteResult added in v2.2.0

func ParseGetOrganizationInviteResult(rsp *http.Response) (*GetOrganizationInviteResult, error)

ParseGetOrganizationInviteResult parses an HTTP response from a GetOrganizationInviteWithResponse call

func (GetOrganizationInviteResult) ContentType added in v2.2.0

func (r GetOrganizationInviteResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrganizationInviteResult) GetApplicationproblemJSON401 added in v2.2.0

func (r GetOrganizationInviteResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetOrganizationInviteResult) GetApplicationproblemJSON403 added in v2.2.0

func (r GetOrganizationInviteResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetOrganizationInviteResult) GetApplicationproblemJSON404 added in v2.2.0

func (r GetOrganizationInviteResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetOrganizationInviteResult) GetApplicationproblemJSON429 added in v2.2.0

func (r GetOrganizationInviteResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetOrganizationInviteResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r GetOrganizationInviteResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrganizationInviteResult) GetBody added in v2.2.0

func (r GetOrganizationInviteResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationInviteResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationInviteResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (GetOrganizationInviteResult) StatusCode added in v2.2.0

func (r GetOrganizationInviteResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationInviteResult200Headers added in v2.2.0

type GetOrganizationInviteResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationInviteResult200Headers the declared response headers of an HTTP 200 response for GetOrganizationInvite

type GetOrganizationInviteResult403Headers added in v2.2.0

type GetOrganizationInviteResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationInviteResult403Headers the declared response headers of an HTTP 403 response for GetOrganizationInvite

type GetOrganizationInviteResult404Headers added in v2.2.0

type GetOrganizationInviteResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationInviteResult404Headers the declared response headers of an HTTP 404 response for GetOrganizationInvite

type GetOrganizationInviteResult429Headers added in v2.2.0

type GetOrganizationInviteResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetOrganizationInviteResult429Headers the declared response headers of an HTTP 429 response for GetOrganizationInvite

type GetOrganizationInviteResultDefaultHeaders added in v2.2.0

type GetOrganizationInviteResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationInviteResultDefaultHeaders the declared response headers of an HTTP default response for GetOrganizationInvite

type GetOrganizationResult

type GetOrganizationResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.Organization
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetOrganizationResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetOrganizationResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetOrganizationResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetOrganizationResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetOrganizationResultDefaultHeaders
}

func ParseGetOrganizationResult

func ParseGetOrganizationResult(rsp *http.Response) (*GetOrganizationResult, error)

ParseGetOrganizationResult parses an HTTP response from a GetOrganizationWithResponse call

func (GetOrganizationResult) ContentType

func (r GetOrganizationResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrganizationResult) GetApplicationproblemJSON401

func (r GetOrganizationResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetOrganizationResult) GetApplicationproblemJSON403

func (r GetOrganizationResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetOrganizationResult) GetApplicationproblemJSON404

func (r GetOrganizationResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetOrganizationResult) GetApplicationproblemJSON429

func (r GetOrganizationResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetOrganizationResult) GetApplicationproblemJSONDefault

func (r GetOrganizationResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrganizationResult) GetBody

func (r GetOrganizationResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationResult) Status

func (r GetOrganizationResult) Status() string

Status returns HTTPResponse.Status

func (GetOrganizationResult) StatusCode

func (r GetOrganizationResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationResult200Headers

type GetOrganizationResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationResult200Headers the declared response headers of an HTTP 200 response for GetOrganization

type GetOrganizationResult403Headers

type GetOrganizationResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationResult403Headers the declared response headers of an HTTP 403 response for GetOrganization

type GetOrganizationResult404Headers

type GetOrganizationResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationResult404Headers the declared response headers of an HTTP 404 response for GetOrganization

type GetOrganizationResult429Headers

type GetOrganizationResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetOrganizationResult429Headers the declared response headers of an HTTP 429 response for GetOrganization

type GetOrganizationResultDefaultHeaders

type GetOrganizationResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationResultDefaultHeaders the declared response headers of an HTTP default response for GetOrganization

type GetOrganizationRoleCapabilitiesParams added in v2.2.0

type GetOrganizationRoleCapabilitiesParams struct {
	// Family Only return these capability families, matched exactly. Comma-separated; a family matching any listed value is returned. An empty value is ignored.
	Family *externalRef0.OrganizationCapabilityFamilyFilter `form:"family,omitempty" json:"family,omitempty"`

	// Verb Only return these verbs, matched exactly. Comma-separated. Each family lists only the requested verbs it has, and a family with none of them is left out. An empty value is ignored.
	Verb *externalRef0.OrganizationCapabilityVerbFilter `form:"verb,omitempty" json:"verb,omitempty"`
}

GetOrganizationRoleCapabilitiesParams defines parameters for GetOrganizationRoleCapabilities.

type GetOrganizationRoleCapabilitiesResult added in v2.2.0

type GetOrganizationRoleCapabilitiesResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationCapabilityCatalog
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetOrganizationRoleCapabilitiesResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetOrganizationRoleCapabilitiesResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetOrganizationRoleCapabilitiesResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetOrganizationRoleCapabilitiesResultDefaultHeaders
}

func ParseGetOrganizationRoleCapabilitiesResult added in v2.2.0

func ParseGetOrganizationRoleCapabilitiesResult(rsp *http.Response) (*GetOrganizationRoleCapabilitiesResult, error)

ParseGetOrganizationRoleCapabilitiesResult parses an HTTP response from a GetOrganizationRoleCapabilitiesWithResponse call

func (GetOrganizationRoleCapabilitiesResult) ContentType added in v2.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSON401 added in v2.2.0

func (r GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSON403 added in v2.2.0

func (r GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSON429 added in v2.2.0

func (r GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r GetOrganizationRoleCapabilitiesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrganizationRoleCapabilitiesResult) GetBody added in v2.2.0

GetBody returns the raw response body bytes

func (GetOrganizationRoleCapabilitiesResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationRoleCapabilitiesResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (GetOrganizationRoleCapabilitiesResult) StatusCode added in v2.2.0

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationRoleCapabilitiesResult200Headers added in v2.2.0

type GetOrganizationRoleCapabilitiesResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleCapabilitiesResult200Headers the declared response headers of an HTTP 200 response for GetOrganizationRoleCapabilities

type GetOrganizationRoleCapabilitiesResult403Headers added in v2.2.0

type GetOrganizationRoleCapabilitiesResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleCapabilitiesResult403Headers the declared response headers of an HTTP 403 response for GetOrganizationRoleCapabilities

type GetOrganizationRoleCapabilitiesResult429Headers added in v2.2.0

type GetOrganizationRoleCapabilitiesResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetOrganizationRoleCapabilitiesResult429Headers the declared response headers of an HTTP 429 response for GetOrganizationRoleCapabilities

type GetOrganizationRoleCapabilitiesResultDefaultHeaders added in v2.2.0

type GetOrganizationRoleCapabilitiesResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleCapabilitiesResultDefaultHeaders the declared response headers of an HTTP default response for GetOrganizationRoleCapabilities

type GetOrganizationRoleResult added in v2.2.0

type GetOrganizationRoleResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationRole
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetOrganizationRoleResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetOrganizationRoleResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetOrganizationRoleResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetOrganizationRoleResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetOrganizationRoleResultDefaultHeaders
}

func ParseGetOrganizationRoleResult added in v2.2.0

func ParseGetOrganizationRoleResult(rsp *http.Response) (*GetOrganizationRoleResult, error)

ParseGetOrganizationRoleResult parses an HTTP response from a GetOrganizationRoleWithResponse call

func (GetOrganizationRoleResult) ContentType added in v2.2.0

func (r GetOrganizationRoleResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrganizationRoleResult) GetApplicationproblemJSON401 added in v2.2.0

func (r GetOrganizationRoleResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetOrganizationRoleResult) GetApplicationproblemJSON403 added in v2.2.0

func (r GetOrganizationRoleResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetOrganizationRoleResult) GetApplicationproblemJSON404 added in v2.2.0

func (r GetOrganizationRoleResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetOrganizationRoleResult) GetApplicationproblemJSON429 added in v2.2.0

func (r GetOrganizationRoleResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetOrganizationRoleResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r GetOrganizationRoleResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrganizationRoleResult) GetBody added in v2.2.0

func (r GetOrganizationRoleResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationRoleResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationRoleResult) Status added in v2.2.0

func (r GetOrganizationRoleResult) Status() string

Status returns HTTPResponse.Status

func (GetOrganizationRoleResult) StatusCode added in v2.2.0

func (r GetOrganizationRoleResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationRoleResult200Headers added in v2.2.0

type GetOrganizationRoleResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleResult200Headers the declared response headers of an HTTP 200 response for GetOrganizationRole

type GetOrganizationRoleResult403Headers added in v2.2.0

type GetOrganizationRoleResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleResult403Headers the declared response headers of an HTTP 403 response for GetOrganizationRole

type GetOrganizationRoleResult404Headers added in v2.2.0

type GetOrganizationRoleResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleResult404Headers the declared response headers of an HTTP 404 response for GetOrganizationRole

type GetOrganizationRoleResult429Headers added in v2.2.0

type GetOrganizationRoleResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetOrganizationRoleResult429Headers the declared response headers of an HTTP 429 response for GetOrganizationRole

type GetOrganizationRoleResultDefaultHeaders added in v2.2.0

type GetOrganizationRoleResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationRoleResultDefaultHeaders the declared response headers of an HTTP default response for GetOrganizationRole

type GetOrganizationUserResult added in v2.2.0

type GetOrganizationUserResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationUser
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetOrganizationUserResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetOrganizationUserResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetOrganizationUserResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetOrganizationUserResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetOrganizationUserResultDefaultHeaders
}

func ParseGetOrganizationUserResult added in v2.2.0

func ParseGetOrganizationUserResult(rsp *http.Response) (*GetOrganizationUserResult, error)

ParseGetOrganizationUserResult parses an HTTP response from a GetOrganizationUserWithResponse call

func (GetOrganizationUserResult) ContentType added in v2.2.0

func (r GetOrganizationUserResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrganizationUserResult) GetApplicationproblemJSON401 added in v2.2.0

func (r GetOrganizationUserResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetOrganizationUserResult) GetApplicationproblemJSON403 added in v2.2.0

func (r GetOrganizationUserResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetOrganizationUserResult) GetApplicationproblemJSON404 added in v2.2.0

func (r GetOrganizationUserResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetOrganizationUserResult) GetApplicationproblemJSON429 added in v2.2.0

func (r GetOrganizationUserResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetOrganizationUserResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r GetOrganizationUserResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrganizationUserResult) GetBody added in v2.2.0

func (r GetOrganizationUserResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationUserResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationUserResult) Status added in v2.2.0

func (r GetOrganizationUserResult) Status() string

Status returns HTTPResponse.Status

func (GetOrganizationUserResult) StatusCode added in v2.2.0

func (r GetOrganizationUserResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationUserResult200Headers added in v2.2.0

type GetOrganizationUserResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationUserResult200Headers the declared response headers of an HTTP 200 response for GetOrganizationUser

type GetOrganizationUserResult403Headers added in v2.2.0

type GetOrganizationUserResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationUserResult403Headers the declared response headers of an HTTP 403 response for GetOrganizationUser

type GetOrganizationUserResult404Headers added in v2.2.0

type GetOrganizationUserResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationUserResult404Headers the declared response headers of an HTTP 404 response for GetOrganizationUser

type GetOrganizationUserResult429Headers added in v2.2.0

type GetOrganizationUserResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetOrganizationUserResult429Headers the declared response headers of an HTTP 429 response for GetOrganizationUser

type GetOrganizationUserResultDefaultHeaders added in v2.2.0

type GetOrganizationUserResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetOrganizationUserResultDefaultHeaders the declared response headers of an HTTP default response for GetOrganizationUser

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListOrganizationGroupMembersParams added in v2.2.0

type ListOrganizationGroupMembersParams struct {
	// Cursor Opaque resume cursor — pass the previous response's `pagination.nextCursor` through verbatim; omit for the first page. A cursor is only valid for the operation and parameters that issued it; a malformed or foreign cursor is rejected with 422.
	Cursor *externalRef0.PaginationCursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size, 1–100. Defaults to 100 when omitted.
	Limit *externalRef0.PaginationLimitOrganizationGroups `form:"limit,omitempty" json:"limit,omitempty"`
}

ListOrganizationGroupMembersParams defines parameters for ListOrganizationGroupMembers.

type ListOrganizationGroupMembersResult added in v2.2.0

type ListOrganizationGroupMembersResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListOrganizationGroupMembersResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListOrganizationGroupMembersResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListOrganizationGroupMembersResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListOrganizationGroupMembersResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *ListOrganizationGroupMembersResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListOrganizationGroupMembersResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListOrganizationGroupMembersResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListOrganizationGroupMembersResultDefaultHeaders
}

func ParseListOrganizationGroupMembersResult added in v2.2.0

func ParseListOrganizationGroupMembersResult(rsp *http.Response) (*ListOrganizationGroupMembersResult, error)

ParseListOrganizationGroupMembersResult parses an HTTP response from a ListOrganizationGroupMembersWithResponse call

func (ListOrganizationGroupMembersResult) ContentType added in v2.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSON401 added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSON403 added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSON404 added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSON413 added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSON422 added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSON429 added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r ListOrganizationGroupMembersResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrganizationGroupMembersResult) GetBody added in v2.2.0

GetBody returns the raw response body bytes

func (ListOrganizationGroupMembersResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationGroupMembersResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (ListOrganizationGroupMembersResult) StatusCode added in v2.2.0

func (r ListOrganizationGroupMembersResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationGroupMembersResult200Headers added in v2.2.0

type ListOrganizationGroupMembersResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupMembersResult200Headers the declared response headers of an HTTP 200 response for ListOrganizationGroupMembers

type ListOrganizationGroupMembersResult403Headers added in v2.2.0

type ListOrganizationGroupMembersResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupMembersResult403Headers the declared response headers of an HTTP 403 response for ListOrganizationGroupMembers

type ListOrganizationGroupMembersResult404Headers added in v2.2.0

type ListOrganizationGroupMembersResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupMembersResult404Headers the declared response headers of an HTTP 404 response for ListOrganizationGroupMembers

type ListOrganizationGroupMembersResult413Headers added in v2.2.0

type ListOrganizationGroupMembersResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupMembersResult413Headers the declared response headers of an HTTP 413 response for ListOrganizationGroupMembers

type ListOrganizationGroupMembersResult422Headers added in v2.2.0

type ListOrganizationGroupMembersResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupMembersResult422Headers the declared response headers of an HTTP 422 response for ListOrganizationGroupMembers

type ListOrganizationGroupMembersResult429Headers added in v2.2.0

type ListOrganizationGroupMembersResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListOrganizationGroupMembersResult429Headers the declared response headers of an HTTP 429 response for ListOrganizationGroupMembers

type ListOrganizationGroupMembersResultDefaultHeaders added in v2.2.0

type ListOrganizationGroupMembersResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupMembersResultDefaultHeaders the declared response headers of an HTTP default response for ListOrganizationGroupMembers

type ListOrganizationGroupsParams added in v2.2.0

type ListOrganizationGroupsParams struct {
	// Name Optional case-insensitive substring of the group name. An empty value applies no filter.
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Cursor Opaque resume cursor — pass the previous response's `pagination.nextCursor` through verbatim; omit for the first page. A cursor is only valid for the operation and parameters that issued it; a malformed or foreign cursor is rejected with 422.
	Cursor *externalRef0.PaginationCursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size, 1–100. Defaults to 100 when omitted.
	Limit *externalRef0.PaginationLimitOrganizationGroups `form:"limit,omitempty" json:"limit,omitempty"`
}

ListOrganizationGroupsParams defines parameters for ListOrganizationGroups.

type ListOrganizationGroupsResult added in v2.2.0

type ListOrganizationGroupsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListOrganizationGroupsResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListOrganizationGroupsResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListOrganizationGroupsResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListOrganizationGroupsResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *ListOrganizationGroupsResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListOrganizationGroupsResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListOrganizationGroupsResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListOrganizationGroupsResultDefaultHeaders
}

func ParseListOrganizationGroupsResult added in v2.2.0

func ParseListOrganizationGroupsResult(rsp *http.Response) (*ListOrganizationGroupsResult, error)

ParseListOrganizationGroupsResult parses an HTTP response from a ListOrganizationGroupsWithResponse call

func (ListOrganizationGroupsResult) ContentType added in v2.2.0

func (r ListOrganizationGroupsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrganizationGroupsResult) GetApplicationproblemJSON401 added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListOrganizationGroupsResult) GetApplicationproblemJSON403 added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListOrganizationGroupsResult) GetApplicationproblemJSON404 added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListOrganizationGroupsResult) GetApplicationproblemJSON413 added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (ListOrganizationGroupsResult) GetApplicationproblemJSON422 added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListOrganizationGroupsResult) GetApplicationproblemJSON429 added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListOrganizationGroupsResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r ListOrganizationGroupsResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrganizationGroupsResult) GetBody added in v2.2.0

func (r ListOrganizationGroupsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrganizationGroupsResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationGroupsResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (ListOrganizationGroupsResult) StatusCode added in v2.2.0

func (r ListOrganizationGroupsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationGroupsResult200Headers added in v2.2.0

type ListOrganizationGroupsResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupsResult200Headers the declared response headers of an HTTP 200 response for ListOrganizationGroups

type ListOrganizationGroupsResult403Headers added in v2.2.0

type ListOrganizationGroupsResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupsResult403Headers the declared response headers of an HTTP 403 response for ListOrganizationGroups

type ListOrganizationGroupsResult404Headers added in v2.2.0

type ListOrganizationGroupsResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupsResult404Headers the declared response headers of an HTTP 404 response for ListOrganizationGroups

type ListOrganizationGroupsResult413Headers added in v2.2.0

type ListOrganizationGroupsResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupsResult413Headers the declared response headers of an HTTP 413 response for ListOrganizationGroups

type ListOrganizationGroupsResult422Headers added in v2.2.0

type ListOrganizationGroupsResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupsResult422Headers the declared response headers of an HTTP 422 response for ListOrganizationGroups

type ListOrganizationGroupsResult429Headers added in v2.2.0

type ListOrganizationGroupsResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListOrganizationGroupsResult429Headers the declared response headers of an HTTP 429 response for ListOrganizationGroups

type ListOrganizationGroupsResultDefaultHeaders added in v2.2.0

type ListOrganizationGroupsResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationGroupsResultDefaultHeaders the declared response headers of an HTTP default response for ListOrganizationGroups

type ListOrganizationInvitesResult added in v2.2.0

type ListOrganizationInvitesResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListOrganizationInvitesResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListOrganizationInvitesResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListOrganizationInvitesResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListOrganizationInvitesResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListOrganizationInvitesResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListOrganizationInvitesResultDefaultHeaders
}

func ParseListOrganizationInvitesResult added in v2.2.0

func ParseListOrganizationInvitesResult(rsp *http.Response) (*ListOrganizationInvitesResult, error)

ParseListOrganizationInvitesResult parses an HTTP response from a ListOrganizationInvitesWithResponse call

func (ListOrganizationInvitesResult) ContentType added in v2.2.0

func (r ListOrganizationInvitesResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrganizationInvitesResult) GetApplicationproblemJSON401 added in v2.2.0

func (r ListOrganizationInvitesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListOrganizationInvitesResult) GetApplicationproblemJSON403 added in v2.2.0

func (r ListOrganizationInvitesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListOrganizationInvitesResult) GetApplicationproblemJSON404 added in v2.2.0

func (r ListOrganizationInvitesResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListOrganizationInvitesResult) GetApplicationproblemJSON429 added in v2.2.0

func (r ListOrganizationInvitesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListOrganizationInvitesResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r ListOrganizationInvitesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrganizationInvitesResult) GetBody added in v2.2.0

func (r ListOrganizationInvitesResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrganizationInvitesResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationInvitesResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (ListOrganizationInvitesResult) StatusCode added in v2.2.0

func (r ListOrganizationInvitesResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationInvitesResult200Headers added in v2.2.0

type ListOrganizationInvitesResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationInvitesResult200Headers the declared response headers of an HTTP 200 response for ListOrganizationInvites

type ListOrganizationInvitesResult403Headers added in v2.2.0

type ListOrganizationInvitesResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationInvitesResult403Headers the declared response headers of an HTTP 403 response for ListOrganizationInvites

type ListOrganizationInvitesResult404Headers added in v2.2.0

type ListOrganizationInvitesResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationInvitesResult404Headers the declared response headers of an HTTP 404 response for ListOrganizationInvites

type ListOrganizationInvitesResult429Headers added in v2.2.0

type ListOrganizationInvitesResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListOrganizationInvitesResult429Headers the declared response headers of an HTTP 429 response for ListOrganizationInvites

type ListOrganizationInvitesResultDefaultHeaders added in v2.2.0

type ListOrganizationInvitesResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationInvitesResultDefaultHeaders the declared response headers of an HTTP default response for ListOrganizationInvites

type ListOrganizationRolesResult added in v2.2.0

type ListOrganizationRolesResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListOrganizationRolesResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListOrganizationRolesResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListOrganizationRolesResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListOrganizationRolesResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListOrganizationRolesResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListOrganizationRolesResultDefaultHeaders
}

func ParseListOrganizationRolesResult added in v2.2.0

func ParseListOrganizationRolesResult(rsp *http.Response) (*ListOrganizationRolesResult, error)

ParseListOrganizationRolesResult parses an HTTP response from a ListOrganizationRolesWithResponse call

func (ListOrganizationRolesResult) ContentType added in v2.2.0

func (r ListOrganizationRolesResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrganizationRolesResult) GetApplicationproblemJSON401 added in v2.2.0

func (r ListOrganizationRolesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListOrganizationRolesResult) GetApplicationproblemJSON403 added in v2.2.0

func (r ListOrganizationRolesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListOrganizationRolesResult) GetApplicationproblemJSON404 added in v2.2.0

func (r ListOrganizationRolesResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListOrganizationRolesResult) GetApplicationproblemJSON429 added in v2.2.0

func (r ListOrganizationRolesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListOrganizationRolesResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r ListOrganizationRolesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrganizationRolesResult) GetBody added in v2.2.0

func (r ListOrganizationRolesResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrganizationRolesResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationRolesResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (ListOrganizationRolesResult) StatusCode added in v2.2.0

func (r ListOrganizationRolesResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationRolesResult200Headers added in v2.2.0

type ListOrganizationRolesResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationRolesResult200Headers the declared response headers of an HTTP 200 response for ListOrganizationRoles

type ListOrganizationRolesResult403Headers added in v2.2.0

type ListOrganizationRolesResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationRolesResult403Headers the declared response headers of an HTTP 403 response for ListOrganizationRoles

type ListOrganizationRolesResult404Headers added in v2.2.0

type ListOrganizationRolesResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationRolesResult404Headers the declared response headers of an HTTP 404 response for ListOrganizationRoles

type ListOrganizationRolesResult429Headers added in v2.2.0

type ListOrganizationRolesResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListOrganizationRolesResult429Headers the declared response headers of an HTTP 429 response for ListOrganizationRoles

type ListOrganizationRolesResultDefaultHeaders added in v2.2.0

type ListOrganizationRolesResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationRolesResultDefaultHeaders the declared response headers of an HTTP default response for ListOrganizationRoles

type ListOrganizationUsersResult added in v2.2.0

type ListOrganizationUsersResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListOrganizationUsersResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListOrganizationUsersResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListOrganizationUsersResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListOrganizationUsersResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListOrganizationUsersResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListOrganizationUsersResultDefaultHeaders
}

func ParseListOrganizationUsersResult added in v2.2.0

func ParseListOrganizationUsersResult(rsp *http.Response) (*ListOrganizationUsersResult, error)

ParseListOrganizationUsersResult parses an HTTP response from a ListOrganizationUsersWithResponse call

func (ListOrganizationUsersResult) ContentType added in v2.2.0

func (r ListOrganizationUsersResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOrganizationUsersResult) GetApplicationproblemJSON401 added in v2.2.0

func (r ListOrganizationUsersResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListOrganizationUsersResult) GetApplicationproblemJSON403 added in v2.2.0

func (r ListOrganizationUsersResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListOrganizationUsersResult) GetApplicationproblemJSON404 added in v2.2.0

func (r ListOrganizationUsersResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListOrganizationUsersResult) GetApplicationproblemJSON429 added in v2.2.0

func (r ListOrganizationUsersResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListOrganizationUsersResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r ListOrganizationUsersResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListOrganizationUsersResult) GetBody added in v2.2.0

func (r ListOrganizationUsersResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrganizationUsersResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationUsersResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (ListOrganizationUsersResult) StatusCode added in v2.2.0

func (r ListOrganizationUsersResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationUsersResult200Headers added in v2.2.0

type ListOrganizationUsersResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationUsersResult200Headers the declared response headers of an HTTP 200 response for ListOrganizationUsers

type ListOrganizationUsersResult403Headers added in v2.2.0

type ListOrganizationUsersResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationUsersResult403Headers the declared response headers of an HTTP 403 response for ListOrganizationUsers

type ListOrganizationUsersResult404Headers added in v2.2.0

type ListOrganizationUsersResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationUsersResult404Headers the declared response headers of an HTTP 404 response for ListOrganizationUsers

type ListOrganizationUsersResult429Headers added in v2.2.0

type ListOrganizationUsersResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListOrganizationUsersResult429Headers the declared response headers of an HTTP 429 response for ListOrganizationUsers

type ListOrganizationUsersResultDefaultHeaders added in v2.2.0

type ListOrganizationUsersResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListOrganizationUsersResultDefaultHeaders the declared response headers of an HTTP default response for ListOrganizationUsers

type RemoveOrganizationGroupMemberResult added in v2.2.0

type RemoveOrganizationGroupMemberResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *RemoveOrganizationGroupMemberResult204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *RemoveOrganizationGroupMemberResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *RemoveOrganizationGroupMemberResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *RemoveOrganizationGroupMemberResult404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *RemoveOrganizationGroupMemberResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *RemoveOrganizationGroupMemberResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *RemoveOrganizationGroupMemberResultDefaultHeaders
}

func ParseRemoveOrganizationGroupMemberResult added in v2.2.0

func ParseRemoveOrganizationGroupMemberResult(rsp *http.Response) (*RemoveOrganizationGroupMemberResult, error)

ParseRemoveOrganizationGroupMemberResult parses an HTTP response from a RemoveOrganizationGroupMemberWithResponse call

func (RemoveOrganizationGroupMemberResult) ContentType added in v2.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON400 added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON401 added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON403 added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON404 added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON422 added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON429 added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r RemoveOrganizationGroupMemberResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveOrganizationGroupMemberResult) GetBody added in v2.2.0

GetBody returns the raw response body bytes

func (RemoveOrganizationGroupMemberResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (RemoveOrganizationGroupMemberResult) StatusCode added in v2.2.0

StatusCode returns HTTPResponse.StatusCode

type RemoveOrganizationGroupMemberResult204Headers added in v2.2.0

type RemoveOrganizationGroupMemberResult204Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

RemoveOrganizationGroupMemberResult204Headers the declared response headers of an HTTP 204 response for RemoveOrganizationGroupMember

type RemoveOrganizationGroupMemberResult400Headers added in v2.2.0

type RemoveOrganizationGroupMemberResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

RemoveOrganizationGroupMemberResult400Headers the declared response headers of an HTTP 400 response for RemoveOrganizationGroupMember

type RemoveOrganizationGroupMemberResult403Headers added in v2.2.0

type RemoveOrganizationGroupMemberResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

RemoveOrganizationGroupMemberResult403Headers the declared response headers of an HTTP 403 response for RemoveOrganizationGroupMember

type RemoveOrganizationGroupMemberResult404Headers added in v2.2.0

type RemoveOrganizationGroupMemberResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

RemoveOrganizationGroupMemberResult404Headers the declared response headers of an HTTP 404 response for RemoveOrganizationGroupMember

type RemoveOrganizationGroupMemberResult422Headers added in v2.2.0

type RemoveOrganizationGroupMemberResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

RemoveOrganizationGroupMemberResult422Headers the declared response headers of an HTTP 422 response for RemoveOrganizationGroupMember

type RemoveOrganizationGroupMemberResult429Headers added in v2.2.0

type RemoveOrganizationGroupMemberResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

RemoveOrganizationGroupMemberResult429Headers the declared response headers of an HTTP 429 response for RemoveOrganizationGroupMember

type RemoveOrganizationGroupMemberResultDefaultHeaders added in v2.2.0

type RemoveOrganizationGroupMemberResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

RemoveOrganizationGroupMemberResultDefaultHeaders the declared response headers of an HTTP default response for RemoveOrganizationGroupMember

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type UpdateOrganizationGroupJSONRequestBody added in v2.2.0

type UpdateOrganizationGroupJSONRequestBody = externalRef0.UpdateOrganizationGroupRequest

UpdateOrganizationGroupJSONRequestBody defines body for UpdateOrganizationGroup for application/json ContentType.

type UpdateOrganizationGroupResult added in v2.2.0

type UpdateOrganizationGroupResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationGroup
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateOrganizationGroupResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateOrganizationGroupResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateOrganizationGroupResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateOrganizationGroupResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *UpdateOrganizationGroupResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateOrganizationGroupResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateOrganizationGroupResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *UpdateOrganizationGroupResultDefaultHeaders
}

func ParseUpdateOrganizationGroupResult added in v2.2.0

func ParseUpdateOrganizationGroupResult(rsp *http.Response) (*UpdateOrganizationGroupResult, error)

ParseUpdateOrganizationGroupResult parses an HTTP response from a UpdateOrganizationGroupWithResponse call

func (UpdateOrganizationGroupResult) ContentType added in v2.2.0

func (r UpdateOrganizationGroupResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON400 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON401 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON403 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON404 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON409 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON413 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON422 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSON429 added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateOrganizationGroupResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r UpdateOrganizationGroupResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrganizationGroupResult) GetBody added in v2.2.0

func (r UpdateOrganizationGroupResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrganizationGroupResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrganizationGroupResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (UpdateOrganizationGroupResult) StatusCode added in v2.2.0

func (r UpdateOrganizationGroupResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationGroupResult200Headers added in v2.2.0

type UpdateOrganizationGroupResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResult200Headers the declared response headers of an HTTP 200 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResult400Headers added in v2.2.0

type UpdateOrganizationGroupResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResult400Headers the declared response headers of an HTTP 400 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResult403Headers added in v2.2.0

type UpdateOrganizationGroupResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResult403Headers the declared response headers of an HTTP 403 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResult404Headers added in v2.2.0

type UpdateOrganizationGroupResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResult404Headers the declared response headers of an HTTP 404 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResult413Headers added in v2.2.0

type UpdateOrganizationGroupResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResult413Headers the declared response headers of an HTTP 413 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResult422Headers added in v2.2.0

type UpdateOrganizationGroupResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResult422Headers the declared response headers of an HTTP 422 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResult429Headers added in v2.2.0

type UpdateOrganizationGroupResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

UpdateOrganizationGroupResult429Headers the declared response headers of an HTTP 429 response for UpdateOrganizationGroup

type UpdateOrganizationGroupResultDefaultHeaders added in v2.2.0

type UpdateOrganizationGroupResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationGroupResultDefaultHeaders the declared response headers of an HTTP default response for UpdateOrganizationGroup

type UpdateOrganizationRoleJSONRequestBody added in v2.2.0

type UpdateOrganizationRoleJSONRequestBody = externalRef0.UpdateOrganizationRoleRequest

UpdateOrganizationRoleJSONRequestBody defines body for UpdateOrganizationRole for application/json ContentType.

type UpdateOrganizationRoleResult added in v2.2.0

type UpdateOrganizationRoleResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationRole
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateOrganizationRoleResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateOrganizationRoleResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateOrganizationRoleResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateOrganizationRoleResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *UpdateOrganizationRoleResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateOrganizationRoleResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateOrganizationRoleResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *UpdateOrganizationRoleResultDefaultHeaders
}

func ParseUpdateOrganizationRoleResult added in v2.2.0

func ParseUpdateOrganizationRoleResult(rsp *http.Response) (*UpdateOrganizationRoleResult, error)

ParseUpdateOrganizationRoleResult parses an HTTP response from a UpdateOrganizationRoleWithResponse call

func (UpdateOrganizationRoleResult) ContentType added in v2.2.0

func (r UpdateOrganizationRoleResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON400 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON401 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON403 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON404 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON409 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON413 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON422 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSON429 added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateOrganizationRoleResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r UpdateOrganizationRoleResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrganizationRoleResult) GetBody added in v2.2.0

func (r UpdateOrganizationRoleResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrganizationRoleResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrganizationRoleResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (UpdateOrganizationRoleResult) StatusCode added in v2.2.0

func (r UpdateOrganizationRoleResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationRoleResult200Headers added in v2.2.0

type UpdateOrganizationRoleResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResult200Headers the declared response headers of an HTTP 200 response for UpdateOrganizationRole

type UpdateOrganizationRoleResult400Headers added in v2.2.0

type UpdateOrganizationRoleResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResult400Headers the declared response headers of an HTTP 400 response for UpdateOrganizationRole

type UpdateOrganizationRoleResult403Headers added in v2.2.0

type UpdateOrganizationRoleResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResult403Headers the declared response headers of an HTTP 403 response for UpdateOrganizationRole

type UpdateOrganizationRoleResult404Headers added in v2.2.0

type UpdateOrganizationRoleResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResult404Headers the declared response headers of an HTTP 404 response for UpdateOrganizationRole

type UpdateOrganizationRoleResult413Headers added in v2.2.0

type UpdateOrganizationRoleResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResult413Headers the declared response headers of an HTTP 413 response for UpdateOrganizationRole

type UpdateOrganizationRoleResult422Headers added in v2.2.0

type UpdateOrganizationRoleResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResult422Headers the declared response headers of an HTTP 422 response for UpdateOrganizationRole

type UpdateOrganizationRoleResult429Headers added in v2.2.0

type UpdateOrganizationRoleResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

UpdateOrganizationRoleResult429Headers the declared response headers of an HTTP 429 response for UpdateOrganizationRole

type UpdateOrganizationRoleResultDefaultHeaders added in v2.2.0

type UpdateOrganizationRoleResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationRoleResultDefaultHeaders the declared response headers of an HTTP default response for UpdateOrganizationRole

type UpdateOrganizationUserJSONRequestBody added in v2.2.0

type UpdateOrganizationUserJSONRequestBody = externalRef0.UpdateOrganizationUserRequest

UpdateOrganizationUserJSONRequestBody defines body for UpdateOrganizationUser for application/json ContentType.

type UpdateOrganizationUserResult added in v2.2.0

type UpdateOrganizationUserResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.OrganizationUser
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateOrganizationUserResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateOrganizationUserResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateOrganizationUserResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateOrganizationUserResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *UpdateOrganizationUserResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateOrganizationUserResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateOrganizationUserResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *UpdateOrganizationUserResultDefaultHeaders
}

func ParseUpdateOrganizationUserResult added in v2.2.0

func ParseUpdateOrganizationUserResult(rsp *http.Response) (*UpdateOrganizationUserResult, error)

ParseUpdateOrganizationUserResult parses an HTTP response from a UpdateOrganizationUserWithResponse call

func (UpdateOrganizationUserResult) ContentType added in v2.2.0

func (r UpdateOrganizationUserResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrganizationUserResult) GetApplicationproblemJSON400 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON401 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON403 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON404 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON409 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON413 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON422 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSON429 added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateOrganizationUserResult) GetApplicationproblemJSONDefault added in v2.2.0

func (r UpdateOrganizationUserResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrganizationUserResult) GetBody added in v2.2.0

func (r UpdateOrganizationUserResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrganizationUserResult) GetJSON200 added in v2.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrganizationUserResult) Status added in v2.2.0

Status returns HTTPResponse.Status

func (UpdateOrganizationUserResult) StatusCode added in v2.2.0

func (r UpdateOrganizationUserResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationUserResult200Headers added in v2.2.0

type UpdateOrganizationUserResult200Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResult200Headers the declared response headers of an HTTP 200 response for UpdateOrganizationUser

type UpdateOrganizationUserResult400Headers added in v2.2.0

type UpdateOrganizationUserResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResult400Headers the declared response headers of an HTTP 400 response for UpdateOrganizationUser

type UpdateOrganizationUserResult403Headers added in v2.2.0

type UpdateOrganizationUserResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResult403Headers the declared response headers of an HTTP 403 response for UpdateOrganizationUser

type UpdateOrganizationUserResult404Headers added in v2.2.0

type UpdateOrganizationUserResult404Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResult404Headers the declared response headers of an HTTP 404 response for UpdateOrganizationUser

type UpdateOrganizationUserResult413Headers added in v2.2.0

type UpdateOrganizationUserResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResult413Headers the declared response headers of an HTTP 413 response for UpdateOrganizationUser

type UpdateOrganizationUserResult422Headers added in v2.2.0

type UpdateOrganizationUserResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResult422Headers the declared response headers of an HTTP 422 response for UpdateOrganizationUser

type UpdateOrganizationUserResult429Headers added in v2.2.0

type UpdateOrganizationUserResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

UpdateOrganizationUserResult429Headers the declared response headers of an HTTP 429 response for UpdateOrganizationUser

type UpdateOrganizationUserResultDefaultHeaders added in v2.2.0

type UpdateOrganizationUserResultDefaultHeaders struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateOrganizationUserResultDefaultHeaders the declared response headers of an HTTP default response for UpdateOrganizationUser

Jump to

Keyboard shortcuts

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