Documentation
¶
Overview ¶
Package apiclient provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- Constants
- func NewActivateOrganizationCertificatesRequest(server string, body ActivateOrganizationCertificatesJSONRequestBody) (*http.Request, error)
- func NewActivateOrganizationCertificatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewActivateProjectCertificatesRequest(server string, projectId string, ...) (*http.Request, error)
- func NewActivateProjectCertificatesRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddGroupUserRequest(server string, groupId string, body AddGroupUserJSONRequestBody) (*http.Request, error)
- func NewAddGroupUserRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddProjectGroupRequest(server string, projectId string, body AddProjectGroupJSONRequestBody) (*http.Request, error)
- func NewAddProjectGroupRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAdminApiKeysCreateRequest(server string, body AdminApiKeysCreateJSONRequestBody) (*http.Request, error)
- func NewAdminApiKeysCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAdminApiKeysDeleteRequest(server string, keyId string) (*http.Request, error)
- func NewAdminApiKeysGetRequest(server string, keyId string) (*http.Request, error)
- func NewAdminApiKeysListRequest(server string, params *AdminApiKeysListParams) (*http.Request, error)
- func NewArchiveProjectRequest(server string, projectId string) (*http.Request, error)
- func NewAssignGroupRoleRequest(server string, groupId string, body AssignGroupRoleJSONRequestBody) (*http.Request, error)
- func NewAssignGroupRoleRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAssignProjectGroupRoleRequest(server string, projectId string, groupId string, ...) (*http.Request, error)
- func NewAssignProjectGroupRoleRequestWithBody(server string, projectId string, groupId string, contentType string, ...) (*http.Request, error)
- func NewAssignProjectUserRoleRequest(server string, projectId string, userId string, ...) (*http.Request, error)
- func NewAssignProjectUserRoleRequestWithBody(server string, projectId string, userId string, contentType string, ...) (*http.Request, error)
- func NewAssignUserRoleRequest(server string, userId string, body AssignUserRoleJSONRequestBody) (*http.Request, error)
- func NewAssignUserRoleRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
- func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRoleRequest(server string, projectId string, body CreateProjectRoleJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRoleRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectServiceAccountRequest(server string, projectId string, ...) (*http.Request, error)
- func NewCreateProjectServiceAccountRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectUserRequest(server string, projectId string, body CreateProjectUserJSONRequestBody) (*http.Request, error)
- func NewCreateProjectUserRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRoleRequest(server string, body CreateRoleJSONRequestBody) (*http.Request, error)
- func NewCreateRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeactivateOrganizationCertificatesRequest(server string, body DeactivateOrganizationCertificatesJSONRequestBody) (*http.Request, error)
- func NewDeactivateOrganizationCertificatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeactivateProjectCertificatesRequest(server string, projectId string, ...) (*http.Request, error)
- func NewDeactivateProjectCertificatesRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCertificateRequest(server string, certificateId string) (*http.Request, error)
- func NewDeleteGroupRequest(server string, groupId string) (*http.Request, error)
- func NewDeleteInviteRequest(server string, inviteId string) (*http.Request, error)
- func NewDeleteProjectApiKeyRequest(server string, projectId string, keyId string) (*http.Request, error)
- func NewDeleteProjectRoleRequest(server string, projectId string, roleId string) (*http.Request, error)
- func NewDeleteProjectServiceAccountRequest(server string, projectId string, serviceAccountId string) (*http.Request, error)
- func NewDeleteProjectUserRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewDeleteRoleRequest(server string, roleId string) (*http.Request, error)
- func NewDeleteUserRequest(server string, userId string) (*http.Request, error)
- func NewGetCertificateRequest(server string, certificateId string, params *GetCertificateParams) (*http.Request, error)
- func NewInviteUserRequest(server string, body InviteUserJSONRequestBody) (*http.Request, error)
- func NewInviteUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewListGroupRoleAssignmentsRequest(server string, groupId string, params *ListGroupRoleAssignmentsParams) (*http.Request, error)
- func NewListGroupUsersRequest(server string, groupId string, params *ListGroupUsersParams) (*http.Request, error)
- func NewListGroupsRequest(server string, params *ListGroupsParams) (*http.Request, error)
- func NewListInvitesRequest(server string, params *ListInvitesParams) (*http.Request, error)
- func NewListOrganizationCertificatesRequest(server string, params *ListOrganizationCertificatesParams) (*http.Request, error)
- func NewListProjectApiKeysRequest(server string, projectId string, params *ListProjectApiKeysParams) (*http.Request, error)
- func NewListProjectCertificatesRequest(server string, projectId string, params *ListProjectCertificatesParams) (*http.Request, error)
- func NewListProjectGroupRoleAssignmentsRequest(server string, projectId string, groupId string, ...) (*http.Request, error)
- func NewListProjectGroupsRequest(server string, projectId string, params *ListProjectGroupsParams) (*http.Request, error)
- func NewListProjectRateLimitsRequest(server string, projectId string, params *ListProjectRateLimitsParams) (*http.Request, error)
- func NewListProjectRolesRequest(server string, projectId string, params *ListProjectRolesParams) (*http.Request, error)
- func NewListProjectServiceAccountsRequest(server string, projectId string, params *ListProjectServiceAccountsParams) (*http.Request, error)
- func NewListProjectUserRoleAssignmentsRequest(server string, projectId string, userId string, ...) (*http.Request, error)
- func NewListProjectUsersRequest(server string, projectId string, params *ListProjectUsersParams) (*http.Request, error)
- func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
- func NewListRolesRequest(server string, params *ListRolesParams) (*http.Request, error)
- func NewListUserRoleAssignmentsRequest(server string, userId string, params *ListUserRoleAssignmentsParams) (*http.Request, error)
- func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
- func NewModifyCertificateRequest(server string, certificateId string, body ModifyCertificateJSONRequestBody) (*http.Request, error)
- func NewModifyCertificateRequestWithBody(server string, certificateId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyProjectRequest(server string, projectId string, body ModifyProjectJSONRequestBody) (*http.Request, error)
- func NewModifyProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewModifyProjectUserRequest(server string, projectId string, userId string, ...) (*http.Request, error)
- func NewModifyProjectUserRequestWithBody(server string, projectId string, userId string, contentType string, ...) (*http.Request, error)
- func NewModifyUserRequest(server string, userId string, body ModifyUserJSONRequestBody) (*http.Request, error)
- func NewModifyUserRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveGroupUserRequest(server string, groupId string, userId string) (*http.Request, error)
- func NewRemoveProjectGroupRequest(server string, projectId string, groupId string) (*http.Request, error)
- func NewRetrieveInviteRequest(server string, inviteId string) (*http.Request, error)
- func NewRetrieveProjectApiKeyRequest(server string, projectId string, keyId string) (*http.Request, error)
- func NewRetrieveProjectRequest(server string, projectId string) (*http.Request, error)
- func NewRetrieveProjectServiceAccountRequest(server string, projectId string, serviceAccountId string) (*http.Request, error)
- func NewRetrieveProjectUserRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewRetrieveUserRequest(server string, userId string) (*http.Request, error)
- func NewRetryTransport(transport http.RoundTripper) http.RoundTripper
- func NewUnassignGroupRoleRequest(server string, groupId string, roleId string) (*http.Request, error)
- func NewUnassignProjectGroupRoleRequest(server string, projectId string, groupId string, roleId string) (*http.Request, error)
- func NewUnassignProjectUserRoleRequest(server string, projectId string, userId string, roleId string) (*http.Request, error)
- func NewUnassignUserRoleRequest(server string, userId string, roleId string) (*http.Request, error)
- func NewUpdateGroupRequest(server string, groupId string, body UpdateGroupJSONRequestBody) (*http.Request, error)
- func NewUpdateGroupRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProjectRateLimitsRequest(server string, projectId string, rateLimitId string, ...) (*http.Request, error)
- func NewUpdateProjectRateLimitsRequestWithBody(server string, projectId string, rateLimitId string, contentType string, ...) (*http.Request, error)
- func NewUpdateProjectRoleRequest(server string, projectId string, roleId string, ...) (*http.Request, error)
- func NewUpdateProjectRoleRequestWithBody(server string, projectId string, roleId string, contentType string, ...) (*http.Request, error)
- func NewUpdateRoleRequest(server string, roleId string, body UpdateRoleJSONRequestBody) (*http.Request, error)
- func NewUpdateRoleRequestWithBody(server string, roleId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadCertificateRequest(server string, body UploadCertificateJSONRequestBody) (*http.Request, error)
- func NewUploadCertificateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type ActivateOrganizationCertificatesJSONRequestBody
- type ActivateOrganizationCertificatesResp
- type ActivateProjectCertificatesJSONRequestBody
- type ActivateProjectCertificatesResp
- type AddGroupUserJSONRequestBody
- type AddGroupUserResp
- type AddProjectGroupJSONRequestBody
- type AddProjectGroupResp
- type AdminApiKey
- type AdminApiKeysCreateJSONBody
- type AdminApiKeysCreateJSONRequestBody
- type AdminApiKeysCreateResp
- type AdminApiKeysDeleteResp
- type AdminApiKeysGetResp
- type AdminApiKeysListParams
- type AdminApiKeysListParamsOrder
- type AdminApiKeysListResp
- type ApiKeyList
- type ArchiveProjectResp
- type AssignGroupRoleJSONRequestBody
- type AssignGroupRoleResp
- type AssignProjectGroupRoleJSONRequestBody
- type AssignProjectGroupRoleResp
- type AssignProjectUserRoleJSONRequestBody
- type AssignProjectUserRoleResp
- type AssignUserRoleJSONRequestBody
- type AssignUserRoleResp
- type AssignedRoleDetails
- type Certificate
- type CertificateObject
- type Client
- func (c *Client) ActivateOrganizationCertificates(ctx context.Context, body ActivateOrganizationCertificatesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ActivateOrganizationCertificatesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ActivateProjectCertificates(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ActivateProjectCertificatesWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddGroupUser(ctx context.Context, groupId string, body AddGroupUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddGroupUserWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddProjectGroup(ctx context.Context, projectId string, body AddProjectGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddProjectGroupWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AdminApiKeysCreate(ctx context.Context, body AdminApiKeysCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AdminApiKeysCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AdminApiKeysDelete(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AdminApiKeysGet(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AdminApiKeysList(ctx context.Context, params *AdminApiKeysListParams, ...) (*http.Response, error)
- func (c *Client) ArchiveProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AssignGroupRole(ctx context.Context, groupId string, body AssignGroupRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AssignGroupRoleWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AssignProjectGroupRole(ctx context.Context, projectId string, groupId string, ...) (*http.Response, error)
- func (c *Client) AssignProjectGroupRoleWithBody(ctx context.Context, projectId string, groupId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AssignProjectUserRole(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) AssignProjectUserRoleWithBody(ctx context.Context, projectId string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AssignUserRole(ctx context.Context, userId string, body AssignUserRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AssignUserRoleWithBody(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectRole(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectRoleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProjectServiceAccount(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) CreateProjectServiceAccountWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProjectUser(ctx context.Context, projectId string, body CreateProjectUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectUserWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRole(ctx context.Context, body CreateRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRoleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeactivateOrganizationCertificates(ctx context.Context, body DeactivateOrganizationCertificatesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeactivateOrganizationCertificatesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeactivateProjectCertificates(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) DeactivateProjectCertificatesWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteCertificate(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteGroup(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInvite(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProjectApiKey(ctx context.Context, projectId string, keyId string, ...) (*http.Response, error)
- func (c *Client) DeleteProjectRole(ctx context.Context, projectId string, roleId string, ...) (*http.Response, error)
- func (c *Client) DeleteProjectServiceAccount(ctx context.Context, projectId string, serviceAccountId string, ...) (*http.Response, error)
- func (c *Client) DeleteProjectUser(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) DeleteRole(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCertificate(ctx context.Context, certificateId string, params *GetCertificateParams, ...) (*http.Response, error)
- func (c *Client) InviteUser(ctx context.Context, body InviteUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InviteUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ListGroupRoleAssignments(ctx context.Context, groupId string, params *ListGroupRoleAssignmentsParams, ...) (*http.Response, error)
- func (c *Client) ListGroupUsers(ctx context.Context, groupId string, params *ListGroupUsersParams, ...) (*http.Response, error)
- func (c *Client) ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInvites(ctx context.Context, params *ListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListOrganizationCertificates(ctx context.Context, params *ListOrganizationCertificatesParams, ...) (*http.Response, error)
- func (c *Client) ListProjectApiKeys(ctx context.Context, projectId string, params *ListProjectApiKeysParams, ...) (*http.Response, error)
- func (c *Client) ListProjectCertificates(ctx context.Context, projectId string, params *ListProjectCertificatesParams, ...) (*http.Response, error)
- func (c *Client) ListProjectGroupRoleAssignments(ctx context.Context, projectId string, groupId string, ...) (*http.Response, error)
- func (c *Client) ListProjectGroups(ctx context.Context, projectId string, params *ListProjectGroupsParams, ...) (*http.Response, error)
- func (c *Client) ListProjectRateLimits(ctx context.Context, projectId string, params *ListProjectRateLimitsParams, ...) (*http.Response, error)
- func (c *Client) ListProjectRoles(ctx context.Context, projectId string, params *ListProjectRolesParams, ...) (*http.Response, error)
- func (c *Client) ListProjectServiceAccounts(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ListProjectUserRoleAssignments(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ListProjectUsers(ctx context.Context, projectId string, params *ListProjectUsersParams, ...) (*http.Response, error)
- func (c *Client) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUserRoleAssignments(ctx context.Context, userId string, params *ListUserRoleAssignmentsParams, ...) (*http.Response, error)
- func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ModifyCertificate(ctx context.Context, certificateId string, ...) (*http.Response, error)
- func (c *Client) ModifyCertificateWithBody(ctx context.Context, certificateId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyProject(ctx context.Context, projectId string, body ModifyProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ModifyProjectUser(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyProjectUserWithBody(ctx context.Context, projectId string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifyProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModifyUser(ctx context.Context, userId string, body ModifyUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ModifyUserWithBody(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveGroupUser(ctx context.Context, groupId string, userId string, ...) (*http.Response, error)
- func (c *Client) RemoveProjectGroup(ctx context.Context, projectId string, groupId string, ...) (*http.Response, error)
- func (c *Client) RetrieveInvite(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetrieveProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetrieveProjectApiKey(ctx context.Context, projectId string, keyId string, ...) (*http.Response, error)
- func (c *Client) RetrieveProjectServiceAccount(ctx context.Context, projectId string, serviceAccountId string, ...) (*http.Response, error)
- func (c *Client) RetrieveProjectUser(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) RetrieveUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnassignGroupRole(ctx context.Context, groupId string, roleId string, ...) (*http.Response, error)
- func (c *Client) UnassignProjectGroupRole(ctx context.Context, projectId string, groupId string, roleId string, ...) (*http.Response, error)
- func (c *Client) UnassignProjectUserRole(ctx context.Context, projectId string, userId string, roleId string, ...) (*http.Response, error)
- func (c *Client) UnassignUserRole(ctx context.Context, userId string, roleId string, ...) (*http.Response, error)
- func (c *Client) UpdateGroup(ctx context.Context, groupId string, body UpdateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateProjectRateLimits(ctx context.Context, projectId string, rateLimitId string, ...) (*http.Response, error)
- func (c *Client) UpdateProjectRateLimitsWithBody(ctx context.Context, projectId string, rateLimitId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateProjectRole(ctx context.Context, projectId string, roleId string, ...) (*http.Response, error)
- func (c *Client) UpdateProjectRoleWithBody(ctx context.Context, projectId string, roleId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateRole(ctx context.Context, roleId string, body UpdateRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateRoleWithBody(ctx context.Context, roleId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadCertificate(ctx context.Context, body UploadCertificateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UploadCertificateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActivateOrganizationCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ActivateOrganizationCertificatesResp, error)
- func (c *ClientWithResponses) ActivateOrganizationCertificatesWithResponse(ctx context.Context, body ActivateOrganizationCertificatesJSONRequestBody, ...) (*ActivateOrganizationCertificatesResp, error)
- func (c *ClientWithResponses) ActivateProjectCertificatesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ActivateProjectCertificatesResp, error)
- func (c *ClientWithResponses) ActivateProjectCertificatesWithResponse(ctx context.Context, projectId string, ...) (*ActivateProjectCertificatesResp, error)
- func (c *ClientWithResponses) AddGroupUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*AddGroupUserResp, error)
- func (c *ClientWithResponses) AddGroupUserWithResponse(ctx context.Context, groupId string, body AddGroupUserJSONRequestBody, ...) (*AddGroupUserResp, error)
- func (c *ClientWithResponses) AddProjectGroupWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*AddProjectGroupResp, error)
- func (c *ClientWithResponses) AddProjectGroupWithResponse(ctx context.Context, projectId string, body AddProjectGroupJSONRequestBody, ...) (*AddProjectGroupResp, error)
- func (c *ClientWithResponses) AdminApiKeysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AdminApiKeysCreateResp, error)
- func (c *ClientWithResponses) AdminApiKeysCreateWithResponse(ctx context.Context, body AdminApiKeysCreateJSONRequestBody, ...) (*AdminApiKeysCreateResp, error)
- func (c *ClientWithResponses) AdminApiKeysDeleteWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*AdminApiKeysDeleteResp, error)
- func (c *ClientWithResponses) AdminApiKeysGetWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*AdminApiKeysGetResp, error)
- func (c *ClientWithResponses) AdminApiKeysListWithResponse(ctx context.Context, params *AdminApiKeysListParams, ...) (*AdminApiKeysListResp, error)
- func (c *ClientWithResponses) ArchiveProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ArchiveProjectResp, error)
- func (c *ClientWithResponses) AssignGroupRoleWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*AssignGroupRoleResp, error)
- func (c *ClientWithResponses) AssignGroupRoleWithResponse(ctx context.Context, groupId string, body AssignGroupRoleJSONRequestBody, ...) (*AssignGroupRoleResp, error)
- func (c *ClientWithResponses) AssignProjectGroupRoleWithBodyWithResponse(ctx context.Context, projectId string, groupId string, contentType string, ...) (*AssignProjectGroupRoleResp, error)
- func (c *ClientWithResponses) AssignProjectGroupRoleWithResponse(ctx context.Context, projectId string, groupId string, ...) (*AssignProjectGroupRoleResp, error)
- func (c *ClientWithResponses) AssignProjectUserRoleWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, ...) (*AssignProjectUserRoleResp, error)
- func (c *ClientWithResponses) AssignProjectUserRoleWithResponse(ctx context.Context, projectId string, userId string, ...) (*AssignProjectUserRoleResp, error)
- func (c *ClientWithResponses) AssignUserRoleWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*AssignUserRoleResp, error)
- func (c *ClientWithResponses) AssignUserRoleWithResponse(ctx context.Context, userId string, body AssignUserRoleJSONRequestBody, ...) (*AssignUserRoleResp, error)
- func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateGroupResp, error)
- func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*CreateGroupResp, error)
- func (c *ClientWithResponses) CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*CreateProjectRoleResp, error)
- func (c *ClientWithResponses) CreateProjectRoleWithResponse(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, ...) (*CreateProjectRoleResp, error)
- func (c *ClientWithResponses) CreateProjectServiceAccountWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*CreateProjectServiceAccountResp, error)
- func (c *ClientWithResponses) CreateProjectServiceAccountWithResponse(ctx context.Context, projectId string, ...) (*CreateProjectServiceAccountResp, error)
- func (c *ClientWithResponses) CreateProjectUserWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*CreateProjectUserResp, error)
- func (c *ClientWithResponses) CreateProjectUserWithResponse(ctx context.Context, projectId string, body CreateProjectUserJSONRequestBody, ...) (*CreateProjectUserResp, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProjectResp, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*CreateProjectResp, error)
- func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRoleResp, error)
- func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, body CreateRoleJSONRequestBody, ...) (*CreateRoleResp, error)
- func (c *ClientWithResponses) DeactivateOrganizationCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeactivateOrganizationCertificatesResp, error)
- func (c *ClientWithResponses) DeactivateOrganizationCertificatesWithResponse(ctx context.Context, body DeactivateOrganizationCertificatesJSONRequestBody, ...) (*DeactivateOrganizationCertificatesResp, error)
- func (c *ClientWithResponses) DeactivateProjectCertificatesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*DeactivateProjectCertificatesResp, error)
- func (c *ClientWithResponses) DeactivateProjectCertificatesWithResponse(ctx context.Context, projectId string, ...) (*DeactivateProjectCertificatesResp, error)
- func (c *ClientWithResponses) DeleteCertificateWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*DeleteCertificateResp, error)
- func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteGroupResp, error)
- func (c *ClientWithResponses) DeleteInviteWithResponse(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*DeleteInviteResp, error)
- func (c *ClientWithResponses) DeleteProjectApiKeyWithResponse(ctx context.Context, projectId string, keyId string, ...) (*DeleteProjectApiKeyResp, error)
- func (c *ClientWithResponses) DeleteProjectRoleWithResponse(ctx context.Context, projectId string, roleId string, ...) (*DeleteProjectRoleResp, error)
- func (c *ClientWithResponses) DeleteProjectServiceAccountWithResponse(ctx context.Context, projectId string, serviceAccountId string, ...) (*DeleteProjectServiceAccountResp, error)
- func (c *ClientWithResponses) DeleteProjectUserWithResponse(ctx context.Context, projectId string, userId string, ...) (*DeleteProjectUserResp, error)
- func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*DeleteRoleResp, error)
- func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserResp, error)
- func (c *ClientWithResponses) GetCertificateWithResponse(ctx context.Context, certificateId string, params *GetCertificateParams, ...) (*GetCertificateResp, error)
- func (c *ClientWithResponses) InviteUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InviteUserResp, error)
- func (c *ClientWithResponses) InviteUserWithResponse(ctx context.Context, body InviteUserJSONRequestBody, ...) (*InviteUserResp, error)
- func (c *ClientWithResponses) ListGroupRoleAssignmentsWithResponse(ctx context.Context, groupId string, params *ListGroupRoleAssignmentsParams, ...) (*ListGroupRoleAssignmentsResp, error)
- func (c *ClientWithResponses) ListGroupUsersWithResponse(ctx context.Context, groupId string, params *ListGroupUsersParams, ...) (*ListGroupUsersResp, error)
- func (c *ClientWithResponses) ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResp, error)
- func (c *ClientWithResponses) ListInvitesWithResponse(ctx context.Context, params *ListInvitesParams, reqEditors ...RequestEditorFn) (*ListInvitesResp, error)
- func (c *ClientWithResponses) ListOrganizationCertificatesWithResponse(ctx context.Context, params *ListOrganizationCertificatesParams, ...) (*ListOrganizationCertificatesResp, error)
- func (c *ClientWithResponses) ListProjectApiKeysWithResponse(ctx context.Context, projectId string, params *ListProjectApiKeysParams, ...) (*ListProjectApiKeysResp, error)
- func (c *ClientWithResponses) ListProjectCertificatesWithResponse(ctx context.Context, projectId string, params *ListProjectCertificatesParams, ...) (*ListProjectCertificatesResp, error)
- func (c *ClientWithResponses) ListProjectGroupRoleAssignmentsWithResponse(ctx context.Context, projectId string, groupId string, ...) (*ListProjectGroupRoleAssignmentsResp, error)
- func (c *ClientWithResponses) ListProjectGroupsWithResponse(ctx context.Context, projectId string, params *ListProjectGroupsParams, ...) (*ListProjectGroupsResp, error)
- func (c *ClientWithResponses) ListProjectRateLimitsWithResponse(ctx context.Context, projectId string, params *ListProjectRateLimitsParams, ...) (*ListProjectRateLimitsResp, error)
- func (c *ClientWithResponses) ListProjectRolesWithResponse(ctx context.Context, projectId string, params *ListProjectRolesParams, ...) (*ListProjectRolesResp, error)
- func (c *ClientWithResponses) ListProjectServiceAccountsWithResponse(ctx context.Context, projectId string, ...) (*ListProjectServiceAccountsResp, error)
- func (c *ClientWithResponses) ListProjectUserRoleAssignmentsWithResponse(ctx context.Context, projectId string, userId string, ...) (*ListProjectUserRoleAssignmentsResp, error)
- func (c *ClientWithResponses) ListProjectUsersWithResponse(ctx context.Context, projectId string, params *ListProjectUsersParams, ...) (*ListProjectUsersResp, error)
- func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResp, error)
- func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResp, error)
- func (c *ClientWithResponses) ListUserRoleAssignmentsWithResponse(ctx context.Context, userId string, params *ListUserRoleAssignmentsParams, ...) (*ListUserRoleAssignmentsResp, error)
- func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResp, error)
- func (c *ClientWithResponses) ModifyCertificateWithBodyWithResponse(ctx context.Context, certificateId string, contentType string, body io.Reader, ...) (*ModifyCertificateResp, error)
- func (c *ClientWithResponses) ModifyCertificateWithResponse(ctx context.Context, certificateId string, ...) (*ModifyCertificateResp, error)
- func (c *ClientWithResponses) ModifyProjectUserWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, ...) (*ModifyProjectUserResp, error)
- func (c *ClientWithResponses) ModifyProjectUserWithResponse(ctx context.Context, projectId string, userId string, ...) (*ModifyProjectUserResp, error)
- func (c *ClientWithResponses) ModifyProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ModifyProjectResp, error)
- func (c *ClientWithResponses) ModifyProjectWithResponse(ctx context.Context, projectId string, body ModifyProjectJSONRequestBody, ...) (*ModifyProjectResp, error)
- func (c *ClientWithResponses) ModifyUserWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, ...) (*ModifyUserResp, error)
- func (c *ClientWithResponses) ModifyUserWithResponse(ctx context.Context, userId string, body ModifyUserJSONRequestBody, ...) (*ModifyUserResp, error)
- func (c *ClientWithResponses) RemoveGroupUserWithResponse(ctx context.Context, groupId string, userId string, ...) (*RemoveGroupUserResp, error)
- func (c *ClientWithResponses) RemoveProjectGroupWithResponse(ctx context.Context, projectId string, groupId string, ...) (*RemoveProjectGroupResp, error)
- func (c *ClientWithResponses) RetrieveInviteWithResponse(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*RetrieveInviteResp, error)
- func (c *ClientWithResponses) RetrieveProjectApiKeyWithResponse(ctx context.Context, projectId string, keyId string, ...) (*RetrieveProjectApiKeyResp, error)
- func (c *ClientWithResponses) RetrieveProjectServiceAccountWithResponse(ctx context.Context, projectId string, serviceAccountId string, ...) (*RetrieveProjectServiceAccountResp, error)
- func (c *ClientWithResponses) RetrieveProjectUserWithResponse(ctx context.Context, projectId string, userId string, ...) (*RetrieveProjectUserResp, error)
- func (c *ClientWithResponses) RetrieveProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*RetrieveProjectResp, error)
- func (c *ClientWithResponses) RetrieveUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*RetrieveUserResp, error)
- func (c *ClientWithResponses) UnassignGroupRoleWithResponse(ctx context.Context, groupId string, roleId string, ...) (*UnassignGroupRoleResp, error)
- func (c *ClientWithResponses) UnassignProjectGroupRoleWithResponse(ctx context.Context, projectId string, groupId string, roleId string, ...) (*UnassignProjectGroupRoleResp, error)
- func (c *ClientWithResponses) UnassignProjectUserRoleWithResponse(ctx context.Context, projectId string, userId string, roleId string, ...) (*UnassignProjectUserRoleResp, error)
- func (c *ClientWithResponses) UnassignUserRoleWithResponse(ctx context.Context, userId string, roleId string, ...) (*UnassignUserRoleResp, error)
- func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*UpdateGroupResp, error)
- func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, groupId string, body UpdateGroupJSONRequestBody, ...) (*UpdateGroupResp, error)
- func (c *ClientWithResponses) UpdateProjectRateLimitsWithBodyWithResponse(ctx context.Context, projectId string, rateLimitId string, contentType string, ...) (*UpdateProjectRateLimitsResp, error)
- func (c *ClientWithResponses) UpdateProjectRateLimitsWithResponse(ctx context.Context, projectId string, rateLimitId string, ...) (*UpdateProjectRateLimitsResp, error)
- func (c *ClientWithResponses) UpdateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, roleId string, contentType string, ...) (*UpdateProjectRoleResp, error)
- func (c *ClientWithResponses) UpdateProjectRoleWithResponse(ctx context.Context, projectId string, roleId string, ...) (*UpdateProjectRoleResp, error)
- func (c *ClientWithResponses) UpdateRoleWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, ...) (*UpdateRoleResp, error)
- func (c *ClientWithResponses) UpdateRoleWithResponse(ctx context.Context, roleId string, body UpdateRoleJSONRequestBody, ...) (*UpdateRoleResp, error)
- func (c *ClientWithResponses) UploadCertificateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadCertificateResp, error)
- func (c *ClientWithResponses) UploadCertificateWithResponse(ctx context.Context, body UploadCertificateJSONRequestBody, ...) (*UploadCertificateResp, error)
- type ClientWithResponsesInterface
- type CreateGroupBody
- type CreateGroupJSONRequestBody
- type CreateGroupResp
- type CreateGroupUserBody
- type CreateProjectJSONRequestBody
- type CreateProjectResp
- type CreateProjectRoleJSONRequestBody
- type CreateProjectRoleResp
- type CreateProjectServiceAccountJSONRequestBody
- type CreateProjectServiceAccountResp
- type CreateProjectUserJSONRequestBody
- type CreateProjectUserResp
- type CreateRoleJSONRequestBody
- type CreateRoleResp
- type DeactivateOrganizationCertificatesJSONRequestBody
- type DeactivateOrganizationCertificatesResp
- type DeactivateProjectCertificatesJSONRequestBody
- type DeactivateProjectCertificatesResp
- type DeleteCertificateResp
- type DeleteCertificateResponse
- type DeleteGroupResp
- type DeleteInviteResp
- type DeleteProjectApiKeyResp
- type DeleteProjectRoleResp
- type DeleteProjectServiceAccountResp
- type DeleteProjectUserResp
- type DeleteRoleResp
- type DeleteUserResp
- type DeletedRoleAssignmentResource
- type Error
- type ErrorResponse
- type GetCertificateParams
- type GetCertificateParamsInclude
- type GetCertificateResp
- type Group
- type GroupDeletedResource
- type GroupDeletedResourceObject
- type GroupListResource
- type GroupListResourceObject
- type GroupObject
- type GroupResourceWithSuccess
- type GroupResponse
- type GroupRoleAssignment
- type GroupRoleAssignmentObject
- type GroupUserAssignment
- type GroupUserAssignmentObject
- type GroupUserDeletedResource
- type GroupUserDeletedResourceObject
- type HttpRequestDoer
- type Invite
- type InviteDeleteResponse
- type InviteDeleteResponseObject
- type InviteListResponse
- type InviteListResponseObject
- type InviteObject
- type InviteProjectGroupBody
- type InviteProjectsRole
- type InviteRequest
- type InviteRequestProjectsRole
- type InviteRequestRole
- type InviteRole
- type InviteStatus
- type InviteUserJSONRequestBody
- type InviteUserResp
- type ListCertificatesResponse
- type ListCertificatesResponseObject
- type ListGroupRoleAssignmentsParams
- type ListGroupRoleAssignmentsParamsOrder
- type ListGroupRoleAssignmentsResp
- type ListGroupUsersParams
- type ListGroupUsersParamsOrder
- type ListGroupUsersResp
- type ListGroupsParams
- type ListGroupsParamsOrder
- type ListGroupsResp
- type ListInvitesParams
- type ListInvitesResp
- type ListOrganizationCertificatesParams
- type ListOrganizationCertificatesParamsOrder
- type ListOrganizationCertificatesResp
- type ListProjectApiKeysParams
- type ListProjectApiKeysResp
- type ListProjectCertificatesParams
- type ListProjectCertificatesParamsOrder
- type ListProjectCertificatesResp
- type ListProjectGroupRoleAssignmentsParams
- type ListProjectGroupRoleAssignmentsParamsOrder
- type ListProjectGroupRoleAssignmentsResp
- type ListProjectGroupsParams
- type ListProjectGroupsParamsOrder
- type ListProjectGroupsResp
- type ListProjectRateLimitsParams
- type ListProjectRateLimitsResp
- type ListProjectRolesParams
- type ListProjectRolesParamsOrder
- type ListProjectRolesResp
- type ListProjectServiceAccountsParams
- type ListProjectServiceAccountsResp
- type ListProjectUserRoleAssignmentsParams
- type ListProjectUserRoleAssignmentsParamsOrder
- type ListProjectUserRoleAssignmentsResp
- type ListProjectUsersParams
- type ListProjectUsersResp
- type ListProjectsParams
- type ListProjectsResp
- type ListRolesParams
- type ListRolesParamsOrder
- type ListRolesResp
- type ListUserRoleAssignmentsParams
- type ListUserRoleAssignmentsParamsOrder
- type ListUserRoleAssignmentsResp
- type ListUsersParams
- type ListUsersResp
- type ModifyCertificateJSONRequestBody
- type ModifyCertificateRequest
- type ModifyCertificateResp
- type ModifyProjectJSONRequestBody
- type ModifyProjectResp
- type ModifyProjectUserJSONRequestBody
- type ModifyProjectUserResp
- type ModifyUserJSONRequestBody
- type ModifyUserResp
- type Project
- type ProjectApiKey
- type ProjectApiKeyDeleteResponse
- type ProjectApiKeyDeleteResponseObject
- type ProjectApiKeyListResponse
- type ProjectApiKeyListResponseObject
- type ProjectApiKeyObject
- type ProjectApiKeyOwnerType
- type ProjectCreateRequest
- type ProjectCreateRequestGeography
- type ProjectGroup
- type ProjectGroupDeletedResource
- type ProjectGroupDeletedResourceObject
- type ProjectGroupListResource
- type ProjectGroupListResourceObject
- type ProjectGroupObject
- type ProjectListResponse
- type ProjectListResponseObject
- type ProjectObject
- type ProjectRateLimit
- type ProjectRateLimitListResponse
- type ProjectRateLimitListResponseObject
- type ProjectRateLimitObject
- type ProjectRateLimitUpdateRequest
- type ProjectServiceAccount
- type ProjectServiceAccountApiKey
- type ProjectServiceAccountApiKeyObject
- type ProjectServiceAccountCreateRequest
- type ProjectServiceAccountCreateResponse
- type ProjectServiceAccountCreateResponseObject
- type ProjectServiceAccountCreateResponseRole
- type ProjectServiceAccountDeleteResponse
- type ProjectServiceAccountDeleteResponseObject
- type ProjectServiceAccountListResponse
- type ProjectServiceAccountListResponseObject
- type ProjectServiceAccountObject
- type ProjectServiceAccountRole
- type ProjectStatus
- type ProjectUpdateRequest
- type ProjectUser
- type ProjectUserCreateRequest
- type ProjectUserCreateRequestRole
- type ProjectUserDeleteResponse
- type ProjectUserDeleteResponseObject
- type ProjectUserListResponse
- type ProjectUserObject
- type ProjectUserRole
- type ProjectUserUpdateRequest
- type ProjectUserUpdateRequestRole
- type PublicAssignOrganizationGroupRoleBody
- type PublicCreateOrganizationRoleBody
- type PublicRoleListResource
- type PublicRoleListResourceObject
- type PublicUpdateOrganizationRoleBody
- type RemoveGroupUserResp
- type RemoveProjectGroupResp
- type RequestEditorFn
- type RetrieveInviteResp
- type RetrieveProjectApiKeyResp
- type RetrieveProjectResp
- type RetrieveProjectServiceAccountResp
- type RetrieveProjectUserResp
- type RetrieveUserResp
- type Role
- type RoleDeletedResource
- type RoleDeletedResourceObject
- type RoleListResource
- type RoleListResourceObject
- type RoleObject
- type ToggleCertificatesRequest
- type UnassignGroupRoleResp
- type UnassignProjectGroupRoleResp
- type UnassignProjectUserRoleResp
- type UnassignUserRoleResp
- type UpdateGroupBody
- type UpdateGroupJSONRequestBody
- type UpdateGroupResp
- type UpdateProjectRateLimitsJSONRequestBody
- type UpdateProjectRateLimitsResp
- type UpdateProjectRoleJSONRequestBody
- type UpdateProjectRoleResp
- type UpdateRoleJSONRequestBody
- type UpdateRoleResp
- type UploadCertificateJSONRequestBody
- type UploadCertificateRequest
- type UploadCertificateResp
- type User
- type UserDeleteResponse
- type UserDeleteResponseObject
- type UserListResource
- type UserListResourceObject
- type UserListResponse
- type UserListResponseObject
- type UserObject
- type UserRole
- type UserRoleAssignment
- type UserRoleAssignmentObject
- type UserRoleUpdateRequest
- type UserRoleUpdateRequestRole
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewActivateOrganizationCertificatesRequest ¶ added in v0.3.3
func NewActivateOrganizationCertificatesRequest(server string, body ActivateOrganizationCertificatesJSONRequestBody) (*http.Request, error)
NewActivateOrganizationCertificatesRequest calls the generic ActivateOrganizationCertificates builder with application/json body
func NewActivateOrganizationCertificatesRequestWithBody ¶ added in v0.3.3
func NewActivateOrganizationCertificatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewActivateOrganizationCertificatesRequestWithBody generates requests for ActivateOrganizationCertificates with any type of body
func NewActivateProjectCertificatesRequest ¶ added in v0.3.3
func NewActivateProjectCertificatesRequest(server string, projectId string, body ActivateProjectCertificatesJSONRequestBody) (*http.Request, error)
NewActivateProjectCertificatesRequest calls the generic ActivateProjectCertificates builder with application/json body
func NewActivateProjectCertificatesRequestWithBody ¶ added in v0.3.3
func NewActivateProjectCertificatesRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewActivateProjectCertificatesRequestWithBody generates requests for ActivateProjectCertificates with any type of body
func NewAddGroupUserRequest ¶ added in v0.4.0
func NewAddGroupUserRequest(server string, groupId string, body AddGroupUserJSONRequestBody) (*http.Request, error)
NewAddGroupUserRequest calls the generic AddGroupUser builder with application/json body
func NewAddGroupUserRequestWithBody ¶ added in v0.4.0
func NewAddGroupUserRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
NewAddGroupUserRequestWithBody generates requests for AddGroupUser with any type of body
func NewAddProjectGroupRequest ¶ added in v0.4.0
func NewAddProjectGroupRequest(server string, projectId string, body AddProjectGroupJSONRequestBody) (*http.Request, error)
NewAddProjectGroupRequest calls the generic AddProjectGroup builder with application/json body
func NewAddProjectGroupRequestWithBody ¶ added in v0.4.0
func NewAddProjectGroupRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewAddProjectGroupRequestWithBody generates requests for AddProjectGroup with any type of body
func NewAdminApiKeysCreateRequest ¶ added in v0.3.1
func NewAdminApiKeysCreateRequest(server string, body AdminApiKeysCreateJSONRequestBody) (*http.Request, error)
NewAdminApiKeysCreateRequest calls the generic AdminApiKeysCreate builder with application/json body
func NewAdminApiKeysCreateRequestWithBody ¶ added in v0.3.1
func NewAdminApiKeysCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAdminApiKeysCreateRequestWithBody generates requests for AdminApiKeysCreate with any type of body
func NewAdminApiKeysDeleteRequest ¶ added in v0.3.1
NewAdminApiKeysDeleteRequest generates requests for AdminApiKeysDelete
func NewAdminApiKeysGetRequest ¶ added in v0.3.1
NewAdminApiKeysGetRequest generates requests for AdminApiKeysGet
func NewAdminApiKeysListRequest ¶ added in v0.3.1
func NewAdminApiKeysListRequest(server string, params *AdminApiKeysListParams) (*http.Request, error)
NewAdminApiKeysListRequest generates requests for AdminApiKeysList
func NewArchiveProjectRequest ¶ added in v0.3.0
NewArchiveProjectRequest generates requests for ArchiveProject
func NewAssignGroupRoleRequest ¶ added in v0.4.0
func NewAssignGroupRoleRequest(server string, groupId string, body AssignGroupRoleJSONRequestBody) (*http.Request, error)
NewAssignGroupRoleRequest calls the generic AssignGroupRole builder with application/json body
func NewAssignGroupRoleRequestWithBody ¶ added in v0.4.0
func NewAssignGroupRoleRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
NewAssignGroupRoleRequestWithBody generates requests for AssignGroupRole with any type of body
func NewAssignProjectGroupRoleRequest ¶ added in v0.4.0
func NewAssignProjectGroupRoleRequest(server string, projectId string, groupId string, body AssignProjectGroupRoleJSONRequestBody) (*http.Request, error)
NewAssignProjectGroupRoleRequest calls the generic AssignProjectGroupRole builder with application/json body
func NewAssignProjectGroupRoleRequestWithBody ¶ added in v0.4.0
func NewAssignProjectGroupRoleRequestWithBody(server string, projectId string, groupId string, contentType string, body io.Reader) (*http.Request, error)
NewAssignProjectGroupRoleRequestWithBody generates requests for AssignProjectGroupRole with any type of body
func NewAssignProjectUserRoleRequest ¶ added in v0.4.0
func NewAssignProjectUserRoleRequest(server string, projectId string, userId string, body AssignProjectUserRoleJSONRequestBody) (*http.Request, error)
NewAssignProjectUserRoleRequest calls the generic AssignProjectUserRole builder with application/json body
func NewAssignProjectUserRoleRequestWithBody ¶ added in v0.4.0
func NewAssignProjectUserRoleRequestWithBody(server string, projectId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewAssignProjectUserRoleRequestWithBody generates requests for AssignProjectUserRole with any type of body
func NewAssignUserRoleRequest ¶ added in v0.4.0
func NewAssignUserRoleRequest(server string, userId string, body AssignUserRoleJSONRequestBody) (*http.Request, error)
NewAssignUserRoleRequest calls the generic AssignUserRole builder with application/json body
func NewAssignUserRoleRequestWithBody ¶ added in v0.4.0
func NewAssignUserRoleRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewAssignUserRoleRequestWithBody generates requests for AssignUserRole with any type of body
func NewCreateGroupRequest ¶ added in v0.4.0
func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
NewCreateGroupRequest calls the generic CreateGroup builder with application/json body
func NewCreateGroupRequestWithBody ¶ added in v0.4.0
func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGroupRequestWithBody generates requests for CreateGroup with any type of body
func NewCreateProjectRequest ¶ added in v0.3.0
func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶ added in v0.3.0
func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body
func NewCreateProjectRoleRequest ¶ added in v0.4.0
func NewCreateProjectRoleRequest(server string, projectId string, body CreateProjectRoleJSONRequestBody) (*http.Request, error)
NewCreateProjectRoleRequest calls the generic CreateProjectRole builder with application/json body
func NewCreateProjectRoleRequestWithBody ¶ added in v0.4.0
func NewCreateProjectRoleRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRoleRequestWithBody generates requests for CreateProjectRole with any type of body
func NewCreateProjectServiceAccountRequest ¶ added in v0.3.0
func NewCreateProjectServiceAccountRequest(server string, projectId string, body CreateProjectServiceAccountJSONRequestBody) (*http.Request, error)
NewCreateProjectServiceAccountRequest calls the generic CreateProjectServiceAccount builder with application/json body
func NewCreateProjectServiceAccountRequestWithBody ¶ added in v0.3.0
func NewCreateProjectServiceAccountRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectServiceAccountRequestWithBody generates requests for CreateProjectServiceAccount with any type of body
func NewCreateProjectUserRequest ¶ added in v0.3.0
func NewCreateProjectUserRequest(server string, projectId string, body CreateProjectUserJSONRequestBody) (*http.Request, error)
NewCreateProjectUserRequest calls the generic CreateProjectUser builder with application/json body
func NewCreateProjectUserRequestWithBody ¶ added in v0.3.0
func NewCreateProjectUserRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectUserRequestWithBody generates requests for CreateProjectUser with any type of body
func NewCreateRoleRequest ¶ added in v0.4.0
func NewCreateRoleRequest(server string, body CreateRoleJSONRequestBody) (*http.Request, error)
NewCreateRoleRequest calls the generic CreateRole builder with application/json body
func NewCreateRoleRequestWithBody ¶ added in v0.4.0
func NewCreateRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRoleRequestWithBody generates requests for CreateRole with any type of body
func NewDeactivateOrganizationCertificatesRequest ¶ added in v0.3.3
func NewDeactivateOrganizationCertificatesRequest(server string, body DeactivateOrganizationCertificatesJSONRequestBody) (*http.Request, error)
NewDeactivateOrganizationCertificatesRequest calls the generic DeactivateOrganizationCertificates builder with application/json body
func NewDeactivateOrganizationCertificatesRequestWithBody ¶ added in v0.3.3
func NewDeactivateOrganizationCertificatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeactivateOrganizationCertificatesRequestWithBody generates requests for DeactivateOrganizationCertificates with any type of body
func NewDeactivateProjectCertificatesRequest ¶ added in v0.3.3
func NewDeactivateProjectCertificatesRequest(server string, projectId string, body DeactivateProjectCertificatesJSONRequestBody) (*http.Request, error)
NewDeactivateProjectCertificatesRequest calls the generic DeactivateProjectCertificates builder with application/json body
func NewDeactivateProjectCertificatesRequestWithBody ¶ added in v0.3.3
func NewDeactivateProjectCertificatesRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewDeactivateProjectCertificatesRequestWithBody generates requests for DeactivateProjectCertificates with any type of body
func NewDeleteCertificateRequest ¶ added in v0.3.3
NewDeleteCertificateRequest generates requests for DeleteCertificate
func NewDeleteGroupRequest ¶ added in v0.4.0
NewDeleteGroupRequest generates requests for DeleteGroup
func NewDeleteInviteRequest ¶ added in v0.3.0
NewDeleteInviteRequest generates requests for DeleteInvite
func NewDeleteProjectApiKeyRequest ¶ added in v0.3.0
func NewDeleteProjectApiKeyRequest(server string, projectId string, keyId string) (*http.Request, error)
NewDeleteProjectApiKeyRequest generates requests for DeleteProjectApiKey
func NewDeleteProjectRoleRequest ¶ added in v0.4.0
func NewDeleteProjectRoleRequest(server string, projectId string, roleId string) (*http.Request, error)
NewDeleteProjectRoleRequest generates requests for DeleteProjectRole
func NewDeleteProjectServiceAccountRequest ¶ added in v0.3.0
func NewDeleteProjectServiceAccountRequest(server string, projectId string, serviceAccountId string) (*http.Request, error)
NewDeleteProjectServiceAccountRequest generates requests for DeleteProjectServiceAccount
func NewDeleteProjectUserRequest ¶ added in v0.3.0
func NewDeleteProjectUserRequest(server string, projectId string, userId string) (*http.Request, error)
NewDeleteProjectUserRequest generates requests for DeleteProjectUser
func NewDeleteRoleRequest ¶ added in v0.4.0
NewDeleteRoleRequest generates requests for DeleteRole
func NewDeleteUserRequest ¶ added in v0.3.0
NewDeleteUserRequest generates requests for DeleteUser
func NewGetCertificateRequest ¶ added in v0.3.3
func NewGetCertificateRequest(server string, certificateId string, params *GetCertificateParams) (*http.Request, error)
NewGetCertificateRequest generates requests for GetCertificate
func NewInviteUserRequest ¶ added in v0.3.0
func NewInviteUserRequest(server string, body InviteUserJSONRequestBody) (*http.Request, error)
NewInviteUserRequest calls the generic InviteUser builder with application/json body
func NewInviteUserRequestWithBody ¶ added in v0.3.0
func NewInviteUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInviteUserRequestWithBody generates requests for InviteUser with any type of body
func NewListGroupRoleAssignmentsRequest ¶ added in v0.4.0
func NewListGroupRoleAssignmentsRequest(server string, groupId string, params *ListGroupRoleAssignmentsParams) (*http.Request, error)
NewListGroupRoleAssignmentsRequest generates requests for ListGroupRoleAssignments
func NewListGroupUsersRequest ¶ added in v0.4.0
func NewListGroupUsersRequest(server string, groupId string, params *ListGroupUsersParams) (*http.Request, error)
NewListGroupUsersRequest generates requests for ListGroupUsers
func NewListGroupsRequest ¶ added in v0.4.0
func NewListGroupsRequest(server string, params *ListGroupsParams) (*http.Request, error)
NewListGroupsRequest generates requests for ListGroups
func NewListInvitesRequest ¶ added in v0.3.0
func NewListInvitesRequest(server string, params *ListInvitesParams) (*http.Request, error)
NewListInvitesRequest generates requests for ListInvites
func NewListOrganizationCertificatesRequest ¶ added in v0.3.3
func NewListOrganizationCertificatesRequest(server string, params *ListOrganizationCertificatesParams) (*http.Request, error)
NewListOrganizationCertificatesRequest generates requests for ListOrganizationCertificates
func NewListProjectApiKeysRequest ¶ added in v0.3.0
func NewListProjectApiKeysRequest(server string, projectId string, params *ListProjectApiKeysParams) (*http.Request, error)
NewListProjectApiKeysRequest generates requests for ListProjectApiKeys
func NewListProjectCertificatesRequest ¶ added in v0.3.3
func NewListProjectCertificatesRequest(server string, projectId string, params *ListProjectCertificatesParams) (*http.Request, error)
NewListProjectCertificatesRequest generates requests for ListProjectCertificates
func NewListProjectGroupRoleAssignmentsRequest ¶ added in v0.4.0
func NewListProjectGroupRoleAssignmentsRequest(server string, projectId string, groupId string, params *ListProjectGroupRoleAssignmentsParams) (*http.Request, error)
NewListProjectGroupRoleAssignmentsRequest generates requests for ListProjectGroupRoleAssignments
func NewListProjectGroupsRequest ¶ added in v0.4.0
func NewListProjectGroupsRequest(server string, projectId string, params *ListProjectGroupsParams) (*http.Request, error)
NewListProjectGroupsRequest generates requests for ListProjectGroups
func NewListProjectRateLimitsRequest ¶ added in v0.3.0
func NewListProjectRateLimitsRequest(server string, projectId string, params *ListProjectRateLimitsParams) (*http.Request, error)
NewListProjectRateLimitsRequest generates requests for ListProjectRateLimits
func NewListProjectRolesRequest ¶ added in v0.4.0
func NewListProjectRolesRequest(server string, projectId string, params *ListProjectRolesParams) (*http.Request, error)
NewListProjectRolesRequest generates requests for ListProjectRoles
func NewListProjectServiceAccountsRequest ¶ added in v0.3.0
func NewListProjectServiceAccountsRequest(server string, projectId string, params *ListProjectServiceAccountsParams) (*http.Request, error)
NewListProjectServiceAccountsRequest generates requests for ListProjectServiceAccounts
func NewListProjectUserRoleAssignmentsRequest ¶ added in v0.4.0
func NewListProjectUserRoleAssignmentsRequest(server string, projectId string, userId string, params *ListProjectUserRoleAssignmentsParams) (*http.Request, error)
NewListProjectUserRoleAssignmentsRequest generates requests for ListProjectUserRoleAssignments
func NewListProjectUsersRequest ¶ added in v0.3.0
func NewListProjectUsersRequest(server string, projectId string, params *ListProjectUsersParams) (*http.Request, error)
NewListProjectUsersRequest generates requests for ListProjectUsers
func NewListProjectsRequest ¶ added in v0.3.0
func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
NewListProjectsRequest generates requests for ListProjects
func NewListRolesRequest ¶ added in v0.4.0
func NewListRolesRequest(server string, params *ListRolesParams) (*http.Request, error)
NewListRolesRequest generates requests for ListRoles
func NewListUserRoleAssignmentsRequest ¶ added in v0.4.0
func NewListUserRoleAssignmentsRequest(server string, userId string, params *ListUserRoleAssignmentsParams) (*http.Request, error)
NewListUserRoleAssignmentsRequest generates requests for ListUserRoleAssignments
func NewListUsersRequest ¶ added in v0.3.0
func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
NewListUsersRequest generates requests for ListUsers
func NewModifyCertificateRequest ¶ added in v0.3.3
func NewModifyCertificateRequest(server string, certificateId string, body ModifyCertificateJSONRequestBody) (*http.Request, error)
NewModifyCertificateRequest calls the generic ModifyCertificate builder with application/json body
func NewModifyCertificateRequestWithBody ¶ added in v0.3.3
func NewModifyCertificateRequestWithBody(server string, certificateId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyCertificateRequestWithBody generates requests for ModifyCertificate with any type of body
func NewModifyProjectRequest ¶ added in v0.3.0
func NewModifyProjectRequest(server string, projectId string, body ModifyProjectJSONRequestBody) (*http.Request, error)
NewModifyProjectRequest calls the generic ModifyProject builder with application/json body
func NewModifyProjectRequestWithBody ¶ added in v0.3.0
func NewModifyProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyProjectRequestWithBody generates requests for ModifyProject with any type of body
func NewModifyProjectUserRequest ¶ added in v0.3.0
func NewModifyProjectUserRequest(server string, projectId string, userId string, body ModifyProjectUserJSONRequestBody) (*http.Request, error)
NewModifyProjectUserRequest calls the generic ModifyProjectUser builder with application/json body
func NewModifyProjectUserRequestWithBody ¶ added in v0.3.0
func NewModifyProjectUserRequestWithBody(server string, projectId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyProjectUserRequestWithBody generates requests for ModifyProjectUser with any type of body
func NewModifyUserRequest ¶ added in v0.3.0
func NewModifyUserRequest(server string, userId string, body ModifyUserJSONRequestBody) (*http.Request, error)
NewModifyUserRequest calls the generic ModifyUser builder with application/json body
func NewModifyUserRequestWithBody ¶ added in v0.3.0
func NewModifyUserRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyUserRequestWithBody generates requests for ModifyUser with any type of body
func NewRemoveGroupUserRequest ¶ added in v0.4.0
NewRemoveGroupUserRequest generates requests for RemoveGroupUser
func NewRemoveProjectGroupRequest ¶ added in v0.4.0
func NewRemoveProjectGroupRequest(server string, projectId string, groupId string) (*http.Request, error)
NewRemoveProjectGroupRequest generates requests for RemoveProjectGroup
func NewRetrieveInviteRequest ¶ added in v0.3.0
NewRetrieveInviteRequest generates requests for RetrieveInvite
func NewRetrieveProjectApiKeyRequest ¶ added in v0.3.0
func NewRetrieveProjectApiKeyRequest(server string, projectId string, keyId string) (*http.Request, error)
NewRetrieveProjectApiKeyRequest generates requests for RetrieveProjectApiKey
func NewRetrieveProjectRequest ¶ added in v0.3.0
NewRetrieveProjectRequest generates requests for RetrieveProject
func NewRetrieveProjectServiceAccountRequest ¶ added in v0.3.0
func NewRetrieveProjectServiceAccountRequest(server string, projectId string, serviceAccountId string) (*http.Request, error)
NewRetrieveProjectServiceAccountRequest generates requests for RetrieveProjectServiceAccount
func NewRetrieveProjectUserRequest ¶ added in v0.3.0
func NewRetrieveProjectUserRequest(server string, projectId string, userId string) (*http.Request, error)
NewRetrieveProjectUserRequest generates requests for RetrieveProjectUser
func NewRetrieveUserRequest ¶ added in v0.3.0
NewRetrieveUserRequest generates requests for RetrieveUser
func NewRetryTransport ¶ added in v0.4.0
func NewRetryTransport(transport http.RoundTripper) http.RoundTripper
func NewUnassignGroupRoleRequest ¶ added in v0.4.0
func NewUnassignGroupRoleRequest(server string, groupId string, roleId string) (*http.Request, error)
NewUnassignGroupRoleRequest generates requests for UnassignGroupRole
func NewUnassignProjectGroupRoleRequest ¶ added in v0.4.0
func NewUnassignProjectGroupRoleRequest(server string, projectId string, groupId string, roleId string) (*http.Request, error)
NewUnassignProjectGroupRoleRequest generates requests for UnassignProjectGroupRole
func NewUnassignProjectUserRoleRequest ¶ added in v0.4.0
func NewUnassignProjectUserRoleRequest(server string, projectId string, userId string, roleId string) (*http.Request, error)
NewUnassignProjectUserRoleRequest generates requests for UnassignProjectUserRole
func NewUnassignUserRoleRequest ¶ added in v0.4.0
NewUnassignUserRoleRequest generates requests for UnassignUserRole
func NewUpdateGroupRequest ¶ added in v0.4.0
func NewUpdateGroupRequest(server string, groupId string, body UpdateGroupJSONRequestBody) (*http.Request, error)
NewUpdateGroupRequest calls the generic UpdateGroup builder with application/json body
func NewUpdateGroupRequestWithBody ¶ added in v0.4.0
func NewUpdateGroupRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGroupRequestWithBody generates requests for UpdateGroup with any type of body
func NewUpdateProjectRateLimitsRequest ¶ added in v0.3.0
func NewUpdateProjectRateLimitsRequest(server string, projectId string, rateLimitId string, body UpdateProjectRateLimitsJSONRequestBody) (*http.Request, error)
NewUpdateProjectRateLimitsRequest calls the generic UpdateProjectRateLimits builder with application/json body
func NewUpdateProjectRateLimitsRequestWithBody ¶ added in v0.3.0
func NewUpdateProjectRateLimitsRequestWithBody(server string, projectId string, rateLimitId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectRateLimitsRequestWithBody generates requests for UpdateProjectRateLimits with any type of body
func NewUpdateProjectRoleRequest ¶ added in v0.4.0
func NewUpdateProjectRoleRequest(server string, projectId string, roleId string, body UpdateProjectRoleJSONRequestBody) (*http.Request, error)
NewUpdateProjectRoleRequest calls the generic UpdateProjectRole builder with application/json body
func NewUpdateProjectRoleRequestWithBody ¶ added in v0.4.0
func NewUpdateProjectRoleRequestWithBody(server string, projectId string, roleId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectRoleRequestWithBody generates requests for UpdateProjectRole with any type of body
func NewUpdateRoleRequest ¶ added in v0.4.0
func NewUpdateRoleRequest(server string, roleId string, body UpdateRoleJSONRequestBody) (*http.Request, error)
NewUpdateRoleRequest calls the generic UpdateRole builder with application/json body
func NewUpdateRoleRequestWithBody ¶ added in v0.4.0
func NewUpdateRoleRequestWithBody(server string, roleId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRoleRequestWithBody generates requests for UpdateRole with any type of body
func NewUploadCertificateRequest ¶ added in v0.3.3
func NewUploadCertificateRequest(server string, body UploadCertificateJSONRequestBody) (*http.Request, error)
NewUploadCertificateRequest calls the generic UploadCertificate builder with application/json body
Types ¶
type ActivateOrganizationCertificatesJSONRequestBody ¶ added in v0.3.3
type ActivateOrganizationCertificatesJSONRequestBody = ToggleCertificatesRequest
ActivateOrganizationCertificatesJSONRequestBody defines body for ActivateOrganizationCertificates for application/json ContentType.
type ActivateOrganizationCertificatesResp ¶ added in v0.3.3
type ActivateOrganizationCertificatesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListCertificatesResponse
}
func ParseActivateOrganizationCertificatesResp ¶ added in v0.3.3
func ParseActivateOrganizationCertificatesResp(rsp *http.Response) (*ActivateOrganizationCertificatesResp, error)
ParseActivateOrganizationCertificatesResp parses an HTTP response from a ActivateOrganizationCertificatesWithResponse call
func (ActivateOrganizationCertificatesResp) Status ¶ added in v0.3.3
func (r ActivateOrganizationCertificatesResp) Status() string
Status returns HTTPResponse.Status
func (ActivateOrganizationCertificatesResp) StatusCode ¶ added in v0.3.3
func (r ActivateOrganizationCertificatesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateProjectCertificatesJSONRequestBody ¶ added in v0.3.3
type ActivateProjectCertificatesJSONRequestBody = ToggleCertificatesRequest
ActivateProjectCertificatesJSONRequestBody defines body for ActivateProjectCertificates for application/json ContentType.
type ActivateProjectCertificatesResp ¶ added in v0.3.3
type ActivateProjectCertificatesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListCertificatesResponse
}
func ParseActivateProjectCertificatesResp ¶ added in v0.3.3
func ParseActivateProjectCertificatesResp(rsp *http.Response) (*ActivateProjectCertificatesResp, error)
ParseActivateProjectCertificatesResp parses an HTTP response from a ActivateProjectCertificatesWithResponse call
func (ActivateProjectCertificatesResp) Status ¶ added in v0.3.3
func (r ActivateProjectCertificatesResp) Status() string
Status returns HTTPResponse.Status
func (ActivateProjectCertificatesResp) StatusCode ¶ added in v0.3.3
func (r ActivateProjectCertificatesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddGroupUserJSONRequestBody ¶ added in v0.4.0
type AddGroupUserJSONRequestBody = CreateGroupUserBody
AddGroupUserJSONRequestBody defines body for AddGroupUser for application/json ContentType.
type AddGroupUserResp ¶ added in v0.4.0
type AddGroupUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupUserAssignment
}
func ParseAddGroupUserResp ¶ added in v0.4.0
func ParseAddGroupUserResp(rsp *http.Response) (*AddGroupUserResp, error)
ParseAddGroupUserResp parses an HTTP response from a AddGroupUserWithResponse call
func (AddGroupUserResp) Status ¶ added in v0.4.0
func (r AddGroupUserResp) Status() string
Status returns HTTPResponse.Status
func (AddGroupUserResp) StatusCode ¶ added in v0.4.0
func (r AddGroupUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddProjectGroupJSONRequestBody ¶ added in v0.4.0
type AddProjectGroupJSONRequestBody = InviteProjectGroupBody
AddProjectGroupJSONRequestBody defines body for AddProjectGroup for application/json ContentType.
type AddProjectGroupResp ¶ added in v0.4.0
type AddProjectGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectGroup
}
func ParseAddProjectGroupResp ¶ added in v0.4.0
func ParseAddProjectGroupResp(rsp *http.Response) (*AddProjectGroupResp, error)
ParseAddProjectGroupResp parses an HTTP response from a AddProjectGroupWithResponse call
func (AddProjectGroupResp) Status ¶ added in v0.4.0
func (r AddProjectGroupResp) Status() string
Status returns HTTPResponse.Status
func (AddProjectGroupResp) StatusCode ¶ added in v0.4.0
func (r AddProjectGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminApiKey ¶ added in v0.3.1
type AdminApiKey struct {
// CreatedAt The Unix timestamp (in seconds) of when the API key was created
CreatedAt int64 `json:"created_at"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// LastUsedAt The Unix timestamp (in seconds) of when the API key was last used
LastUsedAt *int64 `json:"last_used_at"`
// Name The name of the API key
Name string `json:"name"`
// Object The object type, which is always `organization.admin_api_key`
Object string `json:"object"`
Owner struct {
// CreatedAt The Unix timestamp (in seconds) of when the user was created
CreatedAt *int64 `json:"created_at,omitempty"`
// Id The identifier, which can be referenced in API endpoints
Id *string `json:"id,omitempty"`
// Name The name of the user
Name *string `json:"name,omitempty"`
// Object The object type, which is always organization.user
Object *string `json:"object,omitempty"`
// Role Always `owner`
Role *string `json:"role,omitempty"`
// Type Always `user`
Type *string `json:"type,omitempty"`
} `json:"owner"`
// RedactedValue The redacted value of the API key
RedactedValue string `json:"redacted_value"`
// Value The value of the API key. Only shown on create.
Value *string `json:"value,omitempty"`
}
AdminApiKey Represents an individual Admin API key in an org.
type AdminApiKeysCreateJSONBody ¶ added in v0.3.1
type AdminApiKeysCreateJSONBody struct {
Name string `json:"name"`
}
AdminApiKeysCreateJSONBody defines parameters for AdminApiKeysCreate.
type AdminApiKeysCreateJSONRequestBody ¶ added in v0.3.1
type AdminApiKeysCreateJSONRequestBody AdminApiKeysCreateJSONBody
AdminApiKeysCreateJSONRequestBody defines body for AdminApiKeysCreate for application/json ContentType.
type AdminApiKeysCreateResp ¶ added in v0.3.1
type AdminApiKeysCreateResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AdminApiKey
}
func ParseAdminApiKeysCreateResp ¶ added in v0.3.1
func ParseAdminApiKeysCreateResp(rsp *http.Response) (*AdminApiKeysCreateResp, error)
ParseAdminApiKeysCreateResp parses an HTTP response from a AdminApiKeysCreateWithResponse call
func (AdminApiKeysCreateResp) Status ¶ added in v0.3.1
func (r AdminApiKeysCreateResp) Status() string
Status returns HTTPResponse.Status
func (AdminApiKeysCreateResp) StatusCode ¶ added in v0.3.1
func (r AdminApiKeysCreateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminApiKeysDeleteResp ¶ added in v0.3.1
type AdminApiKeysDeleteResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Deleted *bool `json:"deleted,omitempty"`
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
}
}
func ParseAdminApiKeysDeleteResp ¶ added in v0.3.1
func ParseAdminApiKeysDeleteResp(rsp *http.Response) (*AdminApiKeysDeleteResp, error)
ParseAdminApiKeysDeleteResp parses an HTTP response from a AdminApiKeysDeleteWithResponse call
func (AdminApiKeysDeleteResp) Status ¶ added in v0.3.1
func (r AdminApiKeysDeleteResp) Status() string
Status returns HTTPResponse.Status
func (AdminApiKeysDeleteResp) StatusCode ¶ added in v0.3.1
func (r AdminApiKeysDeleteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminApiKeysGetResp ¶ added in v0.3.1
type AdminApiKeysGetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AdminApiKey
}
func ParseAdminApiKeysGetResp ¶ added in v0.3.1
func ParseAdminApiKeysGetResp(rsp *http.Response) (*AdminApiKeysGetResp, error)
ParseAdminApiKeysGetResp parses an HTTP response from a AdminApiKeysGetWithResponse call
func (AdminApiKeysGetResp) Status ¶ added in v0.3.1
func (r AdminApiKeysGetResp) Status() string
Status returns HTTPResponse.Status
func (AdminApiKeysGetResp) StatusCode ¶ added in v0.3.1
func (r AdminApiKeysGetResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminApiKeysListParams ¶ added in v0.3.1
type AdminApiKeysListParams struct {
After *string `form:"after,omitempty" json:"after,omitempty"`
Order *AdminApiKeysListParamsOrder `form:"order,omitempty" json:"order,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
}
AdminApiKeysListParams defines parameters for AdminApiKeysList.
type AdminApiKeysListParamsOrder ¶ added in v0.3.1
type AdminApiKeysListParamsOrder string
AdminApiKeysListParamsOrder defines parameters for AdminApiKeysList.
const ( AdminApiKeysListParamsOrderAsc AdminApiKeysListParamsOrder = "asc" AdminApiKeysListParamsOrderDesc AdminApiKeysListParamsOrder = "desc" )
Defines values for AdminApiKeysListParamsOrder.
type AdminApiKeysListResp ¶ added in v0.3.1
type AdminApiKeysListResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ApiKeyList
}
func ParseAdminApiKeysListResp ¶ added in v0.3.1
func ParseAdminApiKeysListResp(rsp *http.Response) (*AdminApiKeysListResp, error)
ParseAdminApiKeysListResp parses an HTTP response from a AdminApiKeysListWithResponse call
func (AdminApiKeysListResp) Status ¶ added in v0.3.1
func (r AdminApiKeysListResp) Status() string
Status returns HTTPResponse.Status
func (AdminApiKeysListResp) StatusCode ¶ added in v0.3.1
func (r AdminApiKeysListResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApiKeyList ¶ added in v0.3.1
type ApiKeyList struct {
Data *[]AdminApiKey `json:"data,omitempty"`
FirstId *string `json:"first_id,omitempty"`
HasMore *bool `json:"has_more,omitempty"`
LastId *string `json:"last_id,omitempty"`
Object *string `json:"object,omitempty"`
}
ApiKeyList defines model for ApiKeyList.
type ArchiveProjectResp ¶ added in v0.3.0
func ParseArchiveProjectResp ¶ added in v0.3.0
func ParseArchiveProjectResp(rsp *http.Response) (*ArchiveProjectResp, error)
ParseArchiveProjectResp parses an HTTP response from a ArchiveProjectWithResponse call
func (ArchiveProjectResp) Status ¶ added in v0.3.0
func (r ArchiveProjectResp) Status() string
Status returns HTTPResponse.Status
func (ArchiveProjectResp) StatusCode ¶ added in v0.3.0
func (r ArchiveProjectResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignGroupRoleJSONRequestBody ¶ added in v0.4.0
type AssignGroupRoleJSONRequestBody = PublicAssignOrganizationGroupRoleBody
AssignGroupRoleJSONRequestBody defines body for AssignGroupRole for application/json ContentType.
type AssignGroupRoleResp ¶ added in v0.4.0
type AssignGroupRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupRoleAssignment
}
func ParseAssignGroupRoleResp ¶ added in v0.4.0
func ParseAssignGroupRoleResp(rsp *http.Response) (*AssignGroupRoleResp, error)
ParseAssignGroupRoleResp parses an HTTP response from a AssignGroupRoleWithResponse call
func (AssignGroupRoleResp) Status ¶ added in v0.4.0
func (r AssignGroupRoleResp) Status() string
Status returns HTTPResponse.Status
func (AssignGroupRoleResp) StatusCode ¶ added in v0.4.0
func (r AssignGroupRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignProjectGroupRoleJSONRequestBody ¶ added in v0.4.0
type AssignProjectGroupRoleJSONRequestBody = PublicAssignOrganizationGroupRoleBody
AssignProjectGroupRoleJSONRequestBody defines body for AssignProjectGroupRole for application/json ContentType.
type AssignProjectGroupRoleResp ¶ added in v0.4.0
type AssignProjectGroupRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupRoleAssignment
}
func ParseAssignProjectGroupRoleResp ¶ added in v0.4.0
func ParseAssignProjectGroupRoleResp(rsp *http.Response) (*AssignProjectGroupRoleResp, error)
ParseAssignProjectGroupRoleResp parses an HTTP response from a AssignProjectGroupRoleWithResponse call
func (AssignProjectGroupRoleResp) Status ¶ added in v0.4.0
func (r AssignProjectGroupRoleResp) Status() string
Status returns HTTPResponse.Status
func (AssignProjectGroupRoleResp) StatusCode ¶ added in v0.4.0
func (r AssignProjectGroupRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignProjectUserRoleJSONRequestBody ¶ added in v0.4.0
type AssignProjectUserRoleJSONRequestBody = PublicAssignOrganizationGroupRoleBody
AssignProjectUserRoleJSONRequestBody defines body for AssignProjectUserRole for application/json ContentType.
type AssignProjectUserRoleResp ¶ added in v0.4.0
type AssignProjectUserRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserRoleAssignment
}
func ParseAssignProjectUserRoleResp ¶ added in v0.4.0
func ParseAssignProjectUserRoleResp(rsp *http.Response) (*AssignProjectUserRoleResp, error)
ParseAssignProjectUserRoleResp parses an HTTP response from a AssignProjectUserRoleWithResponse call
func (AssignProjectUserRoleResp) Status ¶ added in v0.4.0
func (r AssignProjectUserRoleResp) Status() string
Status returns HTTPResponse.Status
func (AssignProjectUserRoleResp) StatusCode ¶ added in v0.4.0
func (r AssignProjectUserRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignUserRoleJSONRequestBody ¶ added in v0.4.0
type AssignUserRoleJSONRequestBody = PublicAssignOrganizationGroupRoleBody
AssignUserRoleJSONRequestBody defines body for AssignUserRole for application/json ContentType.
type AssignUserRoleResp ¶ added in v0.4.0
type AssignUserRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserRoleAssignment
}
func ParseAssignUserRoleResp ¶ added in v0.4.0
func ParseAssignUserRoleResp(rsp *http.Response) (*AssignUserRoleResp, error)
ParseAssignUserRoleResp parses an HTTP response from a AssignUserRoleWithResponse call
func (AssignUserRoleResp) Status ¶ added in v0.4.0
func (r AssignUserRoleResp) Status() string
Status returns HTTPResponse.Status
func (AssignUserRoleResp) StatusCode ¶ added in v0.4.0
func (r AssignUserRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignedRoleDetails ¶ added in v0.4.0
type AssignedRoleDetails struct {
CreatedAt *int64 `json:"created_at"`
CreatedBy *string `json:"created_by"`
CreatedByUserObj *map[string]interface{} `json:"created_by_user_obj"`
Description *string `json:"description"`
// Id Identifier for the role.
Id string `json:"id"`
Metadata *map[string]interface{} `json:"metadata"`
// Name Name of the role.
Name string `json:"name"`
// Permissions Permissions associated with the role.
Permissions []string `json:"permissions"`
// PredefinedRole Whether the role is predefined by OpenAI.
PredefinedRole bool `json:"predefined_role"`
// ResourceType Resource type the role applies to.
ResourceType string `json:"resource_type"`
UpdatedAt *int64 `json:"updated_at"`
}
AssignedRoleDetails Detailed information about a role assignment entry returned when listing assignments.
type Certificate ¶ added in v0.3.3
type Certificate struct {
// Active Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.
Active *bool `json:"active,omitempty"`
CertificateDetails struct {
// Content The content of the certificate in PEM format.
Content *string `json:"content,omitempty"`
// ExpiresAt The Unix timestamp (in seconds) of when the certificate expires.
ExpiresAt *int64 `json:"expires_at,omitempty"`
// ValidAt The Unix timestamp (in seconds) of when the certificate becomes valid.
ValidAt *int64 `json:"valid_at,omitempty"`
} `json:"certificate_details"`
// CreatedAt The Unix timestamp (in seconds) of when the certificate was uploaded.
CreatedAt int64 `json:"created_at"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// Name The name of the certificate.
Name string `json:"name"`
// Object The object type.
//
// - If creating, updating, or getting a specific certificate, the object type is `certificate`.
// - If listing, activating, or deactivating certificates for the organization, the object type is `organization.certificate`.
// - If listing, activating, or deactivating certificates for a project, the object type is `organization.project.certificate`.
Object CertificateObject `json:"object"`
}
Certificate Represents an individual `certificate` uploaded to the organization.
type CertificateObject ¶ added in v0.3.3
type CertificateObject string
CertificateObject The object type.
- If creating, updating, or getting a specific certificate, the object type is `certificate`. - If listing, activating, or deactivating certificates for the organization, the object type is `organization.certificate`. - If listing, activating, or deactivating certificates for a project, the object type is `organization.project.certificate`.
const ( CertificateObjectCertificate CertificateObject = "certificate" CertificateObjectOrganizationCertificate CertificateObject = "organization.certificate" CertificateObjectOrganizationProjectCertificate CertificateObject = "organization.project.certificate" )
Defines values for CertificateObject.
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) ActivateOrganizationCertificates ¶ added in v0.3.3
func (c *Client) ActivateOrganizationCertificates(ctx context.Context, body ActivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActivateOrganizationCertificatesWithBody ¶ added in v0.3.3
func (*Client) ActivateProjectCertificates ¶ added in v0.3.3
func (c *Client) ActivateProjectCertificates(ctx context.Context, projectId string, body ActivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActivateProjectCertificatesWithBody ¶ added in v0.3.3
func (*Client) AddGroupUser ¶ added in v0.4.0
func (c *Client) AddGroupUser(ctx context.Context, groupId string, body AddGroupUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddGroupUserWithBody ¶ added in v0.4.0
func (*Client) AddProjectGroup ¶ added in v0.4.0
func (c *Client) AddProjectGroup(ctx context.Context, projectId string, body AddProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddProjectGroupWithBody ¶ added in v0.4.0
func (*Client) AdminApiKeysCreate ¶ added in v0.3.1
func (c *Client) AdminApiKeysCreate(ctx context.Context, body AdminApiKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AdminApiKeysCreateWithBody ¶ added in v0.3.1
func (*Client) AdminApiKeysDelete ¶ added in v0.3.1
func (*Client) AdminApiKeysGet ¶ added in v0.3.1
func (*Client) AdminApiKeysList ¶ added in v0.3.1
func (c *Client) AdminApiKeysList(ctx context.Context, params *AdminApiKeysListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ArchiveProject ¶ added in v0.3.0
func (*Client) AssignGroupRole ¶ added in v0.4.0
func (c *Client) AssignGroupRole(ctx context.Context, groupId string, body AssignGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignGroupRoleWithBody ¶ added in v0.4.0
func (*Client) AssignProjectGroupRole ¶ added in v0.4.0
func (c *Client) AssignProjectGroupRole(ctx context.Context, projectId string, groupId string, body AssignProjectGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignProjectGroupRoleWithBody ¶ added in v0.4.0
func (*Client) AssignProjectUserRole ¶ added in v0.4.0
func (c *Client) AssignProjectUserRole(ctx context.Context, projectId string, userId string, body AssignProjectUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignProjectUserRoleWithBody ¶ added in v0.4.0
func (*Client) AssignUserRole ¶ added in v0.4.0
func (c *Client) AssignUserRole(ctx context.Context, userId string, body AssignUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignUserRoleWithBody ¶ added in v0.4.0
func (*Client) CreateGroup ¶ added in v0.4.0
func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGroupWithBody ¶ added in v0.4.0
func (*Client) CreateProject ¶ added in v0.3.0
func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectRole ¶ added in v0.4.0
func (c *Client) CreateProjectRole(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectRoleWithBody ¶ added in v0.4.0
func (*Client) CreateProjectServiceAccount ¶ added in v0.3.0
func (c *Client) CreateProjectServiceAccount(ctx context.Context, projectId string, body CreateProjectServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectServiceAccountWithBody ¶ added in v0.3.0
func (*Client) CreateProjectUser ¶ added in v0.3.0
func (c *Client) CreateProjectUser(ctx context.Context, projectId string, body CreateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectUserWithBody ¶ added in v0.3.0
func (*Client) CreateProjectWithBody ¶ added in v0.3.0
func (*Client) CreateRole ¶ added in v0.4.0
func (c *Client) CreateRole(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRoleWithBody ¶ added in v0.4.0
func (*Client) DeactivateOrganizationCertificates ¶ added in v0.3.3
func (c *Client) DeactivateOrganizationCertificates(ctx context.Context, body DeactivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeactivateOrganizationCertificatesWithBody ¶ added in v0.3.3
func (*Client) DeactivateProjectCertificates ¶ added in v0.3.3
func (c *Client) DeactivateProjectCertificates(ctx context.Context, projectId string, body DeactivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeactivateProjectCertificatesWithBody ¶ added in v0.3.3
func (*Client) DeleteCertificate ¶ added in v0.3.3
func (*Client) DeleteGroup ¶ added in v0.4.0
func (*Client) DeleteInvite ¶ added in v0.3.0
func (*Client) DeleteProjectApiKey ¶ added in v0.3.0
func (*Client) DeleteProjectRole ¶ added in v0.4.0
func (*Client) DeleteProjectServiceAccount ¶ added in v0.3.0
func (*Client) DeleteProjectUser ¶ added in v0.3.0
func (*Client) DeleteRole ¶ added in v0.4.0
func (*Client) DeleteUser ¶ added in v0.3.0
func (*Client) GetCertificate ¶ added in v0.3.3
func (c *Client) GetCertificate(ctx context.Context, certificateId string, params *GetCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteUser ¶ added in v0.3.0
func (c *Client) InviteUser(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteUserWithBody ¶ added in v0.3.0
func (*Client) ListGroupRoleAssignments ¶ added in v0.4.0
func (c *Client) ListGroupRoleAssignments(ctx context.Context, groupId string, params *ListGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListGroupUsers ¶ added in v0.4.0
func (c *Client) ListGroupUsers(ctx context.Context, groupId string, params *ListGroupUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListGroups ¶ added in v0.4.0
func (c *Client) ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListInvites ¶ added in v0.3.0
func (c *Client) ListInvites(ctx context.Context, params *ListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListOrganizationCertificates ¶ added in v0.3.3
func (c *Client) ListOrganizationCertificates(ctx context.Context, params *ListOrganizationCertificatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectApiKeys ¶ added in v0.3.0
func (c *Client) ListProjectApiKeys(ctx context.Context, projectId string, params *ListProjectApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectCertificates ¶ added in v0.3.3
func (c *Client) ListProjectCertificates(ctx context.Context, projectId string, params *ListProjectCertificatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectGroupRoleAssignments ¶ added in v0.4.0
func (c *Client) ListProjectGroupRoleAssignments(ctx context.Context, projectId string, groupId string, params *ListProjectGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectGroups ¶ added in v0.4.0
func (c *Client) ListProjectGroups(ctx context.Context, projectId string, params *ListProjectGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectRateLimits ¶ added in v0.3.0
func (c *Client) ListProjectRateLimits(ctx context.Context, projectId string, params *ListProjectRateLimitsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectRoles ¶ added in v0.4.0
func (c *Client) ListProjectRoles(ctx context.Context, projectId string, params *ListProjectRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectServiceAccounts ¶ added in v0.3.0
func (c *Client) ListProjectServiceAccounts(ctx context.Context, projectId string, params *ListProjectServiceAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectUserRoleAssignments ¶ added in v0.4.0
func (c *Client) ListProjectUserRoleAssignments(ctx context.Context, projectId string, userId string, params *ListProjectUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectUsers ¶ added in v0.3.0
func (c *Client) ListProjectUsers(ctx context.Context, projectId string, params *ListProjectUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjects ¶ added in v0.3.0
func (c *Client) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRoles ¶ added in v0.4.0
func (c *Client) ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListUserRoleAssignments ¶ added in v0.4.0
func (c *Client) ListUserRoleAssignments(ctx context.Context, userId string, params *ListUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListUsers ¶ added in v0.3.0
func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ModifyCertificate ¶ added in v0.3.3
func (c *Client) ModifyCertificate(ctx context.Context, certificateId string, body ModifyCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ModifyCertificateWithBody ¶ added in v0.3.3
func (*Client) ModifyProject ¶ added in v0.3.0
func (c *Client) ModifyProject(ctx context.Context, projectId string, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ModifyProjectUser ¶ added in v0.3.0
func (c *Client) ModifyProjectUser(ctx context.Context, projectId string, userId string, body ModifyProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ModifyProjectUserWithBody ¶ added in v0.3.0
func (*Client) ModifyProjectWithBody ¶ added in v0.3.0
func (*Client) ModifyUser ¶ added in v0.3.0
func (c *Client) ModifyUser(ctx context.Context, userId string, body ModifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ModifyUserWithBody ¶ added in v0.3.0
func (*Client) RemoveGroupUser ¶ added in v0.4.0
func (*Client) RemoveProjectGroup ¶ added in v0.4.0
func (*Client) RetrieveInvite ¶ added in v0.3.0
func (*Client) RetrieveProject ¶ added in v0.3.0
func (*Client) RetrieveProjectApiKey ¶ added in v0.3.0
func (*Client) RetrieveProjectServiceAccount ¶ added in v0.3.0
func (*Client) RetrieveProjectUser ¶ added in v0.3.0
func (*Client) RetrieveUser ¶ added in v0.3.0
func (*Client) UnassignGroupRole ¶ added in v0.4.0
func (*Client) UnassignProjectGroupRole ¶ added in v0.4.0
func (*Client) UnassignProjectUserRole ¶ added in v0.4.0
func (*Client) UnassignUserRole ¶ added in v0.4.0
func (*Client) UpdateGroup ¶ added in v0.4.0
func (c *Client) UpdateGroup(ctx context.Context, groupId string, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGroupWithBody ¶ added in v0.4.0
func (*Client) UpdateProjectRateLimits ¶ added in v0.3.0
func (c *Client) UpdateProjectRateLimits(ctx context.Context, projectId string, rateLimitId string, body UpdateProjectRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProjectRateLimitsWithBody ¶ added in v0.3.0
func (*Client) UpdateProjectRole ¶ added in v0.4.0
func (c *Client) UpdateProjectRole(ctx context.Context, projectId string, roleId string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProjectRoleWithBody ¶ added in v0.4.0
func (*Client) UpdateRole ¶ added in v0.4.0
func (c *Client) UpdateRole(ctx context.Context, roleId string, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRoleWithBody ¶ added in v0.4.0
func (*Client) UploadCertificate ¶ added in v0.3.3
func (c *Client) UploadCertificate(ctx context.Context, body UploadCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// AdminApiKeysList request
AdminApiKeysList(ctx context.Context, params *AdminApiKeysListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminApiKeysCreateWithBody request with any body
AdminApiKeysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AdminApiKeysCreate(ctx context.Context, body AdminApiKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminApiKeysDelete request
AdminApiKeysDelete(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminApiKeysGet request
AdminApiKeysGet(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrganizationCertificates request
ListOrganizationCertificates(ctx context.Context, params *ListOrganizationCertificatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadCertificateWithBody request with any body
UploadCertificateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadCertificate(ctx context.Context, body UploadCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateOrganizationCertificatesWithBody request with any body
ActivateOrganizationCertificatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActivateOrganizationCertificates(ctx context.Context, body ActivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeactivateOrganizationCertificatesWithBody request with any body
DeactivateOrganizationCertificatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeactivateOrganizationCertificates(ctx context.Context, body DeactivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCertificate request
DeleteCertificate(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCertificate request
GetCertificate(ctx context.Context, certificateId string, params *GetCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyCertificateWithBody request with any body
ModifyCertificateWithBody(ctx context.Context, certificateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyCertificate(ctx context.Context, certificateId string, body ModifyCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGroups request
ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGroupWithBody request with any body
CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGroup request
DeleteGroup(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGroupWithBody request with any body
UpdateGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGroup(ctx context.Context, groupId string, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGroupRoleAssignments request
ListGroupRoleAssignments(ctx context.Context, groupId string, params *ListGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssignGroupRoleWithBody request with any body
AssignGroupRoleWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssignGroupRole(ctx context.Context, groupId string, body AssignGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnassignGroupRole request
UnassignGroupRole(ctx context.Context, groupId string, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGroupUsers request
ListGroupUsers(ctx context.Context, groupId string, params *ListGroupUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddGroupUserWithBody request with any body
AddGroupUserWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddGroupUser(ctx context.Context, groupId string, body AddGroupUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveGroupUser request
RemoveGroupUser(ctx context.Context, groupId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInvites request
ListInvites(ctx context.Context, params *ListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteUserWithBody request with any body
InviteUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteUser(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInvite request
DeleteInvite(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveInvite request
RetrieveInvite(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjects request
ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWithBody request with any body
CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveProject request
RetrieveProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyProjectWithBody request with any body
ModifyProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyProject(ctx context.Context, projectId string, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectApiKeys request
ListProjectApiKeys(ctx context.Context, projectId string, params *ListProjectApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProjectApiKey request
DeleteProjectApiKey(ctx context.Context, projectId string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveProjectApiKey request
RetrieveProjectApiKey(ctx context.Context, projectId string, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ArchiveProject request
ArchiveProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectCertificates request
ListProjectCertificates(ctx context.Context, projectId string, params *ListProjectCertificatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateProjectCertificatesWithBody request with any body
ActivateProjectCertificatesWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ActivateProjectCertificates(ctx context.Context, projectId string, body ActivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeactivateProjectCertificatesWithBody request with any body
DeactivateProjectCertificatesWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeactivateProjectCertificates(ctx context.Context, projectId string, body DeactivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectGroups request
ListProjectGroups(ctx context.Context, projectId string, params *ListProjectGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddProjectGroupWithBody request with any body
AddProjectGroupWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddProjectGroup(ctx context.Context, projectId string, body AddProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveProjectGroup request
RemoveProjectGroup(ctx context.Context, projectId string, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectRateLimits request
ListProjectRateLimits(ctx context.Context, projectId string, params *ListProjectRateLimitsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectRateLimitsWithBody request with any body
UpdateProjectRateLimitsWithBody(ctx context.Context, projectId string, rateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectRateLimits(ctx context.Context, projectId string, rateLimitId string, body UpdateProjectRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectServiceAccounts request
ListProjectServiceAccounts(ctx context.Context, projectId string, params *ListProjectServiceAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectServiceAccountWithBody request with any body
CreateProjectServiceAccountWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectServiceAccount(ctx context.Context, projectId string, body CreateProjectServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProjectServiceAccount request
DeleteProjectServiceAccount(ctx context.Context, projectId string, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveProjectServiceAccount request
RetrieveProjectServiceAccount(ctx context.Context, projectId string, serviceAccountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectUsers request
ListProjectUsers(ctx context.Context, projectId string, params *ListProjectUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectUserWithBody request with any body
CreateProjectUserWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectUser(ctx context.Context, projectId string, body CreateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProjectUser request
DeleteProjectUser(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveProjectUser request
RetrieveProjectUser(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyProjectUserWithBody request with any body
ModifyProjectUserWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyProjectUser(ctx context.Context, projectId string, userId string, body ModifyProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRoles request
ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRoleWithBody request with any body
CreateRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRole(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRole request
DeleteRole(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRoleWithBody request with any body
UpdateRoleWithBody(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRole(ctx context.Context, roleId string, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsers request
ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUser request
DeleteUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveUser request
RetrieveUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyUserWithBody request with any body
ModifyUserWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyUser(ctx context.Context, userId string, body ModifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUserRoleAssignments request
ListUserRoleAssignments(ctx context.Context, userId string, params *ListUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssignUserRoleWithBody request with any body
AssignUserRoleWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssignUserRole(ctx context.Context, userId string, body AssignUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnassignUserRole request
UnassignUserRole(ctx context.Context, userId string, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectGroupRoleAssignments request
ListProjectGroupRoleAssignments(ctx context.Context, projectId string, groupId string, params *ListProjectGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssignProjectGroupRoleWithBody request with any body
AssignProjectGroupRoleWithBody(ctx context.Context, projectId string, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssignProjectGroupRole(ctx context.Context, projectId string, groupId string, body AssignProjectGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnassignProjectGroupRole request
UnassignProjectGroupRole(ctx context.Context, projectId string, groupId string, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectRoles request
ListProjectRoles(ctx context.Context, projectId string, params *ListProjectRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectRoleWithBody request with any body
CreateProjectRoleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectRole(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProjectRole request
DeleteProjectRole(ctx context.Context, projectId string, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectRoleWithBody request with any body
UpdateProjectRoleWithBody(ctx context.Context, projectId string, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectRole(ctx context.Context, projectId string, roleId string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectUserRoleAssignments request
ListProjectUserRoleAssignments(ctx context.Context, projectId string, userId string, params *ListProjectUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssignProjectUserRoleWithBody request with any body
AssignProjectUserRoleWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssignProjectUserRole(ctx context.Context, projectId string, userId string, body AssignProjectUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnassignProjectUserRole request
UnassignProjectUserRole(ctx context.Context, projectId string, userId string, roleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) ActivateOrganizationCertificatesWithBodyWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ActivateOrganizationCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateOrganizationCertificatesResp, error)
ActivateOrganizationCertificatesWithBodyWithResponse request with arbitrary body returning *ActivateOrganizationCertificatesResp
func (*ClientWithResponses) ActivateOrganizationCertificatesWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ActivateOrganizationCertificatesWithResponse(ctx context.Context, body ActivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateOrganizationCertificatesResp, error)
func (*ClientWithResponses) ActivateProjectCertificatesWithBodyWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ActivateProjectCertificatesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateProjectCertificatesResp, error)
ActivateProjectCertificatesWithBodyWithResponse request with arbitrary body returning *ActivateProjectCertificatesResp
func (*ClientWithResponses) ActivateProjectCertificatesWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ActivateProjectCertificatesWithResponse(ctx context.Context, projectId string, body ActivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateProjectCertificatesResp, error)
func (*ClientWithResponses) AddGroupUserWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddGroupUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddGroupUserResp, error)
AddGroupUserWithBodyWithResponse request with arbitrary body returning *AddGroupUserResp
func (*ClientWithResponses) AddGroupUserWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddGroupUserWithResponse(ctx context.Context, groupId string, body AddGroupUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AddGroupUserResp, error)
func (*ClientWithResponses) AddProjectGroupWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddProjectGroupWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectGroupResp, error)
AddProjectGroupWithBodyWithResponse request with arbitrary body returning *AddProjectGroupResp
func (*ClientWithResponses) AddProjectGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddProjectGroupWithResponse(ctx context.Context, projectId string, body AddProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectGroupResp, error)
func (*ClientWithResponses) AdminApiKeysCreateWithBodyWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) AdminApiKeysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminApiKeysCreateResp, error)
AdminApiKeysCreateWithBodyWithResponse request with arbitrary body returning *AdminApiKeysCreateResp
func (*ClientWithResponses) AdminApiKeysCreateWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) AdminApiKeysCreateWithResponse(ctx context.Context, body AdminApiKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminApiKeysCreateResp, error)
func (*ClientWithResponses) AdminApiKeysDeleteWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) AdminApiKeysDeleteWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*AdminApiKeysDeleteResp, error)
AdminApiKeysDeleteWithResponse request returning *AdminApiKeysDeleteResp
func (*ClientWithResponses) AdminApiKeysGetWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) AdminApiKeysGetWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*AdminApiKeysGetResp, error)
AdminApiKeysGetWithResponse request returning *AdminApiKeysGetResp
func (*ClientWithResponses) AdminApiKeysListWithResponse ¶ added in v0.3.1
func (c *ClientWithResponses) AdminApiKeysListWithResponse(ctx context.Context, params *AdminApiKeysListParams, reqEditors ...RequestEditorFn) (*AdminApiKeysListResp, error)
AdminApiKeysListWithResponse request returning *AdminApiKeysListResp
func (*ClientWithResponses) ArchiveProjectWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ArchiveProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ArchiveProjectResp, error)
ArchiveProjectWithResponse request returning *ArchiveProjectResp
func (*ClientWithResponses) AssignGroupRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignGroupRoleWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignGroupRoleResp, error)
AssignGroupRoleWithBodyWithResponse request with arbitrary body returning *AssignGroupRoleResp
func (*ClientWithResponses) AssignGroupRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignGroupRoleWithResponse(ctx context.Context, groupId string, body AssignGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignGroupRoleResp, error)
func (*ClientWithResponses) AssignProjectGroupRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignProjectGroupRoleWithBodyWithResponse(ctx context.Context, projectId string, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignProjectGroupRoleResp, error)
AssignProjectGroupRoleWithBodyWithResponse request with arbitrary body returning *AssignProjectGroupRoleResp
func (*ClientWithResponses) AssignProjectGroupRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignProjectGroupRoleWithResponse(ctx context.Context, projectId string, groupId string, body AssignProjectGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignProjectGroupRoleResp, error)
func (*ClientWithResponses) AssignProjectUserRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignProjectUserRoleWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignProjectUserRoleResp, error)
AssignProjectUserRoleWithBodyWithResponse request with arbitrary body returning *AssignProjectUserRoleResp
func (*ClientWithResponses) AssignProjectUserRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignProjectUserRoleWithResponse(ctx context.Context, projectId string, userId string, body AssignProjectUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignProjectUserRoleResp, error)
func (*ClientWithResponses) AssignUserRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignUserRoleWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignUserRoleResp, error)
AssignUserRoleWithBodyWithResponse request with arbitrary body returning *AssignUserRoleResp
func (*ClientWithResponses) AssignUserRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignUserRoleWithResponse(ctx context.Context, userId string, body AssignUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignUserRoleResp, error)
func (*ClientWithResponses) CreateGroupWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
CreateGroupWithBodyWithResponse request with arbitrary body returning *CreateGroupResp
func (*ClientWithResponses) CreateGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
func (*ClientWithResponses) CreateProjectRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResp, error)
CreateProjectRoleWithBodyWithResponse request with arbitrary body returning *CreateProjectRoleResp
func (*ClientWithResponses) CreateProjectRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateProjectRoleWithResponse(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResp, error)
func (*ClientWithResponses) CreateProjectServiceAccountWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateProjectServiceAccountWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectServiceAccountResp, error)
CreateProjectServiceAccountWithBodyWithResponse request with arbitrary body returning *CreateProjectServiceAccountResp
func (*ClientWithResponses) CreateProjectServiceAccountWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateProjectServiceAccountWithResponse(ctx context.Context, projectId string, body CreateProjectServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectServiceAccountResp, error)
func (*ClientWithResponses) CreateProjectUserWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateProjectUserWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectUserResp, error)
CreateProjectUserWithBodyWithResponse request with arbitrary body returning *CreateProjectUserResp
func (*ClientWithResponses) CreateProjectUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateProjectUserWithResponse(ctx context.Context, projectId string, body CreateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectUserResp, error)
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResp, error)
CreateProjectWithBodyWithResponse request with arbitrary body returning *CreateProjectResp
func (*ClientWithResponses) CreateProjectWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResp, error)
func (*ClientWithResponses) CreateRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResp, error)
CreateRoleWithBodyWithResponse request with arbitrary body returning *CreateRoleResp
func (*ClientWithResponses) CreateRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResp, error)
func (*ClientWithResponses) DeactivateOrganizationCertificatesWithBodyWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) DeactivateOrganizationCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeactivateOrganizationCertificatesResp, error)
DeactivateOrganizationCertificatesWithBodyWithResponse request with arbitrary body returning *DeactivateOrganizationCertificatesResp
func (*ClientWithResponses) DeactivateOrganizationCertificatesWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) DeactivateOrganizationCertificatesWithResponse(ctx context.Context, body DeactivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeactivateOrganizationCertificatesResp, error)
func (*ClientWithResponses) DeactivateProjectCertificatesWithBodyWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) DeactivateProjectCertificatesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeactivateProjectCertificatesResp, error)
DeactivateProjectCertificatesWithBodyWithResponse request with arbitrary body returning *DeactivateProjectCertificatesResp
func (*ClientWithResponses) DeactivateProjectCertificatesWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) DeactivateProjectCertificatesWithResponse(ctx context.Context, projectId string, body DeactivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeactivateProjectCertificatesResp, error)
func (*ClientWithResponses) DeleteCertificateWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) DeleteCertificateWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*DeleteCertificateResp, error)
DeleteCertificateWithResponse request returning *DeleteCertificateResp
func (*ClientWithResponses) DeleteGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteGroupResp, error)
DeleteGroupWithResponse request returning *DeleteGroupResp
func (*ClientWithResponses) DeleteInviteWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteInviteWithResponse(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*DeleteInviteResp, error)
DeleteInviteWithResponse request returning *DeleteInviteResp
func (*ClientWithResponses) DeleteProjectApiKeyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteProjectApiKeyWithResponse(ctx context.Context, projectId string, keyId string, reqEditors ...RequestEditorFn) (*DeleteProjectApiKeyResp, error)
DeleteProjectApiKeyWithResponse request returning *DeleteProjectApiKeyResp
func (*ClientWithResponses) DeleteProjectRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteProjectRoleWithResponse(ctx context.Context, projectId string, roleId string, reqEditors ...RequestEditorFn) (*DeleteProjectRoleResp, error)
DeleteProjectRoleWithResponse request returning *DeleteProjectRoleResp
func (*ClientWithResponses) DeleteProjectServiceAccountWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteProjectServiceAccountWithResponse(ctx context.Context, projectId string, serviceAccountId string, reqEditors ...RequestEditorFn) (*DeleteProjectServiceAccountResp, error)
DeleteProjectServiceAccountWithResponse request returning *DeleteProjectServiceAccountResp
func (*ClientWithResponses) DeleteProjectUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteProjectUserWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*DeleteProjectUserResp, error)
DeleteProjectUserWithResponse request returning *DeleteProjectUserResp
func (*ClientWithResponses) DeleteRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*DeleteRoleResp, error)
DeleteRoleWithResponse request returning *DeleteRoleResp
func (*ClientWithResponses) DeleteUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserResp, error)
DeleteUserWithResponse request returning *DeleteUserResp
func (*ClientWithResponses) GetCertificateWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) GetCertificateWithResponse(ctx context.Context, certificateId string, params *GetCertificateParams, reqEditors ...RequestEditorFn) (*GetCertificateResp, error)
GetCertificateWithResponse request returning *GetCertificateResp
func (*ClientWithResponses) InviteUserWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) InviteUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUserResp, error)
InviteUserWithBodyWithResponse request with arbitrary body returning *InviteUserResp
func (*ClientWithResponses) InviteUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) InviteUserWithResponse(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUserResp, error)
func (*ClientWithResponses) ListGroupRoleAssignmentsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListGroupRoleAssignmentsWithResponse(ctx context.Context, groupId string, params *ListGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListGroupRoleAssignmentsResp, error)
ListGroupRoleAssignmentsWithResponse request returning *ListGroupRoleAssignmentsResp
func (*ClientWithResponses) ListGroupUsersWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListGroupUsersWithResponse(ctx context.Context, groupId string, params *ListGroupUsersParams, reqEditors ...RequestEditorFn) (*ListGroupUsersResp, error)
ListGroupUsersWithResponse request returning *ListGroupUsersResp
func (*ClientWithResponses) ListGroupsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResp, error)
ListGroupsWithResponse request returning *ListGroupsResp
func (*ClientWithResponses) ListInvitesWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListInvitesWithResponse(ctx context.Context, params *ListInvitesParams, reqEditors ...RequestEditorFn) (*ListInvitesResp, error)
ListInvitesWithResponse request returning *ListInvitesResp
func (*ClientWithResponses) ListOrganizationCertificatesWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ListOrganizationCertificatesWithResponse(ctx context.Context, params *ListOrganizationCertificatesParams, reqEditors ...RequestEditorFn) (*ListOrganizationCertificatesResp, error)
ListOrganizationCertificatesWithResponse request returning *ListOrganizationCertificatesResp
func (*ClientWithResponses) ListProjectApiKeysWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListProjectApiKeysWithResponse(ctx context.Context, projectId string, params *ListProjectApiKeysParams, reqEditors ...RequestEditorFn) (*ListProjectApiKeysResp, error)
ListProjectApiKeysWithResponse request returning *ListProjectApiKeysResp
func (*ClientWithResponses) ListProjectCertificatesWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ListProjectCertificatesWithResponse(ctx context.Context, projectId string, params *ListProjectCertificatesParams, reqEditors ...RequestEditorFn) (*ListProjectCertificatesResp, error)
ListProjectCertificatesWithResponse request returning *ListProjectCertificatesResp
func (*ClientWithResponses) ListProjectGroupRoleAssignmentsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListProjectGroupRoleAssignmentsWithResponse(ctx context.Context, projectId string, groupId string, params *ListProjectGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListProjectGroupRoleAssignmentsResp, error)
ListProjectGroupRoleAssignmentsWithResponse request returning *ListProjectGroupRoleAssignmentsResp
func (*ClientWithResponses) ListProjectGroupsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListProjectGroupsWithResponse(ctx context.Context, projectId string, params *ListProjectGroupsParams, reqEditors ...RequestEditorFn) (*ListProjectGroupsResp, error)
ListProjectGroupsWithResponse request returning *ListProjectGroupsResp
func (*ClientWithResponses) ListProjectRateLimitsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListProjectRateLimitsWithResponse(ctx context.Context, projectId string, params *ListProjectRateLimitsParams, reqEditors ...RequestEditorFn) (*ListProjectRateLimitsResp, error)
ListProjectRateLimitsWithResponse request returning *ListProjectRateLimitsResp
func (*ClientWithResponses) ListProjectRolesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListProjectRolesWithResponse(ctx context.Context, projectId string, params *ListProjectRolesParams, reqEditors ...RequestEditorFn) (*ListProjectRolesResp, error)
ListProjectRolesWithResponse request returning *ListProjectRolesResp
func (*ClientWithResponses) ListProjectServiceAccountsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListProjectServiceAccountsWithResponse(ctx context.Context, projectId string, params *ListProjectServiceAccountsParams, reqEditors ...RequestEditorFn) (*ListProjectServiceAccountsResp, error)
ListProjectServiceAccountsWithResponse request returning *ListProjectServiceAccountsResp
func (*ClientWithResponses) ListProjectUserRoleAssignmentsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListProjectUserRoleAssignmentsWithResponse(ctx context.Context, projectId string, userId string, params *ListProjectUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListProjectUserRoleAssignmentsResp, error)
ListProjectUserRoleAssignmentsWithResponse request returning *ListProjectUserRoleAssignmentsResp
func (*ClientWithResponses) ListProjectUsersWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListProjectUsersWithResponse(ctx context.Context, projectId string, params *ListProjectUsersParams, reqEditors ...RequestEditorFn) (*ListProjectUsersResp, error)
ListProjectUsersWithResponse request returning *ListProjectUsersResp
func (*ClientWithResponses) ListProjectsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResp, error)
ListProjectsWithResponse request returning *ListProjectsResp
func (*ClientWithResponses) ListRolesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResp, error)
ListRolesWithResponse request returning *ListRolesResp
func (*ClientWithResponses) ListUserRoleAssignmentsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListUserRoleAssignmentsWithResponse(ctx context.Context, userId string, params *ListUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListUserRoleAssignmentsResp, error)
ListUserRoleAssignmentsWithResponse request returning *ListUserRoleAssignmentsResp
func (*ClientWithResponses) ListUsersWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResp, error)
ListUsersWithResponse request returning *ListUsersResp
func (*ClientWithResponses) ModifyCertificateWithBodyWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ModifyCertificateWithBodyWithResponse(ctx context.Context, certificateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCertificateResp, error)
ModifyCertificateWithBodyWithResponse request with arbitrary body returning *ModifyCertificateResp
func (*ClientWithResponses) ModifyCertificateWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) ModifyCertificateWithResponse(ctx context.Context, certificateId string, body ModifyCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCertificateResp, error)
func (*ClientWithResponses) ModifyProjectUserWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ModifyProjectUserWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyProjectUserResp, error)
ModifyProjectUserWithBodyWithResponse request with arbitrary body returning *ModifyProjectUserResp
func (*ClientWithResponses) ModifyProjectUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ModifyProjectUserWithResponse(ctx context.Context, projectId string, userId string, body ModifyProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyProjectUserResp, error)
func (*ClientWithResponses) ModifyProjectWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ModifyProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyProjectResp, error)
ModifyProjectWithBodyWithResponse request with arbitrary body returning *ModifyProjectResp
func (*ClientWithResponses) ModifyProjectWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ModifyProjectWithResponse(ctx context.Context, projectId string, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyProjectResp, error)
func (*ClientWithResponses) ModifyUserWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ModifyUserWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyUserResp, error)
ModifyUserWithBodyWithResponse request with arbitrary body returning *ModifyUserResp
func (*ClientWithResponses) ModifyUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ModifyUserWithResponse(ctx context.Context, userId string, body ModifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyUserResp, error)
func (*ClientWithResponses) RemoveGroupUserWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RemoveGroupUserWithResponse(ctx context.Context, groupId string, userId string, reqEditors ...RequestEditorFn) (*RemoveGroupUserResp, error)
RemoveGroupUserWithResponse request returning *RemoveGroupUserResp
func (*ClientWithResponses) RemoveProjectGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RemoveProjectGroupWithResponse(ctx context.Context, projectId string, groupId string, reqEditors ...RequestEditorFn) (*RemoveProjectGroupResp, error)
RemoveProjectGroupWithResponse request returning *RemoveProjectGroupResp
func (*ClientWithResponses) RetrieveInviteWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) RetrieveInviteWithResponse(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*RetrieveInviteResp, error)
RetrieveInviteWithResponse request returning *RetrieveInviteResp
func (*ClientWithResponses) RetrieveProjectApiKeyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) RetrieveProjectApiKeyWithResponse(ctx context.Context, projectId string, keyId string, reqEditors ...RequestEditorFn) (*RetrieveProjectApiKeyResp, error)
RetrieveProjectApiKeyWithResponse request returning *RetrieveProjectApiKeyResp
func (*ClientWithResponses) RetrieveProjectServiceAccountWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) RetrieveProjectServiceAccountWithResponse(ctx context.Context, projectId string, serviceAccountId string, reqEditors ...RequestEditorFn) (*RetrieveProjectServiceAccountResp, error)
RetrieveProjectServiceAccountWithResponse request returning *RetrieveProjectServiceAccountResp
func (*ClientWithResponses) RetrieveProjectUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) RetrieveProjectUserWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*RetrieveProjectUserResp, error)
RetrieveProjectUserWithResponse request returning *RetrieveProjectUserResp
func (*ClientWithResponses) RetrieveProjectWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) RetrieveProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*RetrieveProjectResp, error)
RetrieveProjectWithResponse request returning *RetrieveProjectResp
func (*ClientWithResponses) RetrieveUserWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) RetrieveUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*RetrieveUserResp, error)
RetrieveUserWithResponse request returning *RetrieveUserResp
func (*ClientWithResponses) UnassignGroupRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnassignGroupRoleWithResponse(ctx context.Context, groupId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignGroupRoleResp, error)
UnassignGroupRoleWithResponse request returning *UnassignGroupRoleResp
func (*ClientWithResponses) UnassignProjectGroupRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnassignProjectGroupRoleWithResponse(ctx context.Context, projectId string, groupId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignProjectGroupRoleResp, error)
UnassignProjectGroupRoleWithResponse request returning *UnassignProjectGroupRoleResp
func (*ClientWithResponses) UnassignProjectUserRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnassignProjectUserRoleWithResponse(ctx context.Context, projectId string, userId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignProjectUserRoleResp, error)
UnassignProjectUserRoleWithResponse request returning *UnassignProjectUserRoleResp
func (*ClientWithResponses) UnassignUserRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnassignUserRoleWithResponse(ctx context.Context, userId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignUserRoleResp, error)
UnassignUserRoleWithResponse request returning *UnassignUserRoleResp
func (*ClientWithResponses) UpdateGroupWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResp, error)
UpdateGroupWithBodyWithResponse request with arbitrary body returning *UpdateGroupResp
func (*ClientWithResponses) UpdateGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, groupId string, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResp, error)
func (*ClientWithResponses) UpdateProjectRateLimitsWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) UpdateProjectRateLimitsWithBodyWithResponse(ctx context.Context, projectId string, rateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectRateLimitsResp, error)
UpdateProjectRateLimitsWithBodyWithResponse request with arbitrary body returning *UpdateProjectRateLimitsResp
func (*ClientWithResponses) UpdateProjectRateLimitsWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) UpdateProjectRateLimitsWithResponse(ctx context.Context, projectId string, rateLimitId string, body UpdateProjectRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectRateLimitsResp, error)
func (*ClientWithResponses) UpdateProjectRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResp, error)
UpdateProjectRoleWithBodyWithResponse request with arbitrary body returning *UpdateProjectRoleResp
func (*ClientWithResponses) UpdateProjectRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateProjectRoleWithResponse(ctx context.Context, projectId string, roleId string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResp, error)
func (*ClientWithResponses) UpdateRoleWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateRoleWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRoleResp, error)
UpdateRoleWithBodyWithResponse request with arbitrary body returning *UpdateRoleResp
func (*ClientWithResponses) UpdateRoleWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateRoleWithResponse(ctx context.Context, roleId string, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRoleResp, error)
func (*ClientWithResponses) UploadCertificateWithBodyWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) UploadCertificateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCertificateResp, error)
UploadCertificateWithBodyWithResponse request with arbitrary body returning *UploadCertificateResp
func (*ClientWithResponses) UploadCertificateWithResponse ¶ added in v0.3.3
func (c *ClientWithResponses) UploadCertificateWithResponse(ctx context.Context, body UploadCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadCertificateResp, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AdminApiKeysListWithResponse request
AdminApiKeysListWithResponse(ctx context.Context, params *AdminApiKeysListParams, reqEditors ...RequestEditorFn) (*AdminApiKeysListResp, error)
// AdminApiKeysCreateWithBodyWithResponse request with any body
AdminApiKeysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminApiKeysCreateResp, error)
AdminApiKeysCreateWithResponse(ctx context.Context, body AdminApiKeysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminApiKeysCreateResp, error)
// AdminApiKeysDeleteWithResponse request
AdminApiKeysDeleteWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*AdminApiKeysDeleteResp, error)
// AdminApiKeysGetWithResponse request
AdminApiKeysGetWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*AdminApiKeysGetResp, error)
// ListOrganizationCertificatesWithResponse request
ListOrganizationCertificatesWithResponse(ctx context.Context, params *ListOrganizationCertificatesParams, reqEditors ...RequestEditorFn) (*ListOrganizationCertificatesResp, error)
// UploadCertificateWithBodyWithResponse request with any body
UploadCertificateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCertificateResp, error)
UploadCertificateWithResponse(ctx context.Context, body UploadCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadCertificateResp, error)
// ActivateOrganizationCertificatesWithBodyWithResponse request with any body
ActivateOrganizationCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateOrganizationCertificatesResp, error)
ActivateOrganizationCertificatesWithResponse(ctx context.Context, body ActivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateOrganizationCertificatesResp, error)
// DeactivateOrganizationCertificatesWithBodyWithResponse request with any body
DeactivateOrganizationCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeactivateOrganizationCertificatesResp, error)
DeactivateOrganizationCertificatesWithResponse(ctx context.Context, body DeactivateOrganizationCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeactivateOrganizationCertificatesResp, error)
// DeleteCertificateWithResponse request
DeleteCertificateWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*DeleteCertificateResp, error)
// GetCertificateWithResponse request
GetCertificateWithResponse(ctx context.Context, certificateId string, params *GetCertificateParams, reqEditors ...RequestEditorFn) (*GetCertificateResp, error)
// ModifyCertificateWithBodyWithResponse request with any body
ModifyCertificateWithBodyWithResponse(ctx context.Context, certificateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCertificateResp, error)
ModifyCertificateWithResponse(ctx context.Context, certificateId string, body ModifyCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCertificateResp, error)
// ListGroupsWithResponse request
ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResp, error)
// CreateGroupWithBodyWithResponse request with any body
CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
// DeleteGroupWithResponse request
DeleteGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteGroupResp, error)
// UpdateGroupWithBodyWithResponse request with any body
UpdateGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResp, error)
UpdateGroupWithResponse(ctx context.Context, groupId string, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResp, error)
// ListGroupRoleAssignmentsWithResponse request
ListGroupRoleAssignmentsWithResponse(ctx context.Context, groupId string, params *ListGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListGroupRoleAssignmentsResp, error)
// AssignGroupRoleWithBodyWithResponse request with any body
AssignGroupRoleWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignGroupRoleResp, error)
AssignGroupRoleWithResponse(ctx context.Context, groupId string, body AssignGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignGroupRoleResp, error)
// UnassignGroupRoleWithResponse request
UnassignGroupRoleWithResponse(ctx context.Context, groupId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignGroupRoleResp, error)
// ListGroupUsersWithResponse request
ListGroupUsersWithResponse(ctx context.Context, groupId string, params *ListGroupUsersParams, reqEditors ...RequestEditorFn) (*ListGroupUsersResp, error)
// AddGroupUserWithBodyWithResponse request with any body
AddGroupUserWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddGroupUserResp, error)
AddGroupUserWithResponse(ctx context.Context, groupId string, body AddGroupUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AddGroupUserResp, error)
// RemoveGroupUserWithResponse request
RemoveGroupUserWithResponse(ctx context.Context, groupId string, userId string, reqEditors ...RequestEditorFn) (*RemoveGroupUserResp, error)
// ListInvitesWithResponse request
ListInvitesWithResponse(ctx context.Context, params *ListInvitesParams, reqEditors ...RequestEditorFn) (*ListInvitesResp, error)
// InviteUserWithBodyWithResponse request with any body
InviteUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUserResp, error)
InviteUserWithResponse(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUserResp, error)
// DeleteInviteWithResponse request
DeleteInviteWithResponse(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*DeleteInviteResp, error)
// RetrieveInviteWithResponse request
RetrieveInviteWithResponse(ctx context.Context, inviteId string, reqEditors ...RequestEditorFn) (*RetrieveInviteResp, error)
// ListProjectsWithResponse request
ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResp, error)
// CreateProjectWithBodyWithResponse request with any body
CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResp, error)
CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResp, error)
// RetrieveProjectWithResponse request
RetrieveProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*RetrieveProjectResp, error)
// ModifyProjectWithBodyWithResponse request with any body
ModifyProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyProjectResp, error)
ModifyProjectWithResponse(ctx context.Context, projectId string, body ModifyProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyProjectResp, error)
// ListProjectApiKeysWithResponse request
ListProjectApiKeysWithResponse(ctx context.Context, projectId string, params *ListProjectApiKeysParams, reqEditors ...RequestEditorFn) (*ListProjectApiKeysResp, error)
// DeleteProjectApiKeyWithResponse request
DeleteProjectApiKeyWithResponse(ctx context.Context, projectId string, keyId string, reqEditors ...RequestEditorFn) (*DeleteProjectApiKeyResp, error)
// RetrieveProjectApiKeyWithResponse request
RetrieveProjectApiKeyWithResponse(ctx context.Context, projectId string, keyId string, reqEditors ...RequestEditorFn) (*RetrieveProjectApiKeyResp, error)
// ArchiveProjectWithResponse request
ArchiveProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ArchiveProjectResp, error)
// ListProjectCertificatesWithResponse request
ListProjectCertificatesWithResponse(ctx context.Context, projectId string, params *ListProjectCertificatesParams, reqEditors ...RequestEditorFn) (*ListProjectCertificatesResp, error)
// ActivateProjectCertificatesWithBodyWithResponse request with any body
ActivateProjectCertificatesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateProjectCertificatesResp, error)
ActivateProjectCertificatesWithResponse(ctx context.Context, projectId string, body ActivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateProjectCertificatesResp, error)
// DeactivateProjectCertificatesWithBodyWithResponse request with any body
DeactivateProjectCertificatesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeactivateProjectCertificatesResp, error)
DeactivateProjectCertificatesWithResponse(ctx context.Context, projectId string, body DeactivateProjectCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeactivateProjectCertificatesResp, error)
// ListProjectGroupsWithResponse request
ListProjectGroupsWithResponse(ctx context.Context, projectId string, params *ListProjectGroupsParams, reqEditors ...RequestEditorFn) (*ListProjectGroupsResp, error)
// AddProjectGroupWithBodyWithResponse request with any body
AddProjectGroupWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectGroupResp, error)
AddProjectGroupWithResponse(ctx context.Context, projectId string, body AddProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectGroupResp, error)
// RemoveProjectGroupWithResponse request
RemoveProjectGroupWithResponse(ctx context.Context, projectId string, groupId string, reqEditors ...RequestEditorFn) (*RemoveProjectGroupResp, error)
// ListProjectRateLimitsWithResponse request
ListProjectRateLimitsWithResponse(ctx context.Context, projectId string, params *ListProjectRateLimitsParams, reqEditors ...RequestEditorFn) (*ListProjectRateLimitsResp, error)
// UpdateProjectRateLimitsWithBodyWithResponse request with any body
UpdateProjectRateLimitsWithBodyWithResponse(ctx context.Context, projectId string, rateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectRateLimitsResp, error)
UpdateProjectRateLimitsWithResponse(ctx context.Context, projectId string, rateLimitId string, body UpdateProjectRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectRateLimitsResp, error)
// ListProjectServiceAccountsWithResponse request
ListProjectServiceAccountsWithResponse(ctx context.Context, projectId string, params *ListProjectServiceAccountsParams, reqEditors ...RequestEditorFn) (*ListProjectServiceAccountsResp, error)
// CreateProjectServiceAccountWithBodyWithResponse request with any body
CreateProjectServiceAccountWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectServiceAccountResp, error)
CreateProjectServiceAccountWithResponse(ctx context.Context, projectId string, body CreateProjectServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectServiceAccountResp, error)
// DeleteProjectServiceAccountWithResponse request
DeleteProjectServiceAccountWithResponse(ctx context.Context, projectId string, serviceAccountId string, reqEditors ...RequestEditorFn) (*DeleteProjectServiceAccountResp, error)
// RetrieveProjectServiceAccountWithResponse request
RetrieveProjectServiceAccountWithResponse(ctx context.Context, projectId string, serviceAccountId string, reqEditors ...RequestEditorFn) (*RetrieveProjectServiceAccountResp, error)
// ListProjectUsersWithResponse request
ListProjectUsersWithResponse(ctx context.Context, projectId string, params *ListProjectUsersParams, reqEditors ...RequestEditorFn) (*ListProjectUsersResp, error)
// CreateProjectUserWithBodyWithResponse request with any body
CreateProjectUserWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectUserResp, error)
CreateProjectUserWithResponse(ctx context.Context, projectId string, body CreateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectUserResp, error)
// DeleteProjectUserWithResponse request
DeleteProjectUserWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*DeleteProjectUserResp, error)
// RetrieveProjectUserWithResponse request
RetrieveProjectUserWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*RetrieveProjectUserResp, error)
// ModifyProjectUserWithBodyWithResponse request with any body
ModifyProjectUserWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyProjectUserResp, error)
ModifyProjectUserWithResponse(ctx context.Context, projectId string, userId string, body ModifyProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyProjectUserResp, error)
// ListRolesWithResponse request
ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResp, error)
// CreateRoleWithBodyWithResponse request with any body
CreateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResp, error)
CreateRoleWithResponse(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResp, error)
// DeleteRoleWithResponse request
DeleteRoleWithResponse(ctx context.Context, roleId string, reqEditors ...RequestEditorFn) (*DeleteRoleResp, error)
// UpdateRoleWithBodyWithResponse request with any body
UpdateRoleWithBodyWithResponse(ctx context.Context, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRoleResp, error)
UpdateRoleWithResponse(ctx context.Context, roleId string, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRoleResp, error)
// ListUsersWithResponse request
ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResp, error)
// DeleteUserWithResponse request
DeleteUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteUserResp, error)
// RetrieveUserWithResponse request
RetrieveUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*RetrieveUserResp, error)
// ModifyUserWithBodyWithResponse request with any body
ModifyUserWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyUserResp, error)
ModifyUserWithResponse(ctx context.Context, userId string, body ModifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyUserResp, error)
// ListUserRoleAssignmentsWithResponse request
ListUserRoleAssignmentsWithResponse(ctx context.Context, userId string, params *ListUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListUserRoleAssignmentsResp, error)
// AssignUserRoleWithBodyWithResponse request with any body
AssignUserRoleWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignUserRoleResp, error)
AssignUserRoleWithResponse(ctx context.Context, userId string, body AssignUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignUserRoleResp, error)
// UnassignUserRoleWithResponse request
UnassignUserRoleWithResponse(ctx context.Context, userId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignUserRoleResp, error)
// ListProjectGroupRoleAssignmentsWithResponse request
ListProjectGroupRoleAssignmentsWithResponse(ctx context.Context, projectId string, groupId string, params *ListProjectGroupRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListProjectGroupRoleAssignmentsResp, error)
// AssignProjectGroupRoleWithBodyWithResponse request with any body
AssignProjectGroupRoleWithBodyWithResponse(ctx context.Context, projectId string, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignProjectGroupRoleResp, error)
AssignProjectGroupRoleWithResponse(ctx context.Context, projectId string, groupId string, body AssignProjectGroupRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignProjectGroupRoleResp, error)
// UnassignProjectGroupRoleWithResponse request
UnassignProjectGroupRoleWithResponse(ctx context.Context, projectId string, groupId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignProjectGroupRoleResp, error)
// ListProjectRolesWithResponse request
ListProjectRolesWithResponse(ctx context.Context, projectId string, params *ListProjectRolesParams, reqEditors ...RequestEditorFn) (*ListProjectRolesResp, error)
// CreateProjectRoleWithBodyWithResponse request with any body
CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResp, error)
CreateProjectRoleWithResponse(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResp, error)
// DeleteProjectRoleWithResponse request
DeleteProjectRoleWithResponse(ctx context.Context, projectId string, roleId string, reqEditors ...RequestEditorFn) (*DeleteProjectRoleResp, error)
// UpdateProjectRoleWithBodyWithResponse request with any body
UpdateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, roleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResp, error)
UpdateProjectRoleWithResponse(ctx context.Context, projectId string, roleId string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResp, error)
// ListProjectUserRoleAssignmentsWithResponse request
ListProjectUserRoleAssignmentsWithResponse(ctx context.Context, projectId string, userId string, params *ListProjectUserRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListProjectUserRoleAssignmentsResp, error)
// AssignProjectUserRoleWithBodyWithResponse request with any body
AssignProjectUserRoleWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignProjectUserRoleResp, error)
AssignProjectUserRoleWithResponse(ctx context.Context, projectId string, userId string, body AssignProjectUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignProjectUserRoleResp, error)
// UnassignProjectUserRoleWithResponse request
UnassignProjectUserRoleWithResponse(ctx context.Context, projectId string, userId string, roleId string, reqEditors ...RequestEditorFn) (*UnassignProjectUserRoleResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateGroupBody ¶ added in v0.4.0
type CreateGroupBody struct {
// Name Human readable name for the group.
Name string `json:"name"`
}
CreateGroupBody Request payload for creating a new group in the organization.
type CreateGroupJSONRequestBody ¶ added in v0.4.0
type CreateGroupJSONRequestBody = CreateGroupBody
CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
type CreateGroupResp ¶ added in v0.4.0
type CreateGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResponse
}
func ParseCreateGroupResp ¶ added in v0.4.0
func ParseCreateGroupResp(rsp *http.Response) (*CreateGroupResp, error)
ParseCreateGroupResp parses an HTTP response from a CreateGroupWithResponse call
func (CreateGroupResp) Status ¶ added in v0.4.0
func (r CreateGroupResp) Status() string
Status returns HTTPResponse.Status
func (CreateGroupResp) StatusCode ¶ added in v0.4.0
func (r CreateGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGroupUserBody ¶ added in v0.4.0
type CreateGroupUserBody struct {
// UserId Identifier of the user to add to the group.
UserId string `json:"user_id"`
}
CreateGroupUserBody Request payload for adding a user to a group.
type CreateProjectJSONRequestBody ¶ added in v0.3.0
type CreateProjectJSONRequestBody = ProjectCreateRequest
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectResp ¶ added in v0.3.0
func ParseCreateProjectResp ¶ added in v0.3.0
func ParseCreateProjectResp(rsp *http.Response) (*CreateProjectResp, error)
ParseCreateProjectResp parses an HTTP response from a CreateProjectWithResponse call
func (CreateProjectResp) Status ¶ added in v0.3.0
func (r CreateProjectResp) Status() string
Status returns HTTPResponse.Status
func (CreateProjectResp) StatusCode ¶ added in v0.3.0
func (r CreateProjectResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectRoleJSONRequestBody ¶ added in v0.4.0
type CreateProjectRoleJSONRequestBody = PublicCreateOrganizationRoleBody
CreateProjectRoleJSONRequestBody defines body for CreateProjectRole for application/json ContentType.
type CreateProjectRoleResp ¶ added in v0.4.0
func ParseCreateProjectRoleResp ¶ added in v0.4.0
func ParseCreateProjectRoleResp(rsp *http.Response) (*CreateProjectRoleResp, error)
ParseCreateProjectRoleResp parses an HTTP response from a CreateProjectRoleWithResponse call
func (CreateProjectRoleResp) Status ¶ added in v0.4.0
func (r CreateProjectRoleResp) Status() string
Status returns HTTPResponse.Status
func (CreateProjectRoleResp) StatusCode ¶ added in v0.4.0
func (r CreateProjectRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectServiceAccountJSONRequestBody ¶ added in v0.3.0
type CreateProjectServiceAccountJSONRequestBody = ProjectServiceAccountCreateRequest
CreateProjectServiceAccountJSONRequestBody defines body for CreateProjectServiceAccount for application/json ContentType.
type CreateProjectServiceAccountResp ¶ added in v0.3.0
type CreateProjectServiceAccountResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectServiceAccountCreateResponse
JSON400 *ErrorResponse
}
func ParseCreateProjectServiceAccountResp ¶ added in v0.3.0
func ParseCreateProjectServiceAccountResp(rsp *http.Response) (*CreateProjectServiceAccountResp, error)
ParseCreateProjectServiceAccountResp parses an HTTP response from a CreateProjectServiceAccountWithResponse call
func (CreateProjectServiceAccountResp) Status ¶ added in v0.3.0
func (r CreateProjectServiceAccountResp) Status() string
Status returns HTTPResponse.Status
func (CreateProjectServiceAccountResp) StatusCode ¶ added in v0.3.0
func (r CreateProjectServiceAccountResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectUserJSONRequestBody ¶ added in v0.3.0
type CreateProjectUserJSONRequestBody = ProjectUserCreateRequest
CreateProjectUserJSONRequestBody defines body for CreateProjectUser for application/json ContentType.
type CreateProjectUserResp ¶ added in v0.3.0
type CreateProjectUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectUser
JSON400 *ErrorResponse
}
func ParseCreateProjectUserResp ¶ added in v0.3.0
func ParseCreateProjectUserResp(rsp *http.Response) (*CreateProjectUserResp, error)
ParseCreateProjectUserResp parses an HTTP response from a CreateProjectUserWithResponse call
func (CreateProjectUserResp) Status ¶ added in v0.3.0
func (r CreateProjectUserResp) Status() string
Status returns HTTPResponse.Status
func (CreateProjectUserResp) StatusCode ¶ added in v0.3.0
func (r CreateProjectUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRoleJSONRequestBody ¶ added in v0.4.0
type CreateRoleJSONRequestBody = PublicCreateOrganizationRoleBody
CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.
type CreateRoleResp ¶ added in v0.4.0
func ParseCreateRoleResp ¶ added in v0.4.0
func ParseCreateRoleResp(rsp *http.Response) (*CreateRoleResp, error)
ParseCreateRoleResp parses an HTTP response from a CreateRoleWithResponse call
func (CreateRoleResp) Status ¶ added in v0.4.0
func (r CreateRoleResp) Status() string
Status returns HTTPResponse.Status
func (CreateRoleResp) StatusCode ¶ added in v0.4.0
func (r CreateRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeactivateOrganizationCertificatesJSONRequestBody ¶ added in v0.3.3
type DeactivateOrganizationCertificatesJSONRequestBody = ToggleCertificatesRequest
DeactivateOrganizationCertificatesJSONRequestBody defines body for DeactivateOrganizationCertificates for application/json ContentType.
type DeactivateOrganizationCertificatesResp ¶ added in v0.3.3
type DeactivateOrganizationCertificatesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListCertificatesResponse
}
func ParseDeactivateOrganizationCertificatesResp ¶ added in v0.3.3
func ParseDeactivateOrganizationCertificatesResp(rsp *http.Response) (*DeactivateOrganizationCertificatesResp, error)
ParseDeactivateOrganizationCertificatesResp parses an HTTP response from a DeactivateOrganizationCertificatesWithResponse call
func (DeactivateOrganizationCertificatesResp) Status ¶ added in v0.3.3
func (r DeactivateOrganizationCertificatesResp) Status() string
Status returns HTTPResponse.Status
func (DeactivateOrganizationCertificatesResp) StatusCode ¶ added in v0.3.3
func (r DeactivateOrganizationCertificatesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeactivateProjectCertificatesJSONRequestBody ¶ added in v0.3.3
type DeactivateProjectCertificatesJSONRequestBody = ToggleCertificatesRequest
DeactivateProjectCertificatesJSONRequestBody defines body for DeactivateProjectCertificates for application/json ContentType.
type DeactivateProjectCertificatesResp ¶ added in v0.3.3
type DeactivateProjectCertificatesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListCertificatesResponse
}
func ParseDeactivateProjectCertificatesResp ¶ added in v0.3.3
func ParseDeactivateProjectCertificatesResp(rsp *http.Response) (*DeactivateProjectCertificatesResp, error)
ParseDeactivateProjectCertificatesResp parses an HTTP response from a DeactivateProjectCertificatesWithResponse call
func (DeactivateProjectCertificatesResp) Status ¶ added in v0.3.3
func (r DeactivateProjectCertificatesResp) Status() string
Status returns HTTPResponse.Status
func (DeactivateProjectCertificatesResp) StatusCode ¶ added in v0.3.3
func (r DeactivateProjectCertificatesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCertificateResp ¶ added in v0.3.3
type DeleteCertificateResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeleteCertificateResponse
}
func ParseDeleteCertificateResp ¶ added in v0.3.3
func ParseDeleteCertificateResp(rsp *http.Response) (*DeleteCertificateResp, error)
ParseDeleteCertificateResp parses an HTTP response from a DeleteCertificateWithResponse call
func (DeleteCertificateResp) Status ¶ added in v0.3.3
func (r DeleteCertificateResp) Status() string
Status returns HTTPResponse.Status
func (DeleteCertificateResp) StatusCode ¶ added in v0.3.3
func (r DeleteCertificateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCertificateResponse ¶ added in v0.3.3
type DeleteCertificateResponse struct {
// Id The ID of the certificate that was deleted.
Id string `json:"id"`
// Object The object type, must be `certificate.deleted`.
Object interface{} `json:"object"`
}
DeleteCertificateResponse defines model for DeleteCertificateResponse.
type DeleteGroupResp ¶ added in v0.4.0
type DeleteGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupDeletedResource
}
func ParseDeleteGroupResp ¶ added in v0.4.0
func ParseDeleteGroupResp(rsp *http.Response) (*DeleteGroupResp, error)
ParseDeleteGroupResp parses an HTTP response from a DeleteGroupWithResponse call
func (DeleteGroupResp) Status ¶ added in v0.4.0
func (r DeleteGroupResp) Status() string
Status returns HTTPResponse.Status
func (DeleteGroupResp) StatusCode ¶ added in v0.4.0
func (r DeleteGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInviteResp ¶ added in v0.3.0
type DeleteInviteResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InviteDeleteResponse
}
func ParseDeleteInviteResp ¶ added in v0.3.0
func ParseDeleteInviteResp(rsp *http.Response) (*DeleteInviteResp, error)
ParseDeleteInviteResp parses an HTTP response from a DeleteInviteWithResponse call
func (DeleteInviteResp) Status ¶ added in v0.3.0
func (r DeleteInviteResp) Status() string
Status returns HTTPResponse.Status
func (DeleteInviteResp) StatusCode ¶ added in v0.3.0
func (r DeleteInviteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectApiKeyResp ¶ added in v0.3.0
type DeleteProjectApiKeyResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectApiKeyDeleteResponse
JSON400 *ErrorResponse
}
func ParseDeleteProjectApiKeyResp ¶ added in v0.3.0
func ParseDeleteProjectApiKeyResp(rsp *http.Response) (*DeleteProjectApiKeyResp, error)
ParseDeleteProjectApiKeyResp parses an HTTP response from a DeleteProjectApiKeyWithResponse call
func (DeleteProjectApiKeyResp) Status ¶ added in v0.3.0
func (r DeleteProjectApiKeyResp) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectApiKeyResp) StatusCode ¶ added in v0.3.0
func (r DeleteProjectApiKeyResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectRoleResp ¶ added in v0.4.0
type DeleteProjectRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleDeletedResource
}
func ParseDeleteProjectRoleResp ¶ added in v0.4.0
func ParseDeleteProjectRoleResp(rsp *http.Response) (*DeleteProjectRoleResp, error)
ParseDeleteProjectRoleResp parses an HTTP response from a DeleteProjectRoleWithResponse call
func (DeleteProjectRoleResp) Status ¶ added in v0.4.0
func (r DeleteProjectRoleResp) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectRoleResp) StatusCode ¶ added in v0.4.0
func (r DeleteProjectRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectServiceAccountResp ¶ added in v0.3.0
type DeleteProjectServiceAccountResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectServiceAccountDeleteResponse
}
func ParseDeleteProjectServiceAccountResp ¶ added in v0.3.0
func ParseDeleteProjectServiceAccountResp(rsp *http.Response) (*DeleteProjectServiceAccountResp, error)
ParseDeleteProjectServiceAccountResp parses an HTTP response from a DeleteProjectServiceAccountWithResponse call
func (DeleteProjectServiceAccountResp) Status ¶ added in v0.3.0
func (r DeleteProjectServiceAccountResp) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectServiceAccountResp) StatusCode ¶ added in v0.3.0
func (r DeleteProjectServiceAccountResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectUserResp ¶ added in v0.3.0
type DeleteProjectUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectUserDeleteResponse
JSON400 *ErrorResponse
}
func ParseDeleteProjectUserResp ¶ added in v0.3.0
func ParseDeleteProjectUserResp(rsp *http.Response) (*DeleteProjectUserResp, error)
ParseDeleteProjectUserResp parses an HTTP response from a DeleteProjectUserWithResponse call
func (DeleteProjectUserResp) Status ¶ added in v0.3.0
func (r DeleteProjectUserResp) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectUserResp) StatusCode ¶ added in v0.3.0
func (r DeleteProjectUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRoleResp ¶ added in v0.4.0
type DeleteRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleDeletedResource
}
func ParseDeleteRoleResp ¶ added in v0.4.0
func ParseDeleteRoleResp(rsp *http.Response) (*DeleteRoleResp, error)
ParseDeleteRoleResp parses an HTTP response from a DeleteRoleWithResponse call
func (DeleteRoleResp) Status ¶ added in v0.4.0
func (r DeleteRoleResp) Status() string
Status returns HTTPResponse.Status
func (DeleteRoleResp) StatusCode ¶ added in v0.4.0
func (r DeleteRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserResp ¶ added in v0.3.0
type DeleteUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserDeleteResponse
}
func ParseDeleteUserResp ¶ added in v0.3.0
func ParseDeleteUserResp(rsp *http.Response) (*DeleteUserResp, error)
ParseDeleteUserResp parses an HTTP response from a DeleteUserWithResponse call
func (DeleteUserResp) Status ¶ added in v0.3.0
func (r DeleteUserResp) Status() string
Status returns HTTPResponse.Status
func (DeleteUserResp) StatusCode ¶ added in v0.3.0
func (r DeleteUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletedRoleAssignmentResource ¶ added in v0.4.0
type DeletedRoleAssignmentResource struct {
// Deleted Whether the assignment was removed.
Deleted bool `json:"deleted"`
// Object Identifier for the deleted assignment, such as `group.role.deleted` or `user.role.deleted`.
Object string `json:"object"`
}
DeletedRoleAssignmentResource Confirmation payload returned after unassigning a role.
type Error ¶
type Error struct {
Code *string `json:"code"`
Message string `json:"message"`
Param *string `json:"param"`
Type string `json:"type"`
}
Error defines model for Error.
type ErrorResponse ¶ added in v0.3.0
type ErrorResponse struct {
Error Error `json:"error"`
}
ErrorResponse defines model for ErrorResponse.
type GetCertificateParams ¶ added in v0.3.3
type GetCertificateParams struct {
// Include A list of additional fields to include in the response. Currently the only supported value is `content` to fetch the PEM content of the certificate.
Include *[]GetCertificateParamsInclude `form:"include,omitempty" json:"include,omitempty"`
}
GetCertificateParams defines parameters for GetCertificate.
type GetCertificateParamsInclude ¶ added in v0.3.3
type GetCertificateParamsInclude string
GetCertificateParamsInclude defines parameters for GetCertificate.
const (
Content GetCertificateParamsInclude = "content"
)
Defines values for GetCertificateParamsInclude.
type GetCertificateResp ¶ added in v0.3.3
type GetCertificateResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Certificate
}
func ParseGetCertificateResp ¶ added in v0.3.3
func ParseGetCertificateResp(rsp *http.Response) (*GetCertificateResp, error)
ParseGetCertificateResp parses an HTTP response from a GetCertificateWithResponse call
func (GetCertificateResp) Status ¶ added in v0.3.3
func (r GetCertificateResp) Status() string
Status returns HTTPResponse.Status
func (GetCertificateResp) StatusCode ¶ added in v0.3.3
func (r GetCertificateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Group ¶ added in v0.4.0
type Group struct {
// CreatedAt Unix timestamp (in seconds) when the group was created.
CreatedAt int64 `json:"created_at"`
// Id Identifier for the group.
Id string `json:"id"`
// Name Display name of the group.
Name string `json:"name"`
// Object Always `group`.
Object GroupObject `json:"object"`
// ScimManaged Whether the group is managed through SCIM.
ScimManaged bool `json:"scim_managed"`
}
Group Summary information about a group returned in role assignment responses.
type GroupDeletedResource ¶ added in v0.4.0
type GroupDeletedResource struct {
// Deleted Whether the group was deleted.
Deleted bool `json:"deleted"`
// Id Identifier of the deleted group.
Id string `json:"id"`
// Object Always `group.deleted`.
Object GroupDeletedResourceObject `json:"object"`
}
GroupDeletedResource Confirmation payload returned after deleting a group.
type GroupDeletedResourceObject ¶ added in v0.4.0
type GroupDeletedResourceObject string
GroupDeletedResourceObject Always `group.deleted`.
const (
GroupDeleted GroupDeletedResourceObject = "group.deleted"
)
Defines values for GroupDeletedResourceObject.
type GroupListResource ¶ added in v0.4.0
type GroupListResource struct {
// Data Groups returned in the current page.
Data []GroupResponse `json:"data"`
// HasMore Whether additional groups are available when paginating.
HasMore bool `json:"has_more"`
Next *string `json:"next"`
// Object Always `list`.
Object GroupListResourceObject `json:"object"`
}
GroupListResource Paginated list of organization groups.
type GroupListResourceObject ¶ added in v0.4.0
type GroupListResourceObject string
GroupListResourceObject Always `list`.
const (
GroupListResourceObjectList GroupListResourceObject = "list"
)
Defines values for GroupListResourceObject.
type GroupObject ¶ added in v0.4.0
type GroupObject string
GroupObject Always `group`.
const (
GroupObjectGroup GroupObject = "group"
)
Defines values for GroupObject.
type GroupResourceWithSuccess ¶ added in v0.4.0
type GroupResourceWithSuccess struct {
// CreatedAt Unix timestamp (in seconds) when the group was created.
CreatedAt int64 `json:"created_at"`
// Id Identifier for the group.
Id string `json:"id"`
// IsScimManaged Whether the group is managed through SCIM and controlled by your identity provider.
IsScimManaged bool `json:"is_scim_managed"`
// Name Updated display name for the group.
Name string `json:"name"`
}
GroupResourceWithSuccess Response returned after updating a group.
type GroupResponse ¶ added in v0.4.0
type GroupResponse struct {
// CreatedAt Unix timestamp (in seconds) when the group was created.
CreatedAt int64 `json:"created_at"`
// Id Identifier for the group.
Id string `json:"id"`
// IsScimManaged Whether the group is managed through SCIM and controlled by your identity provider.
IsScimManaged bool `json:"is_scim_managed"`
// Name Display name of the group.
Name string `json:"name"`
}
GroupResponse Details about an organization group.
type GroupRoleAssignment ¶ added in v0.4.0
type GroupRoleAssignment struct {
// Group Summary information about a group returned in role assignment responses.
Group Group `json:"group"`
// Object Always `group.role`.
Object GroupRoleAssignmentObject `json:"object"`
// Role Details about a role that can be assigned through the public Roles API.
Role Role `json:"role"`
}
GroupRoleAssignment Role assignment linking a group to a role.
type GroupRoleAssignmentObject ¶ added in v0.4.0
type GroupRoleAssignmentObject string
GroupRoleAssignmentObject Always `group.role`.
const (
GroupRole GroupRoleAssignmentObject = "group.role"
)
Defines values for GroupRoleAssignmentObject.
type GroupUserAssignment ¶ added in v0.4.0
type GroupUserAssignment struct {
// GroupId Identifier of the group the user was added to.
GroupId string `json:"group_id"`
// Object Always `group.user`.
Object GroupUserAssignmentObject `json:"object"`
// UserId Identifier of the user that was added.
UserId string `json:"user_id"`
}
GroupUserAssignment Confirmation payload returned after adding a user to a group.
type GroupUserAssignmentObject ¶ added in v0.4.0
type GroupUserAssignmentObject string
GroupUserAssignmentObject Always `group.user`.
const (
GroupUser GroupUserAssignmentObject = "group.user"
)
Defines values for GroupUserAssignmentObject.
type GroupUserDeletedResource ¶ added in v0.4.0
type GroupUserDeletedResource struct {
// Deleted Whether the group membership was removed.
Deleted bool `json:"deleted"`
// Object Always `group.user.deleted`.
Object GroupUserDeletedResourceObject `json:"object"`
}
GroupUserDeletedResource Confirmation payload returned after removing a user from a group.
type GroupUserDeletedResourceObject ¶ added in v0.4.0
type GroupUserDeletedResourceObject string
GroupUserDeletedResourceObject Always `group.user.deleted`.
const (
GroupUserDeleted GroupUserDeletedResourceObject = "group.user.deleted"
)
Defines values for GroupUserDeletedResourceObject.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Invite ¶ added in v0.3.0
type Invite struct {
// AcceptedAt The Unix timestamp (in seconds) of when the invite was accepted.
AcceptedAt *int64 `json:"accepted_at,omitempty"`
// Email The email address of the individual to whom the invite was sent
Email string `json:"email"`
// ExpiresAt The Unix timestamp (in seconds) of when the invite expires.
ExpiresAt int64 `json:"expires_at"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// InvitedAt The Unix timestamp (in seconds) of when the invite was sent.
InvitedAt int64 `json:"invited_at"`
// Object The object type, which is always `organization.invite`
Object InviteObject `json:"object"`
// Projects The projects that were granted membership upon acceptance of the invite.
Projects *[]struct {
// Id Project's public ID
Id *string `json:"id,omitempty"`
// Role Project membership role
Role *InviteProjectsRole `json:"role,omitempty"`
} `json:"projects,omitempty"`
// Role `owner` or `reader`
Role InviteRole `json:"role"`
// Status `accepted`,`expired`, or `pending`
Status InviteStatus `json:"status"`
}
Invite Represents an individual `invite` to the organization.
type InviteDeleteResponse ¶ added in v0.3.0
type InviteDeleteResponse struct {
Deleted bool `json:"deleted"`
Id string `json:"id"`
// Object The object type, which is always `organization.invite.deleted`
Object InviteDeleteResponseObject `json:"object"`
}
InviteDeleteResponse defines model for InviteDeleteResponse.
type InviteDeleteResponseObject ¶ added in v0.3.0
type InviteDeleteResponseObject string
InviteDeleteResponseObject The object type, which is always `organization.invite.deleted`
const (
OrganizationInviteDeleted InviteDeleteResponseObject = "organization.invite.deleted"
)
Defines values for InviteDeleteResponseObject.
type InviteListResponse ¶ added in v0.3.0
type InviteListResponse struct {
Data []Invite `json:"data"`
// FirstId The first `invite_id` in the retrieved `list`
FirstId *string `json:"first_id,omitempty"`
// HasMore The `has_more` property is used for pagination to indicate there are additional results.
HasMore *bool `json:"has_more,omitempty"`
// LastId The last `invite_id` in the retrieved `list`
LastId *string `json:"last_id,omitempty"`
// Object The object type, which is always `list`
Object InviteListResponseObject `json:"object"`
}
InviteListResponse defines model for InviteListResponse.
type InviteListResponseObject ¶ added in v0.3.0
type InviteListResponseObject string
InviteListResponseObject The object type, which is always `list`
const (
InviteListResponseObjectList InviteListResponseObject = "list"
)
Defines values for InviteListResponseObject.
type InviteObject ¶ added in v0.3.0
type InviteObject string
InviteObject The object type, which is always `organization.invite`
const (
OrganizationInvite InviteObject = "organization.invite"
)
Defines values for InviteObject.
type InviteProjectGroupBody ¶ added in v0.4.0
type InviteProjectGroupBody struct {
// GroupId Identifier of the group to add to the project.
GroupId string `json:"group_id"`
// Role Identifier of the project role to grant to the group.
Role string `json:"role"`
}
InviteProjectGroupBody Request payload for granting a group access to a project.
type InviteProjectsRole ¶ added in v0.3.1
type InviteProjectsRole string
InviteProjectsRole Project membership role
const ( InviteProjectsRoleMember InviteProjectsRole = "member" InviteProjectsRoleOwner InviteProjectsRole = "owner" )
Defines values for InviteProjectsRole.
type InviteRequest ¶ added in v0.3.0
type InviteRequest struct {
// Email Send an email to this address
Email string `json:"email"`
// Projects An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior.
Projects *[]struct {
// Id Project's public ID
Id string `json:"id"`
// Role Project membership role
Role InviteRequestProjectsRole `json:"role"`
} `json:"projects,omitempty"`
// Role `owner` or `reader`
Role InviteRequestRole `json:"role"`
}
InviteRequest defines model for InviteRequest.
type InviteRequestProjectsRole ¶ added in v0.3.1
type InviteRequestProjectsRole string
InviteRequestProjectsRole Project membership role
const ( InviteRequestProjectsRoleMember InviteRequestProjectsRole = "member" InviteRequestProjectsRoleOwner InviteRequestProjectsRole = "owner" )
Defines values for InviteRequestProjectsRole.
type InviteRequestRole ¶ added in v0.3.0
type InviteRequestRole string
InviteRequestRole `owner` or `reader`
const ( InviteRequestRoleOwner InviteRequestRole = "owner" InviteRequestRoleReader InviteRequestRole = "reader" )
Defines values for InviteRequestRole.
type InviteRole ¶ added in v0.3.0
type InviteRole string
InviteRole `owner` or `reader`
const ( InviteRoleOwner InviteRole = "owner" InviteRoleReader InviteRole = "reader" )
Defines values for InviteRole.
type InviteStatus ¶ added in v0.3.0
type InviteStatus string
InviteStatus `accepted`,`expired`, or `pending`
const ( Accepted InviteStatus = "accepted" Expired InviteStatus = "expired" Pending InviteStatus = "pending" )
Defines values for InviteStatus.
type InviteUserJSONRequestBody ¶ added in v0.3.0
type InviteUserJSONRequestBody = InviteRequest
InviteUserJSONRequestBody defines body for InviteUser for application/json ContentType.
type InviteUserResp ¶ added in v0.3.0
func ParseInviteUserResp ¶ added in v0.3.0
func ParseInviteUserResp(rsp *http.Response) (*InviteUserResp, error)
ParseInviteUserResp parses an HTTP response from a InviteUserWithResponse call
func (InviteUserResp) Status ¶ added in v0.3.0
func (r InviteUserResp) Status() string
Status returns HTTPResponse.Status
func (InviteUserResp) StatusCode ¶ added in v0.3.0
func (r InviteUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCertificatesResponse ¶ added in v0.3.3
type ListCertificatesResponse struct {
Data []Certificate `json:"data"`
FirstId *string `json:"first_id,omitempty"`
HasMore bool `json:"has_more"`
LastId *string `json:"last_id,omitempty"`
Object ListCertificatesResponseObject `json:"object"`
}
ListCertificatesResponse defines model for ListCertificatesResponse.
type ListCertificatesResponseObject ¶ added in v0.3.3
type ListCertificatesResponseObject string
ListCertificatesResponseObject defines model for ListCertificatesResponse.Object.
const (
ListCertificatesResponseObjectList ListCertificatesResponseObject = "list"
)
Defines values for ListCertificatesResponseObject.
type ListGroupRoleAssignmentsParams ¶ added in v0.4.0
type ListGroupRoleAssignmentsParams struct {
// Limit A limit on the number of organization role assignments to return.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the value from the previous response's `next` field to continue listing organization roles.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned organization roles.
Order *ListGroupRoleAssignmentsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListGroupRoleAssignmentsParams defines parameters for ListGroupRoleAssignments.
type ListGroupRoleAssignmentsParamsOrder ¶ added in v0.4.0
type ListGroupRoleAssignmentsParamsOrder string
ListGroupRoleAssignmentsParamsOrder defines parameters for ListGroupRoleAssignments.
const ( ListGroupRoleAssignmentsParamsOrderAsc ListGroupRoleAssignmentsParamsOrder = "asc" ListGroupRoleAssignmentsParamsOrderDesc ListGroupRoleAssignmentsParamsOrder = "desc" )
Defines values for ListGroupRoleAssignmentsParamsOrder.
type ListGroupRoleAssignmentsResp ¶ added in v0.4.0
type ListGroupRoleAssignmentsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleListResource
}
func ParseListGroupRoleAssignmentsResp ¶ added in v0.4.0
func ParseListGroupRoleAssignmentsResp(rsp *http.Response) (*ListGroupRoleAssignmentsResp, error)
ParseListGroupRoleAssignmentsResp parses an HTTP response from a ListGroupRoleAssignmentsWithResponse call
func (ListGroupRoleAssignmentsResp) Status ¶ added in v0.4.0
func (r ListGroupRoleAssignmentsResp) Status() string
Status returns HTTPResponse.Status
func (ListGroupRoleAssignmentsResp) StatusCode ¶ added in v0.4.0
func (r ListGroupRoleAssignmentsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGroupUsersParams ¶ added in v0.4.0
type ListGroupUsersParams struct {
// Limit A limit on the number of users to be returned. Limit can range between 0 and 1000, and the default is 100.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. Provide the ID of the last user from the previous list response to retrieve the next page.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Specifies the sort order of users in the list.
Order *ListGroupUsersParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListGroupUsersParams defines parameters for ListGroupUsers.
type ListGroupUsersParamsOrder ¶ added in v0.4.0
type ListGroupUsersParamsOrder string
ListGroupUsersParamsOrder defines parameters for ListGroupUsers.
const ( ListGroupUsersParamsOrderAsc ListGroupUsersParamsOrder = "asc" ListGroupUsersParamsOrderDesc ListGroupUsersParamsOrder = "desc" )
Defines values for ListGroupUsersParamsOrder.
type ListGroupUsersResp ¶ added in v0.4.0
type ListGroupUsersResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserListResource
}
func ParseListGroupUsersResp ¶ added in v0.4.0
func ParseListGroupUsersResp(rsp *http.Response) (*ListGroupUsersResp, error)
ParseListGroupUsersResp parses an HTTP response from a ListGroupUsersWithResponse call
func (ListGroupUsersResp) Status ¶ added in v0.4.0
func (r ListGroupUsersResp) Status() string
Status returns HTTPResponse.Status
func (ListGroupUsersResp) StatusCode ¶ added in v0.4.0
func (r ListGroupUsersResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGroupsParams ¶ added in v0.4.0
type ListGroupsParams struct {
// Limit A limit on the number of groups to be returned. Limit can range between 0 and 1000, and the default is 100.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is a group ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with group_abc, your subsequent call can include `after=group_abc` in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Specifies the sort order of the returned groups.
Order *ListGroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListGroupsParams defines parameters for ListGroups.
type ListGroupsParamsOrder ¶ added in v0.4.0
type ListGroupsParamsOrder string
ListGroupsParamsOrder defines parameters for ListGroups.
const ( ListGroupsParamsOrderAsc ListGroupsParamsOrder = "asc" ListGroupsParamsOrderDesc ListGroupsParamsOrder = "desc" )
Defines values for ListGroupsParamsOrder.
type ListGroupsResp ¶ added in v0.4.0
type ListGroupsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupListResource
}
func ParseListGroupsResp ¶ added in v0.4.0
func ParseListGroupsResp(rsp *http.Response) (*ListGroupsResp, error)
ParseListGroupsResp parses an HTTP response from a ListGroupsWithResponse call
func (ListGroupsResp) Status ¶ added in v0.4.0
func (r ListGroupsResp) Status() string
Status returns HTTPResponse.Status
func (ListGroupsResp) StatusCode ¶ added in v0.4.0
func (r ListGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInvitesParams ¶ added in v0.3.0
type ListInvitesParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
}
ListInvitesParams defines parameters for ListInvites.
type ListInvitesResp ¶ added in v0.3.0
type ListInvitesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InviteListResponse
}
func ParseListInvitesResp ¶ added in v0.3.0
func ParseListInvitesResp(rsp *http.Response) (*ListInvitesResp, error)
ParseListInvitesResp parses an HTTP response from a ListInvitesWithResponse call
func (ListInvitesResp) Status ¶ added in v0.3.0
func (r ListInvitesResp) Status() string
Status returns HTTPResponse.Status
func (ListInvitesResp) StatusCode ¶ added in v0.3.0
func (r ListInvitesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrganizationCertificatesParams ¶ added in v0.3.3
type ListOrganizationCertificatesParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.
Order *ListOrganizationCertificatesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListOrganizationCertificatesParams defines parameters for ListOrganizationCertificates.
type ListOrganizationCertificatesParamsOrder ¶ added in v0.3.3
type ListOrganizationCertificatesParamsOrder string
ListOrganizationCertificatesParamsOrder defines parameters for ListOrganizationCertificates.
const ( ListOrganizationCertificatesParamsOrderAsc ListOrganizationCertificatesParamsOrder = "asc" ListOrganizationCertificatesParamsOrderDesc ListOrganizationCertificatesParamsOrder = "desc" )
Defines values for ListOrganizationCertificatesParamsOrder.
type ListOrganizationCertificatesResp ¶ added in v0.3.3
type ListOrganizationCertificatesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListCertificatesResponse
}
func ParseListOrganizationCertificatesResp ¶ added in v0.3.3
func ParseListOrganizationCertificatesResp(rsp *http.Response) (*ListOrganizationCertificatesResp, error)
ParseListOrganizationCertificatesResp parses an HTTP response from a ListOrganizationCertificatesWithResponse call
func (ListOrganizationCertificatesResp) Status ¶ added in v0.3.3
func (r ListOrganizationCertificatesResp) Status() string
Status returns HTTPResponse.Status
func (ListOrganizationCertificatesResp) StatusCode ¶ added in v0.3.3
func (r ListOrganizationCertificatesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectApiKeysParams ¶ added in v0.3.0
type ListProjectApiKeysParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
}
ListProjectApiKeysParams defines parameters for ListProjectApiKeys.
type ListProjectApiKeysResp ¶ added in v0.3.0
type ListProjectApiKeysResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectApiKeyListResponse
}
func ParseListProjectApiKeysResp ¶ added in v0.3.0
func ParseListProjectApiKeysResp(rsp *http.Response) (*ListProjectApiKeysResp, error)
ParseListProjectApiKeysResp parses an HTTP response from a ListProjectApiKeysWithResponse call
func (ListProjectApiKeysResp) Status ¶ added in v0.3.0
func (r ListProjectApiKeysResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectApiKeysResp) StatusCode ¶ added in v0.3.0
func (r ListProjectApiKeysResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectCertificatesParams ¶ added in v0.3.3
type ListProjectCertificatesParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.
Order *ListProjectCertificatesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListProjectCertificatesParams defines parameters for ListProjectCertificates.
type ListProjectCertificatesParamsOrder ¶ added in v0.3.3
type ListProjectCertificatesParamsOrder string
ListProjectCertificatesParamsOrder defines parameters for ListProjectCertificates.
const ( ListProjectCertificatesParamsOrderAsc ListProjectCertificatesParamsOrder = "asc" ListProjectCertificatesParamsOrderDesc ListProjectCertificatesParamsOrder = "desc" )
Defines values for ListProjectCertificatesParamsOrder.
type ListProjectCertificatesResp ¶ added in v0.3.3
type ListProjectCertificatesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListCertificatesResponse
}
func ParseListProjectCertificatesResp ¶ added in v0.3.3
func ParseListProjectCertificatesResp(rsp *http.Response) (*ListProjectCertificatesResp, error)
ParseListProjectCertificatesResp parses an HTTP response from a ListProjectCertificatesWithResponse call
func (ListProjectCertificatesResp) Status ¶ added in v0.3.3
func (r ListProjectCertificatesResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectCertificatesResp) StatusCode ¶ added in v0.3.3
func (r ListProjectCertificatesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectGroupRoleAssignmentsParams ¶ added in v0.4.0
type ListProjectGroupRoleAssignmentsParams struct {
// Limit A limit on the number of project role assignments to return.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the value from the previous response's `next` field to continue listing project roles.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned project roles.
Order *ListProjectGroupRoleAssignmentsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListProjectGroupRoleAssignmentsParams defines parameters for ListProjectGroupRoleAssignments.
type ListProjectGroupRoleAssignmentsParamsOrder ¶ added in v0.4.0
type ListProjectGroupRoleAssignmentsParamsOrder string
ListProjectGroupRoleAssignmentsParamsOrder defines parameters for ListProjectGroupRoleAssignments.
const ( ListProjectGroupRoleAssignmentsParamsOrderAsc ListProjectGroupRoleAssignmentsParamsOrder = "asc" ListProjectGroupRoleAssignmentsParamsOrderDesc ListProjectGroupRoleAssignmentsParamsOrder = "desc" )
Defines values for ListProjectGroupRoleAssignmentsParamsOrder.
type ListProjectGroupRoleAssignmentsResp ¶ added in v0.4.0
type ListProjectGroupRoleAssignmentsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleListResource
}
func ParseListProjectGroupRoleAssignmentsResp ¶ added in v0.4.0
func ParseListProjectGroupRoleAssignmentsResp(rsp *http.Response) (*ListProjectGroupRoleAssignmentsResp, error)
ParseListProjectGroupRoleAssignmentsResp parses an HTTP response from a ListProjectGroupRoleAssignmentsWithResponse call
func (ListProjectGroupRoleAssignmentsResp) Status ¶ added in v0.4.0
func (r ListProjectGroupRoleAssignmentsResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectGroupRoleAssignmentsResp) StatusCode ¶ added in v0.4.0
func (r ListProjectGroupRoleAssignmentsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectGroupsParams ¶ added in v0.4.0
type ListProjectGroupsParams struct {
// Limit A limit on the number of project groups to return. Defaults to 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the ID of the last group from the previous response to fetch the next page.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned groups.
Order *ListProjectGroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListProjectGroupsParams defines parameters for ListProjectGroups.
type ListProjectGroupsParamsOrder ¶ added in v0.4.0
type ListProjectGroupsParamsOrder string
ListProjectGroupsParamsOrder defines parameters for ListProjectGroups.
const ( ListProjectGroupsParamsOrderAsc ListProjectGroupsParamsOrder = "asc" ListProjectGroupsParamsOrderDesc ListProjectGroupsParamsOrder = "desc" )
Defines values for ListProjectGroupsParamsOrder.
type ListProjectGroupsResp ¶ added in v0.4.0
type ListProjectGroupsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectGroupListResource
}
func ParseListProjectGroupsResp ¶ added in v0.4.0
func ParseListProjectGroupsResp(rsp *http.Response) (*ListProjectGroupsResp, error)
ParseListProjectGroupsResp parses an HTTP response from a ListProjectGroupsWithResponse call
func (ListProjectGroupsResp) Status ¶ added in v0.4.0
func (r ListProjectGroupsResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectGroupsResp) StatusCode ¶ added in v0.4.0
func (r ListProjectGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectRateLimitsParams ¶ added in v0.3.0
type ListProjectRateLimitsParams struct {
// Limit A limit on the number of objects to be returned. The default is 100.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Before A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, beginning with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
Before *string `form:"before,omitempty" json:"before,omitempty"`
}
ListProjectRateLimitsParams defines parameters for ListProjectRateLimits.
type ListProjectRateLimitsResp ¶ added in v0.3.0
type ListProjectRateLimitsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectRateLimitListResponse
}
func ParseListProjectRateLimitsResp ¶ added in v0.3.0
func ParseListProjectRateLimitsResp(rsp *http.Response) (*ListProjectRateLimitsResp, error)
ParseListProjectRateLimitsResp parses an HTTP response from a ListProjectRateLimitsWithResponse call
func (ListProjectRateLimitsResp) Status ¶ added in v0.3.0
func (r ListProjectRateLimitsResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectRateLimitsResp) StatusCode ¶ added in v0.3.0
func (r ListProjectRateLimitsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectRolesParams ¶ added in v0.4.0
type ListProjectRolesParams struct {
// Limit A limit on the number of roles to return. Defaults to 1000.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the value from the previous response's `next` field to continue listing roles.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned roles.
Order *ListProjectRolesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListProjectRolesParams defines parameters for ListProjectRoles.
type ListProjectRolesParamsOrder ¶ added in v0.4.0
type ListProjectRolesParamsOrder string
ListProjectRolesParamsOrder defines parameters for ListProjectRoles.
const ( ListProjectRolesParamsOrderAsc ListProjectRolesParamsOrder = "asc" ListProjectRolesParamsOrderDesc ListProjectRolesParamsOrder = "desc" )
Defines values for ListProjectRolesParamsOrder.
type ListProjectRolesResp ¶ added in v0.4.0
type ListProjectRolesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PublicRoleListResource
}
func ParseListProjectRolesResp ¶ added in v0.4.0
func ParseListProjectRolesResp(rsp *http.Response) (*ListProjectRolesResp, error)
ParseListProjectRolesResp parses an HTTP response from a ListProjectRolesWithResponse call
func (ListProjectRolesResp) Status ¶ added in v0.4.0
func (r ListProjectRolesResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectRolesResp) StatusCode ¶ added in v0.4.0
func (r ListProjectRolesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectServiceAccountsParams ¶ added in v0.3.0
type ListProjectServiceAccountsParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
}
ListProjectServiceAccountsParams defines parameters for ListProjectServiceAccounts.
type ListProjectServiceAccountsResp ¶ added in v0.3.0
type ListProjectServiceAccountsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectServiceAccountListResponse
JSON400 *ErrorResponse
}
func ParseListProjectServiceAccountsResp ¶ added in v0.3.0
func ParseListProjectServiceAccountsResp(rsp *http.Response) (*ListProjectServiceAccountsResp, error)
ParseListProjectServiceAccountsResp parses an HTTP response from a ListProjectServiceAccountsWithResponse call
func (ListProjectServiceAccountsResp) Status ¶ added in v0.3.0
func (r ListProjectServiceAccountsResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectServiceAccountsResp) StatusCode ¶ added in v0.3.0
func (r ListProjectServiceAccountsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectUserRoleAssignmentsParams ¶ added in v0.4.0
type ListProjectUserRoleAssignmentsParams struct {
// Limit A limit on the number of project role assignments to return.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the value from the previous response's `next` field to continue listing project roles.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned project roles.
Order *ListProjectUserRoleAssignmentsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListProjectUserRoleAssignmentsParams defines parameters for ListProjectUserRoleAssignments.
type ListProjectUserRoleAssignmentsParamsOrder ¶ added in v0.4.0
type ListProjectUserRoleAssignmentsParamsOrder string
ListProjectUserRoleAssignmentsParamsOrder defines parameters for ListProjectUserRoleAssignments.
const ( ListProjectUserRoleAssignmentsParamsOrderAsc ListProjectUserRoleAssignmentsParamsOrder = "asc" ListProjectUserRoleAssignmentsParamsOrderDesc ListProjectUserRoleAssignmentsParamsOrder = "desc" )
Defines values for ListProjectUserRoleAssignmentsParamsOrder.
type ListProjectUserRoleAssignmentsResp ¶ added in v0.4.0
type ListProjectUserRoleAssignmentsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleListResource
}
func ParseListProjectUserRoleAssignmentsResp ¶ added in v0.4.0
func ParseListProjectUserRoleAssignmentsResp(rsp *http.Response) (*ListProjectUserRoleAssignmentsResp, error)
ParseListProjectUserRoleAssignmentsResp parses an HTTP response from a ListProjectUserRoleAssignmentsWithResponse call
func (ListProjectUserRoleAssignmentsResp) Status ¶ added in v0.4.0
func (r ListProjectUserRoleAssignmentsResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectUserRoleAssignmentsResp) StatusCode ¶ added in v0.4.0
func (r ListProjectUserRoleAssignmentsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectUsersParams ¶ added in v0.3.0
type ListProjectUsersParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
}
ListProjectUsersParams defines parameters for ListProjectUsers.
type ListProjectUsersResp ¶ added in v0.3.0
type ListProjectUsersResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectUserListResponse
JSON400 *ErrorResponse
}
func ParseListProjectUsersResp ¶ added in v0.3.0
func ParseListProjectUsersResp(rsp *http.Response) (*ListProjectUsersResp, error)
ParseListProjectUsersResp parses an HTTP response from a ListProjectUsersWithResponse call
func (ListProjectUsersResp) Status ¶ added in v0.3.0
func (r ListProjectUsersResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectUsersResp) StatusCode ¶ added in v0.3.0
func (r ListProjectUsersResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectsParams ¶ added in v0.3.0
type ListProjectsParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
// IncludeArchived If `true` returns all projects including those that have been `archived`. Archived projects are not included by default.
IncludeArchived *bool `form:"include_archived,omitempty" json:"include_archived,omitempty"`
}
ListProjectsParams defines parameters for ListProjects.
type ListProjectsResp ¶ added in v0.3.0
type ListProjectsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectListResponse
}
func ParseListProjectsResp ¶ added in v0.3.0
func ParseListProjectsResp(rsp *http.Response) (*ListProjectsResp, error)
ParseListProjectsResp parses an HTTP response from a ListProjectsWithResponse call
func (ListProjectsResp) Status ¶ added in v0.3.0
func (r ListProjectsResp) Status() string
Status returns HTTPResponse.Status
func (ListProjectsResp) StatusCode ¶ added in v0.3.0
func (r ListProjectsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRolesParams ¶ added in v0.4.0
type ListRolesParams struct {
// Limit A limit on the number of roles to return. Defaults to 1000.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the value from the previous response's `next` field to continue listing roles.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned roles.
Order *ListRolesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListRolesParams defines parameters for ListRoles.
type ListRolesParamsOrder ¶ added in v0.4.0
type ListRolesParamsOrder string
ListRolesParamsOrder defines parameters for ListRoles.
const ( ListRolesParamsOrderAsc ListRolesParamsOrder = "asc" ListRolesParamsOrderDesc ListRolesParamsOrder = "desc" )
Defines values for ListRolesParamsOrder.
type ListRolesResp ¶ added in v0.4.0
type ListRolesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PublicRoleListResource
}
func ParseListRolesResp ¶ added in v0.4.0
func ParseListRolesResp(rsp *http.Response) (*ListRolesResp, error)
ParseListRolesResp parses an HTTP response from a ListRolesWithResponse call
func (ListRolesResp) Status ¶ added in v0.4.0
func (r ListRolesResp) Status() string
Status returns HTTPResponse.Status
func (ListRolesResp) StatusCode ¶ added in v0.4.0
func (r ListRolesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUserRoleAssignmentsParams ¶ added in v0.4.0
type ListUserRoleAssignmentsParams struct {
// Limit A limit on the number of organization role assignments to return.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After Cursor for pagination. Provide the value from the previous response's `next` field to continue listing organization roles.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Order Sort order for the returned organization roles.
Order *ListUserRoleAssignmentsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
ListUserRoleAssignmentsParams defines parameters for ListUserRoleAssignments.
type ListUserRoleAssignmentsParamsOrder ¶ added in v0.4.0
type ListUserRoleAssignmentsParamsOrder string
ListUserRoleAssignmentsParamsOrder defines parameters for ListUserRoleAssignments.
const ( ListUserRoleAssignmentsParamsOrderAsc ListUserRoleAssignmentsParamsOrder = "asc" ListUserRoleAssignmentsParamsOrderDesc ListUserRoleAssignmentsParamsOrder = "desc" )
Defines values for ListUserRoleAssignmentsParamsOrder.
type ListUserRoleAssignmentsResp ¶ added in v0.4.0
type ListUserRoleAssignmentsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleListResource
}
func ParseListUserRoleAssignmentsResp ¶ added in v0.4.0
func ParseListUserRoleAssignmentsResp(rsp *http.Response) (*ListUserRoleAssignmentsResp, error)
ParseListUserRoleAssignmentsResp parses an HTTP response from a ListUserRoleAssignmentsWithResponse call
func (ListUserRoleAssignmentsResp) Status ¶ added in v0.4.0
func (r ListUserRoleAssignmentsResp) Status() string
Status returns HTTPResponse.Status
func (ListUserRoleAssignmentsResp) StatusCode ¶ added in v0.4.0
func (r ListUserRoleAssignmentsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersParams ¶ added in v0.3.0
type ListUsersParams struct {
// Limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// After A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Emails Filter by the email address of users.
Emails *[]string `form:"emails,omitempty" json:"emails,omitempty"`
}
ListUsersParams defines parameters for ListUsers.
type ListUsersResp ¶ added in v0.3.0
type ListUsersResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserListResponse
}
func ParseListUsersResp ¶ added in v0.3.0
func ParseListUsersResp(rsp *http.Response) (*ListUsersResp, error)
ParseListUsersResp parses an HTTP response from a ListUsersWithResponse call
func (ListUsersResp) Status ¶ added in v0.3.0
func (r ListUsersResp) Status() string
Status returns HTTPResponse.Status
func (ListUsersResp) StatusCode ¶ added in v0.3.0
func (r ListUsersResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyCertificateJSONRequestBody ¶ added in v0.3.3
type ModifyCertificateJSONRequestBody = ModifyCertificateRequest
ModifyCertificateJSONRequestBody defines body for ModifyCertificate for application/json ContentType.
type ModifyCertificateRequest ¶ added in v0.3.3
type ModifyCertificateRequest struct {
// Name The updated name for the certificate
Name string `json:"name"`
}
ModifyCertificateRequest defines model for ModifyCertificateRequest.
type ModifyCertificateResp ¶ added in v0.3.3
type ModifyCertificateResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Certificate
}
func ParseModifyCertificateResp ¶ added in v0.3.3
func ParseModifyCertificateResp(rsp *http.Response) (*ModifyCertificateResp, error)
ParseModifyCertificateResp parses an HTTP response from a ModifyCertificateWithResponse call
func (ModifyCertificateResp) Status ¶ added in v0.3.3
func (r ModifyCertificateResp) Status() string
Status returns HTTPResponse.Status
func (ModifyCertificateResp) StatusCode ¶ added in v0.3.3
func (r ModifyCertificateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyProjectJSONRequestBody ¶ added in v0.3.0
type ModifyProjectJSONRequestBody = ProjectUpdateRequest
ModifyProjectJSONRequestBody defines body for ModifyProject for application/json ContentType.
type ModifyProjectResp ¶ added in v0.3.0
type ModifyProjectResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Project
JSON400 *ErrorResponse
}
func ParseModifyProjectResp ¶ added in v0.3.0
func ParseModifyProjectResp(rsp *http.Response) (*ModifyProjectResp, error)
ParseModifyProjectResp parses an HTTP response from a ModifyProjectWithResponse call
func (ModifyProjectResp) Status ¶ added in v0.3.0
func (r ModifyProjectResp) Status() string
Status returns HTTPResponse.Status
func (ModifyProjectResp) StatusCode ¶ added in v0.3.0
func (r ModifyProjectResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyProjectUserJSONRequestBody ¶ added in v0.3.0
type ModifyProjectUserJSONRequestBody = ProjectUserUpdateRequest
ModifyProjectUserJSONRequestBody defines body for ModifyProjectUser for application/json ContentType.
type ModifyProjectUserResp ¶ added in v0.3.0
type ModifyProjectUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectUser
JSON400 *ErrorResponse
}
func ParseModifyProjectUserResp ¶ added in v0.3.0
func ParseModifyProjectUserResp(rsp *http.Response) (*ModifyProjectUserResp, error)
ParseModifyProjectUserResp parses an HTTP response from a ModifyProjectUserWithResponse call
func (ModifyProjectUserResp) Status ¶ added in v0.3.0
func (r ModifyProjectUserResp) Status() string
Status returns HTTPResponse.Status
func (ModifyProjectUserResp) StatusCode ¶ added in v0.3.0
func (r ModifyProjectUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyUserJSONRequestBody ¶ added in v0.3.0
type ModifyUserJSONRequestBody = UserRoleUpdateRequest
ModifyUserJSONRequestBody defines body for ModifyUser for application/json ContentType.
type ModifyUserResp ¶ added in v0.3.0
func ParseModifyUserResp ¶ added in v0.3.0
func ParseModifyUserResp(rsp *http.Response) (*ModifyUserResp, error)
ParseModifyUserResp parses an HTTP response from a ModifyUserWithResponse call
func (ModifyUserResp) Status ¶ added in v0.3.0
func (r ModifyUserResp) Status() string
Status returns HTTPResponse.Status
func (ModifyUserResp) StatusCode ¶ added in v0.3.0
func (r ModifyUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Project ¶
type Project struct {
// ArchivedAt The Unix timestamp (in seconds) of when the project was archived or `null`.
ArchivedAt *int64 `json:"archived_at"`
// CreatedAt The Unix timestamp (in seconds) of when the project was created.
CreatedAt int64 `json:"created_at"`
// ExternalKeyId The ID of the customer-managed encryption key for Enterprise Key Management (EKM).
ExternalKeyId *string `json:"external_key_id,omitempty"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// Name The name of the project. This appears in reporting.
Name string `json:"name"`
// Object The object type, which is always `organization.project`
Object ProjectObject `json:"object"`
// Status `active` or `archived`
Status ProjectStatus `json:"status"`
}
Project Represents an individual project.
type ProjectApiKey ¶ added in v0.3.0
type ProjectApiKey struct {
// CreatedAt The Unix timestamp (in seconds) of when the API key was created
CreatedAt int64 `json:"created_at"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// LastUsedAt The Unix timestamp (in seconds) of when the API key was last used.
LastUsedAt int64 `json:"last_used_at"`
// Name The name of the API key
Name string `json:"name"`
// Object The object type, which is always `organization.project.api_key`
Object ProjectApiKeyObject `json:"object"`
Owner struct {
// ServiceAccount Represents an individual service account in a project.
ServiceAccount *ProjectServiceAccount `json:"service_account,omitempty"`
// Type `user` or `service_account`
Type *ProjectApiKeyOwnerType `json:"type,omitempty"`
// User Represents an individual user in a project.
User *ProjectUser `json:"user,omitempty"`
} `json:"owner"`
// RedactedValue The redacted value of the API key
RedactedValue string `json:"redacted_value"`
}
ProjectApiKey Represents an individual API key in a project.
type ProjectApiKeyDeleteResponse ¶ added in v0.3.0
type ProjectApiKeyDeleteResponse struct {
Deleted bool `json:"deleted"`
Id string `json:"id"`
Object ProjectApiKeyDeleteResponseObject `json:"object"`
}
ProjectApiKeyDeleteResponse defines model for ProjectApiKeyDeleteResponse.
type ProjectApiKeyDeleteResponseObject ¶ added in v0.3.0
type ProjectApiKeyDeleteResponseObject string
ProjectApiKeyDeleteResponseObject defines model for ProjectApiKeyDeleteResponse.Object.
const (
OrganizationProjectApiKeyDeleted ProjectApiKeyDeleteResponseObject = "organization.project.api_key.deleted"
)
Defines values for ProjectApiKeyDeleteResponseObject.
type ProjectApiKeyListResponse ¶ added in v0.3.0
type ProjectApiKeyListResponse struct {
Data []ProjectApiKey `json:"data"`
FirstId string `json:"first_id"`
HasMore bool `json:"has_more"`
LastId string `json:"last_id"`
Object ProjectApiKeyListResponseObject `json:"object"`
}
ProjectApiKeyListResponse defines model for ProjectApiKeyListResponse.
type ProjectApiKeyListResponseObject ¶ added in v0.3.0
type ProjectApiKeyListResponseObject string
ProjectApiKeyListResponseObject defines model for ProjectApiKeyListResponse.Object.
const (
ProjectApiKeyListResponseObjectList ProjectApiKeyListResponseObject = "list"
)
Defines values for ProjectApiKeyListResponseObject.
type ProjectApiKeyObject ¶ added in v0.3.0
type ProjectApiKeyObject string
ProjectApiKeyObject The object type, which is always `organization.project.api_key`
const (
OrganizationProjectApiKey ProjectApiKeyObject = "organization.project.api_key"
)
Defines values for ProjectApiKeyObject.
type ProjectApiKeyOwnerType ¶ added in v0.3.0
type ProjectApiKeyOwnerType string
ProjectApiKeyOwnerType `user` or `service_account`
const ( ProjectApiKeyOwnerTypeServiceAccount ProjectApiKeyOwnerType = "service_account" ProjectApiKeyOwnerTypeUser ProjectApiKeyOwnerType = "user" )
Defines values for ProjectApiKeyOwnerType.
type ProjectCreateRequest ¶ added in v0.3.0
type ProjectCreateRequest struct {
// ExternalKeyId The ID of the customer-managed encryption key for Enterprise Key Management (EKM).
ExternalKeyId *string `json:"external_key_id,omitempty"`
// Geography Create the project with the specified data residency region. Your organization must have access to Data residency functionality in order to use. See [data residency controls](https://platform.openai.com/docs/guides/your-data#data-residency-controls) to review the functionality and limitations of setting this field.
Geography *ProjectCreateRequestGeography `json:"geography,omitempty"`
// Name The friendly name of the project, this name appears in reports.
Name string `json:"name"`
}
ProjectCreateRequest defines model for ProjectCreateRequest.
type ProjectCreateRequestGeography ¶ added in v0.3.3
type ProjectCreateRequestGeography string
ProjectCreateRequestGeography Create the project with the specified data residency region. Your organization must have access to Data residency functionality in order to use. See [data residency controls](https://platform.openai.com/docs/guides/your-data#data-residency-controls) to review the functionality and limitations of setting this field.
const ( AU ProjectCreateRequestGeography = "AU" CA ProjectCreateRequestGeography = "CA" EU ProjectCreateRequestGeography = "EU" IN ProjectCreateRequestGeography = "IN" JP ProjectCreateRequestGeography = "JP" KR ProjectCreateRequestGeography = "KR" SG ProjectCreateRequestGeography = "SG" US ProjectCreateRequestGeography = "US" )
Defines values for ProjectCreateRequestGeography.
type ProjectGroup ¶ added in v0.4.0
type ProjectGroup struct {
// CreatedAt Unix timestamp (in seconds) when the group was granted project access.
CreatedAt int64 `json:"created_at"`
// GroupId Identifier of the group that has access to the project.
GroupId string `json:"group_id"`
// GroupName Display name of the group.
GroupName string `json:"group_name"`
// Object Always `project.group`.
Object ProjectGroupObject `json:"object"`
// ProjectId Identifier of the project.
ProjectId string `json:"project_id"`
}
ProjectGroup Details about a group's membership in a project.
type ProjectGroupDeletedResource ¶ added in v0.4.0
type ProjectGroupDeletedResource struct {
// Deleted Whether the group membership in the project was removed.
Deleted bool `json:"deleted"`
// Object Always `project.group.deleted`.
Object ProjectGroupDeletedResourceObject `json:"object"`
}
ProjectGroupDeletedResource Confirmation payload returned after removing a group from a project.
type ProjectGroupDeletedResourceObject ¶ added in v0.4.0
type ProjectGroupDeletedResourceObject string
ProjectGroupDeletedResourceObject Always `project.group.deleted`.
const (
ProjectGroupDeleted ProjectGroupDeletedResourceObject = "project.group.deleted"
)
Defines values for ProjectGroupDeletedResourceObject.
type ProjectGroupListResource ¶ added in v0.4.0
type ProjectGroupListResource struct {
// Data Project group memberships returned in the current page.
Data []ProjectGroup `json:"data"`
// HasMore Whether additional project group memberships are available.
HasMore bool `json:"has_more"`
Next *string `json:"next"`
// Object Always `list`.
Object ProjectGroupListResourceObject `json:"object"`
}
ProjectGroupListResource Paginated list of groups that have access to a project.
type ProjectGroupListResourceObject ¶ added in v0.4.0
type ProjectGroupListResourceObject string
ProjectGroupListResourceObject Always `list`.
const (
ProjectGroupListResourceObjectList ProjectGroupListResourceObject = "list"
)
Defines values for ProjectGroupListResourceObject.
type ProjectGroupObject ¶ added in v0.4.0
type ProjectGroupObject string
ProjectGroupObject Always `project.group`.
const (
ProjectGroupObjectProjectGroup ProjectGroupObject = "project.group"
)
Defines values for ProjectGroupObject.
type ProjectListResponse ¶ added in v0.3.0
type ProjectListResponse struct {
Data []Project `json:"data"`
FirstId string `json:"first_id"`
HasMore bool `json:"has_more"`
LastId string `json:"last_id"`
Object ProjectListResponseObject `json:"object"`
}
ProjectListResponse defines model for ProjectListResponse.
type ProjectListResponseObject ¶ added in v0.3.0
type ProjectListResponseObject string
ProjectListResponseObject defines model for ProjectListResponse.Object.
const (
ProjectListResponseObjectList ProjectListResponseObject = "list"
)
Defines values for ProjectListResponseObject.
type ProjectObject ¶
type ProjectObject string
ProjectObject The object type, which is always `organization.project`
const (
OrganizationProject ProjectObject = "organization.project"
)
Defines values for ProjectObject.
type ProjectRateLimit ¶ added in v0.3.0
type ProjectRateLimit struct {
// Batch1DayMaxInputTokens The maximum batch input tokens per day. Only present for relevant models.
Batch1DayMaxInputTokens *int64 `json:"batch_1_day_max_input_tokens,omitempty"`
// Id The identifier, which can be referenced in API endpoints.
Id string `json:"id"`
// MaxAudioMegabytesPer1Minute The maximum audio megabytes per minute. Only present for relevant models.
MaxAudioMegabytesPer1Minute *int64 `json:"max_audio_megabytes_per_1_minute,omitempty"`
// MaxImagesPer1Minute The maximum images per minute. Only present for relevant models.
MaxImagesPer1Minute *int64 `json:"max_images_per_1_minute,omitempty"`
// MaxRequestsPer1Day The maximum requests per day. Only present for relevant models.
MaxRequestsPer1Day *int64 `json:"max_requests_per_1_day,omitempty"`
// MaxRequestsPer1Minute The maximum requests per minute.
MaxRequestsPer1Minute int64 `json:"max_requests_per_1_minute"`
// MaxTokensPer1Minute The maximum tokens per minute.
MaxTokensPer1Minute int64 `json:"max_tokens_per_1_minute"`
// Model The model this rate limit applies to.
Model string `json:"model"`
// Object The object type, which is always `project.rate_limit`
Object ProjectRateLimitObject `json:"object"`
}
ProjectRateLimit Represents a project rate limit config.
type ProjectRateLimitListResponse ¶ added in v0.3.0
type ProjectRateLimitListResponse struct {
Data []ProjectRateLimit `json:"data"`
FirstId string `json:"first_id"`
HasMore bool `json:"has_more"`
LastId string `json:"last_id"`
Object ProjectRateLimitListResponseObject `json:"object"`
}
ProjectRateLimitListResponse defines model for ProjectRateLimitListResponse.
type ProjectRateLimitListResponseObject ¶ added in v0.3.0
type ProjectRateLimitListResponseObject string
ProjectRateLimitListResponseObject defines model for ProjectRateLimitListResponse.Object.
const (
ProjectRateLimitListResponseObjectList ProjectRateLimitListResponseObject = "list"
)
Defines values for ProjectRateLimitListResponseObject.
type ProjectRateLimitObject ¶ added in v0.3.0
type ProjectRateLimitObject string
ProjectRateLimitObject The object type, which is always `project.rate_limit`
const (
ProjectRateLimitObjectProjectRateLimit ProjectRateLimitObject = "project.rate_limit"
)
Defines values for ProjectRateLimitObject.
type ProjectRateLimitUpdateRequest ¶ added in v0.3.0
type ProjectRateLimitUpdateRequest struct {
// Batch1DayMaxInputTokens The maximum batch input tokens per day. Only relevant for certain models.
Batch1DayMaxInputTokens *int64 `json:"batch_1_day_max_input_tokens,omitempty"`
// MaxAudioMegabytesPer1Minute The maximum audio megabytes per minute. Only relevant for certain models.
MaxAudioMegabytesPer1Minute *int64 `json:"max_audio_megabytes_per_1_minute,omitempty"`
// MaxImagesPer1Minute The maximum images per minute. Only relevant for certain models.
MaxImagesPer1Minute *int64 `json:"max_images_per_1_minute,omitempty"`
// MaxRequestsPer1Day The maximum requests per day. Only relevant for certain models.
MaxRequestsPer1Day *int64 `json:"max_requests_per_1_day,omitempty"`
// MaxRequestsPer1Minute The maximum requests per minute.
MaxRequestsPer1Minute *int64 `json:"max_requests_per_1_minute,omitempty"`
// MaxTokensPer1Minute The maximum tokens per minute.
MaxTokensPer1Minute *int64 `json:"max_tokens_per_1_minute,omitempty"`
}
ProjectRateLimitUpdateRequest defines model for ProjectRateLimitUpdateRequest.
type ProjectServiceAccount ¶ added in v0.3.0
type ProjectServiceAccount struct {
// CreatedAt The Unix timestamp (in seconds) of when the service account was created
CreatedAt int64 `json:"created_at"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// Name The name of the service account
Name string `json:"name"`
// Object The object type, which is always `organization.project.service_account`
Object ProjectServiceAccountObject `json:"object"`
// Role `owner` or `member`
Role ProjectServiceAccountRole `json:"role"`
}
ProjectServiceAccount Represents an individual service account in a project.
type ProjectServiceAccountApiKey ¶ added in v0.3.0
type ProjectServiceAccountApiKey struct {
CreatedAt int64 `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
// Object The object type, which is always `organization.project.service_account.api_key`
Object ProjectServiceAccountApiKeyObject `json:"object"`
Value string `json:"value"`
}
ProjectServiceAccountApiKey defines model for ProjectServiceAccountApiKey.
type ProjectServiceAccountApiKeyObject ¶ added in v0.3.0
type ProjectServiceAccountApiKeyObject string
ProjectServiceAccountApiKeyObject The object type, which is always `organization.project.service_account.api_key`
const (
OrganizationProjectServiceAccountApiKey ProjectServiceAccountApiKeyObject = "organization.project.service_account.api_key"
)
Defines values for ProjectServiceAccountApiKeyObject.
type ProjectServiceAccountCreateRequest ¶ added in v0.3.0
type ProjectServiceAccountCreateRequest struct {
// Name The name of the service account being created.
Name string `json:"name"`
}
ProjectServiceAccountCreateRequest defines model for ProjectServiceAccountCreateRequest.
type ProjectServiceAccountCreateResponse ¶ added in v0.3.0
type ProjectServiceAccountCreateResponse struct {
ApiKey ProjectServiceAccountApiKey `json:"api_key"`
CreatedAt int64 `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
Object ProjectServiceAccountCreateResponseObject `json:"object"`
// Role Service accounts can only have one role of type `member`
Role ProjectServiceAccountCreateResponseRole `json:"role"`
}
ProjectServiceAccountCreateResponse defines model for ProjectServiceAccountCreateResponse.
type ProjectServiceAccountCreateResponseObject ¶ added in v0.3.0
type ProjectServiceAccountCreateResponseObject string
ProjectServiceAccountCreateResponseObject defines model for ProjectServiceAccountCreateResponse.Object.
const (
ProjectServiceAccountCreateResponseObjectOrganizationProjectServiceAccount ProjectServiceAccountCreateResponseObject = "organization.project.service_account"
)
Defines values for ProjectServiceAccountCreateResponseObject.
type ProjectServiceAccountCreateResponseRole ¶ added in v0.3.0
type ProjectServiceAccountCreateResponseRole string
ProjectServiceAccountCreateResponseRole Service accounts can only have one role of type `member`
const (
ProjectServiceAccountCreateResponseRoleMember ProjectServiceAccountCreateResponseRole = "member"
)
Defines values for ProjectServiceAccountCreateResponseRole.
type ProjectServiceAccountDeleteResponse ¶ added in v0.3.0
type ProjectServiceAccountDeleteResponse struct {
Deleted bool `json:"deleted"`
Id string `json:"id"`
Object ProjectServiceAccountDeleteResponseObject `json:"object"`
}
ProjectServiceAccountDeleteResponse defines model for ProjectServiceAccountDeleteResponse.
type ProjectServiceAccountDeleteResponseObject ¶ added in v0.3.0
type ProjectServiceAccountDeleteResponseObject string
ProjectServiceAccountDeleteResponseObject defines model for ProjectServiceAccountDeleteResponse.Object.
const (
OrganizationProjectServiceAccountDeleted ProjectServiceAccountDeleteResponseObject = "organization.project.service_account.deleted"
)
Defines values for ProjectServiceAccountDeleteResponseObject.
type ProjectServiceAccountListResponse ¶ added in v0.3.0
type ProjectServiceAccountListResponse struct {
Data []ProjectServiceAccount `json:"data"`
FirstId string `json:"first_id"`
HasMore bool `json:"has_more"`
LastId string `json:"last_id"`
Object ProjectServiceAccountListResponseObject `json:"object"`
}
ProjectServiceAccountListResponse defines model for ProjectServiceAccountListResponse.
type ProjectServiceAccountListResponseObject ¶ added in v0.3.0
type ProjectServiceAccountListResponseObject string
ProjectServiceAccountListResponseObject defines model for ProjectServiceAccountListResponse.Object.
const (
ProjectServiceAccountListResponseObjectList ProjectServiceAccountListResponseObject = "list"
)
Defines values for ProjectServiceAccountListResponseObject.
type ProjectServiceAccountObject ¶ added in v0.3.0
type ProjectServiceAccountObject string
ProjectServiceAccountObject The object type, which is always `organization.project.service_account`
const (
ProjectServiceAccountObjectOrganizationProjectServiceAccount ProjectServiceAccountObject = "organization.project.service_account"
)
Defines values for ProjectServiceAccountObject.
type ProjectServiceAccountRole ¶ added in v0.3.0
type ProjectServiceAccountRole string
ProjectServiceAccountRole `owner` or `member`
const ( ProjectServiceAccountRoleMember ProjectServiceAccountRole = "member" ProjectServiceAccountRoleOwner ProjectServiceAccountRole = "owner" )
Defines values for ProjectServiceAccountRole.
type ProjectStatus ¶ added in v0.3.0
type ProjectStatus string
ProjectStatus `active` or `archived`
const ( Active ProjectStatus = "active" Archived ProjectStatus = "archived" )
Defines values for ProjectStatus.
type ProjectUpdateRequest ¶ added in v0.3.0
type ProjectUpdateRequest struct {
// Name The updated name of the project, this name appears in reports.
Name string `json:"name"`
}
ProjectUpdateRequest defines model for ProjectUpdateRequest.
type ProjectUser ¶ added in v0.3.0
type ProjectUser struct {
// AddedAt The Unix timestamp (in seconds) of when the project was added.
AddedAt int64 `json:"added_at"`
// Email The email address of the user
Email string `json:"email"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// Name The name of the user
Name string `json:"name"`
// Object The object type, which is always `organization.project.user`
Object ProjectUserObject `json:"object"`
// Role `owner` or `member`
Role ProjectUserRole `json:"role"`
}
ProjectUser Represents an individual user in a project.
type ProjectUserCreateRequest ¶ added in v0.3.0
type ProjectUserCreateRequest struct {
// Role `owner` or `member`
Role ProjectUserCreateRequestRole `json:"role"`
// UserId The ID of the user.
UserId string `json:"user_id"`
}
ProjectUserCreateRequest defines model for ProjectUserCreateRequest.
type ProjectUserCreateRequestRole ¶ added in v0.3.0
type ProjectUserCreateRequestRole string
ProjectUserCreateRequestRole `owner` or `member`
const ( ProjectUserCreateRequestRoleMember ProjectUserCreateRequestRole = "member" ProjectUserCreateRequestRoleOwner ProjectUserCreateRequestRole = "owner" )
Defines values for ProjectUserCreateRequestRole.
type ProjectUserDeleteResponse ¶ added in v0.3.0
type ProjectUserDeleteResponse struct {
Deleted bool `json:"deleted"`
Id string `json:"id"`
Object ProjectUserDeleteResponseObject `json:"object"`
}
ProjectUserDeleteResponse defines model for ProjectUserDeleteResponse.
type ProjectUserDeleteResponseObject ¶ added in v0.3.0
type ProjectUserDeleteResponseObject string
ProjectUserDeleteResponseObject defines model for ProjectUserDeleteResponse.Object.
const (
OrganizationProjectUserDeleted ProjectUserDeleteResponseObject = "organization.project.user.deleted"
)
Defines values for ProjectUserDeleteResponseObject.
type ProjectUserListResponse ¶ added in v0.3.0
type ProjectUserListResponse struct {
Data []ProjectUser `json:"data"`
FirstId string `json:"first_id"`
HasMore bool `json:"has_more"`
LastId string `json:"last_id"`
Object string `json:"object"`
}
ProjectUserListResponse defines model for ProjectUserListResponse.
type ProjectUserObject ¶ added in v0.3.0
type ProjectUserObject string
ProjectUserObject The object type, which is always `organization.project.user`
const (
OrganizationProjectUser ProjectUserObject = "organization.project.user"
)
Defines values for ProjectUserObject.
type ProjectUserRole ¶ added in v0.3.0
type ProjectUserRole string
ProjectUserRole `owner` or `member`
const ( ProjectUserRoleMember ProjectUserRole = "member" ProjectUserRoleOwner ProjectUserRole = "owner" )
Defines values for ProjectUserRole.
type ProjectUserUpdateRequest ¶ added in v0.3.0
type ProjectUserUpdateRequest struct {
// Role `owner` or `member`
Role ProjectUserUpdateRequestRole `json:"role"`
}
ProjectUserUpdateRequest defines model for ProjectUserUpdateRequest.
type ProjectUserUpdateRequestRole ¶ added in v0.3.0
type ProjectUserUpdateRequestRole string
ProjectUserUpdateRequestRole `owner` or `member`
const ( ProjectUserUpdateRequestRoleMember ProjectUserUpdateRequestRole = "member" ProjectUserUpdateRequestRoleOwner ProjectUserUpdateRequestRole = "owner" )
Defines values for ProjectUserUpdateRequestRole.
type PublicAssignOrganizationGroupRoleBody ¶ added in v0.4.0
type PublicAssignOrganizationGroupRoleBody struct {
// RoleId Identifier of the role to assign.
RoleId string `json:"role_id"`
}
PublicAssignOrganizationGroupRoleBody Request payload for assigning a role to a group or user.
type PublicCreateOrganizationRoleBody ¶ added in v0.4.0
type PublicCreateOrganizationRoleBody struct {
Description *string `json:"description"`
// Permissions Permissions to grant to the role.
Permissions []string `json:"permissions"`
// RoleName Unique name for the role.
RoleName string `json:"role_name"`
}
PublicCreateOrganizationRoleBody Request payload for creating a custom role.
type PublicRoleListResource ¶ added in v0.4.0
type PublicRoleListResource struct {
// Data Roles returned in the current page.
Data []Role `json:"data"`
// HasMore Whether more roles are available when paginating.
HasMore bool `json:"has_more"`
Next *string `json:"next"`
// Object Always `list`.
Object PublicRoleListResourceObject `json:"object"`
}
PublicRoleListResource Paginated list of roles available on an organization or project.
type PublicRoleListResourceObject ¶ added in v0.4.0
type PublicRoleListResourceObject string
PublicRoleListResourceObject Always `list`.
const (
PublicRoleListResourceObjectList PublicRoleListResourceObject = "list"
)
Defines values for PublicRoleListResourceObject.
type PublicUpdateOrganizationRoleBody ¶ added in v0.4.0
type PublicUpdateOrganizationRoleBody struct {
Description *string `json:"description"`
Permissions *[]string `json:"permissions"`
RoleName *string `json:"role_name"`
}
PublicUpdateOrganizationRoleBody Request payload for updating an existing role.
type RemoveGroupUserResp ¶ added in v0.4.0
type RemoveGroupUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupUserDeletedResource
}
func ParseRemoveGroupUserResp ¶ added in v0.4.0
func ParseRemoveGroupUserResp(rsp *http.Response) (*RemoveGroupUserResp, error)
ParseRemoveGroupUserResp parses an HTTP response from a RemoveGroupUserWithResponse call
func (RemoveGroupUserResp) Status ¶ added in v0.4.0
func (r RemoveGroupUserResp) Status() string
Status returns HTTPResponse.Status
func (RemoveGroupUserResp) StatusCode ¶ added in v0.4.0
func (r RemoveGroupUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveProjectGroupResp ¶ added in v0.4.0
type RemoveProjectGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectGroupDeletedResource
}
func ParseRemoveProjectGroupResp ¶ added in v0.4.0
func ParseRemoveProjectGroupResp(rsp *http.Response) (*RemoveProjectGroupResp, error)
ParseRemoveProjectGroupResp parses an HTTP response from a RemoveProjectGroupWithResponse call
func (RemoveProjectGroupResp) Status ¶ added in v0.4.0
func (r RemoveProjectGroupResp) Status() string
Status returns HTTPResponse.Status
func (RemoveProjectGroupResp) StatusCode ¶ added in v0.4.0
func (r RemoveProjectGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RetrieveInviteResp ¶ added in v0.3.0
func ParseRetrieveInviteResp ¶ added in v0.3.0
func ParseRetrieveInviteResp(rsp *http.Response) (*RetrieveInviteResp, error)
ParseRetrieveInviteResp parses an HTTP response from a RetrieveInviteWithResponse call
func (RetrieveInviteResp) Status ¶ added in v0.3.0
func (r RetrieveInviteResp) Status() string
Status returns HTTPResponse.Status
func (RetrieveInviteResp) StatusCode ¶ added in v0.3.0
func (r RetrieveInviteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrieveProjectApiKeyResp ¶ added in v0.3.0
type RetrieveProjectApiKeyResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectApiKey
}
func ParseRetrieveProjectApiKeyResp ¶ added in v0.3.0
func ParseRetrieveProjectApiKeyResp(rsp *http.Response) (*RetrieveProjectApiKeyResp, error)
ParseRetrieveProjectApiKeyResp parses an HTTP response from a RetrieveProjectApiKeyWithResponse call
func (RetrieveProjectApiKeyResp) Status ¶ added in v0.3.0
func (r RetrieveProjectApiKeyResp) Status() string
Status returns HTTPResponse.Status
func (RetrieveProjectApiKeyResp) StatusCode ¶ added in v0.3.0
func (r RetrieveProjectApiKeyResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrieveProjectResp ¶ added in v0.3.0
func ParseRetrieveProjectResp ¶ added in v0.3.0
func ParseRetrieveProjectResp(rsp *http.Response) (*RetrieveProjectResp, error)
ParseRetrieveProjectResp parses an HTTP response from a RetrieveProjectWithResponse call
func (RetrieveProjectResp) Status ¶ added in v0.3.0
func (r RetrieveProjectResp) Status() string
Status returns HTTPResponse.Status
func (RetrieveProjectResp) StatusCode ¶ added in v0.3.0
func (r RetrieveProjectResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrieveProjectServiceAccountResp ¶ added in v0.3.0
type RetrieveProjectServiceAccountResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectServiceAccount
}
func ParseRetrieveProjectServiceAccountResp ¶ added in v0.3.0
func ParseRetrieveProjectServiceAccountResp(rsp *http.Response) (*RetrieveProjectServiceAccountResp, error)
ParseRetrieveProjectServiceAccountResp parses an HTTP response from a RetrieveProjectServiceAccountWithResponse call
func (RetrieveProjectServiceAccountResp) Status ¶ added in v0.3.0
func (r RetrieveProjectServiceAccountResp) Status() string
Status returns HTTPResponse.Status
func (RetrieveProjectServiceAccountResp) StatusCode ¶ added in v0.3.0
func (r RetrieveProjectServiceAccountResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrieveProjectUserResp ¶ added in v0.3.0
type RetrieveProjectUserResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectUser
}
func ParseRetrieveProjectUserResp ¶ added in v0.3.0
func ParseRetrieveProjectUserResp(rsp *http.Response) (*RetrieveProjectUserResp, error)
ParseRetrieveProjectUserResp parses an HTTP response from a RetrieveProjectUserWithResponse call
func (RetrieveProjectUserResp) Status ¶ added in v0.3.0
func (r RetrieveProjectUserResp) Status() string
Status returns HTTPResponse.Status
func (RetrieveProjectUserResp) StatusCode ¶ added in v0.3.0
func (r RetrieveProjectUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetrieveUserResp ¶ added in v0.3.0
func ParseRetrieveUserResp ¶ added in v0.3.0
func ParseRetrieveUserResp(rsp *http.Response) (*RetrieveUserResp, error)
ParseRetrieveUserResp parses an HTTP response from a RetrieveUserWithResponse call
func (RetrieveUserResp) Status ¶ added in v0.3.0
func (r RetrieveUserResp) Status() string
Status returns HTTPResponse.Status
func (RetrieveUserResp) StatusCode ¶ added in v0.3.0
func (r RetrieveUserResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Role ¶
type Role struct {
Description *string `json:"description"`
// Id Identifier for the role.
Id string `json:"id"`
// Name Unique name for the role.
Name string `json:"name"`
// Object Always `role`.
Object RoleObject `json:"object"`
// Permissions Permissions granted by the role.
Permissions []string `json:"permissions"`
// PredefinedRole Whether the role is predefined and managed by OpenAI.
PredefinedRole bool `json:"predefined_role"`
// ResourceType Resource type the role is bound to (for example `api.organization` or `api.project`).
ResourceType string `json:"resource_type"`
}
Role Details about a role that can be assigned through the public Roles API.
type RoleDeletedResource ¶ added in v0.4.0
type RoleDeletedResource struct {
// Deleted Whether the role was deleted.
Deleted bool `json:"deleted"`
// Id Identifier of the deleted role.
Id string `json:"id"`
// Object Always `role.deleted`.
Object RoleDeletedResourceObject `json:"object"`
}
RoleDeletedResource Confirmation payload returned after deleting a role.
type RoleDeletedResourceObject ¶ added in v0.4.0
type RoleDeletedResourceObject string
RoleDeletedResourceObject Always `role.deleted`.
const (
RoleDeleted RoleDeletedResourceObject = "role.deleted"
)
Defines values for RoleDeletedResourceObject.
type RoleListResource ¶ added in v0.4.0
type RoleListResource struct {
// Data Role assignments returned in the current page.
Data []AssignedRoleDetails `json:"data"`
// HasMore Whether additional assignments are available when paginating.
HasMore bool `json:"has_more"`
Next *string `json:"next"`
// Object Always `list`.
Object RoleListResourceObject `json:"object"`
}
RoleListResource Paginated list of roles assigned to a principal.
type RoleListResourceObject ¶ added in v0.4.0
type RoleListResourceObject string
RoleListResourceObject Always `list`.
const (
RoleListResourceObjectList RoleListResourceObject = "list"
)
Defines values for RoleListResourceObject.
type RoleObject ¶ added in v0.4.0
type RoleObject string
RoleObject Always `role`.
const (
RoleObjectRole RoleObject = "role"
)
Defines values for RoleObject.
type ToggleCertificatesRequest ¶ added in v0.3.3
type ToggleCertificatesRequest struct {
CertificateIds []string `json:"certificate_ids"`
}
ToggleCertificatesRequest defines model for ToggleCertificatesRequest.
type UnassignGroupRoleResp ¶ added in v0.4.0
type UnassignGroupRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeletedRoleAssignmentResource
}
func ParseUnassignGroupRoleResp ¶ added in v0.4.0
func ParseUnassignGroupRoleResp(rsp *http.Response) (*UnassignGroupRoleResp, error)
ParseUnassignGroupRoleResp parses an HTTP response from a UnassignGroupRoleWithResponse call
func (UnassignGroupRoleResp) Status ¶ added in v0.4.0
func (r UnassignGroupRoleResp) Status() string
Status returns HTTPResponse.Status
func (UnassignGroupRoleResp) StatusCode ¶ added in v0.4.0
func (r UnassignGroupRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnassignProjectGroupRoleResp ¶ added in v0.4.0
type UnassignProjectGroupRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeletedRoleAssignmentResource
}
func ParseUnassignProjectGroupRoleResp ¶ added in v0.4.0
func ParseUnassignProjectGroupRoleResp(rsp *http.Response) (*UnassignProjectGroupRoleResp, error)
ParseUnassignProjectGroupRoleResp parses an HTTP response from a UnassignProjectGroupRoleWithResponse call
func (UnassignProjectGroupRoleResp) Status ¶ added in v0.4.0
func (r UnassignProjectGroupRoleResp) Status() string
Status returns HTTPResponse.Status
func (UnassignProjectGroupRoleResp) StatusCode ¶ added in v0.4.0
func (r UnassignProjectGroupRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnassignProjectUserRoleResp ¶ added in v0.4.0
type UnassignProjectUserRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeletedRoleAssignmentResource
}
func ParseUnassignProjectUserRoleResp ¶ added in v0.4.0
func ParseUnassignProjectUserRoleResp(rsp *http.Response) (*UnassignProjectUserRoleResp, error)
ParseUnassignProjectUserRoleResp parses an HTTP response from a UnassignProjectUserRoleWithResponse call
func (UnassignProjectUserRoleResp) Status ¶ added in v0.4.0
func (r UnassignProjectUserRoleResp) Status() string
Status returns HTTPResponse.Status
func (UnassignProjectUserRoleResp) StatusCode ¶ added in v0.4.0
func (r UnassignProjectUserRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnassignUserRoleResp ¶ added in v0.4.0
type UnassignUserRoleResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeletedRoleAssignmentResource
}
func ParseUnassignUserRoleResp ¶ added in v0.4.0
func ParseUnassignUserRoleResp(rsp *http.Response) (*UnassignUserRoleResp, error)
ParseUnassignUserRoleResp parses an HTTP response from a UnassignUserRoleWithResponse call
func (UnassignUserRoleResp) Status ¶ added in v0.4.0
func (r UnassignUserRoleResp) Status() string
Status returns HTTPResponse.Status
func (UnassignUserRoleResp) StatusCode ¶ added in v0.4.0
func (r UnassignUserRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGroupBody ¶ added in v0.4.0
type UpdateGroupBody struct {
// Name New display name for the group.
Name string `json:"name"`
}
UpdateGroupBody Request payload for updating the details of an existing group.
type UpdateGroupJSONRequestBody ¶ added in v0.4.0
type UpdateGroupJSONRequestBody = UpdateGroupBody
UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.
type UpdateGroupResp ¶ added in v0.4.0
type UpdateGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupResourceWithSuccess
}
func ParseUpdateGroupResp ¶ added in v0.4.0
func ParseUpdateGroupResp(rsp *http.Response) (*UpdateGroupResp, error)
ParseUpdateGroupResp parses an HTTP response from a UpdateGroupWithResponse call
func (UpdateGroupResp) Status ¶ added in v0.4.0
func (r UpdateGroupResp) Status() string
Status returns HTTPResponse.Status
func (UpdateGroupResp) StatusCode ¶ added in v0.4.0
func (r UpdateGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectRateLimitsJSONRequestBody ¶ added in v0.3.0
type UpdateProjectRateLimitsJSONRequestBody = ProjectRateLimitUpdateRequest
UpdateProjectRateLimitsJSONRequestBody defines body for UpdateProjectRateLimits for application/json ContentType.
type UpdateProjectRateLimitsResp ¶ added in v0.3.0
type UpdateProjectRateLimitsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectRateLimit
JSON400 *ErrorResponse
}
func ParseUpdateProjectRateLimitsResp ¶ added in v0.3.0
func ParseUpdateProjectRateLimitsResp(rsp *http.Response) (*UpdateProjectRateLimitsResp, error)
ParseUpdateProjectRateLimitsResp parses an HTTP response from a UpdateProjectRateLimitsWithResponse call
func (UpdateProjectRateLimitsResp) Status ¶ added in v0.3.0
func (r UpdateProjectRateLimitsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectRateLimitsResp) StatusCode ¶ added in v0.3.0
func (r UpdateProjectRateLimitsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectRoleJSONRequestBody ¶ added in v0.4.0
type UpdateProjectRoleJSONRequestBody = PublicUpdateOrganizationRoleBody
UpdateProjectRoleJSONRequestBody defines body for UpdateProjectRole for application/json ContentType.
type UpdateProjectRoleResp ¶ added in v0.4.0
func ParseUpdateProjectRoleResp ¶ added in v0.4.0
func ParseUpdateProjectRoleResp(rsp *http.Response) (*UpdateProjectRoleResp, error)
ParseUpdateProjectRoleResp parses an HTTP response from a UpdateProjectRoleWithResponse call
func (UpdateProjectRoleResp) Status ¶ added in v0.4.0
func (r UpdateProjectRoleResp) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectRoleResp) StatusCode ¶ added in v0.4.0
func (r UpdateProjectRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRoleJSONRequestBody ¶ added in v0.4.0
type UpdateRoleJSONRequestBody = PublicUpdateOrganizationRoleBody
UpdateRoleJSONRequestBody defines body for UpdateRole for application/json ContentType.
type UpdateRoleResp ¶ added in v0.4.0
func ParseUpdateRoleResp ¶ added in v0.4.0
func ParseUpdateRoleResp(rsp *http.Response) (*UpdateRoleResp, error)
ParseUpdateRoleResp parses an HTTP response from a UpdateRoleWithResponse call
func (UpdateRoleResp) Status ¶ added in v0.4.0
func (r UpdateRoleResp) Status() string
Status returns HTTPResponse.Status
func (UpdateRoleResp) StatusCode ¶ added in v0.4.0
func (r UpdateRoleResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadCertificateJSONRequestBody ¶ added in v0.3.3
type UploadCertificateJSONRequestBody = UploadCertificateRequest
UploadCertificateJSONRequestBody defines body for UploadCertificate for application/json ContentType.
type UploadCertificateRequest ¶ added in v0.3.3
type UploadCertificateRequest struct {
// Content The certificate content in PEM format
Content string `json:"content"`
// Name An optional name for the certificate
Name *string `json:"name,omitempty"`
}
UploadCertificateRequest defines model for UploadCertificateRequest.
type UploadCertificateResp ¶ added in v0.3.3
type UploadCertificateResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Certificate
}
func ParseUploadCertificateResp ¶ added in v0.3.3
func ParseUploadCertificateResp(rsp *http.Response) (*UploadCertificateResp, error)
ParseUploadCertificateResp parses an HTTP response from a UploadCertificateWithResponse call
func (UploadCertificateResp) Status ¶ added in v0.3.3
func (r UploadCertificateResp) Status() string
Status returns HTTPResponse.Status
func (UploadCertificateResp) StatusCode ¶ added in v0.3.3
func (r UploadCertificateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
// AddedAt The Unix timestamp (in seconds) of when the user was added.
AddedAt int64 `json:"added_at"`
// Email The email address of the user
Email string `json:"email"`
// Id The identifier, which can be referenced in API endpoints
Id string `json:"id"`
// Name The name of the user
Name string `json:"name"`
// Object The object type, which is always `organization.user`
Object UserObject `json:"object"`
// Role `owner` or `reader`
Role UserRole `json:"role"`
}
User Represents an individual `user` within an organization.
type UserDeleteResponse ¶ added in v0.3.0
type UserDeleteResponse struct {
Deleted bool `json:"deleted"`
Id string `json:"id"`
Object UserDeleteResponseObject `json:"object"`
}
UserDeleteResponse defines model for UserDeleteResponse.
type UserDeleteResponseObject ¶ added in v0.3.0
type UserDeleteResponseObject string
UserDeleteResponseObject defines model for UserDeleteResponse.Object.
const (
OrganizationUserDeleted UserDeleteResponseObject = "organization.user.deleted"
)
Defines values for UserDeleteResponseObject.
type UserListResource ¶ added in v0.4.0
type UserListResource struct {
// Data Users in the current page.
Data []User `json:"data"`
// HasMore Whether more users are available when paginating.
HasMore bool `json:"has_more"`
Next *string `json:"next"`
// Object Always `list`.
Object UserListResourceObject `json:"object"`
}
UserListResource Paginated list of user objects returned when inspecting group membership.
type UserListResourceObject ¶ added in v0.4.0
type UserListResourceObject string
UserListResourceObject Always `list`.
const (
UserListResourceObjectList UserListResourceObject = "list"
)
Defines values for UserListResourceObject.
type UserListResponse ¶ added in v0.3.0
type UserListResponse struct {
Data []User `json:"data"`
FirstId string `json:"first_id"`
HasMore bool `json:"has_more"`
LastId string `json:"last_id"`
Object UserListResponseObject `json:"object"`
}
UserListResponse defines model for UserListResponse.
type UserListResponseObject ¶ added in v0.3.0
type UserListResponseObject string
UserListResponseObject defines model for UserListResponse.Object.
const (
UserListResponseObjectList UserListResponseObject = "list"
)
Defines values for UserListResponseObject.
type UserObject ¶
type UserObject string
UserObject The object type, which is always `organization.user`
const (
OrganizationUser UserObject = "organization.user"
)
Defines values for UserObject.
type UserRoleAssignment ¶ added in v0.4.0
type UserRoleAssignment struct {
// Object Always `user.role`.
Object UserRoleAssignmentObject `json:"object"`
// Role Details about a role that can be assigned through the public Roles API.
Role Role `json:"role"`
// User Represents an individual `user` within an organization.
User User `json:"user"`
}
UserRoleAssignment Role assignment linking a user to a role.
type UserRoleAssignmentObject ¶ added in v0.4.0
type UserRoleAssignmentObject string
UserRoleAssignmentObject Always `user.role`.
const (
UserRoleAssignmentObjectUserRole UserRoleAssignmentObject = "user.role"
)
Defines values for UserRoleAssignmentObject.
type UserRoleUpdateRequest ¶ added in v0.3.0
type UserRoleUpdateRequest struct {
// Role `owner` or `reader`
Role UserRoleUpdateRequestRole `json:"role"`
}
UserRoleUpdateRequest defines model for UserRoleUpdateRequest.
type UserRoleUpdateRequestRole ¶ added in v0.3.0
type UserRoleUpdateRequestRole string
UserRoleUpdateRequestRole `owner` or `reader`
const ( Owner UserRoleUpdateRequestRole = "owner" Reader UserRoleUpdateRequestRole = "reader" )
Defines values for UserRoleUpdateRequestRole.