Documentation
¶
Overview ¶
Package oapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewAnalyticsServiceGetSessionRequest(server string, projectId string, sessionId string) (*http.Request, error)
- func NewAnalyticsServiceListProjectSessionsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceAddWorkspaceMembersToProjectRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceAnswerInvitationRequest(server string, inviteToken string, ...) (*http.Request, error)
- func NewProjectServiceAnswerInvitationRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceCreateProjectRequest(server string, body ProjectServiceCreateProjectJSONRequestBody) (*http.Request, error)
- func NewProjectServiceCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceDeleteInviteRequest(server string, projectId string, email string) (*http.Request, error)
- func NewProjectServiceDeleteProjectRequest(server string, projectId string) (*http.Request, error)
- func NewProjectServiceGetInviteRequest(server string, inviteToken string) (*http.Request, error)
- func NewProjectServiceGetMemberRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewProjectServiceGetProjectRequest(server string, projectId string) (*http.Request, error)
- func NewProjectServiceInviteMemberRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceInviteMemberRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceListInvitesRequest(server string, projectId string) (*http.Request, error)
- func NewProjectServiceListMembersRequest(server string, projectId string) (*http.Request, error)
- func NewProjectServiceListProjectsRequest(server string, params *ProjectServiceListProjectsParams) (*http.Request, error)
- func NewProjectServiceRemoveMemberRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewProjectServiceUpdateInviteRequest(server string, projectId string, email string, ...) (*http.Request, error)
- func NewProjectServiceUpdateInviteRequestWithBody(server string, projectId string, email string, contentType string, ...) (*http.Request, error)
- func NewProjectServiceUpdateMemberRequest(server string, projectId string, userId string, ...) (*http.Request, error)
- func NewProjectServiceUpdateMemberRequestWithBody(server string, projectId string, userId string, contentType string, ...) (*http.Request, error)
- func NewProjectServiceUpdateProjectRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceUpdateProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSimulationServiceCancelSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
- func NewSimulationServiceCreateSimulationRunRequest(server string, projectId string, ...) (*http.Request, error)
- func NewSimulationServiceCreateSimulationRunRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSimulationServiceGetSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
- func NewSimulationServiceListSimulationRunsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewUserServiceGetCurrentUserRequest(server string) (*http.Request, error)
- func NewUserServiceGetUserRequest(server string, userId string) (*http.Request, error)
- func NewUserServiceListUsersRequest(server string, params *UserServiceListUsersParams) (*http.Request, error)
- func NewWorkspaceServiceAnswerInviteRequest(server string, inviteToken string, ...) (*http.Request, error)
- func NewWorkspaceServiceAnswerInviteRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceCreateInviteRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewWorkspaceServiceCreateInviteRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceCreateProjectRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewWorkspaceServiceCreateProjectRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceCreateWorkspaceRequest(server string, body WorkspaceServiceCreateWorkspaceJSONRequestBody) (*http.Request, error)
- func NewWorkspaceServiceCreateWorkspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceDeleteInviteRequest(server string, workspaceId string, email string) (*http.Request, error)
- func NewWorkspaceServiceDeleteMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)
- func NewWorkspaceServiceDeleteProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
- func NewWorkspaceServiceDeleteWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
- func NewWorkspaceServiceGetInviteRequest(server string, inviteToken string) (*http.Request, error)
- func NewWorkspaceServiceGetMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)
- func NewWorkspaceServiceGetProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
- func NewWorkspaceServiceGetWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
- func NewWorkspaceServiceListInvitesRequest(server string, workspaceId string) (*http.Request, error)
- func NewWorkspaceServiceListMembersRequest(server string, workspaceId string) (*http.Request, error)
- func NewWorkspaceServiceListProjectsRequest(server string, workspaceId string, params *WorkspaceServiceListProjectsParams) (*http.Request, error)
- func NewWorkspaceServiceListWorkspacesRequest(server string, params *WorkspaceServiceListWorkspacesParams) (*http.Request, error)
- func NewWorkspaceServiceUpdateMemberRequest(server string, workspaceId string, userId string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateMemberRequestWithBody(server string, workspaceId string, userId string, contentType string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateProjectRequest(server string, workspaceId string, updateProjectId string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateProjectRequestWithBody(server string, workspaceId string, updateProjectId string, contentType string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateWorkspaceRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateWorkspaceRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- type AnalyticsServiceGetSessionResponse
- func (r AnalyticsServiceGetSessionResponse) ContentType() string
- func (r AnalyticsServiceGetSessionResponse) GetBody() []byte
- func (r AnalyticsServiceGetSessionResponse) GetJSON200() *LivekitPublicapiAnalyticsV1GetSessionResponse
- func (r AnalyticsServiceGetSessionResponse) Status() string
- func (r AnalyticsServiceGetSessionResponse) StatusCode() int
- type AnalyticsServiceListProjectSessionsParams
- type AnalyticsServiceListProjectSessionsResponse
- func (r AnalyticsServiceListProjectSessionsResponse) ContentType() string
- func (r AnalyticsServiceListProjectSessionsResponse) GetBody() []byte
- func (r AnalyticsServiceListProjectSessionsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1ListProjectSessionsResponse
- func (r AnalyticsServiceListProjectSessionsResponse) Status() string
- func (r AnalyticsServiceListProjectSessionsResponse) StatusCode() int
- type Client
- func (c *Client) AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceGetMember(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceInviteMember(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListInvites(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceListMembers(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, ...) (*http.Response, error)
- func (c *Client) ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateProject(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceListSimulationRuns(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceListInvites(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceListMembers(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceListProjects(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateProject(ctx context.Context, workspaceId string, updateProjectId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateProjectWithBody(ctx context.Context, workspaceId string, updateProjectId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*AnalyticsServiceGetSessionResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, ...) (*AnalyticsServiceListProjectSessionsResponse, error)
- func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*ProjectServiceAnswerInvitationResponse, error)
- func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, ...) (*ProjectServiceAnswerInvitationResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProjectServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, ...) (*ProjectServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, ...) (*ProjectServiceDeleteInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, ...) (*ProjectServiceGetMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceInviteMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceInviteMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)
- func (c *ClientWithResponses) ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)
- func (c *ClientWithResponses) ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, ...) (*ProjectServiceListProjectsResponse, error)
- func (c *ClientWithResponses) ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, ...) (*ProjectServiceRemoveMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, ...) (*ProjectServiceUpdateInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, ...) (*ProjectServiceUpdateInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, ...) (*ProjectServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, ...) (*ProjectServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceUpdateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceUpdateProjectResponse, error)
- func (c *ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceCancelSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*SimulationServiceCreateSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, ...) (*SimulationServiceCreateSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceGetSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, ...) (*SimulationServiceListSimulationRunsResponse, error)
- func (c *ClientWithResponses) UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)
- func (c *ClientWithResponses) UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)
- func (c *ClientWithResponses) UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, ...) (*UserServiceListUsersResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*WorkspaceServiceAnswerInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, ...) (*WorkspaceServiceAnswerInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*WorkspaceServiceCreateInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceCreateInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*WorkspaceServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WorkspaceServiceCreateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, ...) (*WorkspaceServiceCreateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, ...) (*WorkspaceServiceDeleteInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, ...) (*WorkspaceServiceDeleteMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, ...) (*WorkspaceServiceDeleteProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, ...) (*WorkspaceServiceGetMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, ...) (*WorkspaceServiceGetProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceListProjectsResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, ...) (*WorkspaceServiceListWorkspacesResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, ...) (*WorkspaceServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, ...) (*WorkspaceServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, updateProjectId string, ...) (*WorkspaceServiceUpdateProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateProjectWithResponse(ctx context.Context, workspaceId string, updateProjectId string, ...) (*WorkspaceServiceUpdateProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*WorkspaceServiceUpdateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceUpdateWorkspaceResponse, error)
- type ClientWithResponsesInterface
- type CloudProtocolPIIRedactionCategory
- type GoogleProtobufTimestamp
- type HttpRequestDoer
- type LivekitAgentChatRole
- type LivekitAliOSSUpload
- type LivekitAudioCodec
- type LivekitAudioMixing
- type LivekitAutoParticipantEgress
- func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0() (LivekitAutoParticipantEgress0, error)
- func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1() (LivekitAutoParticipantEgress1, error)
- func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress2() (LivekitAutoParticipantEgress2, error)
- func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
- func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
- func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress2(v LivekitAutoParticipantEgress2) error
- func (t LivekitAutoParticipantEgress) MarshalJSON() ([]byte, error)
- func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
- func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
- func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress2(v LivekitAutoParticipantEgress2) error
- func (t *LivekitAutoParticipantEgress) UnmarshalJSON(b []byte) error
- type LivekitAutoParticipantEgress0
- type LivekitAutoParticipantEgress1
- type LivekitAutoParticipantEgress2
- type LivekitAutoTrackEgress
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0() (LivekitAutoTrackEgress0, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1() (LivekitAutoTrackEgress1, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2() (LivekitAutoTrackEgress2, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3() (LivekitAutoTrackEgress3, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress4() (LivekitAutoTrackEgress4, error)
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress4(v LivekitAutoTrackEgress4) error
- func (t LivekitAutoTrackEgress) MarshalJSON() ([]byte, error)
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress4(v LivekitAutoTrackEgress4) error
- func (t *LivekitAutoTrackEgress) UnmarshalJSON(b []byte) error
- type LivekitAutoTrackEgress0
- type LivekitAutoTrackEgress1
- type LivekitAutoTrackEgress2
- type LivekitAutoTrackEgress3
- type LivekitAutoTrackEgress4
- type LivekitAzureBlobUpload
- type LivekitEncodedFileOutput
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0() (LivekitEncodedFileOutput0, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1() (LivekitEncodedFileOutput1, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2() (LivekitEncodedFileOutput2, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3() (LivekitEncodedFileOutput3, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput4() (LivekitEncodedFileOutput4, error)
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput4(v LivekitEncodedFileOutput4) error
- func (t LivekitEncodedFileOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput4(v LivekitEncodedFileOutput4) error
- func (t *LivekitEncodedFileOutput) UnmarshalJSON(b []byte) error
- type LivekitEncodedFileOutput0
- type LivekitEncodedFileOutput1
- type LivekitEncodedFileOutput2
- type LivekitEncodedFileOutput3
- type LivekitEncodedFileOutput4
- type LivekitEncodedFileType
- type LivekitEncodingOptions
- type LivekitEncodingOptionsPreset
- type LivekitFilterParams
- type LivekitGCPUpload
- type LivekitImageCodec
- type LivekitImageFileSuffix
- type LivekitImageOutput
- func (t LivekitImageOutput) AsLivekitImageOutput0() (LivekitImageOutput0, error)
- func (t LivekitImageOutput) AsLivekitImageOutput1() (LivekitImageOutput1, error)
- func (t LivekitImageOutput) AsLivekitImageOutput2() (LivekitImageOutput2, error)
- func (t LivekitImageOutput) AsLivekitImageOutput3() (LivekitImageOutput3, error)
- func (t LivekitImageOutput) AsLivekitImageOutput4() (LivekitImageOutput4, error)
- func (t *LivekitImageOutput) FromLivekitImageOutput0(v LivekitImageOutput0) error
- func (t *LivekitImageOutput) FromLivekitImageOutput1(v LivekitImageOutput1) error
- func (t *LivekitImageOutput) FromLivekitImageOutput2(v LivekitImageOutput2) error
- func (t *LivekitImageOutput) FromLivekitImageOutput3(v LivekitImageOutput3) error
- func (t *LivekitImageOutput) FromLivekitImageOutput4(v LivekitImageOutput4) error
- func (t LivekitImageOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitImageOutput) MergeLivekitImageOutput0(v LivekitImageOutput0) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput1(v LivekitImageOutput1) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput2(v LivekitImageOutput2) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput3(v LivekitImageOutput3) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput4(v LivekitImageOutput4) error
- func (t *LivekitImageOutput) UnmarshalJSON(b []byte) error
- type LivekitImageOutput0
- type LivekitImageOutput1
- type LivekitImageOutput2
- type LivekitImageOutput3
- type LivekitImageOutput4
- type LivekitJobRestartPolicy
- type LivekitPresignedPostRequest
- type LivekitProxyConfig
- type LivekitPublicapiAnalyticsV1GetSessionResponse
- type LivekitPublicapiAnalyticsV1ListProjectSessionsResponse
- type LivekitPublicapiAnalyticsV1Session
- type LivekitPublicapiAnalyticsV1SessionStatus
- type LivekitPublicapiCommonV1PageInfo
- type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
- type LivekitPublicapiProjectsV1AnswerInvitationResponse
- type LivekitPublicapiProjectsV1CreateProjectMember
- type LivekitPublicapiProjectsV1CreateProjectRequest
- type LivekitPublicapiProjectsV1CreateProjectResponse
- type LivekitPublicapiProjectsV1DeleteInviteResponse
- type LivekitPublicapiProjectsV1DeleteProjectResponse
- type LivekitPublicapiProjectsV1GetInviteResponse
- type LivekitPublicapiProjectsV1GetMemberResponse
- type LivekitPublicapiProjectsV1GetProjectResponse
- type LivekitPublicapiProjectsV1InviteMemberResponse
- type LivekitPublicapiProjectsV1ListInvitesResponse
- type LivekitPublicapiProjectsV1ListMembersResponse
- type LivekitPublicapiProjectsV1ListProjectsResponse
- type LivekitPublicapiProjectsV1PinnedRegions
- type LivekitPublicapiProjectsV1Project
- type LivekitPublicapiProjectsV1ProjectInvite
- type LivekitPublicapiProjectsV1ProjectMember
- type LivekitPublicapiProjectsV1ProjectPreferences
- type LivekitPublicapiProjectsV1RemoveMemberResponse
- type LivekitPublicapiProjectsV1UpdateInviteResponse
- type LivekitPublicapiProjectsV1UpdateMemberResponse
- type LivekitPublicapiProjectsV1UpdateProjectRequest
- type LivekitPublicapiProjectsV1UpdateProjectResponse
- type LivekitPublicapiProjectsV1Webhook
- type LivekitPublicapiUsersV1GetCurrentUserResponse
- type LivekitPublicapiUsersV1GetUserResponse
- type LivekitPublicapiUsersV1ListUsersResponse
- type LivekitPublicapiUsersV1User
- type LivekitPublicapiWorkspacesV1AnswerInviteResponse
- type LivekitPublicapiWorkspacesV1CreateInviteResponse
- type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest
- type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
- type LivekitPublicapiWorkspacesV1DeleteInviteResponse
- type LivekitPublicapiWorkspacesV1DeleteMemberResponse
- type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
- type LivekitPublicapiWorkspacesV1GetInviteResponse
- type LivekitPublicapiWorkspacesV1GetMemberResponse
- type LivekitPublicapiWorkspacesV1GetWorkspaceResponse
- type LivekitPublicapiWorkspacesV1ListInvitesResponse
- type LivekitPublicapiWorkspacesV1ListMembersResponse
- type LivekitPublicapiWorkspacesV1ListWorkspacesResponse
- type LivekitPublicapiWorkspacesV1UpdateMemberResponse
- type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
- type LivekitPublicapiWorkspacesV1Workspace
- type LivekitPublicapiWorkspacesV1WorkspaceInvite
- type LivekitPublicapiWorkspacesV1WorkspaceMember
- type LivekitPublicapiWorkspacesV1WorkspacePreferences
- type LivekitRoomAgentDispatch
- type LivekitRoomCompositeEgressRequest
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0() (LivekitRoomCompositeEgressRequest0, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1() (LivekitRoomCompositeEgressRequest1, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2() (LivekitRoomCompositeEgressRequest2, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3() (LivekitRoomCompositeEgressRequest3, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4() (LivekitRoomCompositeEgressRequest4, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest5() (LivekitRoomCompositeEgressRequest5, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest6() (LivekitRoomCompositeEgressRequest6, error)
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest5(v LivekitRoomCompositeEgressRequest5) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest6(v LivekitRoomCompositeEgressRequest6) error
- func (t LivekitRoomCompositeEgressRequest) MarshalJSON() ([]byte, error)
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest5(v LivekitRoomCompositeEgressRequest5) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest6(v LivekitRoomCompositeEgressRequest6) error
- func (t *LivekitRoomCompositeEgressRequest) UnmarshalJSON(b []byte) error
- type LivekitRoomCompositeEgressRequest0
- type LivekitRoomCompositeEgressRequest1
- type LivekitRoomCompositeEgressRequest2
- type LivekitRoomCompositeEgressRequest3
- type LivekitRoomCompositeEgressRequest4
- type LivekitRoomCompositeEgressRequest5
- type LivekitRoomCompositeEgressRequest6
- type LivekitRoomConfiguration
- type LivekitRoomEgress
- type LivekitS3Upload
- type LivekitScenario
- type LivekitScenarioGroup
- type LivekitSegmentedFileOutput
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0() (LivekitSegmentedFileOutput0, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1() (LivekitSegmentedFileOutput1, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2() (LivekitSegmentedFileOutput2, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3() (LivekitSegmentedFileOutput3, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput4() (LivekitSegmentedFileOutput4, error)
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput4(v LivekitSegmentedFileOutput4) error
- func (t LivekitSegmentedFileOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput4(v LivekitSegmentedFileOutput4) error
- func (t *LivekitSegmentedFileOutput) UnmarshalJSON(b []byte) error
- type LivekitSegmentedFileOutput0
- type LivekitSegmentedFileOutput1
- type LivekitSegmentedFileOutput2
- type LivekitSegmentedFileOutput3
- type LivekitSegmentedFileOutput4
- type LivekitSegmentedFileProtocol
- type LivekitSegmentedFileSuffix
- type LivekitSimulationMode
- type LivekitSimulationRun
- type LivekitSimulationRunCancelResponse
- type LivekitSimulationRunCreateResponse
- type LivekitSimulationRunGetResponse
- type LivekitSimulationRunJob
- type LivekitSimulationRunJobMetrics
- type LivekitSimulationRunJobMetricsConversation
- type LivekitSimulationRunJobMetricsLLM
- type LivekitSimulationRunJobMetricsSTT
- type LivekitSimulationRunJobMetricsTTS
- type LivekitSimulationRunJobMetricsTurn
- type LivekitSimulationRunJobStatus
- type LivekitSimulationRunJobUsage
- type LivekitSimulationRunListResponse
- type LivekitSimulationRunRunMetrics
- type LivekitSimulationRunStatus
- type LivekitSimulationRunUsage
- type LivekitStreamOutput
- type LivekitStreamProtocol
- type LivekitTokenPagination
- type LivekitVideoCodec
- type LivekitWebhookConfig
- type ProjectServiceAddWorkspaceMembersToProjectJSONBody
- type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody
- type ProjectServiceAddWorkspaceMembersToProjectResponse
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType() string
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody() []byte
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) Status() string
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode() int
- type ProjectServiceAnswerInvitationJSONBody
- type ProjectServiceAnswerInvitationJSONRequestBody
- type ProjectServiceAnswerInvitationResponse
- func (r ProjectServiceAnswerInvitationResponse) ContentType() string
- func (r ProjectServiceAnswerInvitationResponse) GetBody() []byte
- func (r ProjectServiceAnswerInvitationResponse) GetJSON200() *LivekitPublicapiProjectsV1AnswerInvitationResponse
- func (r ProjectServiceAnswerInvitationResponse) Status() string
- func (r ProjectServiceAnswerInvitationResponse) StatusCode() int
- type ProjectServiceCreateProjectJSONRequestBody
- type ProjectServiceCreateProjectResponse
- func (r ProjectServiceCreateProjectResponse) ContentType() string
- func (r ProjectServiceCreateProjectResponse) GetBody() []byte
- func (r ProjectServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
- func (r ProjectServiceCreateProjectResponse) Status() string
- func (r ProjectServiceCreateProjectResponse) StatusCode() int
- type ProjectServiceDeleteInviteResponse
- func (r ProjectServiceDeleteInviteResponse) ContentType() string
- func (r ProjectServiceDeleteInviteResponse) GetBody() []byte
- func (r ProjectServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteInviteResponse
- func (r ProjectServiceDeleteInviteResponse) Status() string
- func (r ProjectServiceDeleteInviteResponse) StatusCode() int
- type ProjectServiceDeleteProjectResponse
- func (r ProjectServiceDeleteProjectResponse) ContentType() string
- func (r ProjectServiceDeleteProjectResponse) GetBody() []byte
- func (r ProjectServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
- func (r ProjectServiceDeleteProjectResponse) Status() string
- func (r ProjectServiceDeleteProjectResponse) StatusCode() int
- type ProjectServiceGetInviteResponse
- func (r ProjectServiceGetInviteResponse) ContentType() string
- func (r ProjectServiceGetInviteResponse) GetBody() []byte
- func (r ProjectServiceGetInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1GetInviteResponse
- func (r ProjectServiceGetInviteResponse) Status() string
- func (r ProjectServiceGetInviteResponse) StatusCode() int
- type ProjectServiceGetMemberResponse
- func (r ProjectServiceGetMemberResponse) ContentType() string
- func (r ProjectServiceGetMemberResponse) GetBody() []byte
- func (r ProjectServiceGetMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1GetMemberResponse
- func (r ProjectServiceGetMemberResponse) Status() string
- func (r ProjectServiceGetMemberResponse) StatusCode() int
- type ProjectServiceGetProjectResponse
- func (r ProjectServiceGetProjectResponse) ContentType() string
- func (r ProjectServiceGetProjectResponse) GetBody() []byte
- func (r ProjectServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
- func (r ProjectServiceGetProjectResponse) Status() string
- func (r ProjectServiceGetProjectResponse) StatusCode() int
- type ProjectServiceInviteMemberJSONBody
- type ProjectServiceInviteMemberJSONRequestBody
- type ProjectServiceInviteMemberResponse
- func (r ProjectServiceInviteMemberResponse) ContentType() string
- func (r ProjectServiceInviteMemberResponse) GetBody() []byte
- func (r ProjectServiceInviteMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1InviteMemberResponse
- func (r ProjectServiceInviteMemberResponse) Status() string
- func (r ProjectServiceInviteMemberResponse) StatusCode() int
- type ProjectServiceListInvitesResponse
- func (r ProjectServiceListInvitesResponse) ContentType() string
- func (r ProjectServiceListInvitesResponse) GetBody() []byte
- func (r ProjectServiceListInvitesResponse) GetJSON200() *LivekitPublicapiProjectsV1ListInvitesResponse
- func (r ProjectServiceListInvitesResponse) Status() string
- func (r ProjectServiceListInvitesResponse) StatusCode() int
- type ProjectServiceListMembersResponse
- func (r ProjectServiceListMembersResponse) ContentType() string
- func (r ProjectServiceListMembersResponse) GetBody() []byte
- func (r ProjectServiceListMembersResponse) GetJSON200() *LivekitPublicapiProjectsV1ListMembersResponse
- func (r ProjectServiceListMembersResponse) Status() string
- func (r ProjectServiceListMembersResponse) StatusCode() int
- type ProjectServiceListProjectsParams
- type ProjectServiceListProjectsResponse
- func (r ProjectServiceListProjectsResponse) ContentType() string
- func (r ProjectServiceListProjectsResponse) GetBody() []byte
- func (r ProjectServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
- func (r ProjectServiceListProjectsResponse) Status() string
- func (r ProjectServiceListProjectsResponse) StatusCode() int
- type ProjectServiceRemoveMemberResponse
- func (r ProjectServiceRemoveMemberResponse) ContentType() string
- func (r ProjectServiceRemoveMemberResponse) GetBody() []byte
- func (r ProjectServiceRemoveMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1RemoveMemberResponse
- func (r ProjectServiceRemoveMemberResponse) Status() string
- func (r ProjectServiceRemoveMemberResponse) StatusCode() int
- type ProjectServiceUpdateInviteJSONBody
- type ProjectServiceUpdateInviteJSONRequestBody
- type ProjectServiceUpdateInviteResponse
- func (r ProjectServiceUpdateInviteResponse) ContentType() string
- func (r ProjectServiceUpdateInviteResponse) GetBody() []byte
- func (r ProjectServiceUpdateInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateInviteResponse
- func (r ProjectServiceUpdateInviteResponse) Status() string
- func (r ProjectServiceUpdateInviteResponse) StatusCode() int
- type ProjectServiceUpdateMemberJSONBody
- type ProjectServiceUpdateMemberJSONRequestBody
- type ProjectServiceUpdateMemberResponse
- func (r ProjectServiceUpdateMemberResponse) ContentType() string
- func (r ProjectServiceUpdateMemberResponse) GetBody() []byte
- func (r ProjectServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateMemberResponse
- func (r ProjectServiceUpdateMemberResponse) Status() string
- func (r ProjectServiceUpdateMemberResponse) StatusCode() int
- type ProjectServiceUpdateProjectJSONBody
- type ProjectServiceUpdateProjectJSONRequestBody
- type ProjectServiceUpdateProjectResponse
- func (r ProjectServiceUpdateProjectResponse) ContentType() string
- func (r ProjectServiceUpdateProjectResponse) GetBody() []byte
- func (r ProjectServiceUpdateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateProjectResponse
- func (r ProjectServiceUpdateProjectResponse) Status() string
- func (r ProjectServiceUpdateProjectResponse) StatusCode() int
- type RequestEditorFn
- type SimulationServiceCancelSimulationRunResponse
- func (r SimulationServiceCancelSimulationRunResponse) ContentType() string
- func (r SimulationServiceCancelSimulationRunResponse) GetBody() []byte
- func (r SimulationServiceCancelSimulationRunResponse) GetJSON200() *LivekitSimulationRunCancelResponse
- func (r SimulationServiceCancelSimulationRunResponse) Status() string
- func (r SimulationServiceCancelSimulationRunResponse) StatusCode() int
- type SimulationServiceCreateSimulationRunJSONBody
- type SimulationServiceCreateSimulationRunJSONRequestBody
- type SimulationServiceCreateSimulationRunResponse
- func (r SimulationServiceCreateSimulationRunResponse) ContentType() string
- func (r SimulationServiceCreateSimulationRunResponse) GetBody() []byte
- func (r SimulationServiceCreateSimulationRunResponse) GetJSON200() *LivekitSimulationRunCreateResponse
- func (r SimulationServiceCreateSimulationRunResponse) Status() string
- func (r SimulationServiceCreateSimulationRunResponse) StatusCode() int
- type SimulationServiceGetSimulationRunResponse
- func (r SimulationServiceGetSimulationRunResponse) ContentType() string
- func (r SimulationServiceGetSimulationRunResponse) GetBody() []byte
- func (r SimulationServiceGetSimulationRunResponse) GetJSON200() *LivekitSimulationRunGetResponse
- func (r SimulationServiceGetSimulationRunResponse) Status() string
- func (r SimulationServiceGetSimulationRunResponse) StatusCode() int
- type SimulationServiceListSimulationRunsParams
- type SimulationServiceListSimulationRunsResponse
- func (r SimulationServiceListSimulationRunsResponse) ContentType() string
- func (r SimulationServiceListSimulationRunsResponse) GetBody() []byte
- func (r SimulationServiceListSimulationRunsResponse) GetJSON200() *LivekitSimulationRunListResponse
- func (r SimulationServiceListSimulationRunsResponse) Status() string
- func (r SimulationServiceListSimulationRunsResponse) StatusCode() int
- type UserServiceGetCurrentUserResponse
- func (r UserServiceGetCurrentUserResponse) ContentType() string
- func (r UserServiceGetCurrentUserResponse) GetBody() []byte
- func (r UserServiceGetCurrentUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetCurrentUserResponse
- func (r UserServiceGetCurrentUserResponse) Status() string
- func (r UserServiceGetCurrentUserResponse) StatusCode() int
- type UserServiceGetUserResponse
- func (r UserServiceGetUserResponse) ContentType() string
- func (r UserServiceGetUserResponse) GetBody() []byte
- func (r UserServiceGetUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetUserResponse
- func (r UserServiceGetUserResponse) Status() string
- func (r UserServiceGetUserResponse) StatusCode() int
- type UserServiceListUsersParams
- type UserServiceListUsersResponse
- func (r UserServiceListUsersResponse) ContentType() string
- func (r UserServiceListUsersResponse) GetBody() []byte
- func (r UserServiceListUsersResponse) GetJSON200() *LivekitPublicapiUsersV1ListUsersResponse
- func (r UserServiceListUsersResponse) Status() string
- func (r UserServiceListUsersResponse) StatusCode() int
- type WorkspaceServiceAnswerInviteJSONBody
- type WorkspaceServiceAnswerInviteJSONRequestBody
- type WorkspaceServiceAnswerInviteResponse
- func (r WorkspaceServiceAnswerInviteResponse) ContentType() string
- func (r WorkspaceServiceAnswerInviteResponse) GetBody() []byte
- func (r WorkspaceServiceAnswerInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1AnswerInviteResponse
- func (r WorkspaceServiceAnswerInviteResponse) Status() string
- func (r WorkspaceServiceAnswerInviteResponse) StatusCode() int
- type WorkspaceServiceCreateInviteJSONBody
- type WorkspaceServiceCreateInviteJSONRequestBody
- type WorkspaceServiceCreateInviteResponse
- func (r WorkspaceServiceCreateInviteResponse) ContentType() string
- func (r WorkspaceServiceCreateInviteResponse) GetBody() []byte
- func (r WorkspaceServiceCreateInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateInviteResponse
- func (r WorkspaceServiceCreateInviteResponse) Status() string
- func (r WorkspaceServiceCreateInviteResponse) StatusCode() int
- type WorkspaceServiceCreateProjectJSONBody
- type WorkspaceServiceCreateProjectJSONRequestBody
- type WorkspaceServiceCreateProjectResponse
- func (r WorkspaceServiceCreateProjectResponse) ContentType() string
- func (r WorkspaceServiceCreateProjectResponse) GetBody() []byte
- func (r WorkspaceServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
- func (r WorkspaceServiceCreateProjectResponse) Status() string
- func (r WorkspaceServiceCreateProjectResponse) StatusCode() int
- type WorkspaceServiceCreateWorkspaceJSONRequestBody
- type WorkspaceServiceCreateWorkspaceResponse
- func (r WorkspaceServiceCreateWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceCreateWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceCreateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
- func (r WorkspaceServiceCreateWorkspaceResponse) Status() string
- func (r WorkspaceServiceCreateWorkspaceResponse) StatusCode() int
- type WorkspaceServiceDeleteInviteResponse
- func (r WorkspaceServiceDeleteInviteResponse) ContentType() string
- func (r WorkspaceServiceDeleteInviteResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteInviteResponse
- func (r WorkspaceServiceDeleteInviteResponse) Status() string
- func (r WorkspaceServiceDeleteInviteResponse) StatusCode() int
- type WorkspaceServiceDeleteMemberResponse
- func (r WorkspaceServiceDeleteMemberResponse) ContentType() string
- func (r WorkspaceServiceDeleteMemberResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteMemberResponse
- func (r WorkspaceServiceDeleteMemberResponse) Status() string
- func (r WorkspaceServiceDeleteMemberResponse) StatusCode() int
- type WorkspaceServiceDeleteProjectResponse
- func (r WorkspaceServiceDeleteProjectResponse) ContentType() string
- func (r WorkspaceServiceDeleteProjectResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
- func (r WorkspaceServiceDeleteProjectResponse) Status() string
- func (r WorkspaceServiceDeleteProjectResponse) StatusCode() int
- type WorkspaceServiceDeleteWorkspaceResponse
- func (r WorkspaceServiceDeleteWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceDeleteWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
- func (r WorkspaceServiceDeleteWorkspaceResponse) Status() string
- func (r WorkspaceServiceDeleteWorkspaceResponse) StatusCode() int
- type WorkspaceServiceGetInviteResponse
- func (r WorkspaceServiceGetInviteResponse) ContentType() string
- func (r WorkspaceServiceGetInviteResponse) GetBody() []byte
- func (r WorkspaceServiceGetInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetInviteResponse
- func (r WorkspaceServiceGetInviteResponse) Status() string
- func (r WorkspaceServiceGetInviteResponse) StatusCode() int
- type WorkspaceServiceGetMemberResponse
- func (r WorkspaceServiceGetMemberResponse) ContentType() string
- func (r WorkspaceServiceGetMemberResponse) GetBody() []byte
- func (r WorkspaceServiceGetMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetMemberResponse
- func (r WorkspaceServiceGetMemberResponse) Status() string
- func (r WorkspaceServiceGetMemberResponse) StatusCode() int
- type WorkspaceServiceGetProjectResponse
- func (r WorkspaceServiceGetProjectResponse) ContentType() string
- func (r WorkspaceServiceGetProjectResponse) GetBody() []byte
- func (r WorkspaceServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
- func (r WorkspaceServiceGetProjectResponse) Status() string
- func (r WorkspaceServiceGetProjectResponse) StatusCode() int
- type WorkspaceServiceGetWorkspaceResponse
- func (r WorkspaceServiceGetWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceGetWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceGetWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
- func (r WorkspaceServiceGetWorkspaceResponse) Status() string
- func (r WorkspaceServiceGetWorkspaceResponse) StatusCode() int
- type WorkspaceServiceListInvitesResponse
- func (r WorkspaceServiceListInvitesResponse) ContentType() string
- func (r WorkspaceServiceListInvitesResponse) GetBody() []byte
- func (r WorkspaceServiceListInvitesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListInvitesResponse
- func (r WorkspaceServiceListInvitesResponse) Status() string
- func (r WorkspaceServiceListInvitesResponse) StatusCode() int
- type WorkspaceServiceListMembersResponse
- func (r WorkspaceServiceListMembersResponse) ContentType() string
- func (r WorkspaceServiceListMembersResponse) GetBody() []byte
- func (r WorkspaceServiceListMembersResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListMembersResponse
- func (r WorkspaceServiceListMembersResponse) Status() string
- func (r WorkspaceServiceListMembersResponse) StatusCode() int
- type WorkspaceServiceListProjectsParams
- type WorkspaceServiceListProjectsResponse
- func (r WorkspaceServiceListProjectsResponse) ContentType() string
- func (r WorkspaceServiceListProjectsResponse) GetBody() []byte
- func (r WorkspaceServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
- func (r WorkspaceServiceListProjectsResponse) Status() string
- func (r WorkspaceServiceListProjectsResponse) StatusCode() int
- type WorkspaceServiceListWorkspacesParams
- type WorkspaceServiceListWorkspacesResponse
- func (r WorkspaceServiceListWorkspacesResponse) ContentType() string
- func (r WorkspaceServiceListWorkspacesResponse) GetBody() []byte
- func (r WorkspaceServiceListWorkspacesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
- func (r WorkspaceServiceListWorkspacesResponse) Status() string
- func (r WorkspaceServiceListWorkspacesResponse) StatusCode() int
- type WorkspaceServiceUpdateMemberJSONBody
- type WorkspaceServiceUpdateMemberJSONRequestBody
- type WorkspaceServiceUpdateMemberResponse
- func (r WorkspaceServiceUpdateMemberResponse) ContentType() string
- func (r WorkspaceServiceUpdateMemberResponse) GetBody() []byte
- func (r WorkspaceServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateMemberResponse
- func (r WorkspaceServiceUpdateMemberResponse) Status() string
- func (r WorkspaceServiceUpdateMemberResponse) StatusCode() int
- type WorkspaceServiceUpdateProjectJSONRequestBody
- type WorkspaceServiceUpdateProjectResponse
- func (r WorkspaceServiceUpdateProjectResponse) ContentType() string
- func (r WorkspaceServiceUpdateProjectResponse) GetBody() []byte
- func (r WorkspaceServiceUpdateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateProjectResponse
- func (r WorkspaceServiceUpdateProjectResponse) Status() string
- func (r WorkspaceServiceUpdateProjectResponse) StatusCode() int
- type WorkspaceServiceUpdateWorkspaceJSONBody
- type WorkspaceServiceUpdateWorkspaceJSONRequestBody
- type WorkspaceServiceUpdateWorkspaceResponse
- func (r WorkspaceServiceUpdateWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceUpdateWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceUpdateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
- func (r WorkspaceServiceUpdateWorkspaceResponse) Status() string
- func (r WorkspaceServiceUpdateWorkspaceResponse) StatusCode() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnalyticsServiceGetSessionRequest ¶
func NewAnalyticsServiceGetSessionRequest(server string, projectId string, sessionId string) (*http.Request, error)
NewAnalyticsServiceGetSessionRequest constructs an http.Request for the AnalyticsServiceGetSession method
func NewAnalyticsServiceListProjectSessionsRequest ¶
func NewAnalyticsServiceListProjectSessionsRequest(server string, projectId string, params *AnalyticsServiceListProjectSessionsParams) (*http.Request, error)
NewAnalyticsServiceListProjectSessionsRequest constructs an http.Request for the AnalyticsServiceListProjectSessions method
func NewProjectServiceAddWorkspaceMembersToProjectRequest ¶
func NewProjectServiceAddWorkspaceMembersToProjectRequest(server string, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody) (*http.Request, error)
NewProjectServiceAddWorkspaceMembersToProjectRequest calls the generic ProjectServiceAddWorkspaceMembersToProject builder with application/json body
func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody ¶
func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody constructs an http.Request for the ProjectServiceAddWorkspaceMembersToProject method, with any body, and a specified content type
func NewProjectServiceAnswerInvitationRequest ¶
func NewProjectServiceAnswerInvitationRequest(server string, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody) (*http.Request, error)
NewProjectServiceAnswerInvitationRequest calls the generic ProjectServiceAnswerInvitation builder with application/json body
func NewProjectServiceAnswerInvitationRequestWithBody ¶
func NewProjectServiceAnswerInvitationRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceAnswerInvitationRequestWithBody constructs an http.Request for the ProjectServiceAnswerInvitation method, with any body, and a specified content type
func NewProjectServiceCreateProjectRequest ¶
func NewProjectServiceCreateProjectRequest(server string, body ProjectServiceCreateProjectJSONRequestBody) (*http.Request, error)
NewProjectServiceCreateProjectRequest calls the generic ProjectServiceCreateProject builder with application/json body
func NewProjectServiceCreateProjectRequestWithBody ¶
func NewProjectServiceCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceCreateProjectRequestWithBody constructs an http.Request for the ProjectServiceCreateProject method, with any body, and a specified content type
func NewProjectServiceDeleteInviteRequest ¶
func NewProjectServiceDeleteInviteRequest(server string, projectId string, email string) (*http.Request, error)
NewProjectServiceDeleteInviteRequest constructs an http.Request for the ProjectServiceDeleteInvite method
func NewProjectServiceDeleteProjectRequest ¶
NewProjectServiceDeleteProjectRequest constructs an http.Request for the ProjectServiceDeleteProject method
func NewProjectServiceGetInviteRequest ¶
NewProjectServiceGetInviteRequest constructs an http.Request for the ProjectServiceGetInvite method
func NewProjectServiceGetMemberRequest ¶
func NewProjectServiceGetMemberRequest(server string, projectId string, userId string) (*http.Request, error)
NewProjectServiceGetMemberRequest constructs an http.Request for the ProjectServiceGetMember method
func NewProjectServiceGetProjectRequest ¶
NewProjectServiceGetProjectRequest constructs an http.Request for the ProjectServiceGetProject method
func NewProjectServiceInviteMemberRequest ¶
func NewProjectServiceInviteMemberRequest(server string, projectId string, body ProjectServiceInviteMemberJSONRequestBody) (*http.Request, error)
NewProjectServiceInviteMemberRequest calls the generic ProjectServiceInviteMember builder with application/json body
func NewProjectServiceInviteMemberRequestWithBody ¶
func NewProjectServiceInviteMemberRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceInviteMemberRequestWithBody constructs an http.Request for the ProjectServiceInviteMember method, with any body, and a specified content type
func NewProjectServiceListInvitesRequest ¶
NewProjectServiceListInvitesRequest constructs an http.Request for the ProjectServiceListInvites method
func NewProjectServiceListMembersRequest ¶
NewProjectServiceListMembersRequest constructs an http.Request for the ProjectServiceListMembers method
func NewProjectServiceListProjectsRequest ¶
func NewProjectServiceListProjectsRequest(server string, params *ProjectServiceListProjectsParams) (*http.Request, error)
NewProjectServiceListProjectsRequest constructs an http.Request for the ProjectServiceListProjects method
func NewProjectServiceRemoveMemberRequest ¶
func NewProjectServiceRemoveMemberRequest(server string, projectId string, userId string) (*http.Request, error)
NewProjectServiceRemoveMemberRequest constructs an http.Request for the ProjectServiceRemoveMember method
func NewProjectServiceUpdateInviteRequest ¶
func NewProjectServiceUpdateInviteRequest(server string, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateInviteRequest calls the generic ProjectServiceUpdateInvite builder with application/json body
func NewProjectServiceUpdateInviteRequestWithBody ¶
func NewProjectServiceUpdateInviteRequestWithBody(server string, projectId string, email string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateInviteRequestWithBody constructs an http.Request for the ProjectServiceUpdateInvite method, with any body, and a specified content type
func NewProjectServiceUpdateMemberRequest ¶
func NewProjectServiceUpdateMemberRequest(server string, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateMemberRequest calls the generic ProjectServiceUpdateMember builder with application/json body
func NewProjectServiceUpdateMemberRequestWithBody ¶
func NewProjectServiceUpdateMemberRequestWithBody(server string, projectId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateMemberRequestWithBody constructs an http.Request for the ProjectServiceUpdateMember method, with any body, and a specified content type
func NewProjectServiceUpdateProjectRequest ¶
func NewProjectServiceUpdateProjectRequest(server string, projectId string, body ProjectServiceUpdateProjectJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateProjectRequest calls the generic ProjectServiceUpdateProject builder with application/json body
func NewProjectServiceUpdateProjectRequestWithBody ¶
func NewProjectServiceUpdateProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateProjectRequestWithBody constructs an http.Request for the ProjectServiceUpdateProject method, with any body, and a specified content type
func NewSimulationServiceCancelSimulationRunRequest ¶
func NewSimulationServiceCancelSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
NewSimulationServiceCancelSimulationRunRequest constructs an http.Request for the SimulationServiceCancelSimulationRun method
func NewSimulationServiceCreateSimulationRunRequest ¶
func NewSimulationServiceCreateSimulationRunRequest(server string, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody) (*http.Request, error)
NewSimulationServiceCreateSimulationRunRequest calls the generic SimulationServiceCreateSimulationRun builder with application/json body
func NewSimulationServiceCreateSimulationRunRequestWithBody ¶
func NewSimulationServiceCreateSimulationRunRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewSimulationServiceCreateSimulationRunRequestWithBody constructs an http.Request for the SimulationServiceCreateSimulationRun method, with any body, and a specified content type
func NewSimulationServiceGetSimulationRunRequest ¶
func NewSimulationServiceGetSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
NewSimulationServiceGetSimulationRunRequest constructs an http.Request for the SimulationServiceGetSimulationRun method
func NewSimulationServiceListSimulationRunsRequest ¶
func NewSimulationServiceListSimulationRunsRequest(server string, projectId string, params *SimulationServiceListSimulationRunsParams) (*http.Request, error)
NewSimulationServiceListSimulationRunsRequest constructs an http.Request for the SimulationServiceListSimulationRuns method
func NewUserServiceGetCurrentUserRequest ¶
NewUserServiceGetCurrentUserRequest constructs an http.Request for the UserServiceGetCurrentUser method
func NewUserServiceGetUserRequest ¶
NewUserServiceGetUserRequest constructs an http.Request for the UserServiceGetUser method
func NewUserServiceListUsersRequest ¶
func NewUserServiceListUsersRequest(server string, params *UserServiceListUsersParams) (*http.Request, error)
NewUserServiceListUsersRequest constructs an http.Request for the UserServiceListUsers method
func NewWorkspaceServiceAnswerInviteRequest ¶
func NewWorkspaceServiceAnswerInviteRequest(server string, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceAnswerInviteRequest calls the generic WorkspaceServiceAnswerInvite builder with application/json body
func NewWorkspaceServiceAnswerInviteRequestWithBody ¶
func NewWorkspaceServiceAnswerInviteRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceAnswerInviteRequestWithBody constructs an http.Request for the WorkspaceServiceAnswerInvite method, with any body, and a specified content type
func NewWorkspaceServiceCreateInviteRequest ¶
func NewWorkspaceServiceCreateInviteRequest(server string, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceCreateInviteRequest calls the generic WorkspaceServiceCreateInvite builder with application/json body
func NewWorkspaceServiceCreateInviteRequestWithBody ¶
func NewWorkspaceServiceCreateInviteRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceCreateInviteRequestWithBody constructs an http.Request for the WorkspaceServiceCreateInvite method, with any body, and a specified content type
func NewWorkspaceServiceCreateProjectRequest ¶
func NewWorkspaceServiceCreateProjectRequest(server string, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceCreateProjectRequest calls the generic WorkspaceServiceCreateProject builder with application/json body
func NewWorkspaceServiceCreateProjectRequestWithBody ¶
func NewWorkspaceServiceCreateProjectRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceCreateProjectRequestWithBody constructs an http.Request for the WorkspaceServiceCreateProject method, with any body, and a specified content type
func NewWorkspaceServiceCreateWorkspaceRequest ¶
func NewWorkspaceServiceCreateWorkspaceRequest(server string, body WorkspaceServiceCreateWorkspaceJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceCreateWorkspaceRequest calls the generic WorkspaceServiceCreateWorkspace builder with application/json body
func NewWorkspaceServiceCreateWorkspaceRequestWithBody ¶
func NewWorkspaceServiceCreateWorkspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceCreateWorkspaceRequestWithBody constructs an http.Request for the WorkspaceServiceCreateWorkspace method, with any body, and a specified content type
func NewWorkspaceServiceDeleteInviteRequest ¶
func NewWorkspaceServiceDeleteInviteRequest(server string, workspaceId string, email string) (*http.Request, error)
NewWorkspaceServiceDeleteInviteRequest constructs an http.Request for the WorkspaceServiceDeleteInvite method
func NewWorkspaceServiceDeleteMemberRequest ¶
func NewWorkspaceServiceDeleteMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)
NewWorkspaceServiceDeleteMemberRequest constructs an http.Request for the WorkspaceServiceDeleteMember method
func NewWorkspaceServiceDeleteProjectRequest ¶
func NewWorkspaceServiceDeleteProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
NewWorkspaceServiceDeleteProjectRequest constructs an http.Request for the WorkspaceServiceDeleteProject method
func NewWorkspaceServiceDeleteWorkspaceRequest ¶
func NewWorkspaceServiceDeleteWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
NewWorkspaceServiceDeleteWorkspaceRequest constructs an http.Request for the WorkspaceServiceDeleteWorkspace method
func NewWorkspaceServiceGetInviteRequest ¶
NewWorkspaceServiceGetInviteRequest constructs an http.Request for the WorkspaceServiceGetInvite method
func NewWorkspaceServiceGetMemberRequest ¶
func NewWorkspaceServiceGetMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)
NewWorkspaceServiceGetMemberRequest constructs an http.Request for the WorkspaceServiceGetMember method
func NewWorkspaceServiceGetProjectRequest ¶
func NewWorkspaceServiceGetProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
NewWorkspaceServiceGetProjectRequest constructs an http.Request for the WorkspaceServiceGetProject method
func NewWorkspaceServiceGetWorkspaceRequest ¶
func NewWorkspaceServiceGetWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
NewWorkspaceServiceGetWorkspaceRequest constructs an http.Request for the WorkspaceServiceGetWorkspace method
func NewWorkspaceServiceListInvitesRequest ¶
func NewWorkspaceServiceListInvitesRequest(server string, workspaceId string) (*http.Request, error)
NewWorkspaceServiceListInvitesRequest constructs an http.Request for the WorkspaceServiceListInvites method
func NewWorkspaceServiceListMembersRequest ¶
func NewWorkspaceServiceListMembersRequest(server string, workspaceId string) (*http.Request, error)
NewWorkspaceServiceListMembersRequest constructs an http.Request for the WorkspaceServiceListMembers method
func NewWorkspaceServiceListProjectsRequest ¶
func NewWorkspaceServiceListProjectsRequest(server string, workspaceId string, params *WorkspaceServiceListProjectsParams) (*http.Request, error)
NewWorkspaceServiceListProjectsRequest constructs an http.Request for the WorkspaceServiceListProjects method
func NewWorkspaceServiceListWorkspacesRequest ¶
func NewWorkspaceServiceListWorkspacesRequest(server string, params *WorkspaceServiceListWorkspacesParams) (*http.Request, error)
NewWorkspaceServiceListWorkspacesRequest constructs an http.Request for the WorkspaceServiceListWorkspaces method
func NewWorkspaceServiceUpdateMemberRequest ¶
func NewWorkspaceServiceUpdateMemberRequest(server string, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceUpdateMemberRequest calls the generic WorkspaceServiceUpdateMember builder with application/json body
func NewWorkspaceServiceUpdateMemberRequestWithBody ¶
func NewWorkspaceServiceUpdateMemberRequestWithBody(server string, workspaceId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceUpdateMemberRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateMember method, with any body, and a specified content type
func NewWorkspaceServiceUpdateProjectRequest ¶
func NewWorkspaceServiceUpdateProjectRequest(server string, workspaceId string, updateProjectId string, body WorkspaceServiceUpdateProjectJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceUpdateProjectRequest calls the generic WorkspaceServiceUpdateProject builder with application/json body
func NewWorkspaceServiceUpdateProjectRequestWithBody ¶
func NewWorkspaceServiceUpdateProjectRequestWithBody(server string, workspaceId string, updateProjectId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceUpdateProjectRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateProject method, with any body, and a specified content type
func NewWorkspaceServiceUpdateWorkspaceRequest ¶
func NewWorkspaceServiceUpdateWorkspaceRequest(server string, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceUpdateWorkspaceRequest calls the generic WorkspaceServiceUpdateWorkspace builder with application/json body
func NewWorkspaceServiceUpdateWorkspaceRequestWithBody ¶
func NewWorkspaceServiceUpdateWorkspaceRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceUpdateWorkspaceRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateWorkspace method, with any body, and a specified content type
Types ¶
type AnalyticsServiceGetSessionResponse ¶
type AnalyticsServiceGetSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1GetSessionResponse
}
func ParseAnalyticsServiceGetSessionResponse ¶
func ParseAnalyticsServiceGetSessionResponse(rsp *http.Response) (*AnalyticsServiceGetSessionResponse, error)
ParseAnalyticsServiceGetSessionResponse parses an HTTP response from a AnalyticsServiceGetSessionWithResponse call
func (AnalyticsServiceGetSessionResponse) ContentType ¶
func (r AnalyticsServiceGetSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceGetSessionResponse) GetBody ¶
func (r AnalyticsServiceGetSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceGetSessionResponse) GetJSON200 ¶
func (r AnalyticsServiceGetSessionResponse) GetJSON200() *LivekitPublicapiAnalyticsV1GetSessionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceGetSessionResponse) Status ¶
func (r AnalyticsServiceGetSessionResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceGetSessionResponse) StatusCode ¶
func (r AnalyticsServiceGetSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceListProjectSessionsParams ¶
type AnalyticsServiceListProjectSessionsParams struct {
// PageCursor Opaque cursor returned by a prior page (PageInfo.next_cursor). Empty starts
// from the beginning.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize Maximum items to return; 0 lets the server pick a default.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
AnalyticsServiceListProjectSessionsParams defines parameters for AnalyticsServiceListProjectSessions.
type AnalyticsServiceListProjectSessionsResponse ¶
type AnalyticsServiceListProjectSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1ListProjectSessionsResponse
}
func ParseAnalyticsServiceListProjectSessionsResponse ¶
func ParseAnalyticsServiceListProjectSessionsResponse(rsp *http.Response) (*AnalyticsServiceListProjectSessionsResponse, error)
ParseAnalyticsServiceListProjectSessionsResponse parses an HTTP response from a AnalyticsServiceListProjectSessionsWithResponse call
func (AnalyticsServiceListProjectSessionsResponse) ContentType ¶
func (r AnalyticsServiceListProjectSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceListProjectSessionsResponse) GetBody ¶
func (r AnalyticsServiceListProjectSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceListProjectSessionsResponse) GetJSON200 ¶
func (r AnalyticsServiceListProjectSessionsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1ListProjectSessionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceListProjectSessionsResponse) Status ¶
func (r AnalyticsServiceListProjectSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceListProjectSessionsResponse) StatusCode ¶
func (r AnalyticsServiceListProjectSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) AnalyticsServiceGetSession ¶
func (c *Client) AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceGetSession GetSession
Corresponds with GET /v1/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
func (*Client) AnalyticsServiceListProjectSessions ¶
func (c *Client) AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceListProjectSessions ListProjectSessions
Corresponds with GET /v1/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
func (*Client) ProjectServiceAddWorkspaceMembersToProject ¶
func (c *Client) ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAddWorkspaceMembersToProject AddWorkspaceMembersToProject
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*Client) ProjectServiceAddWorkspaceMembersToProjectWithBody ¶
func (c *Client) ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAddWorkspaceMembersToProjectWithBody AddWorkspaceMembersToProject
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*Client) ProjectServiceAnswerInvitation ¶
func (c *Client) ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAnswerInvitation AnswerInvitation
Takes a body of the `application/json` content type.
Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*Client) ProjectServiceAnswerInvitationWithBody ¶
func (c *Client) ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAnswerInvitationWithBody AnswerInvitation
Takes any type of body and a specified content type.
Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*Client) ProjectServiceCreateProject ¶
func (c *Client) ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateProject CreateProject
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
func (*Client) ProjectServiceCreateProjectWithBody ¶
func (c *Client) ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateProjectWithBody CreateProject
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
func (*Client) ProjectServiceDeleteInvite ¶
func (c *Client) ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceDeleteInvite DeleteInvite
Corresponds with DELETE /v1/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
func (*Client) ProjectServiceDeleteProject ¶
func (c *Client) ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceDeleteProject DeleteProject
Corresponds with DELETE /v1/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
func (*Client) ProjectServiceGetInvite ¶
func (c *Client) ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGetInvite GetInvite
Corresponds with GET /v1/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
func (*Client) ProjectServiceGetMember ¶
func (c *Client) ProjectServiceGetMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGetMember GetMember
Corresponds with GET /v1/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
func (*Client) ProjectServiceGetProject ¶
func (c *Client) ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGetProject GetProject
Corresponds with GET /v1/projects/{projectId} (the `ProjectServiceGetProject` operationId).
func (*Client) ProjectServiceInviteMember ¶
func (c *Client) ProjectServiceInviteMember(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceInviteMember InviteMember
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*Client) ProjectServiceInviteMemberWithBody ¶
func (c *Client) ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceInviteMemberWithBody InviteMember
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*Client) ProjectServiceListInvites ¶
func (c *Client) ProjectServiceListInvites(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListInvites ListInvites
Corresponds with GET /v1/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
func (*Client) ProjectServiceListMembers ¶
func (c *Client) ProjectServiceListMembers(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListMembers ListMembers
Members & invites (token-based; mirrors cloud ProjectService current flows).
Corresponds with GET /v1/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
func (*Client) ProjectServiceListProjects ¶
func (c *Client) ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListProjects ListProjects
Corresponds with GET /v1/projects (the `ProjectServiceListProjects` operationId).
func (*Client) ProjectServiceRemoveMember ¶
func (c *Client) ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceRemoveMember RemoveMember
Corresponds with DELETE /v1/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
func (*Client) ProjectServiceUpdateInvite ¶
func (c *Client) ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateInvite UpdateInvite
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*Client) ProjectServiceUpdateInviteWithBody ¶
func (c *Client) ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateInviteWithBody UpdateInvite
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*Client) ProjectServiceUpdateMember ¶
func (c *Client) ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateMember UpdateMember
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*Client) ProjectServiceUpdateMemberWithBody ¶
func (c *Client) ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateMemberWithBody UpdateMember
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*Client) ProjectServiceUpdateProject ¶
func (c *Client) ProjectServiceUpdateProject(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateProject UpdateProject
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*Client) ProjectServiceUpdateProjectWithBody ¶
func (c *Client) ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateProjectWithBody UpdateProject
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*Client) SimulationServiceCancelSimulationRun ¶
func (c *Client) SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCancelSimulationRun CancelSimulationRun
Corresponds with POST /v1/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
func (*Client) SimulationServiceCreateSimulationRun ¶
func (c *Client) SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCreateSimulationRun CreateSimulationRun
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*Client) SimulationServiceCreateSimulationRunWithBody ¶
func (c *Client) SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCreateSimulationRunWithBody CreateSimulationRun
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*Client) SimulationServiceGetSimulationRun ¶
func (c *Client) SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceGetSimulationRun GetSimulationRun
Corresponds with GET /v1/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
func (*Client) SimulationServiceListSimulationRuns ¶
func (c *Client) SimulationServiceListSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceListSimulationRuns ListSimulationRuns
Corresponds with GET /v1/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
func (*Client) UserServiceGetCurrentUser ¶
func (c *Client) UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceGetCurrentUser GetCurrentUser
Corresponds with GET /v1/users/me (the `UserServiceGetCurrentUser` operationId).
func (*Client) UserServiceGetUser ¶
func (c *Client) UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceGetUser GetUser
Corresponds with GET /v1/users/{userId} (the `UserServiceGetUser` operationId).
func (*Client) UserServiceListUsers ¶
func (c *Client) UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceListUsers ListUsers
Corresponds with GET /v1/users (the `UserServiceListUsers` operationId).
func (*Client) WorkspaceServiceAnswerInvite ¶
func (c *Client) WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceAnswerInvite AnswerInvite
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*Client) WorkspaceServiceAnswerInviteWithBody ¶
func (c *Client) WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceAnswerInviteWithBody AnswerInvite
Takes any type of body and a specified content type.
Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*Client) WorkspaceServiceCreateInvite ¶
func (c *Client) WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateInvite CreateInvite
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*Client) WorkspaceServiceCreateInviteWithBody ¶
func (c *Client) WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateInviteWithBody CreateInvite
Takes any type of body and a specified content type.
Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*Client) WorkspaceServiceCreateProject ¶
func (c *Client) WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateProject CreateProject
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*Client) WorkspaceServiceCreateProjectWithBody ¶
func (c *Client) WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateProjectWithBody CreateProject
Takes any type of body and a specified content type.
Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*Client) WorkspaceServiceCreateWorkspace ¶
func (c *Client) WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateWorkspace CreateWorkspace
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*Client) WorkspaceServiceCreateWorkspaceWithBody ¶
func (c *Client) WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateWorkspaceWithBody CreateWorkspace
Takes any type of body and a specified content type.
Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*Client) WorkspaceServiceDeleteInvite ¶
func (c *Client) WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteInvite DeleteInvite
Corresponds with DELETE /v1/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
func (*Client) WorkspaceServiceDeleteMember ¶
func (c *Client) WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteMember DeleteMember
Corresponds with DELETE /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
func (*Client) WorkspaceServiceDeleteProject ¶
func (c *Client) WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteProject DeleteProject
Corresponds with DELETE /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
func (*Client) WorkspaceServiceDeleteWorkspace ¶
func (c *Client) WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteWorkspace DeleteWorkspace
Corresponds with DELETE /v1/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
func (*Client) WorkspaceServiceGetInvite ¶
func (c *Client) WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetInvite GetInvite
Corresponds with GET /v1/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
func (*Client) WorkspaceServiceGetMember ¶
func (c *Client) WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetMember GetMember
Corresponds with GET /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
func (*Client) WorkspaceServiceGetProject ¶
func (c *Client) WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetProject GetProject
Corresponds with GET /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
func (*Client) WorkspaceServiceGetWorkspace ¶
func (c *Client) WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetWorkspace GetWorkspace
Corresponds with GET /v1/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
func (*Client) WorkspaceServiceListInvites ¶
func (c *Client) WorkspaceServiceListInvites(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListInvites ListInvites
Corresponds with GET /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
func (*Client) WorkspaceServiceListMembers ¶
func (c *Client) WorkspaceServiceListMembers(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListMembers ListMembers
Members & invites (mirrors cloud WorkspaceService current flows).
Corresponds with GET /v1/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
func (*Client) WorkspaceServiceListProjects ¶
func (c *Client) WorkspaceServiceListProjects(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListProjects ListProjects
Project CRUD scoped to a workspace — responses owned by projects.v1.
Corresponds with GET /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
func (*Client) WorkspaceServiceListWorkspaces ¶
func (c *Client) WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListWorkspaces ListWorkspaces
Corresponds with GET /v1/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
func (*Client) WorkspaceServiceUpdateMember ¶
func (c *Client) WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateMember UpdateMember
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*Client) WorkspaceServiceUpdateMemberWithBody ¶
func (c *Client) WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateMemberWithBody UpdateMember
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*Client) WorkspaceServiceUpdateProject ¶
func (c *Client) WorkspaceServiceUpdateProject(ctx context.Context, workspaceId string, updateProjectId string, body WorkspaceServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateProject UpdateProject
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
func (*Client) WorkspaceServiceUpdateProjectWithBody ¶
func (c *Client) WorkspaceServiceUpdateProjectWithBody(ctx context.Context, workspaceId string, updateProjectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateProjectWithBody UpdateProject
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
func (*Client) WorkspaceServiceUpdateWorkspace ¶
func (c *Client) WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateWorkspace UpdateWorkspace
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
func (*Client) WorkspaceServiceUpdateWorkspaceWithBody ¶
func (c *Client) WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateWorkspaceWithBody UpdateWorkspace
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ProjectServiceGetInvite GetInvite
//
// Corresponds with GET /v1/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAnswerInvitationWithBody AnswerInvitation
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAnswerInvitation AnswerInvitation
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListProjects ListProjects
//
// Corresponds with GET /v1/projects (the `ProjectServiceListProjects` operationId).
ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateProjectWithBody CreateProject
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateProject CreateProject
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceDeleteProject DeleteProject
//
// Corresponds with DELETE /v1/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceGetProject GetProject
//
// Corresponds with GET /v1/projects/{projectId} (the `ProjectServiceGetProject` operationId).
ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateProjectWithBody UpdateProject
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateProject UpdateProject
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProject(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListInvites ListInvites
//
// Corresponds with GET /v1/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
ProjectServiceListInvites(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceInviteMemberWithBody InviteMember
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceInviteMember InviteMember
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMember(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceDeleteInvite DeleteInvite
//
// Corresponds with DELETE /v1/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateInviteWithBody UpdateInvite
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateInvite UpdateInvite
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListMembers ListMembers
//
// Members & invites (token-based; mirrors cloud ProjectService current flows).
//
// Corresponds with GET /v1/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
ProjectServiceListMembers(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceRemoveMember RemoveMember
//
// Corresponds with DELETE /v1/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceGetMember GetMember
//
// Corresponds with GET /v1/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
ProjectServiceGetMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateMemberWithBody UpdateMember
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateMember UpdateMember
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAddWorkspaceMembersToProjectWithBody AddWorkspaceMembersToProject
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAddWorkspaceMembersToProject AddWorkspaceMembersToProject
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceListProjectSessions ListProjectSessions
//
// Corresponds with GET /v1/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceGetSession GetSession
//
// Corresponds with GET /v1/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceListSimulationRuns ListSimulationRuns
//
// Corresponds with GET /v1/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
SimulationServiceListSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCreateSimulationRunWithBody CreateSimulationRun
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCreateSimulationRun CreateSimulationRun
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceGetSimulationRun GetSimulationRun
//
// Corresponds with GET /v1/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCancelSimulationRun CancelSimulationRun
//
// Corresponds with POST /v1/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceListUsers ListUsers
//
// Corresponds with GET /v1/users (the `UserServiceListUsers` operationId).
UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceGetCurrentUser GetCurrentUser
//
// Corresponds with GET /v1/users/me (the `UserServiceGetCurrentUser` operationId).
UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceGetUser GetUser
//
// Corresponds with GET /v1/users/{userId} (the `UserServiceGetUser` operationId).
UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetInvite GetInvite
//
// Corresponds with GET /v1/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceAnswerInviteWithBody AnswerInvite
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceAnswerInvite AnswerInvite
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListWorkspaces ListWorkspaces
//
// Corresponds with GET /v1/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateWorkspaceWithBody CreateWorkspace
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateWorkspace CreateWorkspace
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteWorkspace DeleteWorkspace
//
// Corresponds with DELETE /v1/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetWorkspace GetWorkspace
//
// Corresponds with GET /v1/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateWorkspaceWithBody UpdateWorkspace
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateWorkspace UpdateWorkspace
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListInvites ListInvites
//
// Corresponds with GET /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
WorkspaceServiceListInvites(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateInviteWithBody CreateInvite
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateInvite CreateInvite
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteInvite DeleteInvite
//
// Corresponds with DELETE /v1/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListMembers ListMembers
//
// Members & invites (mirrors cloud WorkspaceService current flows).
//
// Corresponds with GET /v1/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
WorkspaceServiceListMembers(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteMember DeleteMember
//
// Corresponds with DELETE /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetMember GetMember
//
// Corresponds with GET /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateMemberWithBody UpdateMember
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateMember UpdateMember
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListProjects ListProjects
//
// Project CRUD scoped to a workspace — responses owned by projects.v1.
//
// Corresponds with GET /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
WorkspaceServiceListProjects(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateProjectWithBody CreateProject
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateProject CreateProject
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteProject DeleteProject
//
// Corresponds with DELETE /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetProject GetProject
//
// Corresponds with GET /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateProjectWithBody UpdateProject
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
WorkspaceServiceUpdateProjectWithBody(ctx context.Context, workspaceId string, updateProjectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateProject UpdateProject
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
WorkspaceServiceUpdateProject(ctx context.Context, workspaceId string, updateProjectId string, body WorkspaceServiceUpdateProjectJSONRequestBody, 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) AnalyticsServiceGetSessionWithResponse ¶
func (c *ClientWithResponses) AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionResponse, error)
AnalyticsServiceGetSessionWithResponse GetSession
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
func (*ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse ¶
func (c *ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListProjectSessionsResponse, error)
AnalyticsServiceListProjectSessionsWithResponse ListProjectSessions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
func (*ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse AddWorkspaceMembersToProject
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
ProjectServiceAddWorkspaceMembersToProjectWithResponse AddWorkspaceMembersToProject
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
ProjectServiceAnswerInvitationWithBodyWithResponse AnswerInvitation
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*ClientWithResponses) ProjectServiceAnswerInvitationWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
ProjectServiceAnswerInvitationWithResponse AnswerInvitation
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
ProjectServiceCreateProjectWithBodyWithResponse CreateProject
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
func (*ClientWithResponses) ProjectServiceCreateProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
ProjectServiceCreateProjectWithResponse CreateProject
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
func (*ClientWithResponses) ProjectServiceDeleteInviteWithResponse ¶
func (c *ClientWithResponses) ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteInviteResponse, error)
ProjectServiceDeleteInviteWithResponse DeleteInvite
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
func (*ClientWithResponses) ProjectServiceDeleteProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)
ProjectServiceDeleteProjectWithResponse DeleteProject
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
func (*ClientWithResponses) ProjectServiceGetInviteWithResponse ¶
func (c *ClientWithResponses) ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)
ProjectServiceGetInviteWithResponse GetInvite
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
func (*ClientWithResponses) ProjectServiceGetMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetMemberResponse, error)
ProjectServiceGetMemberWithResponse GetMember
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
func (*ClientWithResponses) ProjectServiceGetProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)
ProjectServiceGetProjectWithResponse GetProject
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId} (the `ProjectServiceGetProject` operationId).
func (*ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
ProjectServiceInviteMemberWithBodyWithResponse InviteMember
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*ClientWithResponses) ProjectServiceInviteMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
ProjectServiceInviteMemberWithResponse InviteMember
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*ClientWithResponses) ProjectServiceListInvitesWithResponse ¶
func (c *ClientWithResponses) ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)
ProjectServiceListInvitesWithResponse ListInvites
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
func (*ClientWithResponses) ProjectServiceListMembersWithResponse ¶
func (c *ClientWithResponses) ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)
ProjectServiceListMembersWithResponse ListMembers
Members & invites (token-based; mirrors cloud ProjectService current flows).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
func (*ClientWithResponses) ProjectServiceListProjectsWithResponse ¶
func (c *ClientWithResponses) ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListProjectsResponse, error)
ProjectServiceListProjectsWithResponse ListProjects
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects (the `ProjectServiceListProjects` operationId).
func (*ClientWithResponses) ProjectServiceRemoveMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceRemoveMemberResponse, error)
ProjectServiceRemoveMemberWithResponse RemoveMember
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
func (*ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
ProjectServiceUpdateInviteWithBodyWithResponse UpdateInvite
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*ClientWithResponses) ProjectServiceUpdateInviteWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
ProjectServiceUpdateInviteWithResponse UpdateInvite
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
ProjectServiceUpdateMemberWithBodyWithResponse UpdateMember
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*ClientWithResponses) ProjectServiceUpdateMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
ProjectServiceUpdateMemberWithResponse UpdateMember
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
ProjectServiceUpdateProjectWithBodyWithResponse UpdateProject
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*ClientWithResponses) ProjectServiceUpdateProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
ProjectServiceUpdateProjectWithResponse UpdateProject
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse ¶
func (c *ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceCancelSimulationRunResponse, error)
SimulationServiceCancelSimulationRunWithResponse CancelSimulationRun
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse ¶
func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
SimulationServiceCreateSimulationRunWithBodyWithResponse CreateSimulationRun
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse ¶
func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
SimulationServiceCreateSimulationRunWithResponse CreateSimulationRun
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceGetSimulationRunWithResponse ¶
func (c *ClientWithResponses) SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunResponse, error)
SimulationServiceGetSimulationRunWithResponse GetSimulationRun
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceListSimulationRunsWithResponse ¶
func (c *ClientWithResponses) SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceListSimulationRunsResponse, error)
SimulationServiceListSimulationRunsWithResponse ListSimulationRuns
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
func (*ClientWithResponses) UserServiceGetCurrentUserWithResponse ¶
func (c *ClientWithResponses) UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)
UserServiceGetCurrentUserWithResponse GetCurrentUser
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/users/me (the `UserServiceGetCurrentUser` operationId).
func (*ClientWithResponses) UserServiceGetUserWithResponse ¶
func (c *ClientWithResponses) UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)
UserServiceGetUserWithResponse GetUser
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/users/{userId} (the `UserServiceGetUser` operationId).
func (*ClientWithResponses) UserServiceListUsersWithResponse ¶
func (c *ClientWithResponses) UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*UserServiceListUsersResponse, error)
UserServiceListUsersWithResponse ListUsers
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/users (the `UserServiceListUsers` operationId).
func (*ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
WorkspaceServiceAnswerInviteWithBodyWithResponse AnswerInvite
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
WorkspaceServiceAnswerInviteWithResponse AnswerInvite
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
WorkspaceServiceCreateInviteWithBodyWithResponse CreateInvite
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
WorkspaceServiceCreateInviteWithResponse CreateInvite
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
WorkspaceServiceCreateProjectWithBodyWithResponse CreateProject
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
WorkspaceServiceCreateProjectWithResponse CreateProject
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
WorkspaceServiceCreateWorkspaceWithBodyWithResponse CreateWorkspace
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
WorkspaceServiceCreateWorkspaceWithResponse CreateWorkspace
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteInviteResponse, error)
WorkspaceServiceDeleteInviteWithResponse DeleteInvite
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteMemberResponse, error)
WorkspaceServiceDeleteMemberWithResponse DeleteMember
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteProjectResponse, error)
WorkspaceServiceDeleteProjectWithResponse DeleteProject
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)
WorkspaceServiceDeleteWorkspaceWithResponse DeleteWorkspace
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceGetInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)
WorkspaceServiceGetInviteWithResponse GetInvite
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceGetMemberWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetMemberResponse, error)
WorkspaceServiceGetMemberWithResponse GetMember
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
func (*ClientWithResponses) WorkspaceServiceGetProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetProjectResponse, error)
WorkspaceServiceGetProjectWithResponse GetProject
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
func (*ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)
WorkspaceServiceGetWorkspaceWithResponse GetWorkspace
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceListInvitesWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)
WorkspaceServiceListInvitesWithResponse ListInvites
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
func (*ClientWithResponses) WorkspaceServiceListMembersWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)
WorkspaceServiceListMembersWithResponse ListMembers
Members & invites (mirrors cloud WorkspaceService current flows).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
func (*ClientWithResponses) WorkspaceServiceListProjectsWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListProjectsResponse, error)
WorkspaceServiceListProjectsWithResponse ListProjects
Project CRUD scoped to a workspace — responses owned by projects.v1.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
func (*ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListWorkspacesResponse, error)
WorkspaceServiceListWorkspacesWithResponse ListWorkspaces
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
WorkspaceServiceUpdateMemberWithBodyWithResponse UpdateMember
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
WorkspaceServiceUpdateMemberWithResponse UpdateMember
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, updateProjectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateProjectResponse, error)
WorkspaceServiceUpdateProjectWithBodyWithResponse UpdateProject
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateProjectWithResponse(ctx context.Context, workspaceId string, updateProjectId string, body WorkspaceServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateProjectResponse, error)
WorkspaceServiceUpdateProjectWithResponse UpdateProject
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
WorkspaceServiceUpdateWorkspaceWithBodyWithResponse UpdateWorkspace
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
WorkspaceServiceUpdateWorkspaceWithResponse UpdateWorkspace
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ProjectServiceGetInviteWithResponse GetInvite
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)
// ProjectServiceAnswerInvitationWithBodyWithResponse AnswerInvitation
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
// ProjectServiceAnswerInvitationWithResponse AnswerInvitation
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
// ProjectServiceListProjectsWithResponse ListProjects
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects (the `ProjectServiceListProjects` operationId).
ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListProjectsResponse, error)
// ProjectServiceCreateProjectWithBodyWithResponse CreateProject
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
// ProjectServiceCreateProjectWithResponse CreateProject
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
// ProjectServiceDeleteProjectWithResponse DeleteProject
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)
// ProjectServiceGetProjectWithResponse GetProject
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId} (the `ProjectServiceGetProject` operationId).
ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)
// ProjectServiceUpdateProjectWithBodyWithResponse UpdateProject
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
// ProjectServiceUpdateProjectWithResponse UpdateProject
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
// ProjectServiceListInvitesWithResponse ListInvites
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)
// ProjectServiceInviteMemberWithBodyWithResponse InviteMember
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
// ProjectServiceInviteMemberWithResponse InviteMember
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
// ProjectServiceDeleteInviteWithResponse DeleteInvite
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteInviteResponse, error)
// ProjectServiceUpdateInviteWithBodyWithResponse UpdateInvite
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
// ProjectServiceUpdateInviteWithResponse UpdateInvite
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
// ProjectServiceListMembersWithResponse ListMembers
//
// Members & invites (token-based; mirrors cloud ProjectService current flows).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)
// ProjectServiceRemoveMemberWithResponse RemoveMember
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceRemoveMemberResponse, error)
// ProjectServiceGetMemberWithResponse GetMember
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetMemberResponse, error)
// ProjectServiceUpdateMemberWithBodyWithResponse UpdateMember
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
// ProjectServiceUpdateMemberWithResponse UpdateMember
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
// ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse AddWorkspaceMembersToProject
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
// ProjectServiceAddWorkspaceMembersToProjectWithResponse AddWorkspaceMembersToProject
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
// AnalyticsServiceListProjectSessionsWithResponse ListProjectSessions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListProjectSessionsResponse, error)
// AnalyticsServiceGetSessionWithResponse GetSession
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionResponse, error)
// SimulationServiceListSimulationRunsWithResponse ListSimulationRuns
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceListSimulationRunsResponse, error)
// SimulationServiceCreateSimulationRunWithBodyWithResponse CreateSimulationRun
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
// SimulationServiceCreateSimulationRunWithResponse CreateSimulationRun
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
// SimulationServiceGetSimulationRunWithResponse GetSimulationRun
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunResponse, error)
// SimulationServiceCancelSimulationRunWithResponse CancelSimulationRun
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceCancelSimulationRunResponse, error)
// UserServiceListUsersWithResponse ListUsers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/users (the `UserServiceListUsers` operationId).
UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*UserServiceListUsersResponse, error)
// UserServiceGetCurrentUserWithResponse GetCurrentUser
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/users/me (the `UserServiceGetCurrentUser` operationId).
UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)
// UserServiceGetUserWithResponse GetUser
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/users/{userId} (the `UserServiceGetUser` operationId).
UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)
// WorkspaceServiceGetInviteWithResponse GetInvite
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)
// WorkspaceServiceAnswerInviteWithBodyWithResponse AnswerInvite
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
// WorkspaceServiceAnswerInviteWithResponse AnswerInvite
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
// WorkspaceServiceListWorkspacesWithResponse ListWorkspaces
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListWorkspacesResponse, error)
// WorkspaceServiceCreateWorkspaceWithBodyWithResponse CreateWorkspace
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
// WorkspaceServiceCreateWorkspaceWithResponse CreateWorkspace
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
// WorkspaceServiceDeleteWorkspaceWithResponse DeleteWorkspace
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)
// WorkspaceServiceGetWorkspaceWithResponse GetWorkspace
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)
// WorkspaceServiceUpdateWorkspaceWithBodyWithResponse UpdateWorkspace
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
// WorkspaceServiceUpdateWorkspaceWithResponse UpdateWorkspace
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
// WorkspaceServiceListInvitesWithResponse ListInvites
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)
// WorkspaceServiceCreateInviteWithBodyWithResponse CreateInvite
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
// WorkspaceServiceCreateInviteWithResponse CreateInvite
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
// WorkspaceServiceDeleteInviteWithResponse DeleteInvite
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteInviteResponse, error)
// WorkspaceServiceListMembersWithResponse ListMembers
//
// Members & invites (mirrors cloud WorkspaceService current flows).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)
// WorkspaceServiceDeleteMemberWithResponse DeleteMember
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteMemberResponse, error)
// WorkspaceServiceGetMemberWithResponse GetMember
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetMemberResponse, error)
// WorkspaceServiceUpdateMemberWithBodyWithResponse UpdateMember
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
// WorkspaceServiceUpdateMemberWithResponse UpdateMember
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
// WorkspaceServiceListProjectsWithResponse ListProjects
//
// Project CRUD scoped to a workspace — responses owned by projects.v1.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListProjectsResponse, error)
// WorkspaceServiceCreateProjectWithBodyWithResponse CreateProject
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
// WorkspaceServiceCreateProjectWithResponse CreateProject
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
// WorkspaceServiceDeleteProjectWithResponse DeleteProject
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteProjectResponse, error)
// WorkspaceServiceGetProjectWithResponse GetProject
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetProjectResponse, error)
// WorkspaceServiceUpdateProjectWithBodyWithResponse UpdateProject
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
WorkspaceServiceUpdateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, updateProjectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateProjectResponse, error)
// WorkspaceServiceUpdateProjectWithResponse UpdateProject
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/workspaces/{workspaceId}/projects/{update.projectId} (the `WorkspaceServiceUpdateProject` operationId).
WorkspaceServiceUpdateProjectWithResponse(ctx context.Context, workspaceId string, updateProjectId string, body WorkspaceServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateProjectResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloudProtocolPIIRedactionCategory ¶
type CloudProtocolPIIRedactionCategory string
CloudProtocolPIIRedactionCategory PIIRedactionCategory is the canonical taxonomy of PII entity types a project
may select for redaction. It is the shared contract across Cloud, backend, and the dashboard so none of them need to import the redaction library. Each value's name maps 1:1 to the snake_case identifier the redaction model emits: strip the PII_REDACTION_CATEGORY_ prefix and lowercase (see PIIRedactionCategory.Canonical in Go). A guard test in cloud-observability asserts this set stays in sync with redact.KnownCategories. Numbers are permanent and assigned in append order; never renumber or reuse one. Add a new category with the next free number, then classify it via PIIRedactionCategory.Class in Go.
const ( PIIREDACTIONCATEGORYACCOUNTNUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ACCOUNT_NUMBER" PIIREDACTIONCATEGORYAGE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_AGE" PIIREDACTIONCATEGORYBANKACCOUNT CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_BANK_ACCOUNT" PIIREDACTIONCATEGORYCREDITCARD CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CREDIT_CARD" PIIREDACTIONCATEGORYCREDITCARDEXPIRATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CREDIT_CARD_EXPIRATION" PIIREDACTIONCATEGORYCVV CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CVV" PIIREDACTIONCATEGORYDATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DATE" PIIREDACTIONCATEGORYDOB CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DOB" PIIREDACTIONCATEGORYDRIVERLICENSE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DRIVER_LICENSE" PIIREDACTIONCATEGORYEDUCATIONLEVEL CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_EDUCATION_LEVEL" PIIREDACTIONCATEGORYEMAILADDRESS CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_EMAIL_ADDRESS" PIIREDACTIONCATEGORYGOVERNMENTID CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_GOVERNMENT_ID" PIIREDACTIONCATEGORYHEALTHCARENUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_HEALTHCARE_NUMBER" PIIREDACTIONCATEGORYIPADDRESS CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_IP_ADDRESS" PIIREDACTIONCATEGORYLANGUAGE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LANGUAGE" PIIREDACTIONCATEGORYLICENSEPLATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LICENSE_PLATE" PIIREDACTIONCATEGORYLOCATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION" PIIREDACTIONCATEGORYLOCATIONADDRESS CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_ADDRESS" PIIREDACTIONCATEGORYLOCATIONCITY CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_CITY" PIIREDACTIONCATEGORYLOCATIONCOORDINATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_COORDINATE" PIIREDACTIONCATEGORYLOCATIONCOUNTRY CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_COUNTRY" PIIREDACTIONCATEGORYLOCATIONSTATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_STATE" PIIREDACTIONCATEGORYLOCATIONZIP CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_ZIP" PIIREDACTIONCATEGORYNAME CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME" PIIREDACTIONCATEGORYNAMEFAMILY CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME_FAMILY" PIIREDACTIONCATEGORYNAMEGIVEN CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME_GIVEN" PIIREDACTIONCATEGORYNUMERICALPII CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NUMERICAL_PII" PIIREDACTIONCATEGORYOCCUPATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_OCCUPATION" PIIREDACTIONCATEGORYORGANIZATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ORGANIZATION" PIIREDACTIONCATEGORYORIGIN CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ORIGIN" PIIREDACTIONCATEGORYPASSPORTNUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PASSPORT_NUMBER" PIIREDACTIONCATEGORYPASSWORD CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PASSWORD" PIIREDACTIONCATEGORYPHONENUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PHONE_NUMBER" PIIREDACTIONCATEGORYPOLITICALAFFILIATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_POLITICAL_AFFILIATION" PIIREDACTIONCATEGORYRELIGION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_RELIGION" PIIREDACTIONCATEGORYROUTINGNUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ROUTING_NUMBER" PIIREDACTIONCATEGORYSSN CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_SSN" PIIREDACTIONCATEGORYSWIFTCODE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_SWIFT_CODE" PIIREDACTIONCATEGORYUNSPECIFIED CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_UNSPECIFIED" PIIREDACTIONCATEGORYURL CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_URL" PIIREDACTIONCATEGORYUSERNAME CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_USERNAME" PIIREDACTIONCATEGORYVEHICLEID CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_VEHICLE_ID" )
Defines values for CloudProtocolPIIRedactionCategory.
func (CloudProtocolPIIRedactionCategory) Valid ¶
func (e CloudProtocolPIIRedactionCategory) Valid() bool
Valid indicates whether the value is a known member of the CloudProtocolPIIRedactionCategory enum.
type GoogleProtobufTimestamp ¶
GoogleProtobufTimestamp A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.
All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).
The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
# Examples
Example 1: Compute Timestamp from POSIX `time()`.
Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);
Example 2: Compute Timestamp from POSIX `gettimeofday()`.
struct timeval tv;
gettimeofday(&tv, NULL);
Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);
Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
long millis = System.currentTimeMillis();
Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();
Example 5: Compute Timestamp from Java `Instant.now()`.
Instant now = Instant.now();
Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();
Example 6: Compute Timestamp from current time in Python.
timestamp = Timestamp()
timestamp.GetCurrentTime()
# JSON Mapping
In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).
For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.
In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format.
Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type LivekitAgentChatRole ¶
type LivekitAgentChatRole string
LivekitAgentChatRole defines model for livekit.agent.ChatRole.
const ( ASSISTANT LivekitAgentChatRole = "ASSISTANT" DEVELOPER LivekitAgentChatRole = "DEVELOPER" SYSTEM LivekitAgentChatRole = "SYSTEM" USER LivekitAgentChatRole = "USER" )
Defines values for LivekitAgentChatRole.
func (LivekitAgentChatRole) Valid ¶
func (e LivekitAgentChatRole) Valid() bool
Valid indicates whether the value is a known member of the LivekitAgentChatRole enum.
type LivekitAliOSSUpload ¶
type LivekitAliOSSUpload struct {
AccessKey *string `json:"accessKey,omitempty"`
Bucket *string `json:"bucket,omitempty"`
Endpoint *string `json:"endpoint,omitempty"`
Region *string `json:"region,omitempty"`
Secret *string `json:"secret,omitempty"`
}
LivekitAliOSSUpload defines model for livekit.AliOSSUpload.
type LivekitAudioCodec ¶
type LivekitAudioCodec string
LivekitAudioCodec defines model for livekit.AudioCodec.
const ( AAC LivekitAudioCodec = "AAC" ACMP3 LivekitAudioCodec = "AC_MP3" DEFAULTAC LivekitAudioCodec = "DEFAULT_AC" OPUS LivekitAudioCodec = "OPUS" )
Defines values for LivekitAudioCodec.
func (LivekitAudioCodec) Valid ¶
func (e LivekitAudioCodec) Valid() bool
Valid indicates whether the value is a known member of the LivekitAudioCodec enum.
type LivekitAudioMixing ¶
type LivekitAudioMixing string
LivekitAudioMixing defines model for livekit.AudioMixing.
const ( DEFAULTMIXING LivekitAudioMixing = "DEFAULT_MIXING" DUALCHANNELAGENT LivekitAudioMixing = "DUAL_CHANNEL_AGENT" DUALCHANNELALTERNATE LivekitAudioMixing = "DUAL_CHANNEL_ALTERNATE" )
Defines values for LivekitAudioMixing.
func (LivekitAudioMixing) Valid ¶
func (e LivekitAudioMixing) Valid() bool
Valid indicates whether the value is a known member of the LivekitAudioMixing enum.
type LivekitAutoParticipantEgress ¶
type LivekitAutoParticipantEgress struct {
FileOutputs *[]LivekitEncodedFileOutput `json:"fileOutputs,omitempty"`
SegmentOutputs *[]LivekitSegmentedFileOutput `json:"segmentOutputs,omitempty"`
// contains filtered or unexported fields
}
LivekitAutoParticipantEgress defines model for livekit.AutoParticipantEgress.
func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0 ¶
func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0() (LivekitAutoParticipantEgress0, error)
AsLivekitAutoParticipantEgress0 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress0
func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1 ¶
func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1() (LivekitAutoParticipantEgress1, error)
AsLivekitAutoParticipantEgress1 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress1
func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress2 ¶
func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress2() (LivekitAutoParticipantEgress2, error)
AsLivekitAutoParticipantEgress2 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress2
func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0 ¶
func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
FromLivekitAutoParticipantEgress0 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress0
func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1 ¶
func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
FromLivekitAutoParticipantEgress1 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress1
func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress2 ¶
func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress2(v LivekitAutoParticipantEgress2) error
FromLivekitAutoParticipantEgress2 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress2
func (LivekitAutoParticipantEgress) MarshalJSON ¶
func (t LivekitAutoParticipantEgress) MarshalJSON() ([]byte, error)
func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0 ¶
func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
MergeLivekitAutoParticipantEgress0 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress0
func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1 ¶
func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
MergeLivekitAutoParticipantEgress1 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress1
func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress2 ¶
func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress2(v LivekitAutoParticipantEgress2) error
MergeLivekitAutoParticipantEgress2 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress2
func (*LivekitAutoParticipantEgress) UnmarshalJSON ¶
func (t *LivekitAutoParticipantEgress) UnmarshalJSON(b []byte) error
type LivekitAutoParticipantEgress0 ¶
type LivekitAutoParticipantEgress0 struct {
// Advanced (optional)
Advanced LivekitEncodingOptions `json:"advanced"`
}
LivekitAutoParticipantEgress0 defines model for LivekitAutoParticipantEgress.0.
type LivekitAutoParticipantEgress1 ¶
type LivekitAutoParticipantEgress1 struct {
// Preset (default H264_720P_30)
Preset LivekitEncodingOptionsPreset `json:"preset"`
}
LivekitAutoParticipantEgress1 defines model for LivekitAutoParticipantEgress.1.
type LivekitAutoParticipantEgress2 ¶
type LivekitAutoParticipantEgress2 = interface{}
LivekitAutoParticipantEgress2 defines model for LivekitAutoParticipantEgress.2.
type LivekitAutoTrackEgress ¶
type LivekitAutoTrackEgress struct {
// DisableManifest disables upload of json manifest file (default false)
DisableManifest *bool `json:"disableManifest,omitempty"`
// Filepath see docs for templating (default {track_id}-{time})
Filepath *string `json:"filepath,omitempty"`
// contains filtered or unexported fields
}
LivekitAutoTrackEgress defines model for livekit.AutoTrackEgress.
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0() (LivekitAutoTrackEgress0, error)
AsLivekitAutoTrackEgress0 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress0
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1() (LivekitAutoTrackEgress1, error)
AsLivekitAutoTrackEgress1 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress1
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2() (LivekitAutoTrackEgress2, error)
AsLivekitAutoTrackEgress2 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress2
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3() (LivekitAutoTrackEgress3, error)
AsLivekitAutoTrackEgress3 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress3
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress4 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress4() (LivekitAutoTrackEgress4, error)
AsLivekitAutoTrackEgress4 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress4
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
FromLivekitAutoTrackEgress0 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress0
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
FromLivekitAutoTrackEgress1 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress1
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
FromLivekitAutoTrackEgress2 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress2
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
FromLivekitAutoTrackEgress3 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress3
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress4 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress4(v LivekitAutoTrackEgress4) error
FromLivekitAutoTrackEgress4 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress4
func (LivekitAutoTrackEgress) MarshalJSON ¶
func (t LivekitAutoTrackEgress) MarshalJSON() ([]byte, error)
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
MergeLivekitAutoTrackEgress0 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress0
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
MergeLivekitAutoTrackEgress1 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress1
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
MergeLivekitAutoTrackEgress2 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress2
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
MergeLivekitAutoTrackEgress3 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress3
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress4 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress4(v LivekitAutoTrackEgress4) error
MergeLivekitAutoTrackEgress4 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress4
func (*LivekitAutoTrackEgress) UnmarshalJSON ¶
func (t *LivekitAutoTrackEgress) UnmarshalJSON(b []byte) error
type LivekitAutoTrackEgress0 ¶
type LivekitAutoTrackEgress0 struct {
AliOSS LivekitAliOSSUpload `json:"aliOSS"`
}
LivekitAutoTrackEgress0 defines model for LivekitAutoTrackEgress.0.
type LivekitAutoTrackEgress1 ¶
type LivekitAutoTrackEgress1 struct {
Azure LivekitAzureBlobUpload `json:"azure"`
}
LivekitAutoTrackEgress1 defines model for LivekitAutoTrackEgress.1.
type LivekitAutoTrackEgress2 ¶
type LivekitAutoTrackEgress2 struct {
Gcp LivekitGCPUpload `json:"gcp"`
}
LivekitAutoTrackEgress2 defines model for LivekitAutoTrackEgress.2.
type LivekitAutoTrackEgress3 ¶
type LivekitAutoTrackEgress3 struct {
S3 LivekitS3Upload `json:"s3"`
}
LivekitAutoTrackEgress3 defines model for LivekitAutoTrackEgress.3.
type LivekitAutoTrackEgress4 ¶
type LivekitAutoTrackEgress4 = interface{}
LivekitAutoTrackEgress4 defines model for LivekitAutoTrackEgress.4.
type LivekitAzureBlobUpload ¶
type LivekitAzureBlobUpload struct {
AccountKey *string `json:"accountKey,omitempty"`
AccountName *string `json:"accountName,omitempty"`
ContainerName *string `json:"containerName,omitempty"`
}
LivekitAzureBlobUpload defines model for livekit.AzureBlobUpload.
type LivekitEncodedFileOutput ¶
type LivekitEncodedFileOutput struct {
DisableManifest *bool `json:"disableManifest,omitempty"`
FileType *LivekitEncodedFileType `json:"fileType,omitempty"`
Filepath *string `json:"filepath,omitempty"`
// contains filtered or unexported fields
}
LivekitEncodedFileOutput defines model for livekit.EncodedFileOutput.
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0() (LivekitEncodedFileOutput0, error)
AsLivekitEncodedFileOutput0 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput0
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1() (LivekitEncodedFileOutput1, error)
AsLivekitEncodedFileOutput1 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput1
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2() (LivekitEncodedFileOutput2, error)
AsLivekitEncodedFileOutput2 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput2
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3() (LivekitEncodedFileOutput3, error)
AsLivekitEncodedFileOutput3 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput3
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput4 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput4() (LivekitEncodedFileOutput4, error)
AsLivekitEncodedFileOutput4 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput4
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
FromLivekitEncodedFileOutput0 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput0
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
FromLivekitEncodedFileOutput1 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput1
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
FromLivekitEncodedFileOutput2 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput2
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
FromLivekitEncodedFileOutput3 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput3
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput4 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput4(v LivekitEncodedFileOutput4) error
FromLivekitEncodedFileOutput4 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput4
func (LivekitEncodedFileOutput) MarshalJSON ¶
func (t LivekitEncodedFileOutput) MarshalJSON() ([]byte, error)
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
MergeLivekitEncodedFileOutput0 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput0
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
MergeLivekitEncodedFileOutput1 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput1
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
MergeLivekitEncodedFileOutput2 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput2
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
MergeLivekitEncodedFileOutput3 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput3
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput4 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput4(v LivekitEncodedFileOutput4) error
MergeLivekitEncodedFileOutput4 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput4
func (*LivekitEncodedFileOutput) UnmarshalJSON ¶
func (t *LivekitEncodedFileOutput) UnmarshalJSON(b []byte) error
type LivekitEncodedFileOutput0 ¶
type LivekitEncodedFileOutput0 struct {
AliOSS LivekitAliOSSUpload `json:"aliOSS"`
}
LivekitEncodedFileOutput0 defines model for LivekitEncodedFileOutput.0.
type LivekitEncodedFileOutput1 ¶
type LivekitEncodedFileOutput1 struct {
Azure LivekitAzureBlobUpload `json:"azure"`
}
LivekitEncodedFileOutput1 defines model for LivekitEncodedFileOutput.1.
type LivekitEncodedFileOutput2 ¶
type LivekitEncodedFileOutput2 struct {
Gcp LivekitGCPUpload `json:"gcp"`
}
LivekitEncodedFileOutput2 defines model for LivekitEncodedFileOutput.2.
type LivekitEncodedFileOutput3 ¶
type LivekitEncodedFileOutput3 struct {
S3 LivekitS3Upload `json:"s3"`
}
LivekitEncodedFileOutput3 defines model for LivekitEncodedFileOutput.3.
type LivekitEncodedFileOutput4 ¶
type LivekitEncodedFileOutput4 = interface{}
LivekitEncodedFileOutput4 defines model for LivekitEncodedFileOutput.4.
type LivekitEncodedFileType ¶
type LivekitEncodedFileType string
LivekitEncodedFileType defines model for livekit.EncodedFileType.
const ( DEFAULTFILETYPE LivekitEncodedFileType = "DEFAULT_FILETYPE" MP3 LivekitEncodedFileType = "MP3" MP4 LivekitEncodedFileType = "MP4" OGG LivekitEncodedFileType = "OGG" )
Defines values for LivekitEncodedFileType.
func (LivekitEncodedFileType) Valid ¶
func (e LivekitEncodedFileType) Valid() bool
Valid indicates whether the value is a known member of the LivekitEncodedFileType enum.
type LivekitEncodingOptions ¶
type LivekitEncodingOptions struct {
// AudioBitrate (default 128)
AudioBitrate *int32 `json:"audioBitrate,omitempty"`
// AudioCodec (default OPUS)
AudioCodec *LivekitAudioCodec `json:"audioCodec,omitempty"`
// AudioFrequency (default 44100)
AudioFrequency *int32 `json:"audioFrequency,omitempty"`
// AudioQuality --- Deprecated --- quality setting on audio encoder
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AudioQuality *int32 `json:"audioQuality,omitempty"`
// Depth (default 24)
Depth *int32 `json:"depth,omitempty"`
// Framerate (default 30)
Framerate *int32 `json:"framerate,omitempty"`
// Height (default 1080)
Height *int32 `json:"height,omitempty"`
// KeyFrameInterval in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
KeyFrameInterval *float64 `json:"keyFrameInterval,omitempty"`
// VideoBitrate (default 4500)
VideoBitrate *int32 `json:"videoBitrate,omitempty"`
// VideoCodec (default H264_MAIN)
VideoCodec *LivekitVideoCodec `json:"videoCodec,omitempty"`
// VideoQuality quality setting on video encoder
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
VideoQuality *int32 `json:"videoQuality,omitempty"`
// Width (default 1920)
Width *int32 `json:"width,omitempty"`
}
LivekitEncodingOptions defines model for livekit.EncodingOptions.
type LivekitEncodingOptionsPreset ¶
type LivekitEncodingOptionsPreset string
LivekitEncodingOptionsPreset defines model for livekit.EncodingOptionsPreset.
const ( H2641080P30 LivekitEncodingOptionsPreset = "H264_1080P_30" H2641080P60 LivekitEncodingOptionsPreset = "H264_1080P_60" H264720P30 LivekitEncodingOptionsPreset = "H264_720P_30" H264720P60 LivekitEncodingOptionsPreset = "H264_720P_60" PASSTHROUGH LivekitEncodingOptionsPreset = "PASSTHROUGH" PORTRAITH2641080P30 LivekitEncodingOptionsPreset = "PORTRAIT_H264_1080P_30" PORTRAITH2641080P60 LivekitEncodingOptionsPreset = "PORTRAIT_H264_1080P_60" PORTRAITH264720P30 LivekitEncodingOptionsPreset = "PORTRAIT_H264_720P_30" PORTRAITH264720P60 LivekitEncodingOptionsPreset = "PORTRAIT_H264_720P_60" )
Defines values for LivekitEncodingOptionsPreset.
func (LivekitEncodingOptionsPreset) Valid ¶
func (e LivekitEncodingOptionsPreset) Valid() bool
Valid indicates whether the value is a known member of the LivekitEncodingOptionsPreset enum.
type LivekitFilterParams ¶
type LivekitFilterParams struct {
ExcludeEvents *[]string `json:"excludeEvents,omitempty"`
IncludeEvents *[]string `json:"includeEvents,omitempty"`
}
LivekitFilterParams defines model for livekit.FilterParams.
type LivekitGCPUpload ¶
type LivekitGCPUpload struct {
Bucket *string `json:"bucket,omitempty"`
// Credentials service account credentials serialized in JSON "credentials.json"
Credentials *string `json:"credentials,omitempty"`
Proxy *LivekitProxyConfig `json:"proxy,omitempty"`
}
LivekitGCPUpload defines model for livekit.GCPUpload.
type LivekitImageCodec ¶
type LivekitImageCodec string
LivekitImageCodec defines model for livekit.ImageCodec.
const ( ICDEFAULT LivekitImageCodec = "IC_DEFAULT" ICJPEG LivekitImageCodec = "IC_JPEG" )
Defines values for LivekitImageCodec.
func (LivekitImageCodec) Valid ¶
func (e LivekitImageCodec) Valid() bool
Valid indicates whether the value is a known member of the LivekitImageCodec enum.
type LivekitImageFileSuffix ¶
type LivekitImageFileSuffix string
LivekitImageFileSuffix defines model for livekit.ImageFileSuffix.
const ( IMAGESUFFIXINDEX LivekitImageFileSuffix = "IMAGE_SUFFIX_INDEX" IMAGESUFFIXNONEOVERWRITE LivekitImageFileSuffix = "IMAGE_SUFFIX_NONE_OVERWRITE" IMAGESUFFIXTIMESTAMP LivekitImageFileSuffix = "IMAGE_SUFFIX_TIMESTAMP" )
Defines values for LivekitImageFileSuffix.
func (LivekitImageFileSuffix) Valid ¶
func (e LivekitImageFileSuffix) Valid() bool
Valid indicates whether the value is a known member of the LivekitImageFileSuffix enum.
type LivekitImageOutput ¶
type LivekitImageOutput struct {
// CaptureInterval in seconds (required)
CaptureInterval *int `json:"captureInterval,omitempty"`
// DisableManifest disable upload of manifest file (default false)
DisableManifest *bool `json:"disableManifest,omitempty"`
// FilenamePrefix (optional)
FilenamePrefix *string `json:"filenamePrefix,omitempty"`
// FilenameSuffix (optional, default INDEX)
FilenameSuffix *LivekitImageFileSuffix `json:"filenameSuffix,omitempty"`
// Height (optional, defaults to track height)
Height *int32 `json:"height,omitempty"`
// ImageCodec (optional)
ImageCodec *LivekitImageCodec `json:"imageCodec,omitempty"`
// Width (optional, defaults to track width)
Width *int32 `json:"width,omitempty"`
// contains filtered or unexported fields
}
LivekitImageOutput Capture images at a specified interval
func (LivekitImageOutput) AsLivekitImageOutput0 ¶
func (t LivekitImageOutput) AsLivekitImageOutput0() (LivekitImageOutput0, error)
AsLivekitImageOutput0 returns the union data inside the LivekitImageOutput as a LivekitImageOutput0
func (LivekitImageOutput) AsLivekitImageOutput1 ¶
func (t LivekitImageOutput) AsLivekitImageOutput1() (LivekitImageOutput1, error)
AsLivekitImageOutput1 returns the union data inside the LivekitImageOutput as a LivekitImageOutput1
func (LivekitImageOutput) AsLivekitImageOutput2 ¶
func (t LivekitImageOutput) AsLivekitImageOutput2() (LivekitImageOutput2, error)
AsLivekitImageOutput2 returns the union data inside the LivekitImageOutput as a LivekitImageOutput2
func (LivekitImageOutput) AsLivekitImageOutput3 ¶
func (t LivekitImageOutput) AsLivekitImageOutput3() (LivekitImageOutput3, error)
AsLivekitImageOutput3 returns the union data inside the LivekitImageOutput as a LivekitImageOutput3
func (LivekitImageOutput) AsLivekitImageOutput4 ¶
func (t LivekitImageOutput) AsLivekitImageOutput4() (LivekitImageOutput4, error)
AsLivekitImageOutput4 returns the union data inside the LivekitImageOutput as a LivekitImageOutput4
func (*LivekitImageOutput) FromLivekitImageOutput0 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput0(v LivekitImageOutput0) error
FromLivekitImageOutput0 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput0
func (*LivekitImageOutput) FromLivekitImageOutput1 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput1(v LivekitImageOutput1) error
FromLivekitImageOutput1 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput1
func (*LivekitImageOutput) FromLivekitImageOutput2 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput2(v LivekitImageOutput2) error
FromLivekitImageOutput2 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput2
func (*LivekitImageOutput) FromLivekitImageOutput3 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput3(v LivekitImageOutput3) error
FromLivekitImageOutput3 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput3
func (*LivekitImageOutput) FromLivekitImageOutput4 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput4(v LivekitImageOutput4) error
FromLivekitImageOutput4 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput4
func (LivekitImageOutput) MarshalJSON ¶
func (t LivekitImageOutput) MarshalJSON() ([]byte, error)
func (*LivekitImageOutput) MergeLivekitImageOutput0 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput0(v LivekitImageOutput0) error
MergeLivekitImageOutput0 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput0
func (*LivekitImageOutput) MergeLivekitImageOutput1 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput1(v LivekitImageOutput1) error
MergeLivekitImageOutput1 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput1
func (*LivekitImageOutput) MergeLivekitImageOutput2 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput2(v LivekitImageOutput2) error
MergeLivekitImageOutput2 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput2
func (*LivekitImageOutput) MergeLivekitImageOutput3 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput3(v LivekitImageOutput3) error
MergeLivekitImageOutput3 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput3
func (*LivekitImageOutput) MergeLivekitImageOutput4 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput4(v LivekitImageOutput4) error
MergeLivekitImageOutput4 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput4
func (*LivekitImageOutput) UnmarshalJSON ¶
func (t *LivekitImageOutput) UnmarshalJSON(b []byte) error
type LivekitImageOutput0 ¶
type LivekitImageOutput0 struct {
AliOSS LivekitAliOSSUpload `json:"aliOSS"`
}
LivekitImageOutput0 defines model for LivekitImageOutput.0.
type LivekitImageOutput1 ¶
type LivekitImageOutput1 struct {
Azure LivekitAzureBlobUpload `json:"azure"`
}
LivekitImageOutput1 defines model for LivekitImageOutput.1.
type LivekitImageOutput2 ¶
type LivekitImageOutput2 struct {
Gcp LivekitGCPUpload `json:"gcp"`
}
LivekitImageOutput2 defines model for LivekitImageOutput.2.
type LivekitImageOutput3 ¶
type LivekitImageOutput3 struct {
S3 LivekitS3Upload `json:"s3"`
}
LivekitImageOutput3 defines model for LivekitImageOutput.3.
type LivekitImageOutput4 ¶
type LivekitImageOutput4 = interface{}
LivekitImageOutput4 defines model for LivekitImageOutput.4.
type LivekitJobRestartPolicy ¶
type LivekitJobRestartPolicy string
LivekitJobRestartPolicy defines model for livekit.JobRestartPolicy.
const ( JRPNEVER LivekitJobRestartPolicy = "JRP_NEVER" JRPONFAILURE LivekitJobRestartPolicy = "JRP_ON_FAILURE" )
Defines values for LivekitJobRestartPolicy.
func (LivekitJobRestartPolicy) Valid ¶
func (e LivekitJobRestartPolicy) Valid() bool
Valid indicates whether the value is a known member of the LivekitJobRestartPolicy enum.
type LivekitPresignedPostRequest ¶
type LivekitPresignedPostRequest struct {
Url *string `json:"url,omitempty"`
Values *map[string]string `json:"values,omitempty"`
}
LivekitPresignedPostRequest defines model for livekit.PresignedPostRequest.
type LivekitProxyConfig ¶
type LivekitProxyConfig struct {
Password *string `json:"password,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
}
LivekitProxyConfig defines model for livekit.ProxyConfig.
type LivekitPublicapiAnalyticsV1GetSessionResponse ¶
type LivekitPublicapiAnalyticsV1GetSessionResponse struct {
// Session Session is one analytics session row. A representative subset of the former
// REST `Session` schema — the full field set can be filled in incrementally.
Session *LivekitPublicapiAnalyticsV1Session `json:"session,omitempty"`
}
LivekitPublicapiAnalyticsV1GetSessionResponse defines model for livekit.publicapi.analytics.v1.GetSessionResponse.
type LivekitPublicapiAnalyticsV1ListProjectSessionsResponse ¶
type LivekitPublicapiAnalyticsV1ListProjectSessionsResponse struct {
Items *[]LivekitPublicapiAnalyticsV1Session `json:"items,omitempty"`
// PageInfo PageInfo is the cursor-pagination metadata shared by every list response.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiAnalyticsV1ListProjectSessionsResponse defines model for livekit.publicapi.analytics.v1.ListProjectSessionsResponse.
type LivekitPublicapiAnalyticsV1Session ¶
type LivekitPublicapiAnalyticsV1Session struct {
BandwidthIn *string `json:"bandwidthIn,omitempty"`
BandwidthOut *string `json:"bandwidthOut,omitempty"`
// EndedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
NumParticipants *int32 `json:"numParticipants,omitempty"`
RoomName *string `json:"roomName,omitempty"`
SessionId *string `json:"sessionId,omitempty"`
// StartedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`
// Status SessionStatus is the lifecycle state of a session.
Status *LivekitPublicapiAnalyticsV1SessionStatus `json:"status,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
LivekitPublicapiAnalyticsV1Session Session is one analytics session row. A representative subset of the former
REST `Session` schema — the full field set can be filled in incrementally.
type LivekitPublicapiAnalyticsV1SessionStatus ¶
type LivekitPublicapiAnalyticsV1SessionStatus string
LivekitPublicapiAnalyticsV1SessionStatus SessionStatus is the lifecycle state of a session.
const ( SESSIONSTATUSACTIVE LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_ACTIVE" SESSIONSTATUSCLOSED LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_CLOSED" SESSIONSTATUSUNSPECIFIED LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_UNSPECIFIED" )
Defines values for LivekitPublicapiAnalyticsV1SessionStatus.
func (LivekitPublicapiAnalyticsV1SessionStatus) Valid ¶
func (e LivekitPublicapiAnalyticsV1SessionStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAnalyticsV1SessionStatus enum.
type LivekitPublicapiCommonV1PageInfo ¶
type LivekitPublicapiCommonV1PageInfo struct {
HasMore *bool `json:"hasMore,omitempty"`
// NextCursor Pass as `cursor` on the next request to fetch the following page. Empty on
// the last page.
NextCursor *string `json:"nextCursor,omitempty"`
}
LivekitPublicapiCommonV1PageInfo PageInfo is the cursor-pagination metadata shared by every list response.
type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse ¶
type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse struct {
Items *[]LivekitPublicapiProjectsV1ProjectMember `json:"items,omitempty"`
}
LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse defines model for livekit.publicapi.projects.v1.AddWorkspaceMembersToProjectResponse.
type LivekitPublicapiProjectsV1AnswerInvitationResponse ¶
type LivekitPublicapiProjectsV1AnswerInvitationResponse struct {
// Member set when accept=true
Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}
LivekitPublicapiProjectsV1AnswerInvitationResponse defines model for livekit.publicapi.projects.v1.AnswerInvitationResponse.
type LivekitPublicapiProjectsV1CreateProjectMember ¶
type LivekitPublicapiProjectsV1CreateProjectMember struct {
// Role Matches cloud_protocol.ProjectMemberRole: INVITED=0, READ=1, WRITE=2, ADMIN=3.
Role *int32 `json:"role,omitempty"`
UserId *string `json:"userId,omitempty"`
}
LivekitPublicapiProjectsV1CreateProjectMember TODO: Add more parts that allow for a full project creation, not just the name
type LivekitPublicapiProjectsV1CreateProjectRequest ¶
type LivekitPublicapiProjectsV1CreateProjectRequest struct {
IsPrivate *bool `json:"isPrivate,omitempty"`
// Members private projects only
Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
// Subdomain optional; generated from name when empty
Subdomain *string `json:"subdomain,omitempty"`
// WorkspaceId optional; when empty a new workspace is created
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiProjectsV1CreateProjectRequest defines model for livekit.publicapi.projects.v1.CreateProjectRequest.
type LivekitPublicapiProjectsV1CreateProjectResponse ¶
type LivekitPublicapiProjectsV1CreateProjectResponse struct {
// Project Project is a LiveKit Cloud project (owned by cloud-api-server).
// Field set mirrors backend-common model.Project (most config fields);
// members/domains are separate list resources and are not embedded here.
Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}
LivekitPublicapiProjectsV1CreateProjectResponse defines model for livekit.publicapi.projects.v1.CreateProjectResponse.
type LivekitPublicapiProjectsV1DeleteInviteResponse ¶
type LivekitPublicapiProjectsV1DeleteInviteResponse = map[string]interface{}
LivekitPublicapiProjectsV1DeleteInviteResponse defines model for livekit.publicapi.projects.v1.DeleteInviteResponse.
type LivekitPublicapiProjectsV1DeleteProjectResponse ¶
type LivekitPublicapiProjectsV1DeleteProjectResponse = map[string]interface{}
LivekitPublicapiProjectsV1DeleteProjectResponse defines model for livekit.publicapi.projects.v1.DeleteProjectResponse.
type LivekitPublicapiProjectsV1GetInviteResponse ¶
type LivekitPublicapiProjectsV1GetInviteResponse struct {
// Invite ProjectInvite is a pending email invite to a project (token-based, cloud InviteMember2).
Invite *LivekitPublicapiProjectsV1ProjectInvite `json:"invite,omitempty"`
}
LivekitPublicapiProjectsV1GetInviteResponse defines model for livekit.publicapi.projects.v1.GetInviteResponse.
type LivekitPublicapiProjectsV1GetMemberResponse ¶
type LivekitPublicapiProjectsV1GetMemberResponse struct {
// Member ProjectMember is a user's membership on a project.
Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}
LivekitPublicapiProjectsV1GetMemberResponse defines model for livekit.publicapi.projects.v1.GetMemberResponse.
type LivekitPublicapiProjectsV1GetProjectResponse ¶
type LivekitPublicapiProjectsV1GetProjectResponse struct {
// Project Project is a LiveKit Cloud project (owned by cloud-api-server).
// Field set mirrors backend-common model.Project (most config fields);
// members/domains are separate list resources and are not embedded here.
Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}
LivekitPublicapiProjectsV1GetProjectResponse defines model for livekit.publicapi.projects.v1.GetProjectResponse.
type LivekitPublicapiProjectsV1InviteMemberResponse ¶
type LivekitPublicapiProjectsV1InviteMemberResponse struct {
InviteToken *string `json:"inviteToken,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
}
LivekitPublicapiProjectsV1InviteMemberResponse defines model for livekit.publicapi.projects.v1.InviteMemberResponse.
type LivekitPublicapiProjectsV1ListInvitesResponse ¶
type LivekitPublicapiProjectsV1ListInvitesResponse struct {
Items *[]LivekitPublicapiProjectsV1ProjectInvite `json:"items,omitempty"`
}
LivekitPublicapiProjectsV1ListInvitesResponse defines model for livekit.publicapi.projects.v1.ListInvitesResponse.
type LivekitPublicapiProjectsV1ListMembersResponse ¶
type LivekitPublicapiProjectsV1ListMembersResponse struct {
Items *[]LivekitPublicapiProjectsV1ProjectMember `json:"items,omitempty"`
}
LivekitPublicapiProjectsV1ListMembersResponse defines model for livekit.publicapi.projects.v1.ListMembersResponse.
type LivekitPublicapiProjectsV1ListProjectsResponse ¶
type LivekitPublicapiProjectsV1ListProjectsResponse struct {
Items *[]LivekitPublicapiProjectsV1Project `json:"items,omitempty"`
// PageInfo PageInfo is the cursor-pagination metadata shared by every list response.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListProjectsResponse defines model for livekit.publicapi.projects.v1.ListProjectsResponse.
type LivekitPublicapiProjectsV1PinnedRegions ¶
type LivekitPublicapiProjectsV1PinnedRegions struct {
Regions *[]string `json:"regions,omitempty"`
}
LivekitPublicapiProjectsV1PinnedRegions PinnedRegions wraps the region pin set so an explicit empty list can clear
the pins, which a bare repeated field cannot express (mirrors cloud AdminSetProjectSettingsRequest.pinned_regions).
type LivekitPublicapiProjectsV1Project ¶
type LivekitPublicapiProjectsV1Project struct {
AnalyticsAccessKey *string `json:"analyticsAccessKey,omitempty"`
// CreatedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
CreatorId *string `json:"creatorId,omitempty"`
EgressClusterId *string `json:"egressClusterId,omitempty"`
EnableAnalytics *bool `json:"enableAnalytics,omitempty"`
EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`
EnableEnhancedNoiseCancellation *bool `json:"enableEnhancedNoiseCancellation,omitempty"`
EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`
EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`
EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`
EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`
EnableSafeMode *bool `json:"enableSafeMode,omitempty"`
EnableSipCustomDomain *bool `json:"enableSipCustomDomain,omitempty"`
EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`
EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`
EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`
Id *string `json:"id,omitempty"`
IsPrivate *bool `json:"isPrivate,omitempty"`
Name *string `json:"name,omitempty"`
// PiiRedactionCategories Categories to redact when enable_pii_redaction is on. Empty on read means
// the stored set (or defaults applied at enable time) — never "redact nothing".
// Same taxonomy as cloud-api UpdateProject (cloud_protocol.PIIRedactionCategory).
PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`
PinnedRegions *[]string `json:"pinnedRegions,omitempty"`
// Preferences ProjectPreferences holds per-project UI/feature settings (mirrors
// backend-common ProjectPreferences).
Preferences *LivekitPublicapiProjectsV1ProjectPreferences `json:"preferences,omitempty"`
RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`
Subdomain *string `json:"subdomain,omitempty"`
UserDataLifetimeDays *int32 `json:"userDataLifetimeDays,omitempty"`
UserDataRegion *string `json:"userDataRegion,omitempty"`
Webhooks *[]LivekitPublicapiProjectsV1Webhook `json:"webhooks,omitempty"`
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiProjectsV1Project Project is a LiveKit Cloud project (owned by cloud-api-server).
Field set mirrors backend-common model.Project (most config fields); members/domains are separate list resources and are not embedded here.
type LivekitPublicapiProjectsV1ProjectInvite ¶
type LivekitPublicapiProjectsV1ProjectInvite struct {
Email *string `json:"email,omitempty"`
// ExpiresAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
InviteToken *string `json:"inviteToken,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
Role *int32 `json:"role,omitempty"`
}
LivekitPublicapiProjectsV1ProjectInvite ProjectInvite is a pending email invite to a project (token-based, cloud InviteMember2).
type LivekitPublicapiProjectsV1ProjectMember ¶
type LivekitPublicapiProjectsV1ProjectMember struct {
Email *string `json:"email,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
// Role Matches cloud_protocol.ProjectMemberRole: INVITED=0, READ=1, WRITE=2, ADMIN=3.
Role *int32 `json:"role,omitempty"`
UserId *string `json:"userId,omitempty"`
}
LivekitPublicapiProjectsV1ProjectMember ProjectMember is a user's membership on a project.
type LivekitPublicapiProjectsV1ProjectPreferences ¶
type LivekitPublicapiProjectsV1ProjectPreferences struct {
DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`
DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`
EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`
EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`
FeatureFlags *map[string]string `json:"featureFlags,omitempty"`
HideOnboarding *bool `json:"hideOnboarding,omitempty"`
HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
HipaaCompliant *bool `json:"hipaaCompliant,omitempty"`
JoinableByDomain *bool `json:"joinableByDomain,omitempty"`
RoomConfigurations *map[string]LivekitRoomConfiguration `json:"roomConfigurations,omitempty"`
SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`
TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
}
LivekitPublicapiProjectsV1ProjectPreferences ProjectPreferences holds per-project UI/feature settings (mirrors
backend-common ProjectPreferences).
type LivekitPublicapiProjectsV1RemoveMemberResponse ¶
type LivekitPublicapiProjectsV1RemoveMemberResponse = map[string]interface{}
LivekitPublicapiProjectsV1RemoveMemberResponse defines model for livekit.publicapi.projects.v1.RemoveMemberResponse.
type LivekitPublicapiProjectsV1UpdateInviteResponse ¶
type LivekitPublicapiProjectsV1UpdateInviteResponse struct {
// Invite ProjectInvite is a pending email invite to a project (token-based, cloud InviteMember2).
Invite *LivekitPublicapiProjectsV1ProjectInvite `json:"invite,omitempty"`
}
LivekitPublicapiProjectsV1UpdateInviteResponse defines model for livekit.publicapi.projects.v1.UpdateInviteResponse.
type LivekitPublicapiProjectsV1UpdateMemberResponse ¶
type LivekitPublicapiProjectsV1UpdateMemberResponse struct {
// Member ProjectMember is a user's membership on a project.
Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}
LivekitPublicapiProjectsV1UpdateMemberResponse defines model for livekit.publicapi.projects.v1.UpdateMemberResponse.
type LivekitPublicapiProjectsV1UpdateProjectRequest ¶
type LivekitPublicapiProjectsV1UpdateProjectRequest struct {
CustomDomain *string `json:"customDomain,omitempty"`
DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`
DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`
// EgressClusterId LK-admin only
EgressClusterId *string `json:"egressClusterId,omitempty"`
EnableAnalytics *bool `json:"enableAnalytics,omitempty"`
EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`
EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`
EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`
// EnableHostedAgents LK-admin only
EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`
EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`
EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`
EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`
EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`
EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`
FeatureFlags *map[string]string `json:"featureFlags,omitempty"`
// HideOnboarding Preferences (flat, matching cloud-api UpdateProjectRequest).
HideOnboarding *bool `json:"hideOnboarding,omitempty"`
HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
IsPrivate *bool `json:"isPrivate,omitempty"`
JoinableByDomain *bool `json:"joinableByDomain,omitempty"`
// Members Used when becoming private: explicit member set (actor kept as ADMIN).
Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
// PiiRedactionCategories Non-empty list replaces the stored set (validated via Canonical).
// Empty is ignored (cannot clear). When enabling with nothing stored,
// defaults are applied server-side — same as cloud-api UpdateProject.
PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`
// PinnedRegions SFU/datacenter region pins. Unset leaves them unchanged; a set message
// replaces the stored set, so an empty regions list clears the pins (same
// shape as cloud AdminPinnedRegions). Distinct from user_data_region.
PinnedRegions *LivekitPublicapiProjectsV1PinnedRegions `json:"pinnedRegions,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`
RoomConfigsToDelete *[]string `json:"roomConfigsToDelete,omitempty"`
// RoomConfigsToUpsert RoomConfiguration management (stored on project preferences).
RoomConfigsToUpsert *[]LivekitRoomConfiguration `json:"roomConfigsToUpsert,omitempty"`
SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`
Subdomain *string `json:"subdomain,omitempty"`
TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
UserDataRegion *string `json:"userDataRegion,omitempty"`
}
LivekitPublicapiProjectsV1UpdateProjectRequest UpdateProjectRequest patches a project. Unset optional fields are left
unchanged (proto3 optional). Mirrors cloud-api UpdateProject for local mode; webhooks are separate RPCs (not included here).
type LivekitPublicapiProjectsV1UpdateProjectResponse ¶
type LivekitPublicapiProjectsV1UpdateProjectResponse struct {
// Project Project is a LiveKit Cloud project (owned by cloud-api-server).
// Field set mirrors backend-common model.Project (most config fields);
// members/domains are separate list resources and are not embedded here.
Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}
LivekitPublicapiProjectsV1UpdateProjectResponse defines model for livekit.publicapi.projects.v1.UpdateProjectResponse.
type LivekitPublicapiProjectsV1Webhook ¶
type LivekitPublicapiProjectsV1Webhook struct {
FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
SigningKey *string `json:"signingKey,omitempty"`
Url *string `json:"url,omitempty"`
}
LivekitPublicapiProjectsV1Webhook Webhook is a project webhook destination (mirrors backend-common Webhook).
type LivekitPublicapiUsersV1GetCurrentUserResponse ¶
type LivekitPublicapiUsersV1GetCurrentUserResponse struct {
// User User is a LiveKit Cloud user (owned by cloud-api-server).
User *LivekitPublicapiUsersV1User `json:"user,omitempty"`
}
LivekitPublicapiUsersV1GetCurrentUserResponse defines model for livekit.publicapi.users.v1.GetCurrentUserResponse.
type LivekitPublicapiUsersV1GetUserResponse ¶
type LivekitPublicapiUsersV1GetUserResponse struct {
// User User is a LiveKit Cloud user (owned by cloud-api-server).
User *LivekitPublicapiUsersV1User `json:"user,omitempty"`
}
LivekitPublicapiUsersV1GetUserResponse defines model for livekit.publicapi.users.v1.GetUserResponse.
type LivekitPublicapiUsersV1ListUsersResponse ¶
type LivekitPublicapiUsersV1ListUsersResponse struct {
Items *[]LivekitPublicapiUsersV1User `json:"items,omitempty"`
// PageInfo PageInfo is the cursor-pagination metadata shared by every list response.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiUsersV1ListUsersResponse defines model for livekit.publicapi.users.v1.ListUsersResponse.
type LivekitPublicapiUsersV1User ¶
type LivekitPublicapiUsersV1User struct {
// CreatedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
}
LivekitPublicapiUsersV1User User is a LiveKit Cloud user (owned by cloud-api-server).
type LivekitPublicapiWorkspacesV1AnswerInviteResponse ¶
type LivekitPublicapiWorkspacesV1AnswerInviteResponse struct {
// Member set when accept=true
Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}
LivekitPublicapiWorkspacesV1AnswerInviteResponse defines model for livekit.publicapi.workspaces.v1.AnswerInviteResponse.
type LivekitPublicapiWorkspacesV1CreateInviteResponse ¶
type LivekitPublicapiWorkspacesV1CreateInviteResponse struct {
InviteToken *string `json:"inviteToken,omitempty"`
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiWorkspacesV1CreateInviteResponse defines model for livekit.publicapi.workspaces.v1.CreateInviteResponse.
type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest ¶
type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest struct {
Name *string `json:"name,omitempty"`
// OrganizationId Optional organization association. from_project_id and preferences are intentionally omitted: cloud treats
// from_project_id as admin-only, and hipaa_compliant preferences cascade to
// every project (AdminService.UpdateWorkspace only).
OrganizationId *string `json:"organizationId,omitempty"`
}
LivekitPublicapiWorkspacesV1CreateWorkspaceRequest defines model for livekit.publicapi.workspaces.v1.CreateWorkspaceRequest.
type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse struct {
// Workspace Workspace is a LiveKit Cloud workspace (owned by cloud-api-server).
// Field set mirrors backend-common model.Workspace.ToProto(); members/invites
// are separate list resources and are not embedded here.
Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}
LivekitPublicapiWorkspacesV1CreateWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.CreateWorkspaceResponse.
type LivekitPublicapiWorkspacesV1DeleteInviteResponse ¶
type LivekitPublicapiWorkspacesV1DeleteInviteResponse = map[string]interface{}
LivekitPublicapiWorkspacesV1DeleteInviteResponse defines model for livekit.publicapi.workspaces.v1.DeleteInviteResponse.
type LivekitPublicapiWorkspacesV1DeleteMemberResponse ¶
type LivekitPublicapiWorkspacesV1DeleteMemberResponse = map[string]interface{}
LivekitPublicapiWorkspacesV1DeleteMemberResponse defines model for livekit.publicapi.workspaces.v1.DeleteMemberResponse.
type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse = map[string]interface{}
LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.DeleteWorkspaceResponse.
type LivekitPublicapiWorkspacesV1GetInviteResponse ¶
type LivekitPublicapiWorkspacesV1GetInviteResponse struct {
// Invite WorkspaceInvite is a pending email invite to a workspace.
Invite *LivekitPublicapiWorkspacesV1WorkspaceInvite `json:"invite,omitempty"`
}
LivekitPublicapiWorkspacesV1GetInviteResponse defines model for livekit.publicapi.workspaces.v1.GetInviteResponse.
type LivekitPublicapiWorkspacesV1GetMemberResponse ¶
type LivekitPublicapiWorkspacesV1GetMemberResponse struct {
// Member WorkspaceMember is a user's membership on a workspace.
Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}
LivekitPublicapiWorkspacesV1GetMemberResponse defines model for livekit.publicapi.workspaces.v1.GetMemberResponse.
type LivekitPublicapiWorkspacesV1GetWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1GetWorkspaceResponse struct {
// Workspace Workspace is a LiveKit Cloud workspace (owned by cloud-api-server).
// Field set mirrors backend-common model.Workspace.ToProto(); members/invites
// are separate list resources and are not embedded here.
Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}
LivekitPublicapiWorkspacesV1GetWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.GetWorkspaceResponse.
type LivekitPublicapiWorkspacesV1ListInvitesResponse ¶
type LivekitPublicapiWorkspacesV1ListInvitesResponse struct {
Items *[]LivekitPublicapiWorkspacesV1WorkspaceInvite `json:"items,omitempty"`
}
LivekitPublicapiWorkspacesV1ListInvitesResponse defines model for livekit.publicapi.workspaces.v1.ListInvitesResponse.
type LivekitPublicapiWorkspacesV1ListMembersResponse ¶
type LivekitPublicapiWorkspacesV1ListMembersResponse struct {
Items *[]LivekitPublicapiWorkspacesV1WorkspaceMember `json:"items,omitempty"`
}
LivekitPublicapiWorkspacesV1ListMembersResponse defines model for livekit.publicapi.workspaces.v1.ListMembersResponse.
type LivekitPublicapiWorkspacesV1ListWorkspacesResponse ¶
type LivekitPublicapiWorkspacesV1ListWorkspacesResponse struct {
Items *[]LivekitPublicapiWorkspacesV1Workspace `json:"items,omitempty"`
// PageInfo PageInfo is the cursor-pagination metadata shared by every list response.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiWorkspacesV1ListWorkspacesResponse defines model for livekit.publicapi.workspaces.v1.ListWorkspacesResponse.
type LivekitPublicapiWorkspacesV1UpdateMemberResponse ¶
type LivekitPublicapiWorkspacesV1UpdateMemberResponse struct {
// Member WorkspaceMember is a user's membership on a workspace.
Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}
LivekitPublicapiWorkspacesV1UpdateMemberResponse defines model for livekit.publicapi.workspaces.v1.UpdateMemberResponse.
type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse struct {
// Workspace Workspace is a LiveKit Cloud workspace (owned by cloud-api-server).
// Field set mirrors backend-common model.Workspace.ToProto(); members/invites
// are separate list resources and are not embedded here.
Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}
LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.UpdateWorkspaceResponse.
type LivekitPublicapiWorkspacesV1Workspace ¶
type LivekitPublicapiWorkspacesV1Workspace struct {
// CreatedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
CreatorId *string `json:"creatorId,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
// Preferences WorkspacePreferences holds per-workspace settings (mirrors backend-common
// WorkspacePreferences).
Preferences *LivekitPublicapiWorkspacesV1WorkspacePreferences `json:"preferences,omitempty"`
}
LivekitPublicapiWorkspacesV1Workspace Workspace is a LiveKit Cloud workspace (owned by cloud-api-server).
Field set mirrors backend-common model.Workspace.ToProto(); members/invites are separate list resources and are not embedded here.
type LivekitPublicapiWorkspacesV1WorkspaceInvite ¶
type LivekitPublicapiWorkspacesV1WorkspaceInvite struct {
Email *string `json:"email,omitempty"`
// ExpiresAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
InviteToken *string `json:"inviteToken,omitempty"`
Role *int32 `json:"role,omitempty"`
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspaceInvite WorkspaceInvite is a pending email invite to a workspace.
type LivekitPublicapiWorkspacesV1WorkspaceMember ¶
type LivekitPublicapiWorkspacesV1WorkspaceMember struct {
Email *string `json:"email,omitempty"`
// Role Matches cloud_protocol.ProjectMemberRole: INVITED=0, READ=1, WRITE=2, ADMIN=3.
Role *int32 `json:"role,omitempty"`
UserId *string `json:"userId,omitempty"`
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspaceMember WorkspaceMember is a user's membership on a workspace.
type LivekitPublicapiWorkspacesV1WorkspacePreferences ¶
type LivekitPublicapiWorkspacesV1WorkspacePreferences struct {
HipaaCompliant *bool `json:"hipaaCompliant,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspacePreferences WorkspacePreferences holds per-workspace settings (mirrors backend-common
WorkspacePreferences).
type LivekitRoomAgentDispatch ¶
type LivekitRoomAgentDispatch struct {
AgentName *string `json:"agentName,omitempty"`
Attributes *map[string]string `json:"attributes,omitempty"`
Deployment *string `json:"deployment,omitempty"`
Metadata *string `json:"metadata,omitempty"`
// RestartPolicy cloud only
RestartPolicy *LivekitJobRestartPolicy `json:"restartPolicy,omitempty"`
}
LivekitRoomAgentDispatch defines model for livekit.RoomAgentDispatch.
type LivekitRoomCompositeEgressRequest ¶
type LivekitRoomCompositeEgressRequest struct {
AudioMixing *LivekitAudioMixing `json:"audioMixing,omitempty"`
AudioOnly *bool `json:"audioOnly,omitempty"`
CustomBaseUrl *string `json:"customBaseUrl,omitempty"`
FileOutputs *[]LivekitEncodedFileOutput `json:"fileOutputs,omitempty"`
ImageOutputs *[]LivekitImageOutput `json:"imageOutputs,omitempty"`
Layout *string `json:"layout,omitempty"`
RoomName *string `json:"roomName,omitempty"`
SegmentOutputs *[]LivekitSegmentedFileOutput `json:"segmentOutputs,omitempty"`
StreamOutputs *[]LivekitStreamOutput `json:"streamOutputs,omitempty"`
VideoOnly *bool `json:"videoOnly,omitempty"`
Webhooks *[]LivekitWebhookConfig `json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
LivekitRoomCompositeEgressRequest defines model for livekit.RoomCompositeEgressRequest.
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0() (LivekitRoomCompositeEgressRequest0, error)
AsLivekitRoomCompositeEgressRequest0 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest0
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1() (LivekitRoomCompositeEgressRequest1, error)
AsLivekitRoomCompositeEgressRequest1 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest1
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2() (LivekitRoomCompositeEgressRequest2, error)
AsLivekitRoomCompositeEgressRequest2 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest2
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3() (LivekitRoomCompositeEgressRequest3, error)
AsLivekitRoomCompositeEgressRequest3 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest3
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4() (LivekitRoomCompositeEgressRequest4, error)
AsLivekitRoomCompositeEgressRequest4 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest4
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest5 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest5() (LivekitRoomCompositeEgressRequest5, error)
AsLivekitRoomCompositeEgressRequest5 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest5
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest6 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest6() (LivekitRoomCompositeEgressRequest6, error)
AsLivekitRoomCompositeEgressRequest6 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest6
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
FromLivekitRoomCompositeEgressRequest0 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest0
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
FromLivekitRoomCompositeEgressRequest1 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest1
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
FromLivekitRoomCompositeEgressRequest2 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest2
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
FromLivekitRoomCompositeEgressRequest3 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest3
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
FromLivekitRoomCompositeEgressRequest4 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest4
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest5 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest5(v LivekitRoomCompositeEgressRequest5) error
FromLivekitRoomCompositeEgressRequest5 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest5
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest6 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest6(v LivekitRoomCompositeEgressRequest6) error
FromLivekitRoomCompositeEgressRequest6 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest6
func (LivekitRoomCompositeEgressRequest) MarshalJSON ¶
func (t LivekitRoomCompositeEgressRequest) MarshalJSON() ([]byte, error)
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
MergeLivekitRoomCompositeEgressRequest0 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest0
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
MergeLivekitRoomCompositeEgressRequest1 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest1
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
MergeLivekitRoomCompositeEgressRequest2 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest2
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
MergeLivekitRoomCompositeEgressRequest3 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest3
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
MergeLivekitRoomCompositeEgressRequest4 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest4
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest5 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest5(v LivekitRoomCompositeEgressRequest5) error
MergeLivekitRoomCompositeEgressRequest5 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest5
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest6 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest6(v LivekitRoomCompositeEgressRequest6) error
MergeLivekitRoomCompositeEgressRequest6 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest6
func (*LivekitRoomCompositeEgressRequest) UnmarshalJSON ¶
func (t *LivekitRoomCompositeEgressRequest) UnmarshalJSON(b []byte) error
type LivekitRoomCompositeEgressRequest0 ¶
type LivekitRoomCompositeEgressRequest0 struct {
Advanced LivekitEncodingOptions `json:"advanced"`
}
LivekitRoomCompositeEgressRequest0 defines model for LivekitRoomCompositeEgressRequest.0.
type LivekitRoomCompositeEgressRequest1 ¶
type LivekitRoomCompositeEgressRequest1 struct {
Preset LivekitEncodingOptionsPreset `json:"preset"`
}
LivekitRoomCompositeEgressRequest1 defines model for LivekitRoomCompositeEgressRequest.1.
type LivekitRoomCompositeEgressRequest2 ¶
type LivekitRoomCompositeEgressRequest2 = interface{}
LivekitRoomCompositeEgressRequest2 defines model for LivekitRoomCompositeEgressRequest.2.
type LivekitRoomCompositeEgressRequest3 ¶
type LivekitRoomCompositeEgressRequest3 struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
File LivekitEncodedFileOutput `json:"file"`
}
LivekitRoomCompositeEgressRequest3 defines model for LivekitRoomCompositeEgressRequest.3.
type LivekitRoomCompositeEgressRequest4 ¶
type LivekitRoomCompositeEgressRequest4 struct {
// Segments Used to generate HLS segments or other kind of segmented output
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Segments LivekitSegmentedFileOutput `json:"segments"`
}
LivekitRoomCompositeEgressRequest4 defines model for LivekitRoomCompositeEgressRequest.4.
type LivekitRoomCompositeEgressRequest5 ¶
type LivekitRoomCompositeEgressRequest5 struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Stream LivekitStreamOutput `json:"stream"`
}
LivekitRoomCompositeEgressRequest5 defines model for LivekitRoomCompositeEgressRequest.5.
type LivekitRoomCompositeEgressRequest6 ¶
type LivekitRoomCompositeEgressRequest6 = interface{}
LivekitRoomCompositeEgressRequest6 defines model for LivekitRoomCompositeEgressRequest.6.
type LivekitRoomConfiguration ¶
type LivekitRoomConfiguration struct {
// Agents Define agents that should be dispatched to this room
Agents *[]LivekitRoomAgentDispatch `json:"agents,omitempty"`
// DepartureTimeout number of seconds to keep the room open after everyone leaves
DepartureTimeout *int `json:"departureTimeout,omitempty"`
// Egress egress
Egress *LivekitRoomEgress `json:"egress,omitempty"`
// EmptyTimeout number of seconds to keep the room open if no one joins
EmptyTimeout *int `json:"emptyTimeout,omitempty"`
// MaxParticipants limit number of participants that can be in a room, excluding Egress and Agent participants
MaxParticipants *int `json:"maxParticipants,omitempty"`
MaxPlayoutDelay *int `json:"maxPlayoutDelay,omitempty"`
// Metadata metadata of room
Metadata *string `json:"metadata,omitempty"`
// MinPlayoutDelay playout delay of subscriber
MinPlayoutDelay *int `json:"minPlayoutDelay,omitempty"`
// Name Used as ID, must be unique
Name *string `json:"name,omitempty"`
// SyncStreams improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
// so not recommended for rooms with frequent subscription changes
SyncStreams *bool `json:"syncStreams,omitempty"`
// Tags Tags to attach to the room
Tags *map[string]string `json:"tags,omitempty"`
}
LivekitRoomConfiguration defines model for livekit.RoomConfiguration.
type LivekitRoomEgress ¶
type LivekitRoomEgress struct {
Participant *LivekitAutoParticipantEgress `json:"participant,omitempty"`
Room *LivekitRoomCompositeEgressRequest `json:"room,omitempty"`
Tracks *LivekitAutoTrackEgress `json:"tracks,omitempty"`
}
LivekitRoomEgress defines model for livekit.RoomEgress.
type LivekitS3Upload ¶
type LivekitS3Upload struct {
AccessKey *string `json:"accessKey,omitempty"`
// AssumeRoleArn ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
AssumeRoleArn *string `json:"assumeRoleArn,omitempty"`
// AssumeRoleExternalId ExternalID to use when assuming role for upload
AssumeRoleExternalId *string `json:"assumeRoleExternalId,omitempty"`
Bucket *string `json:"bucket,omitempty"`
// ContentDisposition Content-Disposition header
ContentDisposition *string `json:"contentDisposition,omitempty"`
Endpoint *string `json:"endpoint,omitempty"`
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
Proxy *LivekitProxyConfig `json:"proxy,omitempty"`
Region *string `json:"region,omitempty"`
Secret *string `json:"secret,omitempty"`
SessionToken *string `json:"sessionToken,omitempty"`
Tagging *string `json:"tagging,omitempty"`
}
LivekitS3Upload defines model for livekit.S3Upload.
type LivekitScenario ¶
type LivekitScenario struct {
AgentExpectations *string `json:"agentExpectations,omitempty"`
Instructions *string `json:"instructions,omitempty"`
Label *string `json:"label,omitempty"`
// Tags Set as participant attributes on the simulation participant's access token.
Tags *map[string]string `json:"tags,omitempty"`
// Userdata Arbitrary JSON-encoded object, surfaced to the agent under test as
// SimulationContext userdata (e.g. inputs and benchmark target state).
Userdata *string `json:"userdata,omitempty"`
}
LivekitScenario A single scenario, mirroring one entry in a scenarios.yaml file. Scenarios
are no longer stored server-side; the yaml file is the source of truth.
type LivekitScenarioGroup ¶
type LivekitScenarioGroup struct {
Name *string `json:"name,omitempty"`
Scenarios *[]LivekitScenario `json:"scenarios,omitempty"`
}
LivekitScenarioGroup A named group of scenarios, mirroring a whole scenarios.yaml file.
type LivekitSegmentedFileOutput ¶
type LivekitSegmentedFileOutput struct {
// DisableManifest disable upload of manifest file (default false)
DisableManifest *bool `json:"disableManifest,omitempty"`
// FilenamePrefix (optional)
FilenamePrefix *string `json:"filenamePrefix,omitempty"`
// FilenameSuffix (optional, default INDEX)
FilenameSuffix *LivekitSegmentedFileSuffix `json:"filenameSuffix,omitempty"`
// LivePlaylistName (optional, disabled if not provided). Path of a live playlist
LivePlaylistName *string `json:"livePlaylistName,omitempty"`
// PlaylistName (optional)
PlaylistName *string `json:"playlistName,omitempty"`
// Protocol (optional)
Protocol *LivekitSegmentedFileProtocol `json:"protocol,omitempty"`
// SegmentDuration in seconds (optional)
SegmentDuration *int `json:"segmentDuration,omitempty"`
// contains filtered or unexported fields
}
LivekitSegmentedFileOutput Used to generate HLS segments or other kind of segmented output
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0() (LivekitSegmentedFileOutput0, error)
AsLivekitSegmentedFileOutput0 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput0
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1() (LivekitSegmentedFileOutput1, error)
AsLivekitSegmentedFileOutput1 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput1
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2() (LivekitSegmentedFileOutput2, error)
AsLivekitSegmentedFileOutput2 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput2
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3() (LivekitSegmentedFileOutput3, error)
AsLivekitSegmentedFileOutput3 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput3
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput4 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput4() (LivekitSegmentedFileOutput4, error)
AsLivekitSegmentedFileOutput4 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput4
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
FromLivekitSegmentedFileOutput0 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput0
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
FromLivekitSegmentedFileOutput1 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput1
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
FromLivekitSegmentedFileOutput2 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput2
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
FromLivekitSegmentedFileOutput3 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput3
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput4 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput4(v LivekitSegmentedFileOutput4) error
FromLivekitSegmentedFileOutput4 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput4
func (LivekitSegmentedFileOutput) MarshalJSON ¶
func (t LivekitSegmentedFileOutput) MarshalJSON() ([]byte, error)
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
MergeLivekitSegmentedFileOutput0 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput0
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
MergeLivekitSegmentedFileOutput1 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput1
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
MergeLivekitSegmentedFileOutput2 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput2
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
MergeLivekitSegmentedFileOutput3 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput3
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput4 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput4(v LivekitSegmentedFileOutput4) error
MergeLivekitSegmentedFileOutput4 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput4
func (*LivekitSegmentedFileOutput) UnmarshalJSON ¶
func (t *LivekitSegmentedFileOutput) UnmarshalJSON(b []byte) error
type LivekitSegmentedFileOutput0 ¶
type LivekitSegmentedFileOutput0 struct {
AliOSS LivekitAliOSSUpload `json:"aliOSS"`
}
LivekitSegmentedFileOutput0 defines model for LivekitSegmentedFileOutput.0.
type LivekitSegmentedFileOutput1 ¶
type LivekitSegmentedFileOutput1 struct {
Azure LivekitAzureBlobUpload `json:"azure"`
}
LivekitSegmentedFileOutput1 defines model for LivekitSegmentedFileOutput.1.
type LivekitSegmentedFileOutput2 ¶
type LivekitSegmentedFileOutput2 struct {
Gcp LivekitGCPUpload `json:"gcp"`
}
LivekitSegmentedFileOutput2 defines model for LivekitSegmentedFileOutput.2.
type LivekitSegmentedFileOutput3 ¶
type LivekitSegmentedFileOutput3 struct {
S3 LivekitS3Upload `json:"s3"`
}
LivekitSegmentedFileOutput3 defines model for LivekitSegmentedFileOutput.3.
type LivekitSegmentedFileOutput4 ¶
type LivekitSegmentedFileOutput4 = interface{}
LivekitSegmentedFileOutput4 defines model for LivekitSegmentedFileOutput.4.
type LivekitSegmentedFileProtocol ¶
type LivekitSegmentedFileProtocol string
LivekitSegmentedFileProtocol defines model for livekit.SegmentedFileProtocol.
const ( DEFAULTSEGMENTEDFILEPROTOCOL LivekitSegmentedFileProtocol = "DEFAULT_SEGMENTED_FILE_PROTOCOL" HLSPROTOCOL LivekitSegmentedFileProtocol = "HLS_PROTOCOL" )
Defines values for LivekitSegmentedFileProtocol.
func (LivekitSegmentedFileProtocol) Valid ¶
func (e LivekitSegmentedFileProtocol) Valid() bool
Valid indicates whether the value is a known member of the LivekitSegmentedFileProtocol enum.
type LivekitSegmentedFileSuffix ¶
type LivekitSegmentedFileSuffix string
LivekitSegmentedFileSuffix defines model for livekit.SegmentedFileSuffix.
const ( INDEX LivekitSegmentedFileSuffix = "INDEX" TIMESTAMP LivekitSegmentedFileSuffix = "TIMESTAMP" )
Defines values for LivekitSegmentedFileSuffix.
func (LivekitSegmentedFileSuffix) Valid ¶
func (e LivekitSegmentedFileSuffix) Valid() bool
Valid indicates whether the value is a known member of the LivekitSegmentedFileSuffix enum.
type LivekitSimulationMode ¶
type LivekitSimulationMode string
LivekitSimulationMode How the simulated user interacts with the agent under test.
const ( SIMULATIONMODEAUDIO LivekitSimulationMode = "SIMULATION_MODE_AUDIO" SIMULATIONMODETEXT LivekitSimulationMode = "SIMULATION_MODE_TEXT" SIMULATIONMODEUNSPECIFIED LivekitSimulationMode = "SIMULATION_MODE_UNSPECIFIED" )
Defines values for LivekitSimulationMode.
func (LivekitSimulationMode) Valid ¶
func (e LivekitSimulationMode) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationMode enum.
type LivekitSimulationRun ¶
type LivekitSimulationRun struct {
AgentDescription *string `json:"agentDescription,omitempty"`
AgentName *string `json:"agentName,omitempty"`
// Concurrency Maximum simulate jobs running in parallel for this run (0 = server default).
Concurrency *int32 `json:"concurrency,omitempty"`
// CreatedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// EndedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
Error *string `json:"error,omitempty"`
FailedCount *int32 `json:"failedCount,omitempty"`
Id *string `json:"id,omitempty"`
JobCount *int32 `json:"jobCount,omitempty"`
Jobs *[]LivekitSimulationRunJob `json:"jobs,omitempty"`
// Metrics Run-level aggregates over this run's jobs.
Metrics *LivekitSimulationRunRunMetrics `json:"metrics,omitempty"`
// Mode Conversation mode for every job in this run; unspecified = TEXT.
Mode *LivekitSimulationMode `json:"mode,omitempty"`
NumSimulations *int32 `json:"numSimulations,omitempty"`
PassedCount *int32 `json:"passedCount,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
// ScenarioGroup A named group of scenarios, mirroring a whole scenarios.yaml file.
ScenarioGroup *LivekitScenarioGroup `json:"scenarioGroup,omitempty"`
Status *LivekitSimulationRunStatus `json:"status,omitempty"`
// SummaryZstd zstd-compressed SimulationRunSummary: decompress, then proto.Unmarshal.
// Compressed by default so the blob ships as-is on every hop.
SummaryZstd *[]byte `json:"summaryZstd,omitempty"`
// Usage Aggregate usage across all jobs in this run (sum of Job.usage).
Usage *LivekitSimulationRunUsage `json:"usage,omitempty"`
}
LivekitSimulationRun defines model for livekit.SimulationRun.
type LivekitSimulationRunCancelResponse ¶
type LivekitSimulationRunCancelResponse = map[string]interface{}
LivekitSimulationRunCancelResponse defines model for livekit.SimulationRun.Cancel.Response.
type LivekitSimulationRunCreateResponse ¶
type LivekitSimulationRunCreateResponse struct {
PresignedPostRequest *LivekitPresignedPostRequest `json:"presignedPostRequest,omitempty"`
SimulationRunId *string `json:"simulationRunId,omitempty"`
}
LivekitSimulationRunCreateResponse defines model for livekit.SimulationRun.Create.Response.
type LivekitSimulationRunGetResponse ¶
type LivekitSimulationRunGetResponse struct {
Run *LivekitSimulationRun `json:"run,omitempty"`
}
LivekitSimulationRunGetResponse defines model for livekit.SimulationRun.Get.Response.
type LivekitSimulationRunJob ¶
type LivekitSimulationRunJob struct {
AgentExpectations *string `json:"agentExpectations,omitempty"`
// EndedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
Error *string `json:"error,omitempty"`
Id *string `json:"id,omitempty"`
Instructions *string `json:"instructions,omitempty"`
Label *string `json:"label,omitempty"`
// Metrics Quality metrics for this job's call. Unset when the job produced none.
Metrics *LivekitSimulationRunJobMetrics `json:"metrics,omitempty"`
RoomId *string `json:"roomId,omitempty"`
RoomName *string `json:"roomName,omitempty"`
// StartedAt A Timestamp represents a point in time independent of any time zone or local
// calendar, encoded as a count of seconds and fractions of seconds at
// nanosecond resolution. The count is relative to an epoch at UTC midnight on
// January 1, 1970, in the proleptic Gregorian calendar which extends the
// Gregorian calendar backwards to year one.
//
// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
// second table is needed for interpretation, using a [24-hour linear
// smear](https://developers.google.com/time/smear).
//
// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
// restricting to that range, we ensure that we can convert to and from [RFC
// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
//
// # Examples
//
// Example 1: Compute Timestamp from POSIX `time()`.
//
// Timestamp timestamp;
// timestamp.set_seconds(time(NULL));
// timestamp.set_nanos(0);
//
// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
//
// struct timeval tv;
// gettimeofday(&tv, NULL);
//
// Timestamp timestamp;
// timestamp.set_seconds(tv.tv_sec);
// timestamp.set_nanos(tv.tv_usec * 1000);
//
// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
//
// FILETIME ft;
// GetSystemTimeAsFileTime(&ft);
// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
//
// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
// Timestamp timestamp;
// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
//
// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
//
// long millis = System.currentTimeMillis();
//
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
// .setNanos((int) ((millis % 1000) * 1000000)).build();
//
// Example 5: Compute Timestamp from Java `Instant.now()`.
//
// Instant now = Instant.now();
//
// Timestamp timestamp =
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
// .setNanos(now.getNano()).build();
//
// Example 6: Compute Timestamp from current time in Python.
//
// timestamp = Timestamp()
// timestamp.GetCurrentTime()
//
// # JSON Mapping
//
// In JSON format, the Timestamp type is encoded as a string in the
// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
// where {year} is always expressed using four digits while {month}, {day},
// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
// is required. A proto3 JSON serializer should always use UTC (as indicated by
// "Z") when printing the Timestamp type and a proto3 JSON parser should be
// able to accept both UTC and other timezones (as indicated by an offset).
//
// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
// 01:30 UTC on January 15, 2017.
//
// In JavaScript, one can convert a Date object to this format using the
// standard
// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
// method. In Python, a standard `datetime.datetime` object can be converted
// to this format using
// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
// ) to obtain a formatter capable of generating timestamps in this format.
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`
Status *LivekitSimulationRunJobStatus `json:"status,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Usage *LivekitSimulationRunJobUsage `json:"usage,omitempty"`
}
LivekitSimulationRunJob defines model for livekit.SimulationRun.Job.
type LivekitSimulationRunJobMetrics ¶
type LivekitSimulationRunJobMetrics struct {
// AccuracyScore Headline scores, 0-1. All absent when the simulator spoiled the call.
AccuracyScore *float32 `json:"accuracyScore,omitempty"`
// Conciseness Judged over the authored dialog (text and audio); needs the text judge. judged {0, 0.5, 1} per agent turn; job = mean
Conciseness *float32 `json:"conciseness,omitempty"`
// Conversation Audio only.
Conversation *LivekitSimulationRunJobMetricsConversation `json:"conversation,omitempty"`
// ConversationProgression 0-1, derived from the flags above
ConversationProgression *float32 `json:"conversationProgression,omitempty"`
ExperienceScore *float32 `json:"experienceScore,omitempty"`
// HasRemoteSession false = waveform-only capture (e.g. SIP)
HasRemoteSession *bool `json:"hasRemoteSession,omitempty"`
InformationLoss *bool `json:"informationLoss,omitempty"`
// JudgeModel text judge for judged scores; "" if none ran
JudgeModel *string `json:"judgeModel,omitempty"`
Llm *LivekitSimulationRunJobMetricsLLM `json:"llm,omitempty"`
PoorQuestionQuality *bool `json:"poorQuestionQuality,omitempty"`
RedundantStatements *bool `json:"redundantStatements,omitempty"`
// Stt The agent's perception of the caller. Audio only.
Stt *LivekitSimulationRunJobMetricsSTT `json:"stt,omitempty"`
// T0 audio only; call start (first speech edge); turn times relative to it
//
// Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
T0 *GoogleProtobufTimestamp `json:"t0,omitempty"`
// TaskCompletion the scenario verdict as 1/0
TaskCompletion *float32 `json:"taskCompletion,omitempty"`
// Tts The agent's voice. Audio only.
Tts *LivekitSimulationRunJobMetricsTTS `json:"tts,omitempty"`
// Turns One entry per turn, both speakers.
Turns *[]LivekitSimulationRunJobMetricsTurn `json:"turns,omitempty"`
// UnnecessaryToolCalls Whole-call issue flags; true = present, absent = not judged.
UnnecessaryToolCalls *bool `json:"unnecessaryToolCalls,omitempty"`
}
LivekitSimulationRunJobMetrics defines model for livekit.SimulationRun.JobMetrics.
type LivekitSimulationRunJobMetricsConversation ¶
type LivekitSimulationRunJobMetricsConversation struct {
// AwkwardSilenceCount gaps past the natural-pause threshold
AwkwardSilenceCount *int `json:"awkwardSilenceCount,omitempty"`
// E2eLatencyMs needs the RemoteSession; the agent's own claim
E2eLatencyMs *int `json:"e2eLatencyMs,omitempty"`
// EotMispredictionCount agent started before the caller's turn ended
EotMispredictionCount *int `json:"eotMispredictionCount,omitempty"`
// FalseInterruptionCount needs the RemoteSession; agent paused for a non-interruption
FalseInterruptionCount *int `json:"falseInterruptionCount,omitempty"`
// HeardE2eLatencyP50Ms floor-transfer offset; a gap is > 0, an overlap < 0
HeardE2eLatencyP50Ms *int32 `json:"heardE2eLatencyP50Ms,omitempty"`
HeardE2eLatencyP95Ms *int32 `json:"heardE2eLatencyP95Ms,omitempty"`
HeardE2eLatencyP99Ms *int32 `json:"heardE2eLatencyP99Ms,omitempty"`
// OverlapRatio overlapping speech / total speech
OverlapRatio *float32 `json:"overlapRatio,omitempty"`
// OverlapSpeechMs pooling stats for overlap_ratio
OverlapSpeechMs *int `json:"overlapSpeechMs,omitempty"`
// TimeToYieldMs agent audio continuing past a barge-in
TimeToYieldMs *int `json:"timeToYieldMs,omitempty"`
TotalSpeechMs *int `json:"totalSpeechMs,omitempty"`
// TurnTakingScore 0-1
TurnTakingScore *float32 `json:"turnTakingScore,omitempty"`
// UnansweredTurns the simulated party spoke, the agent never responded
UnansweredTurns *int `json:"unansweredTurns,omitempty"`
}
LivekitSimulationRunJobMetricsConversation Audio only.
type LivekitSimulationRunJobMetricsLLM ¶
type LivekitSimulationRunJobMetricsLLM struct {
// TokensPerSecond needs the RemoteSession
TokensPerSecond *float32 `json:"tokensPerSecond,omitempty"`
// TtfsMs needs the RemoteSession; time to first sentence, the smallest speakable unit
TtfsMs *int `json:"ttfsMs,omitempty"`
// TtftMs needs the RemoteSession; time to first token
TtftMs *int `json:"ttftMs,omitempty"`
}
LivekitSimulationRunJobMetricsLLM defines model for livekit.SimulationRun.JobMetrics.LLM.
type LivekitSimulationRunJobMetricsSTT ¶
type LivekitSimulationRunJobMetricsSTT struct {
// Cer needs the RemoteSession; char_errors / chars
Cer *float32 `json:"cer,omitempty"`
// CharErrors needs the RemoteSession
CharErrors *int `json:"charErrors,omitempty"`
// Chars needs the RemoteSession
Chars *int `json:"chars,omitempty"`
EntitiesAcquiredRecognized *int `json:"entitiesAcquiredRecognized,omitempty"`
EntitiesAcquiredUttered *int `json:"entitiesAcquiredUttered,omitempty"`
EntitiesRecognized *int `json:"entitiesRecognized,omitempty"`
EntitiesUttered *int `json:"entitiesUttered,omitempty"`
// EntityRecall Retention: an entity is acquired at the first saying heard right, and
// these count only the sayings after that, so recall separates keeping an
// entity from ever getting it. acquired_recognized / acquired_uttered
EntityRecall *float32 `json:"entityRecall,omitempty"`
// EntityRecognition Key entities (names, IDs, amounts) the caller said. Needs the text judge. recognized / uttered
EntityRecognition *float32 `json:"entityRecognition,omitempty"`
// SttDelayMs needs the RemoteSession; agent-reported STT/endpointing delay
SttDelayMs *int `json:"sttDelayMs,omitempty"`
// Wer needs the RemoteSession; word_errors / words
Wer *float32 `json:"wer,omitempty"`
// WordErrors needs the RemoteSession
WordErrors *int `json:"wordErrors,omitempty"`
// Words needs the RemoteSession
Words *int `json:"words,omitempty"`
}
LivekitSimulationRunJobMetricsSTT The agent's perception of the caller. Audio only.
type LivekitSimulationRunJobMetricsTTS ¶
type LivekitSimulationRunJobMetricsTTS struct {
// Cer needs the RemoteSession; char_errors / chars
Cer *float32 `json:"cer,omitempty"`
// CharErrors needs the RemoteSession
CharErrors *int `json:"charErrors,omitempty"`
// Chars needs the RemoteSession
Chars *int `json:"chars,omitempty"`
EntitiesAcquiredRecognized *int `json:"entitiesAcquiredRecognized,omitempty"`
EntitiesAcquiredUttered *int `json:"entitiesAcquiredUttered,omitempty"`
EntitiesRecognized *int `json:"entitiesRecognized,omitempty"`
EntitiesUttered *int `json:"entitiesUttered,omitempty"`
// EntityRecall acquired_recognized / acquired_uttered
EntityRecall *float32 `json:"entityRecall,omitempty"`
// EntityRecognition Key entities the agent said, as the caller heard them. Needs the text judge. recognized / uttered
EntityRecognition *float32 `json:"entityRecognition,omitempty"`
// TtfbMs needs the RemoteSession; provider byte-level TTFB
TtfbMs *int `json:"ttfbMs,omitempty"`
// Wer needs the RemoteSession; word_errors / words
Wer *float32 `json:"wer,omitempty"`
// WordErrors needs the RemoteSession
WordErrors *int `json:"wordErrors,omitempty"`
// Words needs the RemoteSession
Words *int `json:"words,omitempty"`
}
LivekitSimulationRunJobMetricsTTS The agent's voice. Audio only.
type LivekitSimulationRunJobMetricsTurn ¶
type LivekitSimulationRunJobMetricsTurn struct {
AwkwardSilence *bool `json:"awkwardSilence,omitempty"`
// Conciseness needs the text judge
Conciseness *float32 `json:"conciseness,omitempty"`
// E2eLatencyMs needs the RemoteSession
E2eLatencyMs *int `json:"e2eLatencyMs,omitempty"`
// EndMs audio only
EndMs *int `json:"endMs,omitempty"`
EotMisprediction *bool `json:"eotMisprediction,omitempty"`
HeardE2eLatencyMs *int32 `json:"heardE2eLatencyMs,omitempty"`
// Index 1-based, conversation order
Index *int `json:"index,omitempty"`
// LlmTps needs the RemoteSession
LlmTps *float32 `json:"llmTps,omitempty"`
// LlmTtfsMs needs the RemoteSession
LlmTtfsMs *int `json:"llmTtfsMs,omitempty"`
// LlmTtftMs needs the RemoteSession
LlmTtftMs *int `json:"llmTtftMs,omitempty"`
// Role ASSISTANT = the agent under test, USER = simulator persona
Role *LivekitAgentChatRole `json:"role,omitempty"`
// StartMs audio only; relative to t0; unset if the turn could not be aligned to the audio
StartMs *int `json:"startMs,omitempty"`
// SttDelayMs needs the RemoteSession
SttDelayMs *int `json:"sttDelayMs,omitempty"`
TimeToYieldMs *int `json:"timeToYieldMs,omitempty"`
// TtsTtfbMs needs the RemoteSession
TtsTtfbMs *int `json:"ttsTtfbMs,omitempty"`
TurnTakingScore *float32 `json:"turnTakingScore,omitempty"`
Unanswered *bool `json:"unanswered,omitempty"`
}
LivekitSimulationRunJobMetricsTurn Rows exist for text and audio. The groups above hold the means and pools
over these; anything not measured for a turn stays unset.
type LivekitSimulationRunJobStatus ¶
type LivekitSimulationRunJobStatus string
LivekitSimulationRunJobStatus defines model for livekit.SimulationRun.Job.Status.
const ( LivekitSimulationRunJobStatusSTATUSCANCELLED LivekitSimulationRunJobStatus = "STATUS_CANCELLED" LivekitSimulationRunJobStatusSTATUSCOMPLETED LivekitSimulationRunJobStatus = "STATUS_COMPLETED" LivekitSimulationRunJobStatusSTATUSFAILED LivekitSimulationRunJobStatus = "STATUS_FAILED" LivekitSimulationRunJobStatusSTATUSPENDING LivekitSimulationRunJobStatus = "STATUS_PENDING" LivekitSimulationRunJobStatusSTATUSRUNNING LivekitSimulationRunJobStatus = "STATUS_RUNNING" )
Defines values for LivekitSimulationRunJobStatus.
func (LivekitSimulationRunJobStatus) Valid ¶
func (e LivekitSimulationRunJobStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationRunJobStatus enum.
type LivekitSimulationRunJobUsage ¶
type LivekitSimulationRunJobUsage struct {
AudioTurnsCount *int32 `json:"audioTurnsCount,omitempty"`
TextTurnsCount *int32 `json:"textTurnsCount,omitempty"`
}
LivekitSimulationRunJobUsage defines model for livekit.SimulationRun.Job.Usage.
type LivekitSimulationRunListResponse ¶
type LivekitSimulationRunListResponse struct {
NextPageToken *LivekitTokenPagination `json:"nextPageToken,omitempty"`
Runs *[]LivekitSimulationRun `json:"runs,omitempty"`
}
LivekitSimulationRunListResponse defines model for livekit.SimulationRun.List.Response.
type LivekitSimulationRunRunMetrics ¶
type LivekitSimulationRunRunMetrics struct {
// AccuracyScore mean over scored jobs
AccuracyScore *float32 `json:"accuracyScore,omitempty"`
// Conversation Audio only.
Conversation *LivekitSimulationRunJobMetricsConversation `json:"conversation,omitempty"`
ExperienceScore *float32 `json:"experienceScore,omitempty"`
Llm *LivekitSimulationRunJobMetricsLLM `json:"llm,omitempty"`
// ScenarioPassRate share of jobs whose scenario verdict passed
ScenarioPassRate *float32 `json:"scenarioPassRate,omitempty"`
// Stt The agent's perception of the caller. Audio only.
Stt *LivekitSimulationRunJobMetricsSTT `json:"stt,omitempty"`
// Tts The agent's voice. Audio only.
Tts *LivekitSimulationRunJobMetricsTTS `json:"tts,omitempty"`
}
LivekitSimulationRunRunMetrics Aggregates over this run's jobs, so a run summary does not have to pull
every job and turn. Reuses the JobMetrics group shapes.
type LivekitSimulationRunStatus ¶
type LivekitSimulationRunStatus string
LivekitSimulationRunStatus defines model for livekit.SimulationRun.Status.
const ( LivekitSimulationRunStatusSTATUSCANCELLED LivekitSimulationRunStatus = "STATUS_CANCELLED" LivekitSimulationRunStatusSTATUSCOMPLETED LivekitSimulationRunStatus = "STATUS_COMPLETED" LivekitSimulationRunStatusSTATUSFAILED LivekitSimulationRunStatus = "STATUS_FAILED" LivekitSimulationRunStatusSTATUSGENERATING LivekitSimulationRunStatus = "STATUS_GENERATING" LivekitSimulationRunStatusSTATUSPENDINGUPLOAD LivekitSimulationRunStatus = "STATUS_PENDING_UPLOAD" LivekitSimulationRunStatusSTATUSRUNNING LivekitSimulationRunStatus = "STATUS_RUNNING" LivekitSimulationRunStatusSTATUSSUMMARIZING LivekitSimulationRunStatus = "STATUS_SUMMARIZING" )
Defines values for LivekitSimulationRunStatus.
func (LivekitSimulationRunStatus) Valid ¶
func (e LivekitSimulationRunStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationRunStatus enum.
type LivekitSimulationRunUsage ¶
type LivekitSimulationRunUsage struct {
AudioTurnsCount *int32 `json:"audioTurnsCount,omitempty"`
TextTurnsCount *int32 `json:"textTurnsCount,omitempty"`
}
LivekitSimulationRunUsage defines model for livekit.SimulationRun.Usage.
type LivekitStreamOutput ¶
type LivekitStreamOutput struct {
// Protocol required
Protocol *LivekitStreamProtocol `json:"protocol,omitempty"`
// Urls required
Urls *[]string `json:"urls,omitempty"`
}
LivekitStreamOutput defines model for livekit.StreamOutput.
type LivekitStreamProtocol ¶
type LivekitStreamProtocol string
LivekitStreamProtocol defines model for livekit.StreamProtocol.
const ( DEFAULTPROTOCOL LivekitStreamProtocol = "DEFAULT_PROTOCOL" RTMP LivekitStreamProtocol = "RTMP" SRT LivekitStreamProtocol = "SRT" WEBSOCKET LivekitStreamProtocol = "WEBSOCKET" )
Defines values for LivekitStreamProtocol.
func (LivekitStreamProtocol) Valid ¶
func (e LivekitStreamProtocol) Valid() bool
Valid indicates whether the value is a known member of the LivekitStreamProtocol enum.
type LivekitTokenPagination ¶
type LivekitTokenPagination struct {
Token *string `json:"token,omitempty"`
}
LivekitTokenPagination defines model for livekit.TokenPagination.
type LivekitVideoCodec ¶
type LivekitVideoCodec string
LivekitVideoCodec defines model for livekit.VideoCodec.
const ( DEFAULTVC LivekitVideoCodec = "DEFAULT_VC" H264BASELINE LivekitVideoCodec = "H264_BASELINE" H264HIGH LivekitVideoCodec = "H264_HIGH" H264MAIN LivekitVideoCodec = "H264_MAIN" VP8 LivekitVideoCodec = "VP8" )
Defines values for LivekitVideoCodec.
func (LivekitVideoCodec) Valid ¶
func (e LivekitVideoCodec) Valid() bool
Valid indicates whether the value is a known member of the LivekitVideoCodec enum.
type LivekitWebhookConfig ¶
type LivekitWebhookConfig struct {
FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
SigningKey *string `json:"signingKey,omitempty"`
Url *string `json:"url,omitempty"`
}
LivekitWebhookConfig defines model for livekit.WebhookConfig.
type ProjectServiceAddWorkspaceMembersToProjectJSONBody ¶
type ProjectServiceAddWorkspaceMembersToProjectJSONBody struct {
Role *int32 `json:"role,omitempty"`
UserIds *[]string `json:"userIds,omitempty"`
}
ProjectServiceAddWorkspaceMembersToProjectJSONBody defines parameters for ProjectServiceAddWorkspaceMembersToProject.
type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody ¶
type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody ProjectServiceAddWorkspaceMembersToProjectJSONBody
ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody defines body for ProjectServiceAddWorkspaceMembersToProject for application/json ContentType.
type ProjectServiceAddWorkspaceMembersToProjectResponse ¶
type ProjectServiceAddWorkspaceMembersToProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
}
func ParseProjectServiceAddWorkspaceMembersToProjectResponse ¶
func ParseProjectServiceAddWorkspaceMembersToProjectResponse(rsp *http.Response) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
ParseProjectServiceAddWorkspaceMembersToProjectResponse parses an HTTP response from a ProjectServiceAddWorkspaceMembersToProjectWithResponse call
func (ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200 ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceAddWorkspaceMembersToProjectResponse) Status ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceAnswerInvitationJSONBody ¶
type ProjectServiceAnswerInvitationJSONBody struct {
Accept *bool `json:"accept,omitempty"`
}
ProjectServiceAnswerInvitationJSONBody defines parameters for ProjectServiceAnswerInvitation.
type ProjectServiceAnswerInvitationJSONRequestBody ¶
type ProjectServiceAnswerInvitationJSONRequestBody ProjectServiceAnswerInvitationJSONBody
ProjectServiceAnswerInvitationJSONRequestBody defines body for ProjectServiceAnswerInvitation for application/json ContentType.
type ProjectServiceAnswerInvitationResponse ¶
type ProjectServiceAnswerInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1AnswerInvitationResponse
}
func ParseProjectServiceAnswerInvitationResponse ¶
func ParseProjectServiceAnswerInvitationResponse(rsp *http.Response) (*ProjectServiceAnswerInvitationResponse, error)
ParseProjectServiceAnswerInvitationResponse parses an HTTP response from a ProjectServiceAnswerInvitationWithResponse call
func (ProjectServiceAnswerInvitationResponse) ContentType ¶
func (r ProjectServiceAnswerInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceAnswerInvitationResponse) GetBody ¶
func (r ProjectServiceAnswerInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceAnswerInvitationResponse) GetJSON200 ¶
func (r ProjectServiceAnswerInvitationResponse) GetJSON200() *LivekitPublicapiProjectsV1AnswerInvitationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceAnswerInvitationResponse) Status ¶
func (r ProjectServiceAnswerInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceAnswerInvitationResponse) StatusCode ¶
func (r ProjectServiceAnswerInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceCreateProjectJSONRequestBody ¶
type ProjectServiceCreateProjectJSONRequestBody = LivekitPublicapiProjectsV1CreateProjectRequest
ProjectServiceCreateProjectJSONRequestBody defines body for ProjectServiceCreateProject for application/json ContentType.
type ProjectServiceCreateProjectResponse ¶
type ProjectServiceCreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1CreateProjectResponse
}
func ParseProjectServiceCreateProjectResponse ¶
func ParseProjectServiceCreateProjectResponse(rsp *http.Response) (*ProjectServiceCreateProjectResponse, error)
ParseProjectServiceCreateProjectResponse parses an HTTP response from a ProjectServiceCreateProjectWithResponse call
func (ProjectServiceCreateProjectResponse) ContentType ¶
func (r ProjectServiceCreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceCreateProjectResponse) GetBody ¶
func (r ProjectServiceCreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceCreateProjectResponse) GetJSON200 ¶
func (r ProjectServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceCreateProjectResponse) Status ¶
func (r ProjectServiceCreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceCreateProjectResponse) StatusCode ¶
func (r ProjectServiceCreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceDeleteInviteResponse ¶
type ProjectServiceDeleteInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteInviteResponse
}
func ParseProjectServiceDeleteInviteResponse ¶
func ParseProjectServiceDeleteInviteResponse(rsp *http.Response) (*ProjectServiceDeleteInviteResponse, error)
ParseProjectServiceDeleteInviteResponse parses an HTTP response from a ProjectServiceDeleteInviteWithResponse call
func (ProjectServiceDeleteInviteResponse) ContentType ¶
func (r ProjectServiceDeleteInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceDeleteInviteResponse) GetBody ¶
func (r ProjectServiceDeleteInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceDeleteInviteResponse) GetJSON200 ¶
func (r ProjectServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceDeleteInviteResponse) Status ¶
func (r ProjectServiceDeleteInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceDeleteInviteResponse) StatusCode ¶
func (r ProjectServiceDeleteInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceDeleteProjectResponse ¶
type ProjectServiceDeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteProjectResponse
}
func ParseProjectServiceDeleteProjectResponse ¶
func ParseProjectServiceDeleteProjectResponse(rsp *http.Response) (*ProjectServiceDeleteProjectResponse, error)
ParseProjectServiceDeleteProjectResponse parses an HTTP response from a ProjectServiceDeleteProjectWithResponse call
func (ProjectServiceDeleteProjectResponse) ContentType ¶
func (r ProjectServiceDeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceDeleteProjectResponse) GetBody ¶
func (r ProjectServiceDeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceDeleteProjectResponse) GetJSON200 ¶
func (r ProjectServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceDeleteProjectResponse) Status ¶
func (r ProjectServiceDeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceDeleteProjectResponse) StatusCode ¶
func (r ProjectServiceDeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGetInviteResponse ¶
type ProjectServiceGetInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetInviteResponse
}
func ParseProjectServiceGetInviteResponse ¶
func ParseProjectServiceGetInviteResponse(rsp *http.Response) (*ProjectServiceGetInviteResponse, error)
ParseProjectServiceGetInviteResponse parses an HTTP response from a ProjectServiceGetInviteWithResponse call
func (ProjectServiceGetInviteResponse) ContentType ¶
func (r ProjectServiceGetInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGetInviteResponse) GetBody ¶
func (r ProjectServiceGetInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGetInviteResponse) GetJSON200 ¶
func (r ProjectServiceGetInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1GetInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGetInviteResponse) Status ¶
func (r ProjectServiceGetInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGetInviteResponse) StatusCode ¶
func (r ProjectServiceGetInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGetMemberResponse ¶
type ProjectServiceGetMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetMemberResponse
}
func ParseProjectServiceGetMemberResponse ¶
func ParseProjectServiceGetMemberResponse(rsp *http.Response) (*ProjectServiceGetMemberResponse, error)
ParseProjectServiceGetMemberResponse parses an HTTP response from a ProjectServiceGetMemberWithResponse call
func (ProjectServiceGetMemberResponse) ContentType ¶
func (r ProjectServiceGetMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGetMemberResponse) GetBody ¶
func (r ProjectServiceGetMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGetMemberResponse) GetJSON200 ¶
func (r ProjectServiceGetMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1GetMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGetMemberResponse) Status ¶
func (r ProjectServiceGetMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGetMemberResponse) StatusCode ¶
func (r ProjectServiceGetMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGetProjectResponse ¶
type ProjectServiceGetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetProjectResponse
}
func ParseProjectServiceGetProjectResponse ¶
func ParseProjectServiceGetProjectResponse(rsp *http.Response) (*ProjectServiceGetProjectResponse, error)
ParseProjectServiceGetProjectResponse parses an HTTP response from a ProjectServiceGetProjectWithResponse call
func (ProjectServiceGetProjectResponse) ContentType ¶
func (r ProjectServiceGetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGetProjectResponse) GetBody ¶
func (r ProjectServiceGetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGetProjectResponse) GetJSON200 ¶
func (r ProjectServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGetProjectResponse) Status ¶
func (r ProjectServiceGetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGetProjectResponse) StatusCode ¶
func (r ProjectServiceGetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceInviteMemberJSONBody ¶
type ProjectServiceInviteMemberJSONBody struct {
Email *string `json:"email,omitempty"`
Role *int32 `json:"role,omitempty"`
}
ProjectServiceInviteMemberJSONBody defines parameters for ProjectServiceInviteMember.
type ProjectServiceInviteMemberJSONRequestBody ¶
type ProjectServiceInviteMemberJSONRequestBody ProjectServiceInviteMemberJSONBody
ProjectServiceInviteMemberJSONRequestBody defines body for ProjectServiceInviteMember for application/json ContentType.
type ProjectServiceInviteMemberResponse ¶
type ProjectServiceInviteMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1InviteMemberResponse
}
func ParseProjectServiceInviteMemberResponse ¶
func ParseProjectServiceInviteMemberResponse(rsp *http.Response) (*ProjectServiceInviteMemberResponse, error)
ParseProjectServiceInviteMemberResponse parses an HTTP response from a ProjectServiceInviteMemberWithResponse call
func (ProjectServiceInviteMemberResponse) ContentType ¶
func (r ProjectServiceInviteMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceInviteMemberResponse) GetBody ¶
func (r ProjectServiceInviteMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceInviteMemberResponse) GetJSON200 ¶
func (r ProjectServiceInviteMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1InviteMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceInviteMemberResponse) Status ¶
func (r ProjectServiceInviteMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceInviteMemberResponse) StatusCode ¶
func (r ProjectServiceInviteMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListInvitesResponse ¶
type ProjectServiceListInvitesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListInvitesResponse
}
func ParseProjectServiceListInvitesResponse ¶
func ParseProjectServiceListInvitesResponse(rsp *http.Response) (*ProjectServiceListInvitesResponse, error)
ParseProjectServiceListInvitesResponse parses an HTTP response from a ProjectServiceListInvitesWithResponse call
func (ProjectServiceListInvitesResponse) ContentType ¶
func (r ProjectServiceListInvitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListInvitesResponse) GetBody ¶
func (r ProjectServiceListInvitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListInvitesResponse) GetJSON200 ¶
func (r ProjectServiceListInvitesResponse) GetJSON200() *LivekitPublicapiProjectsV1ListInvitesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListInvitesResponse) Status ¶
func (r ProjectServiceListInvitesResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListInvitesResponse) StatusCode ¶
func (r ProjectServiceListInvitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListMembersResponse ¶
type ProjectServiceListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListMembersResponse
}
func ParseProjectServiceListMembersResponse ¶
func ParseProjectServiceListMembersResponse(rsp *http.Response) (*ProjectServiceListMembersResponse, error)
ParseProjectServiceListMembersResponse parses an HTTP response from a ProjectServiceListMembersWithResponse call
func (ProjectServiceListMembersResponse) ContentType ¶
func (r ProjectServiceListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListMembersResponse) GetBody ¶
func (r ProjectServiceListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListMembersResponse) GetJSON200 ¶
func (r ProjectServiceListMembersResponse) GetJSON200() *LivekitPublicapiProjectsV1ListMembersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListMembersResponse) Status ¶
func (r ProjectServiceListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListMembersResponse) StatusCode ¶
func (r ProjectServiceListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListProjectsParams ¶
type ProjectServiceListProjectsParams struct {
// PageCursor Opaque cursor returned by a prior page (PageInfo.next_cursor). Empty starts
// from the beginning.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize Maximum items to return; 0 lets the server pick a default.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// WorkspaceId Mutually exclusive: only one of workspace_id or member_id can be set
// if workspace_id is set, list projects for the workspace
WorkspaceId *string `form:"workspaceId,omitempty" json:"workspaceId,omitempty"`
// MemberId if member_id is set, list projects for the member
MemberId *string `form:"memberId,omitempty" json:"memberId,omitempty"`
}
ProjectServiceListProjectsParams defines parameters for ProjectServiceListProjects.
type ProjectServiceListProjectsResponse ¶
type ProjectServiceListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListProjectsResponse
}
func ParseProjectServiceListProjectsResponse ¶
func ParseProjectServiceListProjectsResponse(rsp *http.Response) (*ProjectServiceListProjectsResponse, error)
ParseProjectServiceListProjectsResponse parses an HTTP response from a ProjectServiceListProjectsWithResponse call
func (ProjectServiceListProjectsResponse) ContentType ¶
func (r ProjectServiceListProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListProjectsResponse) GetBody ¶
func (r ProjectServiceListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListProjectsResponse) GetJSON200 ¶
func (r ProjectServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListProjectsResponse) Status ¶
func (r ProjectServiceListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListProjectsResponse) StatusCode ¶
func (r ProjectServiceListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceRemoveMemberResponse ¶
type ProjectServiceRemoveMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1RemoveMemberResponse
}
func ParseProjectServiceRemoveMemberResponse ¶
func ParseProjectServiceRemoveMemberResponse(rsp *http.Response) (*ProjectServiceRemoveMemberResponse, error)
ParseProjectServiceRemoveMemberResponse parses an HTTP response from a ProjectServiceRemoveMemberWithResponse call
func (ProjectServiceRemoveMemberResponse) ContentType ¶
func (r ProjectServiceRemoveMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceRemoveMemberResponse) GetBody ¶
func (r ProjectServiceRemoveMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceRemoveMemberResponse) GetJSON200 ¶
func (r ProjectServiceRemoveMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1RemoveMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceRemoveMemberResponse) Status ¶
func (r ProjectServiceRemoveMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceRemoveMemberResponse) StatusCode ¶
func (r ProjectServiceRemoveMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateInviteJSONBody ¶
type ProjectServiceUpdateInviteJSONBody struct {
Role *int32 `json:"role,omitempty"`
}
ProjectServiceUpdateInviteJSONBody defines parameters for ProjectServiceUpdateInvite.
type ProjectServiceUpdateInviteJSONRequestBody ¶
type ProjectServiceUpdateInviteJSONRequestBody ProjectServiceUpdateInviteJSONBody
ProjectServiceUpdateInviteJSONRequestBody defines body for ProjectServiceUpdateInvite for application/json ContentType.
type ProjectServiceUpdateInviteResponse ¶
type ProjectServiceUpdateInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateInviteResponse
}
func ParseProjectServiceUpdateInviteResponse ¶
func ParseProjectServiceUpdateInviteResponse(rsp *http.Response) (*ProjectServiceUpdateInviteResponse, error)
ParseProjectServiceUpdateInviteResponse parses an HTTP response from a ProjectServiceUpdateInviteWithResponse call
func (ProjectServiceUpdateInviteResponse) ContentType ¶
func (r ProjectServiceUpdateInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateInviteResponse) GetBody ¶
func (r ProjectServiceUpdateInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateInviteResponse) GetJSON200 ¶
func (r ProjectServiceUpdateInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateInviteResponse) Status ¶
func (r ProjectServiceUpdateInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateInviteResponse) StatusCode ¶
func (r ProjectServiceUpdateInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateMemberJSONBody ¶
type ProjectServiceUpdateMemberJSONBody struct {
Role *int32 `json:"role,omitempty"`
}
ProjectServiceUpdateMemberJSONBody defines parameters for ProjectServiceUpdateMember.
type ProjectServiceUpdateMemberJSONRequestBody ¶
type ProjectServiceUpdateMemberJSONRequestBody ProjectServiceUpdateMemberJSONBody
ProjectServiceUpdateMemberJSONRequestBody defines body for ProjectServiceUpdateMember for application/json ContentType.
type ProjectServiceUpdateMemberResponse ¶
type ProjectServiceUpdateMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateMemberResponse
}
func ParseProjectServiceUpdateMemberResponse ¶
func ParseProjectServiceUpdateMemberResponse(rsp *http.Response) (*ProjectServiceUpdateMemberResponse, error)
ParseProjectServiceUpdateMemberResponse parses an HTTP response from a ProjectServiceUpdateMemberWithResponse call
func (ProjectServiceUpdateMemberResponse) ContentType ¶
func (r ProjectServiceUpdateMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateMemberResponse) GetBody ¶
func (r ProjectServiceUpdateMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateMemberResponse) GetJSON200 ¶
func (r ProjectServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateMemberResponse) Status ¶
func (r ProjectServiceUpdateMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateMemberResponse) StatusCode ¶
func (r ProjectServiceUpdateMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateProjectJSONBody ¶
type ProjectServiceUpdateProjectJSONBody struct {
CustomDomain *string `json:"customDomain,omitempty"`
DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`
DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`
// EgressClusterId LK-admin only
EgressClusterId *string `json:"egressClusterId,omitempty"`
EnableAnalytics *bool `json:"enableAnalytics,omitempty"`
EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`
EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`
EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`
// EnableHostedAgents LK-admin only
EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`
EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`
EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`
EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`
EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`
EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`
FeatureFlags *map[string]string `json:"featureFlags,omitempty"`
// HideOnboarding Preferences (flat, matching cloud-api UpdateProjectRequest).
HideOnboarding *bool `json:"hideOnboarding,omitempty"`
HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
IsPrivate *bool `json:"isPrivate,omitempty"`
JoinableByDomain *bool `json:"joinableByDomain,omitempty"`
// Members Used when becoming private: explicit member set (actor kept as ADMIN).
Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
// PiiRedactionCategories Non-empty list replaces the stored set (validated via Canonical).
// Empty is ignored (cannot clear). When enabling with nothing stored,
// defaults are applied server-side — same as cloud-api UpdateProject.
PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`
// PinnedRegions SFU/datacenter region pins. Unset leaves them unchanged; a set message
// replaces the stored set, so an empty regions list clears the pins (same
// shape as cloud AdminPinnedRegions). Distinct from user_data_region.
PinnedRegions *LivekitPublicapiProjectsV1PinnedRegions `json:"pinnedRegions,omitempty"`
RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`
RoomConfigsToDelete *[]string `json:"roomConfigsToDelete,omitempty"`
// RoomConfigsToUpsert RoomConfiguration management (stored on project preferences).
RoomConfigsToUpsert *[]LivekitRoomConfiguration `json:"roomConfigsToUpsert,omitempty"`
SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`
Subdomain *string `json:"subdomain,omitempty"`
TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
UserDataRegion *string `json:"userDataRegion,omitempty"`
}
ProjectServiceUpdateProjectJSONBody defines parameters for ProjectServiceUpdateProject.
type ProjectServiceUpdateProjectJSONRequestBody ¶
type ProjectServiceUpdateProjectJSONRequestBody ProjectServiceUpdateProjectJSONBody
ProjectServiceUpdateProjectJSONRequestBody defines body for ProjectServiceUpdateProject for application/json ContentType.
type ProjectServiceUpdateProjectResponse ¶
type ProjectServiceUpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateProjectResponse
}
func ParseProjectServiceUpdateProjectResponse ¶
func ParseProjectServiceUpdateProjectResponse(rsp *http.Response) (*ProjectServiceUpdateProjectResponse, error)
ParseProjectServiceUpdateProjectResponse parses an HTTP response from a ProjectServiceUpdateProjectWithResponse call
func (ProjectServiceUpdateProjectResponse) ContentType ¶
func (r ProjectServiceUpdateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateProjectResponse) GetBody ¶
func (r ProjectServiceUpdateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateProjectResponse) GetJSON200 ¶
func (r ProjectServiceUpdateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateProjectResponse) Status ¶
func (r ProjectServiceUpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateProjectResponse) StatusCode ¶
func (r ProjectServiceUpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SimulationServiceCancelSimulationRunResponse ¶
type SimulationServiceCancelSimulationRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitSimulationRunCancelResponse
}
func ParseSimulationServiceCancelSimulationRunResponse ¶
func ParseSimulationServiceCancelSimulationRunResponse(rsp *http.Response) (*SimulationServiceCancelSimulationRunResponse, error)
ParseSimulationServiceCancelSimulationRunResponse parses an HTTP response from a SimulationServiceCancelSimulationRunWithResponse call
func (SimulationServiceCancelSimulationRunResponse) ContentType ¶
func (r SimulationServiceCancelSimulationRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceCancelSimulationRunResponse) GetBody ¶
func (r SimulationServiceCancelSimulationRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceCancelSimulationRunResponse) GetJSON200 ¶
func (r SimulationServiceCancelSimulationRunResponse) GetJSON200() *LivekitSimulationRunCancelResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceCancelSimulationRunResponse) Status ¶
func (r SimulationServiceCancelSimulationRunResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceCancelSimulationRunResponse) StatusCode ¶
func (r SimulationServiceCancelSimulationRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceCreateSimulationRunJSONBody ¶
type SimulationServiceCreateSimulationRunJSONBody struct {
AgentName *string `json:"agentName,omitempty"`
// Concurrency Maximum simulate jobs running in parallel for this run. Clamped to the
// project's concurrency quota; 0/unset uses the server default.
Concurrency *int32 `json:"concurrency,omitempty"`
// Mode Conversation mode for every job in this run; unspecified = TEXT.
Mode *LivekitSimulationMode `json:"mode,omitempty"`
NumSimulations *int32 `json:"numSimulations,omitempty"`
Region *string `json:"region,omitempty"`
// ScenarioGroup When set, run these scenarios (loaded from a scenarios.yaml).
// When unset, generate num_simulations scenarios from the uploaded agent source.
ScenarioGroup *LivekitScenarioGroup `json:"scenarioGroup,omitempty"`
}
SimulationServiceCreateSimulationRunJSONBody defines parameters for SimulationServiceCreateSimulationRun.
type SimulationServiceCreateSimulationRunJSONRequestBody ¶
type SimulationServiceCreateSimulationRunJSONRequestBody SimulationServiceCreateSimulationRunJSONBody
SimulationServiceCreateSimulationRunJSONRequestBody defines body for SimulationServiceCreateSimulationRun for application/json ContentType.
type SimulationServiceCreateSimulationRunResponse ¶
type SimulationServiceCreateSimulationRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitSimulationRunCreateResponse
}
func ParseSimulationServiceCreateSimulationRunResponse ¶
func ParseSimulationServiceCreateSimulationRunResponse(rsp *http.Response) (*SimulationServiceCreateSimulationRunResponse, error)
ParseSimulationServiceCreateSimulationRunResponse parses an HTTP response from a SimulationServiceCreateSimulationRunWithResponse call
func (SimulationServiceCreateSimulationRunResponse) ContentType ¶
func (r SimulationServiceCreateSimulationRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceCreateSimulationRunResponse) GetBody ¶
func (r SimulationServiceCreateSimulationRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceCreateSimulationRunResponse) GetJSON200 ¶
func (r SimulationServiceCreateSimulationRunResponse) GetJSON200() *LivekitSimulationRunCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceCreateSimulationRunResponse) Status ¶
func (r SimulationServiceCreateSimulationRunResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceCreateSimulationRunResponse) StatusCode ¶
func (r SimulationServiceCreateSimulationRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceGetSimulationRunResponse ¶
type SimulationServiceGetSimulationRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitSimulationRunGetResponse
}
func ParseSimulationServiceGetSimulationRunResponse ¶
func ParseSimulationServiceGetSimulationRunResponse(rsp *http.Response) (*SimulationServiceGetSimulationRunResponse, error)
ParseSimulationServiceGetSimulationRunResponse parses an HTTP response from a SimulationServiceGetSimulationRunWithResponse call
func (SimulationServiceGetSimulationRunResponse) ContentType ¶
func (r SimulationServiceGetSimulationRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceGetSimulationRunResponse) GetBody ¶
func (r SimulationServiceGetSimulationRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceGetSimulationRunResponse) GetJSON200 ¶
func (r SimulationServiceGetSimulationRunResponse) GetJSON200() *LivekitSimulationRunGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceGetSimulationRunResponse) Status ¶
func (r SimulationServiceGetSimulationRunResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceGetSimulationRunResponse) StatusCode ¶
func (r SimulationServiceGetSimulationRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceListSimulationRunsParams ¶
type SimulationServiceListSimulationRunsParams struct {
Status *LivekitSimulationRunStatus `form:"status,omitempty" json:"status,omitempty"`
PageTokenToken *string `form:"pageToken.token,omitempty" json:"pageToken.token,omitempty"`
}
SimulationServiceListSimulationRunsParams defines parameters for SimulationServiceListSimulationRuns.
type SimulationServiceListSimulationRunsResponse ¶
type SimulationServiceListSimulationRunsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitSimulationRunListResponse
}
func ParseSimulationServiceListSimulationRunsResponse ¶
func ParseSimulationServiceListSimulationRunsResponse(rsp *http.Response) (*SimulationServiceListSimulationRunsResponse, error)
ParseSimulationServiceListSimulationRunsResponse parses an HTTP response from a SimulationServiceListSimulationRunsWithResponse call
func (SimulationServiceListSimulationRunsResponse) ContentType ¶
func (r SimulationServiceListSimulationRunsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceListSimulationRunsResponse) GetBody ¶
func (r SimulationServiceListSimulationRunsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceListSimulationRunsResponse) GetJSON200 ¶
func (r SimulationServiceListSimulationRunsResponse) GetJSON200() *LivekitSimulationRunListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceListSimulationRunsResponse) Status ¶
func (r SimulationServiceListSimulationRunsResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceListSimulationRunsResponse) StatusCode ¶
func (r SimulationServiceListSimulationRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceGetCurrentUserResponse ¶
type UserServiceGetCurrentUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1GetCurrentUserResponse
}
func ParseUserServiceGetCurrentUserResponse ¶
func ParseUserServiceGetCurrentUserResponse(rsp *http.Response) (*UserServiceGetCurrentUserResponse, error)
ParseUserServiceGetCurrentUserResponse parses an HTTP response from a UserServiceGetCurrentUserWithResponse call
func (UserServiceGetCurrentUserResponse) ContentType ¶
func (r UserServiceGetCurrentUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceGetCurrentUserResponse) GetBody ¶
func (r UserServiceGetCurrentUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceGetCurrentUserResponse) GetJSON200 ¶
func (r UserServiceGetCurrentUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetCurrentUserResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceGetCurrentUserResponse) Status ¶
func (r UserServiceGetCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceGetCurrentUserResponse) StatusCode ¶
func (r UserServiceGetCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceGetUserResponse ¶
type UserServiceGetUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1GetUserResponse
}
func ParseUserServiceGetUserResponse ¶
func ParseUserServiceGetUserResponse(rsp *http.Response) (*UserServiceGetUserResponse, error)
ParseUserServiceGetUserResponse parses an HTTP response from a UserServiceGetUserWithResponse call
func (UserServiceGetUserResponse) ContentType ¶
func (r UserServiceGetUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceGetUserResponse) GetBody ¶
func (r UserServiceGetUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceGetUserResponse) GetJSON200 ¶
func (r UserServiceGetUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetUserResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceGetUserResponse) Status ¶
func (r UserServiceGetUserResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceGetUserResponse) StatusCode ¶
func (r UserServiceGetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceListUsersParams ¶
type UserServiceListUsersParams struct {
// PageCursor Opaque cursor returned by a prior page (PageInfo.next_cursor). Empty starts
// from the beginning.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize Maximum items to return; 0 lets the server pick a default.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// ProjectId At least one of project_id or workspace_id is required.
// If both are set, project_id must belong to workspace_id; members are
// the project's members.
ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
WorkspaceId *string `form:"workspaceId,omitempty" json:"workspaceId,omitempty"`
}
UserServiceListUsersParams defines parameters for UserServiceListUsers.
type UserServiceListUsersResponse ¶
type UserServiceListUsersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1ListUsersResponse
}
func ParseUserServiceListUsersResponse ¶
func ParseUserServiceListUsersResponse(rsp *http.Response) (*UserServiceListUsersResponse, error)
ParseUserServiceListUsersResponse parses an HTTP response from a UserServiceListUsersWithResponse call
func (UserServiceListUsersResponse) ContentType ¶
func (r UserServiceListUsersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceListUsersResponse) GetBody ¶
func (r UserServiceListUsersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceListUsersResponse) GetJSON200 ¶
func (r UserServiceListUsersResponse) GetJSON200() *LivekitPublicapiUsersV1ListUsersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceListUsersResponse) Status ¶
func (r UserServiceListUsersResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceListUsersResponse) StatusCode ¶
func (r UserServiceListUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceAnswerInviteJSONBody ¶
type WorkspaceServiceAnswerInviteJSONBody struct {
Accept *bool `json:"accept,omitempty"`
}
WorkspaceServiceAnswerInviteJSONBody defines parameters for WorkspaceServiceAnswerInvite.
type WorkspaceServiceAnswerInviteJSONRequestBody ¶
type WorkspaceServiceAnswerInviteJSONRequestBody WorkspaceServiceAnswerInviteJSONBody
WorkspaceServiceAnswerInviteJSONRequestBody defines body for WorkspaceServiceAnswerInvite for application/json ContentType.
type WorkspaceServiceAnswerInviteResponse ¶
type WorkspaceServiceAnswerInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1AnswerInviteResponse
}
func ParseWorkspaceServiceAnswerInviteResponse ¶
func ParseWorkspaceServiceAnswerInviteResponse(rsp *http.Response) (*WorkspaceServiceAnswerInviteResponse, error)
ParseWorkspaceServiceAnswerInviteResponse parses an HTTP response from a WorkspaceServiceAnswerInviteWithResponse call
func (WorkspaceServiceAnswerInviteResponse) ContentType ¶
func (r WorkspaceServiceAnswerInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceAnswerInviteResponse) GetBody ¶
func (r WorkspaceServiceAnswerInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceAnswerInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceAnswerInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1AnswerInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceAnswerInviteResponse) Status ¶
func (r WorkspaceServiceAnswerInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceAnswerInviteResponse) StatusCode ¶
func (r WorkspaceServiceAnswerInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceCreateInviteJSONBody ¶
type WorkspaceServiceCreateInviteJSONBody struct {
Email *string `json:"email,omitempty"`
Role *int32 `json:"role,omitempty"`
}
WorkspaceServiceCreateInviteJSONBody defines parameters for WorkspaceServiceCreateInvite.
type WorkspaceServiceCreateInviteJSONRequestBody ¶
type WorkspaceServiceCreateInviteJSONRequestBody WorkspaceServiceCreateInviteJSONBody
WorkspaceServiceCreateInviteJSONRequestBody defines body for WorkspaceServiceCreateInvite for application/json ContentType.
type WorkspaceServiceCreateInviteResponse ¶
type WorkspaceServiceCreateInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1CreateInviteResponse
}
func ParseWorkspaceServiceCreateInviteResponse ¶
func ParseWorkspaceServiceCreateInviteResponse(rsp *http.Response) (*WorkspaceServiceCreateInviteResponse, error)
ParseWorkspaceServiceCreateInviteResponse parses an HTTP response from a WorkspaceServiceCreateInviteWithResponse call
func (WorkspaceServiceCreateInviteResponse) ContentType ¶
func (r WorkspaceServiceCreateInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceCreateInviteResponse) GetBody ¶
func (r WorkspaceServiceCreateInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceCreateInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceCreateInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceCreateInviteResponse) Status ¶
func (r WorkspaceServiceCreateInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceCreateInviteResponse) StatusCode ¶
func (r WorkspaceServiceCreateInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceCreateProjectJSONBody ¶
type WorkspaceServiceCreateProjectJSONBody struct {
IsPrivate *bool `json:"isPrivate,omitempty"`
Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
// Subdomain optional; generated from name when empty
Subdomain *string `json:"subdomain,omitempty"`
}
WorkspaceServiceCreateProjectJSONBody defines parameters for WorkspaceServiceCreateProject.
type WorkspaceServiceCreateProjectJSONRequestBody ¶
type WorkspaceServiceCreateProjectJSONRequestBody WorkspaceServiceCreateProjectJSONBody
WorkspaceServiceCreateProjectJSONRequestBody defines body for WorkspaceServiceCreateProject for application/json ContentType.
type WorkspaceServiceCreateProjectResponse ¶
type WorkspaceServiceCreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1CreateProjectResponse
}
func ParseWorkspaceServiceCreateProjectResponse ¶
func ParseWorkspaceServiceCreateProjectResponse(rsp *http.Response) (*WorkspaceServiceCreateProjectResponse, error)
ParseWorkspaceServiceCreateProjectResponse parses an HTTP response from a WorkspaceServiceCreateProjectWithResponse call
func (WorkspaceServiceCreateProjectResponse) ContentType ¶
func (r WorkspaceServiceCreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceCreateProjectResponse) GetBody ¶
func (r WorkspaceServiceCreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceCreateProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceCreateProjectResponse) Status ¶
func (r WorkspaceServiceCreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceCreateProjectResponse) StatusCode ¶
func (r WorkspaceServiceCreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceCreateWorkspaceJSONRequestBody ¶
type WorkspaceServiceCreateWorkspaceJSONRequestBody = LivekitPublicapiWorkspacesV1CreateWorkspaceRequest
WorkspaceServiceCreateWorkspaceJSONRequestBody defines body for WorkspaceServiceCreateWorkspace for application/json ContentType.
type WorkspaceServiceCreateWorkspaceResponse ¶
type WorkspaceServiceCreateWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
}
func ParseWorkspaceServiceCreateWorkspaceResponse ¶
func ParseWorkspaceServiceCreateWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceCreateWorkspaceResponse, error)
ParseWorkspaceServiceCreateWorkspaceResponse parses an HTTP response from a WorkspaceServiceCreateWorkspaceWithResponse call
func (WorkspaceServiceCreateWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceCreateWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceCreateWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceCreateWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceCreateWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceCreateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceCreateWorkspaceResponse) Status ¶
func (r WorkspaceServiceCreateWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceCreateWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceCreateWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteInviteResponse ¶
type WorkspaceServiceDeleteInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1DeleteInviteResponse
}
func ParseWorkspaceServiceDeleteInviteResponse ¶
func ParseWorkspaceServiceDeleteInviteResponse(rsp *http.Response) (*WorkspaceServiceDeleteInviteResponse, error)
ParseWorkspaceServiceDeleteInviteResponse parses an HTTP response from a WorkspaceServiceDeleteInviteWithResponse call
func (WorkspaceServiceDeleteInviteResponse) ContentType ¶
func (r WorkspaceServiceDeleteInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteInviteResponse) GetBody ¶
func (r WorkspaceServiceDeleteInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteInviteResponse) Status ¶
func (r WorkspaceServiceDeleteInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteInviteResponse) StatusCode ¶
func (r WorkspaceServiceDeleteInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteMemberResponse ¶
type WorkspaceServiceDeleteMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1DeleteMemberResponse
}
func ParseWorkspaceServiceDeleteMemberResponse ¶
func ParseWorkspaceServiceDeleteMemberResponse(rsp *http.Response) (*WorkspaceServiceDeleteMemberResponse, error)
ParseWorkspaceServiceDeleteMemberResponse parses an HTTP response from a WorkspaceServiceDeleteMemberWithResponse call
func (WorkspaceServiceDeleteMemberResponse) ContentType ¶
func (r WorkspaceServiceDeleteMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteMemberResponse) GetBody ¶
func (r WorkspaceServiceDeleteMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteMemberResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteMemberResponse) Status ¶
func (r WorkspaceServiceDeleteMemberResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteMemberResponse) StatusCode ¶
func (r WorkspaceServiceDeleteMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteProjectResponse ¶
type WorkspaceServiceDeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteProjectResponse
}
func ParseWorkspaceServiceDeleteProjectResponse ¶
func ParseWorkspaceServiceDeleteProjectResponse(rsp *http.Response) (*WorkspaceServiceDeleteProjectResponse, error)
ParseWorkspaceServiceDeleteProjectResponse parses an HTTP response from a WorkspaceServiceDeleteProjectWithResponse call
func (WorkspaceServiceDeleteProjectResponse) ContentType ¶
func (r WorkspaceServiceDeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteProjectResponse) GetBody ¶
func (r WorkspaceServiceDeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteProjectResponse) Status ¶
func (r WorkspaceServiceDeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteProjectResponse) StatusCode ¶
func (r WorkspaceServiceDeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteWorkspaceResponse ¶
type WorkspaceServiceDeleteWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
}
func ParseWorkspaceServiceDeleteWorkspaceResponse ¶
func ParseWorkspaceServiceDeleteWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceDeleteWorkspaceResponse, error)
ParseWorkspaceServiceDeleteWorkspaceResponse parses an HTTP response from a WorkspaceServiceDeleteWorkspaceWithResponse call
func (WorkspaceServiceDeleteWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteWorkspaceResponse) Status ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetInviteResponse ¶
type WorkspaceServiceGetInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1GetInviteResponse
}
func ParseWorkspaceServiceGetInviteResponse ¶
func ParseWorkspaceServiceGetInviteResponse(rsp *http.Response) (*WorkspaceServiceGetInviteResponse, error)
ParseWorkspaceServiceGetInviteResponse parses an HTTP response from a WorkspaceServiceGetInviteWithResponse call
func (WorkspaceServiceGetInviteResponse) ContentType ¶
func (r WorkspaceServiceGetInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetInviteResponse) GetBody ¶
func (r WorkspaceServiceGetInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceGetInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetInviteResponse) Status ¶
func (r WorkspaceServiceGetInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetInviteResponse) StatusCode ¶
func (r WorkspaceServiceGetInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetMemberResponse ¶
type WorkspaceServiceGetMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1GetMemberResponse
}
func ParseWorkspaceServiceGetMemberResponse ¶
func ParseWorkspaceServiceGetMemberResponse(rsp *http.Response) (*WorkspaceServiceGetMemberResponse, error)
ParseWorkspaceServiceGetMemberResponse parses an HTTP response from a WorkspaceServiceGetMemberWithResponse call
func (WorkspaceServiceGetMemberResponse) ContentType ¶
func (r WorkspaceServiceGetMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetMemberResponse) GetBody ¶
func (r WorkspaceServiceGetMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetMemberResponse) GetJSON200 ¶
func (r WorkspaceServiceGetMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetMemberResponse) Status ¶
func (r WorkspaceServiceGetMemberResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetMemberResponse) StatusCode ¶
func (r WorkspaceServiceGetMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetProjectResponse ¶
type WorkspaceServiceGetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetProjectResponse
}
func ParseWorkspaceServiceGetProjectResponse ¶
func ParseWorkspaceServiceGetProjectResponse(rsp *http.Response) (*WorkspaceServiceGetProjectResponse, error)
ParseWorkspaceServiceGetProjectResponse parses an HTTP response from a WorkspaceServiceGetProjectWithResponse call
func (WorkspaceServiceGetProjectResponse) ContentType ¶
func (r WorkspaceServiceGetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetProjectResponse) GetBody ¶
func (r WorkspaceServiceGetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetProjectResponse) Status ¶
func (r WorkspaceServiceGetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetProjectResponse) StatusCode ¶
func (r WorkspaceServiceGetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetWorkspaceResponse ¶
type WorkspaceServiceGetWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
}
func ParseWorkspaceServiceGetWorkspaceResponse ¶
func ParseWorkspaceServiceGetWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceGetWorkspaceResponse, error)
ParseWorkspaceServiceGetWorkspaceResponse parses an HTTP response from a WorkspaceServiceGetWorkspaceWithResponse call
func (WorkspaceServiceGetWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceGetWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceGetWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceGetWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetWorkspaceResponse) Status ¶
func (r WorkspaceServiceGetWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceGetWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListInvitesResponse ¶
type WorkspaceServiceListInvitesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1ListInvitesResponse
}
func ParseWorkspaceServiceListInvitesResponse ¶
func ParseWorkspaceServiceListInvitesResponse(rsp *http.Response) (*WorkspaceServiceListInvitesResponse, error)
ParseWorkspaceServiceListInvitesResponse parses an HTTP response from a WorkspaceServiceListInvitesWithResponse call
func (WorkspaceServiceListInvitesResponse) ContentType ¶
func (r WorkspaceServiceListInvitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListInvitesResponse) GetBody ¶
func (r WorkspaceServiceListInvitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListInvitesResponse) GetJSON200 ¶
func (r WorkspaceServiceListInvitesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListInvitesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListInvitesResponse) Status ¶
func (r WorkspaceServiceListInvitesResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListInvitesResponse) StatusCode ¶
func (r WorkspaceServiceListInvitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListMembersResponse ¶
type WorkspaceServiceListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1ListMembersResponse
}
func ParseWorkspaceServiceListMembersResponse ¶
func ParseWorkspaceServiceListMembersResponse(rsp *http.Response) (*WorkspaceServiceListMembersResponse, error)
ParseWorkspaceServiceListMembersResponse parses an HTTP response from a WorkspaceServiceListMembersWithResponse call
func (WorkspaceServiceListMembersResponse) ContentType ¶
func (r WorkspaceServiceListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListMembersResponse) GetBody ¶
func (r WorkspaceServiceListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListMembersResponse) GetJSON200 ¶
func (r WorkspaceServiceListMembersResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListMembersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListMembersResponse) Status ¶
func (r WorkspaceServiceListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListMembersResponse) StatusCode ¶
func (r WorkspaceServiceListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListProjectsParams ¶
type WorkspaceServiceListProjectsParams struct {
// PageCursor Opaque cursor returned by a prior page (PageInfo.next_cursor). Empty starts
// from the beginning.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize Maximum items to return; 0 lets the server pick a default.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
WorkspaceServiceListProjectsParams defines parameters for WorkspaceServiceListProjects.
type WorkspaceServiceListProjectsResponse ¶
type WorkspaceServiceListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListProjectsResponse
}
func ParseWorkspaceServiceListProjectsResponse ¶
func ParseWorkspaceServiceListProjectsResponse(rsp *http.Response) (*WorkspaceServiceListProjectsResponse, error)
ParseWorkspaceServiceListProjectsResponse parses an HTTP response from a WorkspaceServiceListProjectsWithResponse call
func (WorkspaceServiceListProjectsResponse) ContentType ¶
func (r WorkspaceServiceListProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListProjectsResponse) GetBody ¶
func (r WorkspaceServiceListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListProjectsResponse) GetJSON200 ¶
func (r WorkspaceServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListProjectsResponse) Status ¶
func (r WorkspaceServiceListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListProjectsResponse) StatusCode ¶
func (r WorkspaceServiceListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListWorkspacesParams ¶
type WorkspaceServiceListWorkspacesParams struct {
// PageCursor Opaque cursor returned by a prior page (PageInfo.next_cursor). Empty starts
// from the beginning.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize Maximum items to return; 0 lets the server pick a default.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
WorkspaceServiceListWorkspacesParams defines parameters for WorkspaceServiceListWorkspaces.
type WorkspaceServiceListWorkspacesResponse ¶
type WorkspaceServiceListWorkspacesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
}
func ParseWorkspaceServiceListWorkspacesResponse ¶
func ParseWorkspaceServiceListWorkspacesResponse(rsp *http.Response) (*WorkspaceServiceListWorkspacesResponse, error)
ParseWorkspaceServiceListWorkspacesResponse parses an HTTP response from a WorkspaceServiceListWorkspacesWithResponse call
func (WorkspaceServiceListWorkspacesResponse) ContentType ¶
func (r WorkspaceServiceListWorkspacesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListWorkspacesResponse) GetBody ¶
func (r WorkspaceServiceListWorkspacesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListWorkspacesResponse) GetJSON200 ¶
func (r WorkspaceServiceListWorkspacesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListWorkspacesResponse) Status ¶
func (r WorkspaceServiceListWorkspacesResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListWorkspacesResponse) StatusCode ¶
func (r WorkspaceServiceListWorkspacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceUpdateMemberJSONBody ¶
type WorkspaceServiceUpdateMemberJSONBody struct {
Role *int32 `json:"role,omitempty"`
}
WorkspaceServiceUpdateMemberJSONBody defines parameters for WorkspaceServiceUpdateMember.
type WorkspaceServiceUpdateMemberJSONRequestBody ¶
type WorkspaceServiceUpdateMemberJSONRequestBody WorkspaceServiceUpdateMemberJSONBody
WorkspaceServiceUpdateMemberJSONRequestBody defines body for WorkspaceServiceUpdateMember for application/json ContentType.
type WorkspaceServiceUpdateMemberResponse ¶
type WorkspaceServiceUpdateMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1UpdateMemberResponse
}
func ParseWorkspaceServiceUpdateMemberResponse ¶
func ParseWorkspaceServiceUpdateMemberResponse(rsp *http.Response) (*WorkspaceServiceUpdateMemberResponse, error)
ParseWorkspaceServiceUpdateMemberResponse parses an HTTP response from a WorkspaceServiceUpdateMemberWithResponse call
func (WorkspaceServiceUpdateMemberResponse) ContentType ¶
func (r WorkspaceServiceUpdateMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceUpdateMemberResponse) GetBody ¶
func (r WorkspaceServiceUpdateMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceUpdateMemberResponse) GetJSON200 ¶
func (r WorkspaceServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceUpdateMemberResponse) Status ¶
func (r WorkspaceServiceUpdateMemberResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceUpdateMemberResponse) StatusCode ¶
func (r WorkspaceServiceUpdateMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceUpdateProjectJSONRequestBody ¶
type WorkspaceServiceUpdateProjectJSONRequestBody = LivekitPublicapiProjectsV1UpdateProjectRequest
WorkspaceServiceUpdateProjectJSONRequestBody defines body for WorkspaceServiceUpdateProject for application/json ContentType.
type WorkspaceServiceUpdateProjectResponse ¶
type WorkspaceServiceUpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateProjectResponse
}
func ParseWorkspaceServiceUpdateProjectResponse ¶
func ParseWorkspaceServiceUpdateProjectResponse(rsp *http.Response) (*WorkspaceServiceUpdateProjectResponse, error)
ParseWorkspaceServiceUpdateProjectResponse parses an HTTP response from a WorkspaceServiceUpdateProjectWithResponse call
func (WorkspaceServiceUpdateProjectResponse) ContentType ¶
func (r WorkspaceServiceUpdateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceUpdateProjectResponse) GetBody ¶
func (r WorkspaceServiceUpdateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceUpdateProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceUpdateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceUpdateProjectResponse) Status ¶
func (r WorkspaceServiceUpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceUpdateProjectResponse) StatusCode ¶
func (r WorkspaceServiceUpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceUpdateWorkspaceJSONBody ¶
type WorkspaceServiceUpdateWorkspaceJSONBody struct {
Name *string `json:"name,omitempty"`
}
WorkspaceServiceUpdateWorkspaceJSONBody defines parameters for WorkspaceServiceUpdateWorkspace.
type WorkspaceServiceUpdateWorkspaceJSONRequestBody ¶
type WorkspaceServiceUpdateWorkspaceJSONRequestBody WorkspaceServiceUpdateWorkspaceJSONBody
WorkspaceServiceUpdateWorkspaceJSONRequestBody defines body for WorkspaceServiceUpdateWorkspace for application/json ContentType.
type WorkspaceServiceUpdateWorkspaceResponse ¶
type WorkspaceServiceUpdateWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
}
func ParseWorkspaceServiceUpdateWorkspaceResponse ¶
func ParseWorkspaceServiceUpdateWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceUpdateWorkspaceResponse, error)
ParseWorkspaceServiceUpdateWorkspaceResponse parses an HTTP response from a WorkspaceServiceUpdateWorkspaceWithResponse call
func (WorkspaceServiceUpdateWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceUpdateWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceUpdateWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceUpdateWorkspaceResponse) Status ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceUpdateWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode