Documentation
¶
Overview ¶
Package openapi 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 NewAccountClientActivityListRequest(server string, params *AccountClientActivityListParams) (*http.Request, error)
- func NewAccountProfileGetRequest(server string) (*http.Request, error)
- func NewAddCommentReactionRequest(server string, id string, body AddCommentReactionJSONRequestBody) (*http.Request, error)
- func NewAddCommentReactionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppendCalendarSubscriptionSectionsRequest(server string, body AppendCalendarSubscriptionSectionsJSONRequestBody) (*http.Request, error)
- func NewAppendCalendarSubscriptionSectionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBatchUpdateCalendarSubscriptionRequest(server string, body BatchUpdateCalendarSubscriptionJSONRequestBody) (*http.Request, error)
- func NewBatchUpdateCalendarSubscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCatalogBusDepartureNextRequest(server string, params *CatalogBusDepartureNextParams) (*http.Request, error)
- func NewCatalogBusRouteSearchRequest(server string, params *CatalogBusRouteSearchParams) (*http.Request, error)
- func NewCatalogBusTimetableGetRequest(server string, params *CatalogBusTimetableGetParams) (*http.Request, error)
- func NewCatalogLinkListRequest(server string) (*http.Request, error)
- func NewCatalogLinkResolveRequest(server string, params *CatalogLinkResolveParams) (*http.Request, error)
- func NewCatalogRoomsMapRequest(server string, code string) (*http.Request, error)
- func NewCatalogWeatherGetRequest(server string, params *CatalogWeatherGetParams) (*http.Request, error)
- func NewCommunitySectionHomeworkCreateRequest(server string, body CommunitySectionHomeworkCreateJSONRequestBody) (*http.Request, error)
- func NewCommunitySectionHomeworkCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCommunitySectionHomeworkDeleteRequest(server string, id string) (*http.Request, error)
- func NewCommunitySectionHomeworkListRequest(server string, params *CommunitySectionHomeworkListParams) (*http.Request, error)
- func NewCommunitySectionHomeworkUpdateRequest(server string, id string, body CommunitySectionHomeworkUpdateJSONRequestBody) (*http.Request, error)
- func NewCommunitySectionHomeworkUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCommunityUserGetRequest(server string, identifier string) (*http.Request, error)
- func NewCompleteUploadRequest(server string, body CompleteUploadJSONRequestBody) (*http.Request, error)
- func NewCompleteUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAdminSuspensionRequest(server string, body CreateAdminSuspensionJSONRequestBody) (*http.Request, error)
- func NewCreateAdminSuspensionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCommentRequest(server string, body CreateCommentJSONRequestBody) (*http.Request, error)
- func NewCreateCommentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMcpRequest(server string) (*http.Request, error)
- func NewCreateTodoRequest(server string, body CreateTodoJSONRequestBody) (*http.Request, error)
- func NewCreateTodoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateUploadRequest(server string, body CreateUploadJSONRequestBody) (*http.Request, error)
- func NewCreateUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAdminHomeworkRequest(server string, id string) (*http.Request, error)
- func NewDeleteApiCommentsBatchRequest(server string, body DeleteApiCommentsBatchJSONRequestBody) (*http.Request, error)
- func NewDeleteApiCommentsBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteApiMcpRequest(server string) (*http.Request, error)
- func NewDeleteApiTodosBatchRequest(server string, body DeleteApiTodosBatchJSONRequestBody) (*http.Request, error)
- func NewDeleteApiTodosBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteApiWorkspaceSubscriptionsRequest(server string, body DeleteApiWorkspaceSubscriptionsJSONRequestBody) (*http.Request, error)
- func NewDeleteApiWorkspaceSubscriptionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCommentRequest(server string, id string) (*http.Request, error)
- func NewDeleteTodoRequest(server string, id string) (*http.Request, error)
- func NewDeleteUploadRequest(server string, id string) (*http.Request, error)
- func NewDownloadUploadRequest(server string, id string) (*http.Request, error)
- func NewGetApiAuthOauth2TokenRequest(server string) (*http.Request, error)
- func NewGetApiAuthWellKnownOpenidConfigurationRequest(server string) (*http.Request, error)
- func NewGetApiCatalogCoursesJwIdSectionsRequest(server string, jwId int64, params *GetApiCatalogCoursesJwIdSectionsParams) (*http.Request, error)
- func NewGetApiCatalogTeachersIdSectionsRequest(server string, id string, params *GetApiCatalogTeachersIdSectionsParams) (*http.Request, error)
- func NewGetApiCatalogYoungEventsImagesPathRequest(server string, path string) (*http.Request, error)
- func NewGetApiCatalogYoungEventsRequest(server string, params *GetApiCatalogYoungEventsParams) (*http.Request, error)
- func NewGetApiCatalogYoungEventsYoungIdImageRequest(server string, youngId string) (*http.Request, error)
- func NewGetApiCatalogYoungEventsYoungIdRequest(server string, youngId string) (*http.Request, error)
- func NewGetApiCatalogYoungOrganizersOrganizerIdRequest(server string, organizerId string) (*http.Request, error)
- func NewGetApiCatalogYoungOrganizersRequest(server string, params *GetApiCatalogYoungOrganizersParams) (*http.Request, error)
- func NewGetApiCommunityCommentsIdRepliesRequest(server string, id string, params *GetApiCommunityCommentsIdRepliesParams) (*http.Request, error)
- func NewGetApiCommunitySectionHomeworksAuditRequest(server string, params *GetApiCommunitySectionHomeworksAuditParams) (*http.Request, error)
- func NewGetApiCommunitySectionHomeworksIdRequest(server string, id string) (*http.Request, error)
- func NewGetApiPublicationsIdRequest(server string, id string) (*http.Request, error)
- func NewGetApiPublicationsImagesHashRequest(server string, hash string) (*http.Request, error)
- func NewGetApiPublicationsObjectsKindSha256Request(server string, kind GetApiPublicationsObjectsKindSha256ParamsKind, ...) (*http.Request, error)
- func NewGetApiPublicationsRequest(server string, params *GetApiPublicationsParams) (*http.Request, error)
- func NewGetApiPublicationsSourcesRequest(server string) (*http.Request, error)
- func NewGetApiSearchRequest(server string) (*http.Request, error)
- func NewGetApiWorkspaceCalendarEventsRequest(server string, params *GetApiWorkspaceCalendarEventsParams) (*http.Request, error)
- func NewGetApiWorkspaceOverviewActionableRequest(server string, params *GetApiWorkspaceOverviewActionableParams) (*http.Request, error)
- func NewGetApiWorkspaceYoungEventSubscriptionsRequest(server string, params *GetApiWorkspaceYoungEventSubscriptionsParams) (*http.Request, error)
- func NewGetApiWorkspaceYoungEventSubscriptionsYoungIdRequest(server string, youngId string) (*http.Request, error)
- func NewGetApiWorkspaceYoungNotificationsRequest(server string, params *GetApiWorkspaceYoungNotificationsParams) (*http.Request, error)
- func NewGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest(server string, organizerId string) (*http.Request, error)
- func NewGetApiWorkspaceYoungOrganizerSubscriptionsRequest(server string, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams) (*http.Request, error)
- func NewGetCommentRequest(server string, id string) (*http.Request, error)
- func NewGetCourseRequest(server string, jwId int64, params *GetCourseParams) (*http.Request, error)
- func NewGetCurrentCalendarSubscriptionRequest(server string) (*http.Request, error)
- func NewGetCurrentSemesterRequest(server string) (*http.Request, error)
- func NewGetDescriptionRequest(server string, params *GetDescriptionParams) (*http.Request, error)
- func NewGetMetadataRequest(server string) (*http.Request, error)
- func NewGetOpenApiSpecRequest(server string) (*http.Request, error)
- func NewGetSectionCalendarRequest(server string, jwId int64) (*http.Request, error)
- func NewGetSectionRequest(server string, jwId int64, params *GetSectionParams) (*http.Request, error)
- func NewGetSectionScheduleGroupsRequest(server string, jwId int64, params *GetSectionScheduleGroupsParams) (*http.Request, error)
- func NewGetSectionSchedulesRequest(server string, jwId int64, params *GetSectionSchedulesParams) (*http.Request, error)
- func NewGetSectionsCalendarRequest(server string, params *GetSectionsCalendarParams) (*http.Request, error)
- func NewGetSubscribedHomeworksRequest(server string, params *GetSubscribedHomeworksParams) (*http.Request, error)
- func NewGetTeacherRequest(server string, id int64, params *GetTeacherParams) (*http.Request, error)
- func NewGetWellKnownAppleAppSiteAssociationRequest(server string) (*http.Request, error)
- func NewGetWellKnownOauthAuthorizationServerApiAuthRequest(server string) (*http.Request, error)
- func NewGetWellKnownOauthProtectedResourceApiGraphqlRequest(server string) (*http.Request, error)
- func NewGetWellKnownOauthProtectedResourceApiMcpRequest(server string) (*http.Request, error)
- func NewGetWellKnownOpenidConfigurationApiAuthRequest(server string) (*http.Request, error)
- func NewListAdminCommentsRequest(server string, params *ListAdminCommentsParams) (*http.Request, error)
- func NewListAdminDescriptionsRequest(server string, params *ListAdminDescriptionsParams) (*http.Request, error)
- func NewListAdminHomeworksRequest(server string, params *ListAdminHomeworksParams) (*http.Request, error)
- func NewListAdminSuspensionsRequest(server string) (*http.Request, error)
- func NewListAdminUsersRequest(server string, params *ListAdminUsersParams) (*http.Request, error)
- func NewListCommentsRequest(server string, params *ListCommentsParams) (*http.Request, error)
- func NewListCoursesRequest(server string, params *ListCoursesParams) (*http.Request, error)
- func NewListHealthRequest(server string) (*http.Request, error)
- func NewListMcpRequest(server string) (*http.Request, error)
- func NewListSchedulesRequest(server string, params *ListSchedulesParams) (*http.Request, error)
- func NewListSectionsRequest(server string, params *ListSectionsParams) (*http.Request, error)
- func NewListSemestersRequest(server string, params *ListSemestersParams) (*http.Request, error)
- func NewListTeachersRequest(server string, params *ListTeachersParams) (*http.Request, error)
- func NewListTodosRequest(server string, params *ListTodosParams) (*http.Request, error)
- func NewListUploadsRequest(server string, params *ListUploadsParams) (*http.Request, error)
- func NewMatchSectionCodesRequest(server string, body MatchSectionCodesJSONRequestBody) (*http.Request, error)
- func NewMatchSectionCodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewModerateAdminCommentRequest(server string, id string, body ModerateAdminCommentJSONRequestBody) (*http.Request, error)
- func NewModerateAdminCommentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewOptionsApiAuthOauth2DeviceAuthorizationRequest(server string) (*http.Request, error)
- func NewOptionsApiAuthWellKnownOpenidConfigurationRequest(server string) (*http.Request, error)
- func NewOptionsApiMcpRequest(server string) (*http.Request, error)
- func NewOptionsWellKnownOauthAuthorizationServerApiAuthRequest(server string) (*http.Request, error)
- func NewOptionsWellKnownOauthProtectedResourceApiGraphqlRequest(server string) (*http.Request, error)
- func NewOptionsWellKnownOauthProtectedResourceApiMcpRequest(server string) (*http.Request, error)
- func NewOptionsWellKnownOpenidConfigurationApiAuthRequest(server string) (*http.Request, error)
- func NewPatchApiTodosBatchRequest(server string, body PatchApiTodosBatchJSONRequestBody) (*http.Request, error)
- func NewPatchApiTodosBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchApiWorkspaceSubscriptionsJwIdRequest(server string, jwId int64, ...) (*http.Request, error)
- func NewPatchApiWorkspaceSubscriptionsJwIdRequestWithBody(server string, jwId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiAuthOauth2DeviceAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiAuthOauth2DeviceAuthorizationRequestWithFormdataBody(server string, body PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody) (*http.Request, error)
- func NewPostApiAuthOauth2TokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiAuthOauth2TokenRequestWithFormdataBody(server string, body PostApiAuthOauth2TokenFormdataRequestBody) (*http.Request, error)
- func NewPostApiIngestionPublicationsBatchesRequest(server string, body PostApiIngestionPublicationsBatchesJSONRequestBody) (*http.Request, error)
- func NewPostApiIngestionPublicationsBatchesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiIngestionPublicationsObjectsPlanRequest(server string, body PostApiIngestionPublicationsObjectsPlanJSONRequestBody) (*http.Request, error)
- func NewPostApiIngestionPublicationsObjectsPlanRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiWorkspaceSubscriptionsImportCodesRequest(server string, body PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody) (*http.Request, error)
- func NewPostApiWorkspaceSubscriptionsImportCodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiWorkspaceYoungNotificationsIdReadRequest(server string, id string) (*http.Request, error)
- func NewPutApiHomeworksCompletionsRequest(server string, body PutApiHomeworksCompletionsJSONRequestBody) (*http.Request, error)
- func NewPutApiHomeworksCompletionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutApiIngestionPublicationsObjectsBatchIdKindSha256Request(server string, batchId string, ...) (*http.Request, error)
- func NewPutApiUploadsObjectRequestWithBody(server string, params *PutApiUploadsObjectParams, contentType string, ...) (*http.Request, error)
- func NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequest(server string, youngId string, ...) (*http.Request, error)
- func NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequestWithBody(server string, youngId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest(server string, organizerId string, ...) (*http.Request, error)
- func NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequestWithBody(server string, organizerId string, contentType string, body io.Reader) (*http.Request, error)
- func NewQueryCalendarSubscriptionSectionsRequest(server string, body QueryCalendarSubscriptionSectionsJSONRequestBody) (*http.Request, error)
- func NewQueryCalendarSubscriptionSectionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveCommentReactionRequest(server string, id string, params *RemoveCommentReactionParams) (*http.Request, error)
- func NewSetHomeworkCompletionRequest(server string, id string, body SetHomeworkCompletionJSONRequestBody) (*http.Request, error)
- func NewSetHomeworkCompletionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetLocaleRequest(server string, body SetLocaleJSONRequestBody) (*http.Request, error)
- func NewSetLocaleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdminDescriptionRequest(server string, id string, body UpdateAdminDescriptionJSONRequestBody) (*http.Request, error)
- func NewUpdateAdminDescriptionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdminSuspensionRequest(server string, id string) (*http.Request, error)
- func NewUpdateAdminUserRequest(server string, id string, body UpdateAdminUserJSONRequestBody) (*http.Request, error)
- func NewUpdateAdminUserRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCommentRequest(server string, id string, body UpdateCommentJSONRequestBody) (*http.Request, error)
- func NewUpdateCommentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateTodoRequest(server string, id string, body UpdateTodoJSONRequestBody) (*http.Request, error)
- func NewUpdateTodoRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUploadRequest(server string, id string, body UpdateUploadJSONRequestBody) (*http.Request, error)
- func NewUpdateUploadRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertDescriptionRequest(server string, body UpsertDescriptionJSONRequestBody) (*http.Request, error)
- func NewUpsertDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceBusPreferencesGetRequest(server string) (*http.Request, error)
- func NewWorkspaceBusPreferencesSetRequest(server string, body WorkspaceBusPreferencesSetJSONRequestBody) (*http.Request, error)
- func NewWorkspaceBusPreferencesSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceCalendarFeedExportRequest(server string, credential string) (*http.Request, error)
- func NewWorkspaceExamListRequest(server string, params *WorkspaceExamListParams) (*http.Request, error)
- func NewWorkspaceLinkPinBatchSetRequest(server string, body WorkspaceLinkPinBatchSetJSONRequestBody) (*http.Request, error)
- func NewWorkspaceLinkPinBatchSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceLinkPinListRequest(server string) (*http.Request, error)
- func NewWorkspaceLinkPinSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceLinkPinSetRequestWithFormdataBody(server string, body WorkspaceLinkPinSetFormdataRequestBody) (*http.Request, error)
- func NewWorkspaceOverviewGetRequest(server string, params *WorkspaceOverviewGetParams) (*http.Request, error)
- func NewWorkspaceScheduleListRequest(server string, params *WorkspaceScheduleListParams) (*http.Request, error)
- type AccountClientActivityListParams
- type AccountClientActivityListResponse
- func (r AccountClientActivityListResponse) ContentType() string
- func (r AccountClientActivityListResponse) GetBody() []byte
- func (r AccountClientActivityListResponse) GetJSON200() *AccountClientActivityResponseSchema
- func (r AccountClientActivityListResponse) GetJSON400() *OpenApiErrorSchema
- func (r AccountClientActivityListResponse) GetJSON401() *OpenApiErrorSchema
- func (r AccountClientActivityListResponse) Status() string
- func (r AccountClientActivityListResponse) StatusCode() int
- type AccountClientActivityResponseSchema
- type AccountClientActivityResponseSchemaItemsChannel
- type AccountClientActivityResponseSchemaItemsOutcome
- type AccountProfileGetResponse
- func (r AccountProfileGetResponse) ContentType() string
- func (r AccountProfileGetResponse) GetBody() []byte
- func (r AccountProfileGetResponse) GetJSON200() *MeResponseSchema
- func (r AccountProfileGetResponse) GetJSON401() *OpenApiErrorSchema
- func (r AccountProfileGetResponse) GetJSON404() *OpenApiErrorSchema
- func (r AccountProfileGetResponse) Status() string
- func (r AccountProfileGetResponse) StatusCode() int
- type ActionableOverviewResponseSchema
- type ActionableOverviewResponseSchemaDeadlinesAllPendingPriority
- type ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind
- type ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind
- type ActionableOverviewResponseSchemaDeadlinesAllPendingType
- type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority
- type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind
- type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind
- type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType
- type ActionableOverviewResponseSchemaDeadlinesTodayPriority
- type ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind
- type ActionableOverviewResponseSchemaDeadlinesTodayTargetKind
- type ActionableOverviewResponseSchemaDeadlinesTodayType
- type ActionableOverviewResponseSchemaFocusPriority
- type ActionableOverviewResponseSchemaFocusStatus
- type ActionableOverviewResponseSchemaFocusSubscriptionKind
- type ActionableOverviewResponseSchemaFocusTargetKind
- type ActionableOverviewResponseSchemaFocusType
- type ActionableOverviewResponseSchemaUpcomingPriority
- type ActionableOverviewResponseSchemaUpcomingSubscriptionKind
- type ActionableOverviewResponseSchemaUpcomingTargetKind
- type ActionableOverviewResponseSchemaUpcomingType
- type ActionableOverviewResponseSchemaUrgencyPriority
- type ActionableOverviewResponseSchemaUrgencySubscriptionKind
- type ActionableOverviewResponseSchemaUrgencyTargetKind
- type ActionableOverviewResponseSchemaUrgencyType
- type AddCommentReactionJSONRequestBody
- type AddCommentReactionResponse
- func (r AddCommentReactionResponse) ContentType() string
- func (r AddCommentReactionResponse) GetBody() []byte
- func (r AddCommentReactionResponse) GetJSON200() *SuccessResponseSchema
- func (r AddCommentReactionResponse) GetJSON400() *OpenApiErrorSchema
- func (r AddCommentReactionResponse) GetJSON401() *OpenApiErrorSchema
- func (r AddCommentReactionResponse) GetJSON403() *OpenApiErrorSchema
- func (r AddCommentReactionResponse) GetJSON404() *OpenApiErrorSchema
- func (r AddCommentReactionResponse) GetJSON429() *OpenApiErrorSchema
- func (r AddCommentReactionResponse) GetJSON503() *OpenApiErrorSchema
- func (r AddCommentReactionResponse) Status() string
- func (r AddCommentReactionResponse) StatusCode() int
- type AddCommentReactionResponse429Headers
- type AddCommentReactionResponse503Headers
- type AdminCommentsResponseSchema
- type AdminCommentsResponseSchemaDataStatus
- type AdminCommentsResponseSchemaDataVisibility
- type AdminCreateSuspensionRequestSchema
- type AdminCreateSuspensionRequestSchemaExpiresAt0
- type AdminCreateSuspensionRequestSchemaExpiresAt1
- type AdminCreateSuspensionRequestSchema_ExpiresAt
- func (t AdminCreateSuspensionRequestSchema_ExpiresAt) AsAdminCreateSuspensionRequestSchemaExpiresAt0() (AdminCreateSuspensionRequestSchemaExpiresAt0, error)
- func (t AdminCreateSuspensionRequestSchema_ExpiresAt) AsAdminCreateSuspensionRequestSchemaExpiresAt1() (AdminCreateSuspensionRequestSchemaExpiresAt1, error)
- func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) FromAdminCreateSuspensionRequestSchemaExpiresAt0(v AdminCreateSuspensionRequestSchemaExpiresAt0) error
- func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) FromAdminCreateSuspensionRequestSchemaExpiresAt1(v AdminCreateSuspensionRequestSchemaExpiresAt1) error
- func (t AdminCreateSuspensionRequestSchema_ExpiresAt) MarshalJSON() ([]byte, error)
- func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) MergeAdminCreateSuspensionRequestSchemaExpiresAt0(v AdminCreateSuspensionRequestSchemaExpiresAt0) error
- func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) MergeAdminCreateSuspensionRequestSchemaExpiresAt1(v AdminCreateSuspensionRequestSchemaExpiresAt1) error
- func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) UnmarshalJSON(b []byte) error
- type AdminDescriptionsResponseSchema
- type AdminHomeworksResponseSchema
- type AdminModerateCommentRequestSchema
- type AdminModerateCommentRequestSchemaStatus
- type AdminModerateDescriptionRequestSchema
- type AdminModeratedCommentResponseSchema
- type AdminModeratedCommentResponseSchemaCommentStatus
- type AdminModeratedCommentResponseSchemaCommentVisibility
- type AdminModeratedDescriptionResponseSchema
- type AdminSuspensionResponseSchema
- type AdminSuspensionsResponseSchema
- type AdminUpdateUserRequestSchema
- type AdminUpdateUserRequestSchemaName0
- type AdminUpdateUserRequestSchemaName1
- type AdminUpdateUserRequestSchemaUsername0
- type AdminUpdateUserRequestSchemaUsername1
- type AdminUpdateUserRequestSchema_Name
- func (t AdminUpdateUserRequestSchema_Name) AsAdminUpdateUserRequestSchemaName0() (AdminUpdateUserRequestSchemaName0, error)
- func (t AdminUpdateUserRequestSchema_Name) AsAdminUpdateUserRequestSchemaName1() (AdminUpdateUserRequestSchemaName1, error)
- func (t *AdminUpdateUserRequestSchema_Name) FromAdminUpdateUserRequestSchemaName0(v AdminUpdateUserRequestSchemaName0) error
- func (t *AdminUpdateUserRequestSchema_Name) FromAdminUpdateUserRequestSchemaName1(v AdminUpdateUserRequestSchemaName1) error
- func (t AdminUpdateUserRequestSchema_Name) MarshalJSON() ([]byte, error)
- func (t *AdminUpdateUserRequestSchema_Name) MergeAdminUpdateUserRequestSchemaName0(v AdminUpdateUserRequestSchemaName0) error
- func (t *AdminUpdateUserRequestSchema_Name) MergeAdminUpdateUserRequestSchemaName1(v AdminUpdateUserRequestSchemaName1) error
- func (t *AdminUpdateUserRequestSchema_Name) UnmarshalJSON(b []byte) error
- type AdminUpdateUserRequestSchema_Username
- func (t AdminUpdateUserRequestSchema_Username) AsAdminUpdateUserRequestSchemaUsername0() (AdminUpdateUserRequestSchemaUsername0, error)
- func (t AdminUpdateUserRequestSchema_Username) AsAdminUpdateUserRequestSchemaUsername1() (AdminUpdateUserRequestSchemaUsername1, error)
- func (t *AdminUpdateUserRequestSchema_Username) FromAdminUpdateUserRequestSchemaUsername0(v AdminUpdateUserRequestSchemaUsername0) error
- func (t *AdminUpdateUserRequestSchema_Username) FromAdminUpdateUserRequestSchemaUsername1(v AdminUpdateUserRequestSchemaUsername1) error
- func (t AdminUpdateUserRequestSchema_Username) MarshalJSON() ([]byte, error)
- func (t *AdminUpdateUserRequestSchema_Username) MergeAdminUpdateUserRequestSchemaUsername0(v AdminUpdateUserRequestSchemaUsername0) error
- func (t *AdminUpdateUserRequestSchema_Username) MergeAdminUpdateUserRequestSchemaUsername1(v AdminUpdateUserRequestSchemaUsername1) error
- func (t *AdminUpdateUserRequestSchema_Username) UnmarshalJSON(b []byte) error
- type AdminUserResponseSchema
- type AdminUsersResponseSchema
- type AppendCalendarSubscriptionSectionsJSONRequestBody
- type AppendCalendarSubscriptionSectionsResponse
- func (r AppendCalendarSubscriptionSectionsResponse) ContentType() string
- func (r AppendCalendarSubscriptionSectionsResponse) GetBody() []byte
- func (r AppendCalendarSubscriptionSectionsResponse) GetJSON200() *CalendarSubscriptionAppendResponseSchema
- func (r AppendCalendarSubscriptionSectionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r AppendCalendarSubscriptionSectionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r AppendCalendarSubscriptionSectionsResponse) GetJSON404() *OpenApiErrorSchema
- func (r AppendCalendarSubscriptionSectionsResponse) GetJSON429() *OpenApiErrorSchema
- func (r AppendCalendarSubscriptionSectionsResponse) GetJSON503() *OpenApiErrorSchema
- func (r AppendCalendarSubscriptionSectionsResponse) Status() string
- func (r AppendCalendarSubscriptionSectionsResponse) StatusCode() int
- type AppendCalendarSubscriptionSectionsResponse429Headers
- type AppendCalendarSubscriptionSectionsResponse503Headers
- type AppleAppSiteAssociationResponseSchema
- type BatchUpdateCalendarSubscriptionJSONRequestBody
- type BatchUpdateCalendarSubscriptionResponse
- func (r BatchUpdateCalendarSubscriptionResponse) ContentType() string
- func (r BatchUpdateCalendarSubscriptionResponse) GetBody() []byte
- func (r BatchUpdateCalendarSubscriptionResponse) GetJSON200() *CalendarSubscriptionBatchResponseSchema
- func (r BatchUpdateCalendarSubscriptionResponse) GetJSON400() *OpenApiErrorSchema
- func (r BatchUpdateCalendarSubscriptionResponse) GetJSON401() *OpenApiErrorSchema
- func (r BatchUpdateCalendarSubscriptionResponse) GetJSON404() *OpenApiErrorSchema
- func (r BatchUpdateCalendarSubscriptionResponse) GetJSON429() *OpenApiErrorSchema
- func (r BatchUpdateCalendarSubscriptionResponse) GetJSON503() *OpenApiErrorSchema
- func (r BatchUpdateCalendarSubscriptionResponse) Status() string
- func (r BatchUpdateCalendarSubscriptionResponse) StatusCode() int
- type BatchUpdateCalendarSubscriptionResponse429Headers
- type BatchUpdateCalendarSubscriptionResponse503Headers
- type BusNextDeparturesResponseSchema
- type BusNextDeparturesResponseSchemaDayType
- type BusNextDeparturesResponseSchemaDeparturesDayType
- type BusNextDeparturesResponseSchemaDeparturesStatus
- type BusNextDeparturesResponseSchemaNextAvailableDepartureDayType
- type BusNextDeparturesResponseSchemaNextAvailableDepartureStatus
- type BusPreferenceRequestSchema
- type BusPreferenceResponseSchema
- type BusQueryResponseSchema
- type BusQueryResponseSchemaLocale
- type BusQueryResponseSchemaTripsDayType
- type BusRouteSearchResponseSchema
- type CalendarSubscriptionAppendRequestSchema
- type CalendarSubscriptionAppendResponseSchema
- type CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind
- type CalendarSubscriptionBatchRequestSchema
- type CalendarSubscriptionBatchRequestSchemaAction
- type CalendarSubscriptionBatchRequestSchemaSemesterId0
- type CalendarSubscriptionBatchRequestSchemaSemesterId1
- type CalendarSubscriptionBatchRequestSchema_SemesterId
- func (t CalendarSubscriptionBatchRequestSchema_SemesterId) AsCalendarSubscriptionBatchRequestSchemaSemesterId0() (CalendarSubscriptionBatchRequestSchemaSemesterId0, error)
- func (t CalendarSubscriptionBatchRequestSchema_SemesterId) AsCalendarSubscriptionBatchRequestSchemaSemesterId1() (CalendarSubscriptionBatchRequestSchemaSemesterId1, error)
- func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) FromCalendarSubscriptionBatchRequestSchemaSemesterId0(v CalendarSubscriptionBatchRequestSchemaSemesterId0) error
- func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) FromCalendarSubscriptionBatchRequestSchemaSemesterId1(v CalendarSubscriptionBatchRequestSchemaSemesterId1) error
- func (t CalendarSubscriptionBatchRequestSchema_SemesterId) MarshalJSON() ([]byte, error)
- func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) MergeCalendarSubscriptionBatchRequestSchemaSemesterId0(v CalendarSubscriptionBatchRequestSchemaSemesterId0) error
- func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) MergeCalendarSubscriptionBatchRequestSchemaSemesterId1(v CalendarSubscriptionBatchRequestSchemaSemesterId1) error
- func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) UnmarshalJSON(b []byte) error
- type CalendarSubscriptionBatchResponseSchema
- type CalendarSubscriptionBatchResponseSchemaAction
- type CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind
- type CalendarSubscriptionImportResponseSchema
- type CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind
- type CalendarSubscriptionQueryRequestSchema
- type CalendarSubscriptionQueryRequestSchemaSemesterId0
- type CalendarSubscriptionQueryRequestSchemaSemesterId1
- type CalendarSubscriptionQueryRequestSchema_SemesterId
- func (t CalendarSubscriptionQueryRequestSchema_SemesterId) AsCalendarSubscriptionQueryRequestSchemaSemesterId0() (CalendarSubscriptionQueryRequestSchemaSemesterId0, error)
- func (t CalendarSubscriptionQueryRequestSchema_SemesterId) AsCalendarSubscriptionQueryRequestSchemaSemesterId1() (CalendarSubscriptionQueryRequestSchemaSemesterId1, error)
- func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) FromCalendarSubscriptionQueryRequestSchemaSemesterId0(v CalendarSubscriptionQueryRequestSchemaSemesterId0) error
- func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) FromCalendarSubscriptionQueryRequestSchemaSemesterId1(v CalendarSubscriptionQueryRequestSchemaSemesterId1) error
- func (t CalendarSubscriptionQueryRequestSchema_SemesterId) MarshalJSON() ([]byte, error)
- func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) MergeCalendarSubscriptionQueryRequestSchemaSemesterId0(v CalendarSubscriptionQueryRequestSchemaSemesterId0) error
- func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) MergeCalendarSubscriptionQueryRequestSchemaSemesterId1(v CalendarSubscriptionQueryRequestSchemaSemesterId1) error
- func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) UnmarshalJSON(b []byte) error
- type CalendarSubscriptionQueryResponseSchema
- type CalendarSubscriptionRemoveRequestSchema
- type CalendarSubscriptionRemoveResponseSchema
- type CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind
- type CatalogBusDepartureNextParams
- type CatalogBusDepartureNextParamsDayType
- type CatalogBusDepartureNextParamsIncludeDeparted
- type CatalogBusDepartureNextParamsLocale
- type CatalogBusDepartureNextResponse
- func (r CatalogBusDepartureNextResponse) ContentType() string
- func (r CatalogBusDepartureNextResponse) GetBody() []byte
- func (r CatalogBusDepartureNextResponse) GetJSON200() *BusNextDeparturesResponseSchema
- func (r CatalogBusDepartureNextResponse) GetJSON400() *OpenApiErrorSchema
- func (r CatalogBusDepartureNextResponse) GetJSON404() *OpenApiErrorSchema
- func (r CatalogBusDepartureNextResponse) Status() string
- func (r CatalogBusDepartureNextResponse) StatusCode() int
- type CatalogBusRouteSearchParams
- type CatalogBusRouteSearchParamsLocale
- type CatalogBusRouteSearchResponse
- func (r CatalogBusRouteSearchResponse) ContentType() string
- func (r CatalogBusRouteSearchResponse) GetBody() []byte
- func (r CatalogBusRouteSearchResponse) GetJSON200() *BusRouteSearchResponseSchema
- func (r CatalogBusRouteSearchResponse) GetJSON400() *OpenApiErrorSchema
- func (r CatalogBusRouteSearchResponse) GetJSON404() *OpenApiErrorSchema
- func (r CatalogBusRouteSearchResponse) Status() string
- func (r CatalogBusRouteSearchResponse) StatusCode() int
- type CatalogBusTimetableGetParams
- type CatalogBusTimetableGetResponse
- func (r CatalogBusTimetableGetResponse) ContentType() string
- func (r CatalogBusTimetableGetResponse) GetBody() []byte
- func (r CatalogBusTimetableGetResponse) GetJSON200() *BusQueryResponseSchema
- func (r CatalogBusTimetableGetResponse) GetJSON400() *OpenApiErrorSchema
- func (r CatalogBusTimetableGetResponse) Status() string
- func (r CatalogBusTimetableGetResponse) StatusCode() int
- type CatalogLinkListResponse
- func (r CatalogLinkListResponse) ContentType() string
- func (r CatalogLinkListResponse) GetBody() []byte
- func (r CatalogLinkListResponse) GetJSON200() *CatalogLinkListResponseSchema
- func (r CatalogLinkListResponse) GetJSON400() *OpenApiErrorSchema
- func (r CatalogLinkListResponse) Status() string
- func (r CatalogLinkListResponse) StatusCode() int
- type CatalogLinkListResponseSchema
- type CatalogLinkListResponseSchemaLinksCategory
- type CatalogLinkListResponseSchemaLinksGroup
- type CatalogLinkListResponseSchemaLinksIcon
- type CatalogLinkListResponseSchemaLinksLocale
- type CatalogLinkResolveParams
- type CatalogLinkResolveResponse
- type CatalogLinkResolveResponse307Headers
- type CatalogRoomsMapResponse
- func (r CatalogRoomsMapResponse) ContentType() string
- func (r CatalogRoomsMapResponse) GetBody() []byte
- func (r CatalogRoomsMapResponse) GetJSON200() *RoomMapResponseSchema
- func (r CatalogRoomsMapResponse) GetJSON400() *OpenApiErrorSchema
- func (r CatalogRoomsMapResponse) Status() string
- func (r CatalogRoomsMapResponse) StatusCode() int
- type CatalogWeatherGetParams
- type CatalogWeatherGetParamsLocationKey
- type CatalogWeatherGetResponse
- func (r CatalogWeatherGetResponse) ContentType() string
- func (r CatalogWeatherGetResponse) GetBody() []byte
- func (r CatalogWeatherGetResponse) GetJSON200() *WeatherSnapshotResponseSchema
- func (r CatalogWeatherGetResponse) GetJSON400() *OpenApiErrorSchema
- func (r CatalogWeatherGetResponse) GetJSON503() *OpenApiErrorSchema
- func (r CatalogWeatherGetResponse) Status() string
- func (r CatalogWeatherGetResponse) StatusCode() int
- type CatalogWeatherGetResponse503Headers
- type Client
- func (c *Client) AccountClientActivityList(ctx context.Context, params *AccountClientActivityListParams, ...) (*http.Response, error)
- func (c *Client) AccountProfileGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AddCommentReaction(ctx context.Context, id string, body AddCommentReactionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddCommentReactionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppendCalendarSubscriptionSections(ctx context.Context, body AppendCalendarSubscriptionSectionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppendCalendarSubscriptionSectionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BatchUpdateCalendarSubscription(ctx context.Context, body BatchUpdateCalendarSubscriptionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BatchUpdateCalendarSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CatalogBusDepartureNext(ctx context.Context, params *CatalogBusDepartureNextParams, ...) (*http.Response, error)
- func (c *Client) CatalogBusRouteSearch(ctx context.Context, params *CatalogBusRouteSearchParams, ...) (*http.Response, error)
- func (c *Client) CatalogBusTimetableGet(ctx context.Context, params *CatalogBusTimetableGetParams, ...) (*http.Response, error)
- func (c *Client) CatalogLinkList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogLinkResolve(ctx context.Context, params *CatalogLinkResolveParams, ...) (*http.Response, error)
- func (c *Client) CatalogRoomsMap(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CatalogWeatherGet(ctx context.Context, params *CatalogWeatherGetParams, ...) (*http.Response, error)
- func (c *Client) CommunitySectionHomeworkCreate(ctx context.Context, body CommunitySectionHomeworkCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CommunitySectionHomeworkCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CommunitySectionHomeworkDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CommunitySectionHomeworkList(ctx context.Context, params *CommunitySectionHomeworkListParams, ...) (*http.Response, error)
- func (c *Client) CommunitySectionHomeworkUpdate(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) CommunitySectionHomeworkUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CommunityUserGet(ctx context.Context, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CompleteUpload(ctx context.Context, body CompleteUploadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CompleteUploadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAdminSuspension(ctx context.Context, body CreateAdminSuspensionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAdminSuspensionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateComment(ctx context.Context, body CreateCommentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCommentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateTodo(ctx context.Context, body CreateTodoJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTodoWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateUpload(ctx context.Context, body CreateUploadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateUploadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAdminHomework(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteApiCommentsBatch(ctx context.Context, body DeleteApiCommentsBatchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteApiCommentsBatchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteApiTodosBatch(ctx context.Context, body DeleteApiTodosBatchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteApiTodosBatchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteApiWorkspaceSubscriptions(ctx context.Context, body DeleteApiWorkspaceSubscriptionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteApiWorkspaceSubscriptionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteComment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTodo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiAuthOauth2Token(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiAuthWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiCatalogCoursesJwIdSections(ctx context.Context, jwId int64, ...) (*http.Response, error)
- func (c *Client) GetApiCatalogTeachersIdSections(ctx context.Context, id string, params *GetApiCatalogTeachersIdSectionsParams, ...) (*http.Response, error)
- func (c *Client) GetApiCatalogYoungEvents(ctx context.Context, params *GetApiCatalogYoungEventsParams, ...) (*http.Response, error)
- func (c *Client) GetApiCatalogYoungEventsImagesPath(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiCatalogYoungEventsYoungId(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiCatalogYoungEventsYoungIdImage(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiCatalogYoungOrganizers(ctx context.Context, params *GetApiCatalogYoungOrganizersParams, ...) (*http.Response, error)
- func (c *Client) GetApiCatalogYoungOrganizersOrganizerId(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiCommunityCommentsIdReplies(ctx context.Context, id string, params *GetApiCommunityCommentsIdRepliesParams, ...) (*http.Response, error)
- func (c *Client) GetApiCommunitySectionHomeworksAudit(ctx context.Context, params *GetApiCommunitySectionHomeworksAuditParams, ...) (*http.Response, error)
- func (c *Client) GetApiCommunitySectionHomeworksId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiPublications(ctx context.Context, params *GetApiPublicationsParams, ...) (*http.Response, error)
- func (c *Client) GetApiPublicationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiPublicationsImagesHash(ctx context.Context, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiPublicationsObjectsKindSha256(ctx context.Context, kind GetApiPublicationsObjectsKindSha256ParamsKind, ...) (*http.Response, error)
- func (c *Client) GetApiPublicationsSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiSearch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiWorkspaceCalendarEvents(ctx context.Context, params *GetApiWorkspaceCalendarEventsParams, ...) (*http.Response, error)
- func (c *Client) GetApiWorkspaceOverviewActionable(ctx context.Context, params *GetApiWorkspaceOverviewActionableParams, ...) (*http.Response, error)
- func (c *Client) GetApiWorkspaceYoungEventSubscriptions(ctx context.Context, params *GetApiWorkspaceYoungEventSubscriptionsParams, ...) (*http.Response, error)
- func (c *Client) GetApiWorkspaceYoungEventSubscriptionsYoungId(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiWorkspaceYoungNotifications(ctx context.Context, params *GetApiWorkspaceYoungNotificationsParams, ...) (*http.Response, error)
- func (c *Client) GetApiWorkspaceYoungOrganizerSubscriptions(ctx context.Context, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams, ...) (*http.Response, error)
- func (c *Client) GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetComment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCourse(ctx context.Context, jwId int64, params *GetCourseParams, ...) (*http.Response, error)
- func (c *Client) GetCurrentCalendarSubscription(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentSemester(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDescription(ctx context.Context, params *GetDescriptionParams, ...) (*http.Response, error)
- func (c *Client) GetMetadata(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOpenApiSpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSection(ctx context.Context, jwId int64, params *GetSectionParams, ...) (*http.Response, error)
- func (c *Client) GetSectionCalendar(ctx context.Context, jwId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSectionScheduleGroups(ctx context.Context, jwId int64, params *GetSectionScheduleGroupsParams, ...) (*http.Response, error)
- func (c *Client) GetSectionSchedules(ctx context.Context, jwId int64, params *GetSectionSchedulesParams, ...) (*http.Response, error)
- func (c *Client) GetSectionsCalendar(ctx context.Context, params *GetSectionsCalendarParams, ...) (*http.Response, error)
- func (c *Client) GetSubscribedHomeworks(ctx context.Context, params *GetSubscribedHomeworksParams, ...) (*http.Response, error)
- func (c *Client) GetTeacher(ctx context.Context, id int64, params *GetTeacherParams, ...) (*http.Response, error)
- func (c *Client) GetWellKnownAppleAppSiteAssociation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWellKnownOauthAuthorizationServerApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWellKnownOauthProtectedResourceApiGraphql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWellKnownOauthProtectedResourceApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWellKnownOpenidConfigurationApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAdminComments(ctx context.Context, params *ListAdminCommentsParams, ...) (*http.Response, error)
- func (c *Client) ListAdminDescriptions(ctx context.Context, params *ListAdminDescriptionsParams, ...) (*http.Response, error)
- func (c *Client) ListAdminHomeworks(ctx context.Context, params *ListAdminHomeworksParams, ...) (*http.Response, error)
- func (c *Client) ListAdminSuspensions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAdminUsers(ctx context.Context, params *ListAdminUsersParams, ...) (*http.Response, error)
- func (c *Client) ListComments(ctx context.Context, params *ListCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCourses(ctx context.Context, params *ListCoursesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSchedules(ctx context.Context, params *ListSchedulesParams, ...) (*http.Response, error)
- func (c *Client) ListSections(ctx context.Context, params *ListSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSemesters(ctx context.Context, params *ListSemestersParams, ...) (*http.Response, error)
- func (c *Client) ListTeachers(ctx context.Context, params *ListTeachersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTodos(ctx context.Context, params *ListTodosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUploads(ctx context.Context, params *ListUploadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MatchSectionCodes(ctx context.Context, body MatchSectionCodesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MatchSectionCodesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ModerateAdminComment(ctx context.Context, id string, body ModerateAdminCommentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ModerateAdminCommentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OptionsApiAuthOauth2DeviceAuthorization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OptionsApiAuthWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OptionsApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OptionsWellKnownOauthAuthorizationServerApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OptionsWellKnownOauthProtectedResourceApiGraphql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OptionsWellKnownOauthProtectedResourceApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OptionsWellKnownOpenidConfigurationApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchApiTodosBatch(ctx context.Context, body PatchApiTodosBatchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchApiTodosBatchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchApiWorkspaceSubscriptionsJwId(ctx context.Context, jwId int64, ...) (*http.Response, error)
- func (c *Client) PatchApiWorkspaceSubscriptionsJwIdWithBody(ctx context.Context, jwId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiAuthOauth2DeviceAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiAuthOauth2DeviceAuthorizationWithFormdataBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) PostApiAuthOauth2TokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiAuthOauth2TokenWithFormdataBody(ctx context.Context, body PostApiAuthOauth2TokenFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) PostApiIngestionPublicationsBatches(ctx context.Context, body PostApiIngestionPublicationsBatchesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostApiIngestionPublicationsBatchesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiIngestionPublicationsObjectsPlan(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) PostApiIngestionPublicationsObjectsPlanWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiWorkspaceSubscriptionsImportCodes(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) PostApiWorkspaceSubscriptionsImportCodesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiWorkspaceYoungNotificationsIdRead(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutApiHomeworksCompletions(ctx context.Context, body PutApiHomeworksCompletionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutApiHomeworksCompletionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutApiIngestionPublicationsObjectsBatchIdKindSha256(ctx context.Context, batchId string, ...) (*http.Response, error)
- func (c *Client) PutApiUploadsObjectWithBody(ctx context.Context, params *PutApiUploadsObjectParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PutApiWorkspaceYoungEventSubscriptionsYoungId(ctx context.Context, youngId string, ...) (*http.Response, error)
- func (c *Client) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBody(ctx context.Context, youngId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId(ctx context.Context, organizerId string, ...) (*http.Response, error)
- func (c *Client) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBody(ctx context.Context, organizerId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) QueryCalendarSubscriptionSections(ctx context.Context, body QueryCalendarSubscriptionSectionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) QueryCalendarSubscriptionSectionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveCommentReaction(ctx context.Context, id string, params *RemoveCommentReactionParams, ...) (*http.Response, error)
- func (c *Client) SetHomeworkCompletion(ctx context.Context, id string, body SetHomeworkCompletionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetHomeworkCompletionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetLocale(ctx context.Context, body SetLocaleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetLocaleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAdminDescription(ctx context.Context, id string, body UpdateAdminDescriptionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAdminDescriptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAdminSuspension(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateAdminUser(ctx context.Context, id string, body UpdateAdminUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAdminUserWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateComment(ctx context.Context, id string, body UpdateCommentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateCommentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateTodo(ctx context.Context, id string, body UpdateTodoJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateTodoWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateUpload(ctx context.Context, id string, body UpdateUploadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateUploadWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertDescription(ctx context.Context, body UpsertDescriptionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceBusPreferencesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceBusPreferencesSet(ctx context.Context, body WorkspaceBusPreferencesSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WorkspaceBusPreferencesSetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceCalendarFeedExport(ctx context.Context, credential string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceExamList(ctx context.Context, params *WorkspaceExamListParams, ...) (*http.Response, error)
- func (c *Client) WorkspaceLinkPinBatchSet(ctx context.Context, body WorkspaceLinkPinBatchSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WorkspaceLinkPinBatchSetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceLinkPinList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceLinkPinSetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceLinkPinSetWithFormdataBody(ctx context.Context, body WorkspaceLinkPinSetFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) WorkspaceOverviewGet(ctx context.Context, params *WorkspaceOverviewGetParams, ...) (*http.Response, error)
- func (c *Client) WorkspaceScheduleList(ctx context.Context, params *WorkspaceScheduleListParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AccountClientActivityListWithResponse(ctx context.Context, params *AccountClientActivityListParams, ...) (*AccountClientActivityListResponse, error)
- func (c *ClientWithResponses) AccountProfileGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountProfileGetResponse, error)
- func (c *ClientWithResponses) AddCommentReactionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AddCommentReactionResponse, error)
- func (c *ClientWithResponses) AddCommentReactionWithResponse(ctx context.Context, id string, body AddCommentReactionJSONRequestBody, ...) (*AddCommentReactionResponse, error)
- func (c *ClientWithResponses) AppendCalendarSubscriptionSectionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AppendCalendarSubscriptionSectionsResponse, error)
- func (c *ClientWithResponses) AppendCalendarSubscriptionSectionsWithResponse(ctx context.Context, body AppendCalendarSubscriptionSectionsJSONRequestBody, ...) (*AppendCalendarSubscriptionSectionsResponse, error)
- func (c *ClientWithResponses) BatchUpdateCalendarSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BatchUpdateCalendarSubscriptionResponse, error)
- func (c *ClientWithResponses) BatchUpdateCalendarSubscriptionWithResponse(ctx context.Context, body BatchUpdateCalendarSubscriptionJSONRequestBody, ...) (*BatchUpdateCalendarSubscriptionResponse, error)
- func (c *ClientWithResponses) CatalogBusDepartureNextWithResponse(ctx context.Context, params *CatalogBusDepartureNextParams, ...) (*CatalogBusDepartureNextResponse, error)
- func (c *ClientWithResponses) CatalogBusRouteSearchWithResponse(ctx context.Context, params *CatalogBusRouteSearchParams, ...) (*CatalogBusRouteSearchResponse, error)
- func (c *ClientWithResponses) CatalogBusTimetableGetWithResponse(ctx context.Context, params *CatalogBusTimetableGetParams, ...) (*CatalogBusTimetableGetResponse, error)
- func (c *ClientWithResponses) CatalogLinkListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogLinkListResponse, error)
- func (c *ClientWithResponses) CatalogLinkResolveWithResponse(ctx context.Context, params *CatalogLinkResolveParams, ...) (*CatalogLinkResolveResponse, error)
- func (c *ClientWithResponses) CatalogRoomsMapWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*CatalogRoomsMapResponse, error)
- func (c *ClientWithResponses) CatalogWeatherGetWithResponse(ctx context.Context, params *CatalogWeatherGetParams, ...) (*CatalogWeatherGetResponse, error)
- func (c *ClientWithResponses) CommunitySectionHomeworkCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CommunitySectionHomeworkCreateResponse, error)
- func (c *ClientWithResponses) CommunitySectionHomeworkCreateWithResponse(ctx context.Context, body CommunitySectionHomeworkCreateJSONRequestBody, ...) (*CommunitySectionHomeworkCreateResponse, error)
- func (c *ClientWithResponses) CommunitySectionHomeworkDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkDeleteResponse, error)
- func (c *ClientWithResponses) CommunitySectionHomeworkListWithResponse(ctx context.Context, params *CommunitySectionHomeworkListParams, ...) (*CommunitySectionHomeworkListResponse, error)
- func (c *ClientWithResponses) CommunitySectionHomeworkUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CommunitySectionHomeworkUpdateResponse, error)
- func (c *ClientWithResponses) CommunitySectionHomeworkUpdateWithResponse(ctx context.Context, id string, ...) (*CommunitySectionHomeworkUpdateResponse, error)
- func (c *ClientWithResponses) CommunityUserGetWithResponse(ctx context.Context, identifier string, reqEditors ...RequestEditorFn) (*CommunityUserGetResponse, error)
- func (c *ClientWithResponses) CompleteUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CompleteUploadResponse, error)
- func (c *ClientWithResponses) CompleteUploadWithResponse(ctx context.Context, body CompleteUploadJSONRequestBody, ...) (*CompleteUploadResponse, error)
- func (c *ClientWithResponses) CreateAdminSuspensionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAdminSuspensionResponse, error)
- func (c *ClientWithResponses) CreateAdminSuspensionWithResponse(ctx context.Context, body CreateAdminSuspensionJSONRequestBody, ...) (*CreateAdminSuspensionResponse, error)
- func (c *ClientWithResponses) CreateCommentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCommentResponse, error)
- func (c *ClientWithResponses) CreateCommentWithResponse(ctx context.Context, body CreateCommentJSONRequestBody, ...) (*CreateCommentResponse, error)
- func (c *ClientWithResponses) CreateMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateMcpResponse, error)
- func (c *ClientWithResponses) CreateTodoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTodoResponse, error)
- func (c *ClientWithResponses) CreateTodoWithResponse(ctx context.Context, body CreateTodoJSONRequestBody, ...) (*CreateTodoResponse, error)
- func (c *ClientWithResponses) CreateUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateUploadResponse, error)
- func (c *ClientWithResponses) CreateUploadWithResponse(ctx context.Context, body CreateUploadJSONRequestBody, ...) (*CreateUploadResponse, error)
- func (c *ClientWithResponses) DeleteAdminHomeworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAdminHomeworkResponse, error)
- func (c *ClientWithResponses) DeleteApiCommentsBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteApiCommentsBatchResponse, error)
- func (c *ClientWithResponses) DeleteApiCommentsBatchWithResponse(ctx context.Context, body DeleteApiCommentsBatchJSONRequestBody, ...) (*DeleteApiCommentsBatchResponse, error)
- func (c *ClientWithResponses) DeleteApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteApiMcpResponse, error)
- func (c *ClientWithResponses) DeleteApiTodosBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteApiTodosBatchResponse, error)
- func (c *ClientWithResponses) DeleteApiTodosBatchWithResponse(ctx context.Context, body DeleteApiTodosBatchJSONRequestBody, ...) (*DeleteApiTodosBatchResponse, error)
- func (c *ClientWithResponses) DeleteApiWorkspaceSubscriptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteApiWorkspaceSubscriptionsResponse, error)
- func (c *ClientWithResponses) DeleteApiWorkspaceSubscriptionsWithResponse(ctx context.Context, body DeleteApiWorkspaceSubscriptionsJSONRequestBody, ...) (*DeleteApiWorkspaceSubscriptionsResponse, error)
- func (c *ClientWithResponses) DeleteCommentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCommentResponse, error)
- func (c *ClientWithResponses) DeleteTodoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTodoResponse, error)
- func (c *ClientWithResponses) DeleteUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUploadResponse, error)
- func (c *ClientWithResponses) DownloadUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadUploadResponse, error)
- func (c *ClientWithResponses) GetApiAuthOauth2TokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiAuthOauth2TokenResponse, error)
- func (c *ClientWithResponses) GetApiAuthWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiAuthWellKnownOpenidConfigurationResponse, error)
- func (c *ClientWithResponses) GetApiCatalogCoursesJwIdSectionsWithResponse(ctx context.Context, jwId int64, ...) (*GetApiCatalogCoursesJwIdSectionsResponse, error)
- func (c *ClientWithResponses) GetApiCatalogTeachersIdSectionsWithResponse(ctx context.Context, id string, params *GetApiCatalogTeachersIdSectionsParams, ...) (*GetApiCatalogTeachersIdSectionsResponse, error)
- func (c *ClientWithResponses) GetApiCatalogYoungEventsImagesPathWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsImagesPathResponse, error)
- func (c *ClientWithResponses) GetApiCatalogYoungEventsWithResponse(ctx context.Context, params *GetApiCatalogYoungEventsParams, ...) (*GetApiCatalogYoungEventsResponse, error)
- func (c *ClientWithResponses) GetApiCatalogYoungEventsYoungIdImageWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsYoungIdImageResponse, error)
- func (c *ClientWithResponses) GetApiCatalogYoungEventsYoungIdWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsYoungIdResponse, error)
- func (c *ClientWithResponses) GetApiCatalogYoungOrganizersOrganizerIdWithResponse(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungOrganizersOrganizerIdResponse, error)
- func (c *ClientWithResponses) GetApiCatalogYoungOrganizersWithResponse(ctx context.Context, params *GetApiCatalogYoungOrganizersParams, ...) (*GetApiCatalogYoungOrganizersResponse, error)
- func (c *ClientWithResponses) GetApiCommunityCommentsIdRepliesWithResponse(ctx context.Context, id string, params *GetApiCommunityCommentsIdRepliesParams, ...) (*GetApiCommunityCommentsIdRepliesResponse, error)
- func (c *ClientWithResponses) GetApiCommunitySectionHomeworksAuditWithResponse(ctx context.Context, params *GetApiCommunitySectionHomeworksAuditParams, ...) (*GetApiCommunitySectionHomeworksAuditResponse, error)
- func (c *ClientWithResponses) GetApiCommunitySectionHomeworksIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetApiCommunitySectionHomeworksIdResponse, error)
- func (c *ClientWithResponses) GetApiPublicationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetApiPublicationsIdResponse, error)
- func (c *ClientWithResponses) GetApiPublicationsImagesHashWithResponse(ctx context.Context, hash string, reqEditors ...RequestEditorFn) (*GetApiPublicationsImagesHashResponse, error)
- func (c *ClientWithResponses) GetApiPublicationsObjectsKindSha256WithResponse(ctx context.Context, kind GetApiPublicationsObjectsKindSha256ParamsKind, ...) (*GetApiPublicationsObjectsKindSha256Response, error)
- func (c *ClientWithResponses) GetApiPublicationsSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiPublicationsSourcesResponse, error)
- func (c *ClientWithResponses) GetApiPublicationsWithResponse(ctx context.Context, params *GetApiPublicationsParams, ...) (*GetApiPublicationsResponse, error)
- func (c *ClientWithResponses) GetApiSearchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiSearchResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceCalendarEventsWithResponse(ctx context.Context, params *GetApiWorkspaceCalendarEventsParams, ...) (*GetApiWorkspaceCalendarEventsResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceOverviewActionableWithResponse(ctx context.Context, params *GetApiWorkspaceOverviewActionableParams, ...) (*GetApiWorkspaceOverviewActionableResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceYoungEventSubscriptionsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungEventSubscriptionsParams, ...) (*GetApiWorkspaceYoungEventSubscriptionsResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceYoungNotificationsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungNotificationsParams, ...) (*GetApiWorkspaceYoungNotificationsResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
- func (c *ClientWithResponses) GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams, ...) (*GetApiWorkspaceYoungOrganizerSubscriptionsResponse, error)
- func (c *ClientWithResponses) GetCommentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCommentResponse, error)
- func (c *ClientWithResponses) GetCourseWithResponse(ctx context.Context, jwId int64, params *GetCourseParams, ...) (*GetCourseResponse, error)
- func (c *ClientWithResponses) GetCurrentCalendarSubscriptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentCalendarSubscriptionResponse, error)
- func (c *ClientWithResponses) GetCurrentSemesterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentSemesterResponse, error)
- func (c *ClientWithResponses) GetDescriptionWithResponse(ctx context.Context, params *GetDescriptionParams, ...) (*GetDescriptionResponse, error)
- func (c *ClientWithResponses) GetMetadataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetadataResponse, error)
- func (c *ClientWithResponses) GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResponse, error)
- func (c *ClientWithResponses) GetSectionCalendarWithResponse(ctx context.Context, jwId int64, reqEditors ...RequestEditorFn) (*GetSectionCalendarResponse, error)
- func (c *ClientWithResponses) GetSectionScheduleGroupsWithResponse(ctx context.Context, jwId int64, params *GetSectionScheduleGroupsParams, ...) (*GetSectionScheduleGroupsResponse, error)
- func (c *ClientWithResponses) GetSectionSchedulesWithResponse(ctx context.Context, jwId int64, params *GetSectionSchedulesParams, ...) (*GetSectionSchedulesResponse, error)
- func (c *ClientWithResponses) GetSectionWithResponse(ctx context.Context, jwId int64, params *GetSectionParams, ...) (*GetSectionResponse, error)
- func (c *ClientWithResponses) GetSectionsCalendarWithResponse(ctx context.Context, params *GetSectionsCalendarParams, ...) (*GetSectionsCalendarResponse, error)
- func (c *ClientWithResponses) GetSubscribedHomeworksWithResponse(ctx context.Context, params *GetSubscribedHomeworksParams, ...) (*GetSubscribedHomeworksResponse, error)
- func (c *ClientWithResponses) GetTeacherWithResponse(ctx context.Context, id int64, params *GetTeacherParams, ...) (*GetTeacherResponse, error)
- func (c *ClientWithResponses) GetWellKnownAppleAppSiteAssociationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownAppleAppSiteAssociationResponse, error)
- func (c *ClientWithResponses) GetWellKnownOauthAuthorizationServerApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthAuthorizationServerApiAuthResponse, error)
- func (c *ClientWithResponses) GetWellKnownOauthProtectedResourceApiGraphqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthProtectedResourceApiGraphqlResponse, error)
- func (c *ClientWithResponses) GetWellKnownOauthProtectedResourceApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthProtectedResourceApiMcpResponse, error)
- func (c *ClientWithResponses) GetWellKnownOpenidConfigurationApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationApiAuthResponse, error)
- func (c *ClientWithResponses) ListAdminCommentsWithResponse(ctx context.Context, params *ListAdminCommentsParams, ...) (*ListAdminCommentsResponse, error)
- func (c *ClientWithResponses) ListAdminDescriptionsWithResponse(ctx context.Context, params *ListAdminDescriptionsParams, ...) (*ListAdminDescriptionsResponse, error)
- func (c *ClientWithResponses) ListAdminHomeworksWithResponse(ctx context.Context, params *ListAdminHomeworksParams, ...) (*ListAdminHomeworksResponse, error)
- func (c *ClientWithResponses) ListAdminSuspensionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAdminSuspensionsResponse, error)
- func (c *ClientWithResponses) ListAdminUsersWithResponse(ctx context.Context, params *ListAdminUsersParams, ...) (*ListAdminUsersResponse, error)
- func (c *ClientWithResponses) ListCommentsWithResponse(ctx context.Context, params *ListCommentsParams, reqEditors ...RequestEditorFn) (*ListCommentsResponse, error)
- func (c *ClientWithResponses) ListCoursesWithResponse(ctx context.Context, params *ListCoursesParams, reqEditors ...RequestEditorFn) (*ListCoursesResponse, error)
- func (c *ClientWithResponses) ListHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListHealthResponse, error)
- func (c *ClientWithResponses) ListMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMcpResponse, error)
- func (c *ClientWithResponses) ListSchedulesWithResponse(ctx context.Context, params *ListSchedulesParams, ...) (*ListSchedulesResponse, error)
- func (c *ClientWithResponses) ListSectionsWithResponse(ctx context.Context, params *ListSectionsParams, reqEditors ...RequestEditorFn) (*ListSectionsResponse, error)
- func (c *ClientWithResponses) ListSemestersWithResponse(ctx context.Context, params *ListSemestersParams, ...) (*ListSemestersResponse, error)
- func (c *ClientWithResponses) ListTeachersWithResponse(ctx context.Context, params *ListTeachersParams, reqEditors ...RequestEditorFn) (*ListTeachersResponse, error)
- func (c *ClientWithResponses) ListTodosWithResponse(ctx context.Context, params *ListTodosParams, reqEditors ...RequestEditorFn) (*ListTodosResponse, error)
- func (c *ClientWithResponses) ListUploadsWithResponse(ctx context.Context, params *ListUploadsParams, reqEditors ...RequestEditorFn) (*ListUploadsResponse, error)
- func (c *ClientWithResponses) MatchSectionCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MatchSectionCodesResponse, error)
- func (c *ClientWithResponses) MatchSectionCodesWithResponse(ctx context.Context, body MatchSectionCodesJSONRequestBody, ...) (*MatchSectionCodesResponse, error)
- func (c *ClientWithResponses) ModerateAdminCommentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ModerateAdminCommentResponse, error)
- func (c *ClientWithResponses) ModerateAdminCommentWithResponse(ctx context.Context, id string, body ModerateAdminCommentJSONRequestBody, ...) (*ModerateAdminCommentResponse, error)
- func (c *ClientWithResponses) OptionsApiAuthOauth2DeviceAuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiAuthOauth2DeviceAuthorizationResponse, error)
- func (c *ClientWithResponses) OptionsApiAuthWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiAuthWellKnownOpenidConfigurationResponse, error)
- func (c *ClientWithResponses) OptionsApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiMcpResponse, error)
- func (c *ClientWithResponses) OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthAuthorizationServerApiAuthResponse, error)
- func (c *ClientWithResponses) OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthProtectedResourceApiGraphqlResponse, error)
- func (c *ClientWithResponses) OptionsWellKnownOauthProtectedResourceApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthProtectedResourceApiMcpResponse, error)
- func (c *ClientWithResponses) OptionsWellKnownOpenidConfigurationApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOpenidConfigurationApiAuthResponse, error)
- func (c *ClientWithResponses) PatchApiTodosBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchApiTodosBatchResponse, error)
- func (c *ClientWithResponses) PatchApiTodosBatchWithResponse(ctx context.Context, body PatchApiTodosBatchJSONRequestBody, ...) (*PatchApiTodosBatchResponse, error)
- func (c *ClientWithResponses) PatchApiWorkspaceSubscriptionsJwIdWithBodyWithResponse(ctx context.Context, jwId int64, contentType string, body io.Reader, ...) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
- func (c *ClientWithResponses) PatchApiWorkspaceSubscriptionsJwIdWithResponse(ctx context.Context, jwId int64, ...) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
- func (c *ClientWithResponses) PostApiAuthOauth2DeviceAuthorizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
- func (c *ClientWithResponses) PostApiAuthOauth2DeviceAuthorizationWithFormdataBodyWithResponse(ctx context.Context, ...) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
- func (c *ClientWithResponses) PostApiAuthOauth2TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiAuthOauth2TokenResponse, error)
- func (c *ClientWithResponses) PostApiAuthOauth2TokenWithFormdataBodyWithResponse(ctx context.Context, body PostApiAuthOauth2TokenFormdataRequestBody, ...) (*PostApiAuthOauth2TokenResponse, error)
- func (c *ClientWithResponses) PostApiIngestionPublicationsBatchesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiIngestionPublicationsBatchesResponse, error)
- func (c *ClientWithResponses) PostApiIngestionPublicationsBatchesWithResponse(ctx context.Context, body PostApiIngestionPublicationsBatchesJSONRequestBody, ...) (*PostApiIngestionPublicationsBatchesResponse, error)
- func (c *ClientWithResponses) PostApiIngestionPublicationsObjectsPlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
- func (c *ClientWithResponses) PostApiIngestionPublicationsObjectsPlanWithResponse(ctx context.Context, ...) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
- func (c *ClientWithResponses) PostApiWorkspaceSubscriptionsImportCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
- func (c *ClientWithResponses) PostApiWorkspaceSubscriptionsImportCodesWithResponse(ctx context.Context, ...) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
- func (c *ClientWithResponses) PostApiWorkspaceYoungNotificationsIdReadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostApiWorkspaceYoungNotificationsIdReadResponse, error)
- func (c *ClientWithResponses) PutApiHomeworksCompletionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutApiHomeworksCompletionsResponse, error)
- func (c *ClientWithResponses) PutApiHomeworksCompletionsWithResponse(ctx context.Context, body PutApiHomeworksCompletionsJSONRequestBody, ...) (*PutApiHomeworksCompletionsResponse, error)
- func (c *ClientWithResponses) PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse(ctx context.Context, batchId string, ...) (*PutApiIngestionPublicationsObjectsBatchIdKindSha256Response, error)
- func (c *ClientWithResponses) PutApiUploadsObjectWithBodyWithResponse(ctx context.Context, params *PutApiUploadsObjectParams, contentType string, ...) (*PutApiUploadsObjectResponse, error)
- func (c *ClientWithResponses) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBodyWithResponse(ctx context.Context, youngId string, contentType string, body io.Reader, ...) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
- func (c *ClientWithResponses) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse(ctx context.Context, youngId string, ...) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
- func (c *ClientWithResponses) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBodyWithResponse(ctx context.Context, organizerId string, contentType string, body io.Reader, ...) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
- func (c *ClientWithResponses) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse(ctx context.Context, organizerId string, ...) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
- func (c *ClientWithResponses) QueryCalendarSubscriptionSectionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*QueryCalendarSubscriptionSectionsResponse, error)
- func (c *ClientWithResponses) QueryCalendarSubscriptionSectionsWithResponse(ctx context.Context, body QueryCalendarSubscriptionSectionsJSONRequestBody, ...) (*QueryCalendarSubscriptionSectionsResponse, error)
- func (c *ClientWithResponses) RemoveCommentReactionWithResponse(ctx context.Context, id string, params *RemoveCommentReactionParams, ...) (*RemoveCommentReactionResponse, error)
- func (c *ClientWithResponses) SetHomeworkCompletionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*SetHomeworkCompletionResponse, error)
- func (c *ClientWithResponses) SetHomeworkCompletionWithResponse(ctx context.Context, id string, body SetHomeworkCompletionJSONRequestBody, ...) (*SetHomeworkCompletionResponse, error)
- func (c *ClientWithResponses) SetLocaleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetLocaleResponse, error)
- func (c *ClientWithResponses) SetLocaleWithResponse(ctx context.Context, body SetLocaleJSONRequestBody, ...) (*SetLocaleResponse, error)
- func (c *ClientWithResponses) UpdateAdminDescriptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateAdminDescriptionResponse, error)
- func (c *ClientWithResponses) UpdateAdminDescriptionWithResponse(ctx context.Context, id string, body UpdateAdminDescriptionJSONRequestBody, ...) (*UpdateAdminDescriptionResponse, error)
- func (c *ClientWithResponses) UpdateAdminSuspensionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpdateAdminSuspensionResponse, error)
- func (c *ClientWithResponses) UpdateAdminUserWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateAdminUserResponse, error)
- func (c *ClientWithResponses) UpdateAdminUserWithResponse(ctx context.Context, id string, body UpdateAdminUserJSONRequestBody, ...) (*UpdateAdminUserResponse, error)
- func (c *ClientWithResponses) UpdateCommentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateCommentResponse, error)
- func (c *ClientWithResponses) UpdateCommentWithResponse(ctx context.Context, id string, body UpdateCommentJSONRequestBody, ...) (*UpdateCommentResponse, error)
- func (c *ClientWithResponses) UpdateTodoWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateTodoResponse, error)
- func (c *ClientWithResponses) UpdateTodoWithResponse(ctx context.Context, id string, body UpdateTodoJSONRequestBody, ...) (*UpdateTodoResponse, error)
- func (c *ClientWithResponses) UpdateUploadWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateUploadResponse, error)
- func (c *ClientWithResponses) UpdateUploadWithResponse(ctx context.Context, id string, body UpdateUploadJSONRequestBody, ...) (*UpdateUploadResponse, error)
- func (c *ClientWithResponses) UpsertDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertDescriptionResponse, error)
- func (c *ClientWithResponses) UpsertDescriptionWithResponse(ctx context.Context, body UpsertDescriptionJSONRequestBody, ...) (*UpsertDescriptionResponse, error)
- func (c *ClientWithResponses) WorkspaceBusPreferencesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesGetResponse, error)
- func (c *ClientWithResponses) WorkspaceBusPreferencesSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WorkspaceBusPreferencesSetResponse, error)
- func (c *ClientWithResponses) WorkspaceBusPreferencesSetWithResponse(ctx context.Context, body WorkspaceBusPreferencesSetJSONRequestBody, ...) (*WorkspaceBusPreferencesSetResponse, error)
- func (c *ClientWithResponses) WorkspaceCalendarFeedExportWithResponse(ctx context.Context, credential string, reqEditors ...RequestEditorFn) (*WorkspaceCalendarFeedExportResponse, error)
- func (c *ClientWithResponses) WorkspaceExamListWithResponse(ctx context.Context, params *WorkspaceExamListParams, ...) (*WorkspaceExamListResponse, error)
- func (c *ClientWithResponses) WorkspaceLinkPinBatchSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WorkspaceLinkPinBatchSetResponse, error)
- func (c *ClientWithResponses) WorkspaceLinkPinBatchSetWithResponse(ctx context.Context, body WorkspaceLinkPinBatchSetJSONRequestBody, ...) (*WorkspaceLinkPinBatchSetResponse, error)
- func (c *ClientWithResponses) WorkspaceLinkPinListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinListResponse, error)
- func (c *ClientWithResponses) WorkspaceLinkPinSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WorkspaceLinkPinSetResponse, error)
- func (c *ClientWithResponses) WorkspaceLinkPinSetWithFormdataBodyWithResponse(ctx context.Context, body WorkspaceLinkPinSetFormdataRequestBody, ...) (*WorkspaceLinkPinSetResponse, error)
- func (c *ClientWithResponses) WorkspaceOverviewGetWithResponse(ctx context.Context, params *WorkspaceOverviewGetParams, ...) (*WorkspaceOverviewGetResponse, error)
- func (c *ClientWithResponses) WorkspaceScheduleListWithResponse(ctx context.Context, params *WorkspaceScheduleListParams, ...) (*WorkspaceScheduleListResponse, error)
- type ClientWithResponsesInterface
- type CommentBatchDeleteRequestSchema
- type CommentBatchDeleteResponseSchema
- type CommentBatchDeleteResponseSchemaResults0
- type CommentBatchDeleteResponseSchemaResults0Success
- type CommentBatchDeleteResponseSchemaResults1
- type CommentBatchDeleteResponseSchemaResults1ErrorCode
- type CommentBatchDeleteResponseSchemaResults1Success
- type CommentBatchDeleteResponseSchema_Results_Item
- func (t CommentBatchDeleteResponseSchema_Results_Item) AsCommentBatchDeleteResponseSchemaResults0() (CommentBatchDeleteResponseSchemaResults0, error)
- func (t CommentBatchDeleteResponseSchema_Results_Item) AsCommentBatchDeleteResponseSchemaResults1() (CommentBatchDeleteResponseSchemaResults1, error)
- func (t *CommentBatchDeleteResponseSchema_Results_Item) FromCommentBatchDeleteResponseSchemaResults0(v CommentBatchDeleteResponseSchemaResults0) error
- func (t *CommentBatchDeleteResponseSchema_Results_Item) FromCommentBatchDeleteResponseSchemaResults1(v CommentBatchDeleteResponseSchemaResults1) error
- func (t CommentBatchDeleteResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
- func (t *CommentBatchDeleteResponseSchema_Results_Item) MergeCommentBatchDeleteResponseSchemaResults0(v CommentBatchDeleteResponseSchemaResults0) error
- func (t *CommentBatchDeleteResponseSchema_Results_Item) MergeCommentBatchDeleteResponseSchemaResults1(v CommentBatchDeleteResponseSchemaResults1) error
- func (t *CommentBatchDeleteResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
- type CommentCreateRequestSchema
- type CommentCreateRequestSchemaCourseJwId0
- type CommentCreateRequestSchemaCourseJwId1
- type CommentCreateRequestSchemaSectionId0
- type CommentCreateRequestSchemaSectionId1
- type CommentCreateRequestSchemaSectionJwId0
- type CommentCreateRequestSchemaSectionJwId1
- type CommentCreateRequestSchemaSectionTeacherId0
- type CommentCreateRequestSchemaSectionTeacherId1
- type CommentCreateRequestSchemaTargetId0
- type CommentCreateRequestSchemaTargetId1
- type CommentCreateRequestSchemaTargetType
- type CommentCreateRequestSchemaTeacherId0
- type CommentCreateRequestSchemaTeacherId1
- type CommentCreateRequestSchemaVisibility
- type CommentCreateRequestSchema_CourseJwId
- func (t CommentCreateRequestSchema_CourseJwId) AsCommentCreateRequestSchemaCourseJwId0() (CommentCreateRequestSchemaCourseJwId0, error)
- func (t CommentCreateRequestSchema_CourseJwId) AsCommentCreateRequestSchemaCourseJwId1() (CommentCreateRequestSchemaCourseJwId1, error)
- func (t *CommentCreateRequestSchema_CourseJwId) FromCommentCreateRequestSchemaCourseJwId0(v CommentCreateRequestSchemaCourseJwId0) error
- func (t *CommentCreateRequestSchema_CourseJwId) FromCommentCreateRequestSchemaCourseJwId1(v CommentCreateRequestSchemaCourseJwId1) error
- func (t CommentCreateRequestSchema_CourseJwId) MarshalJSON() ([]byte, error)
- func (t *CommentCreateRequestSchema_CourseJwId) MergeCommentCreateRequestSchemaCourseJwId0(v CommentCreateRequestSchemaCourseJwId0) error
- func (t *CommentCreateRequestSchema_CourseJwId) MergeCommentCreateRequestSchemaCourseJwId1(v CommentCreateRequestSchemaCourseJwId1) error
- func (t *CommentCreateRequestSchema_CourseJwId) UnmarshalJSON(b []byte) error
- type CommentCreateRequestSchema_SectionId
- func (t CommentCreateRequestSchema_SectionId) AsCommentCreateRequestSchemaSectionId0() (CommentCreateRequestSchemaSectionId0, error)
- func (t CommentCreateRequestSchema_SectionId) AsCommentCreateRequestSchemaSectionId1() (CommentCreateRequestSchemaSectionId1, error)
- func (t *CommentCreateRequestSchema_SectionId) FromCommentCreateRequestSchemaSectionId0(v CommentCreateRequestSchemaSectionId0) error
- func (t *CommentCreateRequestSchema_SectionId) FromCommentCreateRequestSchemaSectionId1(v CommentCreateRequestSchemaSectionId1) error
- func (t CommentCreateRequestSchema_SectionId) MarshalJSON() ([]byte, error)
- func (t *CommentCreateRequestSchema_SectionId) MergeCommentCreateRequestSchemaSectionId0(v CommentCreateRequestSchemaSectionId0) error
- func (t *CommentCreateRequestSchema_SectionId) MergeCommentCreateRequestSchemaSectionId1(v CommentCreateRequestSchemaSectionId1) error
- func (t *CommentCreateRequestSchema_SectionId) UnmarshalJSON(b []byte) error
- type CommentCreateRequestSchema_SectionJwId
- func (t CommentCreateRequestSchema_SectionJwId) AsCommentCreateRequestSchemaSectionJwId0() (CommentCreateRequestSchemaSectionJwId0, error)
- func (t CommentCreateRequestSchema_SectionJwId) AsCommentCreateRequestSchemaSectionJwId1() (CommentCreateRequestSchemaSectionJwId1, error)
- func (t *CommentCreateRequestSchema_SectionJwId) FromCommentCreateRequestSchemaSectionJwId0(v CommentCreateRequestSchemaSectionJwId0) error
- func (t *CommentCreateRequestSchema_SectionJwId) FromCommentCreateRequestSchemaSectionJwId1(v CommentCreateRequestSchemaSectionJwId1) error
- func (t CommentCreateRequestSchema_SectionJwId) MarshalJSON() ([]byte, error)
- func (t *CommentCreateRequestSchema_SectionJwId) MergeCommentCreateRequestSchemaSectionJwId0(v CommentCreateRequestSchemaSectionJwId0) error
- func (t *CommentCreateRequestSchema_SectionJwId) MergeCommentCreateRequestSchemaSectionJwId1(v CommentCreateRequestSchemaSectionJwId1) error
- func (t *CommentCreateRequestSchema_SectionJwId) UnmarshalJSON(b []byte) error
- type CommentCreateRequestSchema_SectionTeacherId
- func (t CommentCreateRequestSchema_SectionTeacherId) AsCommentCreateRequestSchemaSectionTeacherId0() (CommentCreateRequestSchemaSectionTeacherId0, error)
- func (t CommentCreateRequestSchema_SectionTeacherId) AsCommentCreateRequestSchemaSectionTeacherId1() (CommentCreateRequestSchemaSectionTeacherId1, error)
- func (t *CommentCreateRequestSchema_SectionTeacherId) FromCommentCreateRequestSchemaSectionTeacherId0(v CommentCreateRequestSchemaSectionTeacherId0) error
- func (t *CommentCreateRequestSchema_SectionTeacherId) FromCommentCreateRequestSchemaSectionTeacherId1(v CommentCreateRequestSchemaSectionTeacherId1) error
- func (t CommentCreateRequestSchema_SectionTeacherId) MarshalJSON() ([]byte, error)
- func (t *CommentCreateRequestSchema_SectionTeacherId) MergeCommentCreateRequestSchemaSectionTeacherId0(v CommentCreateRequestSchemaSectionTeacherId0) error
- func (t *CommentCreateRequestSchema_SectionTeacherId) MergeCommentCreateRequestSchemaSectionTeacherId1(v CommentCreateRequestSchemaSectionTeacherId1) error
- func (t *CommentCreateRequestSchema_SectionTeacherId) UnmarshalJSON(b []byte) error
- type CommentCreateRequestSchema_TargetId
- func (t CommentCreateRequestSchema_TargetId) AsCommentCreateRequestSchemaTargetId0() (CommentCreateRequestSchemaTargetId0, error)
- func (t CommentCreateRequestSchema_TargetId) AsCommentCreateRequestSchemaTargetId1() (CommentCreateRequestSchemaTargetId1, error)
- func (t *CommentCreateRequestSchema_TargetId) FromCommentCreateRequestSchemaTargetId0(v CommentCreateRequestSchemaTargetId0) error
- func (t *CommentCreateRequestSchema_TargetId) FromCommentCreateRequestSchemaTargetId1(v CommentCreateRequestSchemaTargetId1) error
- func (t CommentCreateRequestSchema_TargetId) MarshalJSON() ([]byte, error)
- func (t *CommentCreateRequestSchema_TargetId) MergeCommentCreateRequestSchemaTargetId0(v CommentCreateRequestSchemaTargetId0) error
- func (t *CommentCreateRequestSchema_TargetId) MergeCommentCreateRequestSchemaTargetId1(v CommentCreateRequestSchemaTargetId1) error
- func (t *CommentCreateRequestSchema_TargetId) UnmarshalJSON(b []byte) error
- type CommentCreateRequestSchema_TeacherId
- func (t CommentCreateRequestSchema_TeacherId) AsCommentCreateRequestSchemaTeacherId0() (CommentCreateRequestSchemaTeacherId0, error)
- func (t CommentCreateRequestSchema_TeacherId) AsCommentCreateRequestSchemaTeacherId1() (CommentCreateRequestSchemaTeacherId1, error)
- func (t *CommentCreateRequestSchema_TeacherId) FromCommentCreateRequestSchemaTeacherId0(v CommentCreateRequestSchemaTeacherId0) error
- func (t *CommentCreateRequestSchema_TeacherId) FromCommentCreateRequestSchemaTeacherId1(v CommentCreateRequestSchemaTeacherId1) error
- func (t CommentCreateRequestSchema_TeacherId) MarshalJSON() ([]byte, error)
- func (t *CommentCreateRequestSchema_TeacherId) MergeCommentCreateRequestSchemaTeacherId0(v CommentCreateRequestSchemaTeacherId0) error
- func (t *CommentCreateRequestSchema_TeacherId) MergeCommentCreateRequestSchemaTeacherId1(v CommentCreateRequestSchemaTeacherId1) error
- func (t *CommentCreateRequestSchema_TeacherId) UnmarshalJSON(b []byte) error
- type CommentReactionRequestSchema
- type CommentReactionRequestSchemaType
- type CommentRepliesResponseSchema
- type CommentThreadResponseSchema
- type CommentUpdateRequestSchema
- type CommentUpdateRequestSchemaVisibility
- type CommentUpdateResponseSchema
- type CommentsListResponseSchema
- type CommentsListResponseSchemaMetaTargetTargetId0
- type CommentsListResponseSchemaMetaTargetTargetId1
- type CommentsListResponseSchemaMetaTargetTargetId2
- type CommentsListResponseSchema_Meta_Target_TargetId
- func (t CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId0() (CommentsListResponseSchemaMetaTargetTargetId0, error)
- func (t CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId1() (CommentsListResponseSchemaMetaTargetTargetId1, error)
- func (t CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId2() (CommentsListResponseSchemaMetaTargetTargetId2, error)
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId0(v CommentsListResponseSchemaMetaTargetTargetId0) error
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId1(v CommentsListResponseSchemaMetaTargetTargetId1) error
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId2(v CommentsListResponseSchemaMetaTargetTargetId2) error
- func (t CommentsListResponseSchema_Meta_Target_TargetId) MarshalJSON() ([]byte, error)
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId0(v CommentsListResponseSchemaMetaTargetTargetId0) error
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId1(v CommentsListResponseSchemaMetaTargetTargetId1) error
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId2(v CommentsListResponseSchemaMetaTargetTargetId2) error
- func (t *CommentsListResponseSchema_Meta_Target_TargetId) UnmarshalJSON(b []byte) error
- type CommunitySectionHomeworkCreateJSONRequestBody
- type CommunitySectionHomeworkCreateResponse
- func (r CommunitySectionHomeworkCreateResponse) ContentType() string
- func (r CommunitySectionHomeworkCreateResponse) GetBody() []byte
- func (r CommunitySectionHomeworkCreateResponse) GetJSON201() *HomeworkCreateResponseSchema
- func (r CommunitySectionHomeworkCreateResponse) GetJSON400() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkCreateResponse) GetJSON401() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkCreateResponse) GetJSON403() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkCreateResponse) GetJSON404() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkCreateResponse) GetJSON429() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkCreateResponse) GetJSON503() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkCreateResponse) Status() string
- func (r CommunitySectionHomeworkCreateResponse) StatusCode() int
- type CommunitySectionHomeworkCreateResponse201Headers
- type CommunitySectionHomeworkCreateResponse429Headers
- type CommunitySectionHomeworkCreateResponse503Headers
- type CommunitySectionHomeworkDeleteResponse
- func (r CommunitySectionHomeworkDeleteResponse) ContentType() string
- func (r CommunitySectionHomeworkDeleteResponse) GetBody() []byte
- func (r CommunitySectionHomeworkDeleteResponse) GetJSON200() *SuccessResponseSchema
- func (r CommunitySectionHomeworkDeleteResponse) GetJSON401() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkDeleteResponse) GetJSON403() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkDeleteResponse) GetJSON404() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkDeleteResponse) GetJSON429() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkDeleteResponse) GetJSON503() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkDeleteResponse) Status() string
- func (r CommunitySectionHomeworkDeleteResponse) StatusCode() int
- type CommunitySectionHomeworkDeleteResponse429Headers
- type CommunitySectionHomeworkDeleteResponse503Headers
- type CommunitySectionHomeworkListParams
- type CommunitySectionHomeworkListParamsIncludeDeleted
- type CommunitySectionHomeworkListResponse
- func (r CommunitySectionHomeworkListResponse) ContentType() string
- func (r CommunitySectionHomeworkListResponse) GetBody() []byte
- func (r CommunitySectionHomeworkListResponse) GetJSON200() *HomeworksListResponseSchema
- func (r CommunitySectionHomeworkListResponse) GetJSON400() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkListResponse) GetJSON401() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkListResponse) GetJSON404() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkListResponse) Status() string
- func (r CommunitySectionHomeworkListResponse) StatusCode() int
- type CommunitySectionHomeworkUpdateJSONRequestBody
- type CommunitySectionHomeworkUpdateResponse
- func (r CommunitySectionHomeworkUpdateResponse) ContentType() string
- func (r CommunitySectionHomeworkUpdateResponse) GetBody() []byte
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON200() *HomeworkUpdateResponseSchema
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON400() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON401() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON403() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON404() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON429() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkUpdateResponse) GetJSON503() *OpenApiErrorSchema
- func (r CommunitySectionHomeworkUpdateResponse) Status() string
- func (r CommunitySectionHomeworkUpdateResponse) StatusCode() int
- type CommunitySectionHomeworkUpdateResponse429Headers
- type CommunitySectionHomeworkUpdateResponse503Headers
- type CommunityUserGetResponse
- func (r CommunityUserGetResponse) ContentType() string
- func (r CommunityUserGetResponse) GetBody() []byte
- func (r CommunityUserGetResponse) GetJSON200() *PublicUserProfileResponseSchema
- func (r CommunityUserGetResponse) GetJSON404() *OpenApiErrorSchema
- func (r CommunityUserGetResponse) Status() string
- func (r CommunityUserGetResponse) StatusCode() int
- type CompactOverviewResponseSchema
- type CompactOverviewResponseSchemaDueTodosItemsPriority
- type CompactOverviewResponseSchemaTodosItemsPriority
- type CompleteUploadJSONRequestBody
- type CompleteUploadResponse
- func (r CompleteUploadResponse) ContentType() string
- func (r CompleteUploadResponse) GetBody() []byte
- func (r CompleteUploadResponse) GetJSON200() *UploadCompleteResponseSchema
- func (r CompleteUploadResponse) GetJSON400() *OpenApiErrorSchema
- func (r CompleteUploadResponse) GetJSON401() *OpenApiErrorSchema
- func (r CompleteUploadResponse) GetJSON403() *OpenApiErrorSchema
- func (r CompleteUploadResponse) GetJSON429() *OpenApiErrorSchema
- func (r CompleteUploadResponse) GetJSON503() *OpenApiErrorSchema
- func (r CompleteUploadResponse) Status() string
- func (r CompleteUploadResponse) StatusCode() int
- type CompleteUploadResponse429Headers
- type CompleteUploadResponse503Headers
- type CourseDetailSchema
- type CreateAdminSuspensionJSONRequestBody
- type CreateAdminSuspensionResponse
- func (r CreateAdminSuspensionResponse) ContentType() string
- func (r CreateAdminSuspensionResponse) GetBody() []byte
- func (r CreateAdminSuspensionResponse) GetJSON201() *AdminSuspensionResponseSchema
- func (r CreateAdminSuspensionResponse) GetJSON400() *OpenApiErrorSchema
- func (r CreateAdminSuspensionResponse) GetJSON401() *OpenApiErrorSchema
- func (r CreateAdminSuspensionResponse) GetJSON403() *OpenApiErrorSchema
- func (r CreateAdminSuspensionResponse) GetJSON404() *OpenApiErrorSchema
- func (r CreateAdminSuspensionResponse) GetJSON429() *OpenApiErrorSchema
- func (r CreateAdminSuspensionResponse) GetJSON503() *OpenApiErrorSchema
- func (r CreateAdminSuspensionResponse) Status() string
- func (r CreateAdminSuspensionResponse) StatusCode() int
- type CreateAdminSuspensionResponse201Headers
- type CreateAdminSuspensionResponse429Headers
- type CreateAdminSuspensionResponse503Headers
- type CreateCommentJSONRequestBody
- type CreateCommentResponse
- func (r CreateCommentResponse) ContentType() string
- func (r CreateCommentResponse) GetBody() []byte
- func (r CreateCommentResponse) GetJSON201() *IdResponseSchema
- func (r CreateCommentResponse) GetJSON400() *OpenApiErrorSchema
- func (r CreateCommentResponse) GetJSON401() *OpenApiErrorSchema
- func (r CreateCommentResponse) GetJSON403() *OpenApiErrorSchema
- func (r CreateCommentResponse) GetJSON404() *OpenApiErrorSchema
- func (r CreateCommentResponse) GetJSON429() *OpenApiErrorSchema
- func (r CreateCommentResponse) GetJSON503() *OpenApiErrorSchema
- func (r CreateCommentResponse) Status() string
- func (r CreateCommentResponse) StatusCode() int
- type CreateCommentResponse201Headers
- type CreateCommentResponse429Headers
- type CreateCommentResponse503Headers
- type CreateMcpResponse
- func (r CreateMcpResponse) ContentType() string
- func (r CreateMcpResponse) GetBody() []byte
- func (r CreateMcpResponse) GetJSON401() *OpenApiErrorSchema
- func (r CreateMcpResponse) GetJSON403() *OpenApiErrorSchema
- func (r CreateMcpResponse) GetJSON429() *OpenApiErrorSchema
- func (r CreateMcpResponse) GetJSON503() *OpenApiErrorSchema
- func (r CreateMcpResponse) Status() string
- func (r CreateMcpResponse) StatusCode() int
- type CreateMcpResponse429Headers
- type CreateMcpResponse503Headers
- type CreateTodoJSONRequestBody
- type CreateTodoResponse
- func (r CreateTodoResponse) ContentType() string
- func (r CreateTodoResponse) GetBody() []byte
- func (r CreateTodoResponse) GetJSON201() *IdResponseSchema
- func (r CreateTodoResponse) GetJSON400() *OpenApiErrorSchema
- func (r CreateTodoResponse) GetJSON401() *OpenApiErrorSchema
- func (r CreateTodoResponse) GetJSON429() *OpenApiErrorSchema
- func (r CreateTodoResponse) GetJSON503() *OpenApiErrorSchema
- func (r CreateTodoResponse) Status() string
- func (r CreateTodoResponse) StatusCode() int
- type CreateTodoResponse201Headers
- type CreateTodoResponse429Headers
- type CreateTodoResponse503Headers
- type CreateUploadJSONRequestBody
- type CreateUploadResponse
- func (r CreateUploadResponse) ContentType() string
- func (r CreateUploadResponse) GetBody() []byte
- func (r CreateUploadResponse) GetJSON200() *UploadCreateResponseSchema
- func (r CreateUploadResponse) GetJSON400() *OpenApiErrorSchema
- func (r CreateUploadResponse) GetJSON401() *OpenApiErrorSchema
- func (r CreateUploadResponse) GetJSON403() *OpenApiErrorSchema
- func (r CreateUploadResponse) GetJSON413() *OpenApiErrorSchema
- func (r CreateUploadResponse) GetJSON429() *OpenApiErrorSchema
- func (r CreateUploadResponse) GetJSON503() *OpenApiErrorSchema
- func (r CreateUploadResponse) Status() string
- func (r CreateUploadResponse) StatusCode() int
- type CreateUploadResponse429Headers
- type CreateUploadResponse503Headers
- type CurrentCalendarSubscriptionResponseSchema
- type CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind
- type DeleteAdminHomeworkResponse
- func (r DeleteAdminHomeworkResponse) ContentType() string
- func (r DeleteAdminHomeworkResponse) GetBody() []byte
- func (r DeleteAdminHomeworkResponse) GetJSON200() *SuccessResponseSchema
- func (r DeleteAdminHomeworkResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteAdminHomeworkResponse) GetJSON403() *OpenApiErrorSchema
- func (r DeleteAdminHomeworkResponse) GetJSON404() *OpenApiErrorSchema
- func (r DeleteAdminHomeworkResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteAdminHomeworkResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteAdminHomeworkResponse) Status() string
- func (r DeleteAdminHomeworkResponse) StatusCode() int
- type DeleteAdminHomeworkResponse429Headers
- type DeleteAdminHomeworkResponse503Headers
- type DeleteApiCommentsBatchJSONRequestBody
- type DeleteApiCommentsBatchResponse
- func (r DeleteApiCommentsBatchResponse) ContentType() string
- func (r DeleteApiCommentsBatchResponse) GetBody() []byte
- func (r DeleteApiCommentsBatchResponse) GetJSON200() *CommentBatchDeleteResponseSchema
- func (r DeleteApiCommentsBatchResponse) GetJSON400() *OpenApiErrorSchema
- func (r DeleteApiCommentsBatchResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteApiCommentsBatchResponse) GetJSON403() *OpenApiErrorSchema
- func (r DeleteApiCommentsBatchResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteApiCommentsBatchResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteApiCommentsBatchResponse) Status() string
- func (r DeleteApiCommentsBatchResponse) StatusCode() int
- type DeleteApiCommentsBatchResponse429Headers
- type DeleteApiCommentsBatchResponse503Headers
- type DeleteApiMcpResponse
- func (r DeleteApiMcpResponse) ContentType() string
- func (r DeleteApiMcpResponse) GetBody() []byte
- func (r DeleteApiMcpResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteApiMcpResponse) GetJSON403() *OpenApiErrorSchema
- func (r DeleteApiMcpResponse) Status() string
- func (r DeleteApiMcpResponse) StatusCode() int
- type DeleteApiTodosBatchJSONRequestBody
- type DeleteApiTodosBatchResponse
- func (r DeleteApiTodosBatchResponse) ContentType() string
- func (r DeleteApiTodosBatchResponse) GetBody() []byte
- func (r DeleteApiTodosBatchResponse) GetJSON200() *TodoBatchDeleteResponseSchema
- func (r DeleteApiTodosBatchResponse) GetJSON400() *OpenApiErrorSchema
- func (r DeleteApiTodosBatchResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteApiTodosBatchResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteApiTodosBatchResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteApiTodosBatchResponse) Status() string
- func (r DeleteApiTodosBatchResponse) StatusCode() int
- type DeleteApiTodosBatchResponse429Headers
- type DeleteApiTodosBatchResponse503Headers
- type DeleteApiWorkspaceSubscriptionsJSONRequestBody
- type DeleteApiWorkspaceSubscriptionsResponse
- func (r DeleteApiWorkspaceSubscriptionsResponse) ContentType() string
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetBody() []byte
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON200() *CalendarSubscriptionRemoveResponseSchema
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON404() *OpenApiErrorSchema
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteApiWorkspaceSubscriptionsResponse) Status() string
- func (r DeleteApiWorkspaceSubscriptionsResponse) StatusCode() int
- type DeleteApiWorkspaceSubscriptionsResponse429Headers
- type DeleteApiWorkspaceSubscriptionsResponse503Headers
- type DeleteCommentResponse
- func (r DeleteCommentResponse) ContentType() string
- func (r DeleteCommentResponse) GetBody() []byte
- func (r DeleteCommentResponse) GetJSON200() *SuccessResponseSchema
- func (r DeleteCommentResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteCommentResponse) GetJSON403() *OpenApiErrorSchema
- func (r DeleteCommentResponse) GetJSON404() *OpenApiErrorSchema
- func (r DeleteCommentResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteCommentResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteCommentResponse) Status() string
- func (r DeleteCommentResponse) StatusCode() int
- type DeleteCommentResponse429Headers
- type DeleteCommentResponse503Headers
- type DeleteTodoResponse
- func (r DeleteTodoResponse) ContentType() string
- func (r DeleteTodoResponse) GetBody() []byte
- func (r DeleteTodoResponse) GetJSON200() *SuccessResponseSchema
- func (r DeleteTodoResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteTodoResponse) GetJSON403() *OpenApiErrorSchema
- func (r DeleteTodoResponse) GetJSON404() *OpenApiErrorSchema
- func (r DeleteTodoResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteTodoResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteTodoResponse) Status() string
- func (r DeleteTodoResponse) StatusCode() int
- type DeleteTodoResponse429Headers
- type DeleteTodoResponse503Headers
- type DeleteUploadResponse
- func (r DeleteUploadResponse) ContentType() string
- func (r DeleteUploadResponse) GetBody() []byte
- func (r DeleteUploadResponse) GetJSON200() *UploadDeleteResponseSchema
- func (r DeleteUploadResponse) GetJSON401() *OpenApiErrorSchema
- func (r DeleteUploadResponse) GetJSON403() *OpenApiErrorSchema
- func (r DeleteUploadResponse) GetJSON404() *OpenApiErrorSchema
- func (r DeleteUploadResponse) GetJSON429() *OpenApiErrorSchema
- func (r DeleteUploadResponse) GetJSON502() *OpenApiErrorSchema
- func (r DeleteUploadResponse) GetJSON503() *OpenApiErrorSchema
- func (r DeleteUploadResponse) Status() string
- func (r DeleteUploadResponse) StatusCode() int
- type DeleteUploadResponse429Headers
- type DeleteUploadResponse503Headers
- type DescriptionUpsertRequestSchema
- func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema0() (DescriptionUpsertRequestSchema0, error)
- func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema1() (DescriptionUpsertRequestSchema1, error)
- func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema2() (DescriptionUpsertRequestSchema2, error)
- func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema3() (DescriptionUpsertRequestSchema3, error)
- func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema4() (DescriptionUpsertRequestSchema4, error)
- func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema0(v DescriptionUpsertRequestSchema0) error
- func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema1(v DescriptionUpsertRequestSchema1) error
- func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema2(v DescriptionUpsertRequestSchema2) error
- func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema3(v DescriptionUpsertRequestSchema3) error
- func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema4(v DescriptionUpsertRequestSchema4) error
- func (t DescriptionUpsertRequestSchema) MarshalJSON() ([]byte, error)
- func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema0(v DescriptionUpsertRequestSchema0) error
- func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema1(v DescriptionUpsertRequestSchema1) error
- func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema2(v DescriptionUpsertRequestSchema2) error
- func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema3(v DescriptionUpsertRequestSchema3) error
- func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema4(v DescriptionUpsertRequestSchema4) error
- func (t *DescriptionUpsertRequestSchema) UnmarshalJSON(b []byte) error
- type DescriptionUpsertRequestSchema0
- type DescriptionUpsertRequestSchema1
- type DescriptionUpsertRequestSchema1TargetType
- type DescriptionUpsertRequestSchema2
- type DescriptionUpsertRequestSchema2TargetType
- type DescriptionUpsertRequestSchema3
- type DescriptionUpsertRequestSchema3TargetType
- type DescriptionUpsertRequestSchema4
- type DescriptionUpsertRequestSchema4TargetType
- type DescriptionUpsertRequestSchemaCourseJwId0
- type DescriptionUpsertRequestSchemaCourseJwId1
- type DescriptionUpsertRequestSchemaSectionJwId0
- type DescriptionUpsertRequestSchemaSectionJwId1
- type DescriptionUpsertRequestSchemaTargetId0
- type DescriptionUpsertRequestSchemaTargetId1
- type DescriptionUpsertRequestSchemaTargetType
- type DescriptionUpsertRequestSchemaTeacherId0
- type DescriptionUpsertRequestSchemaTeacherId1
- type DescriptionUpsertRequestSchema_CourseJwId
- func (t DescriptionUpsertRequestSchema_CourseJwId) AsDescriptionUpsertRequestSchemaCourseJwId0() (DescriptionUpsertRequestSchemaCourseJwId0, error)
- func (t DescriptionUpsertRequestSchema_CourseJwId) AsDescriptionUpsertRequestSchemaCourseJwId1() (DescriptionUpsertRequestSchemaCourseJwId1, error)
- func (t *DescriptionUpsertRequestSchema_CourseJwId) FromDescriptionUpsertRequestSchemaCourseJwId0(v DescriptionUpsertRequestSchemaCourseJwId0) error
- func (t *DescriptionUpsertRequestSchema_CourseJwId) FromDescriptionUpsertRequestSchemaCourseJwId1(v DescriptionUpsertRequestSchemaCourseJwId1) error
- func (t DescriptionUpsertRequestSchema_CourseJwId) MarshalJSON() ([]byte, error)
- func (t *DescriptionUpsertRequestSchema_CourseJwId) MergeDescriptionUpsertRequestSchemaCourseJwId0(v DescriptionUpsertRequestSchemaCourseJwId0) error
- func (t *DescriptionUpsertRequestSchema_CourseJwId) MergeDescriptionUpsertRequestSchemaCourseJwId1(v DescriptionUpsertRequestSchemaCourseJwId1) error
- func (t *DescriptionUpsertRequestSchema_CourseJwId) UnmarshalJSON(b []byte) error
- type DescriptionUpsertRequestSchema_SectionJwId
- func (t DescriptionUpsertRequestSchema_SectionJwId) AsDescriptionUpsertRequestSchemaSectionJwId0() (DescriptionUpsertRequestSchemaSectionJwId0, error)
- func (t DescriptionUpsertRequestSchema_SectionJwId) AsDescriptionUpsertRequestSchemaSectionJwId1() (DescriptionUpsertRequestSchemaSectionJwId1, error)
- func (t *DescriptionUpsertRequestSchema_SectionJwId) FromDescriptionUpsertRequestSchemaSectionJwId0(v DescriptionUpsertRequestSchemaSectionJwId0) error
- func (t *DescriptionUpsertRequestSchema_SectionJwId) FromDescriptionUpsertRequestSchemaSectionJwId1(v DescriptionUpsertRequestSchemaSectionJwId1) error
- func (t DescriptionUpsertRequestSchema_SectionJwId) MarshalJSON() ([]byte, error)
- func (t *DescriptionUpsertRequestSchema_SectionJwId) MergeDescriptionUpsertRequestSchemaSectionJwId0(v DescriptionUpsertRequestSchemaSectionJwId0) error
- func (t *DescriptionUpsertRequestSchema_SectionJwId) MergeDescriptionUpsertRequestSchemaSectionJwId1(v DescriptionUpsertRequestSchemaSectionJwId1) error
- func (t *DescriptionUpsertRequestSchema_SectionJwId) UnmarshalJSON(b []byte) error
- type DescriptionUpsertRequestSchema_TargetId
- func (t DescriptionUpsertRequestSchema_TargetId) AsDescriptionUpsertRequestSchemaTargetId0() (DescriptionUpsertRequestSchemaTargetId0, error)
- func (t DescriptionUpsertRequestSchema_TargetId) AsDescriptionUpsertRequestSchemaTargetId1() (DescriptionUpsertRequestSchemaTargetId1, error)
- func (t *DescriptionUpsertRequestSchema_TargetId) FromDescriptionUpsertRequestSchemaTargetId0(v DescriptionUpsertRequestSchemaTargetId0) error
- func (t *DescriptionUpsertRequestSchema_TargetId) FromDescriptionUpsertRequestSchemaTargetId1(v DescriptionUpsertRequestSchemaTargetId1) error
- func (t DescriptionUpsertRequestSchema_TargetId) MarshalJSON() ([]byte, error)
- func (t *DescriptionUpsertRequestSchema_TargetId) MergeDescriptionUpsertRequestSchemaTargetId0(v DescriptionUpsertRequestSchemaTargetId0) error
- func (t *DescriptionUpsertRequestSchema_TargetId) MergeDescriptionUpsertRequestSchemaTargetId1(v DescriptionUpsertRequestSchemaTargetId1) error
- func (t *DescriptionUpsertRequestSchema_TargetId) UnmarshalJSON(b []byte) error
- type DescriptionUpsertRequestSchema_TeacherId
- func (t DescriptionUpsertRequestSchema_TeacherId) AsDescriptionUpsertRequestSchemaTeacherId0() (DescriptionUpsertRequestSchemaTeacherId0, error)
- func (t DescriptionUpsertRequestSchema_TeacherId) AsDescriptionUpsertRequestSchemaTeacherId1() (DescriptionUpsertRequestSchemaTeacherId1, error)
- func (t *DescriptionUpsertRequestSchema_TeacherId) FromDescriptionUpsertRequestSchemaTeacherId0(v DescriptionUpsertRequestSchemaTeacherId0) error
- func (t *DescriptionUpsertRequestSchema_TeacherId) FromDescriptionUpsertRequestSchemaTeacherId1(v DescriptionUpsertRequestSchemaTeacherId1) error
- func (t DescriptionUpsertRequestSchema_TeacherId) MarshalJSON() ([]byte, error)
- func (t *DescriptionUpsertRequestSchema_TeacherId) MergeDescriptionUpsertRequestSchemaTeacherId0(v DescriptionUpsertRequestSchemaTeacherId0) error
- func (t *DescriptionUpsertRequestSchema_TeacherId) MergeDescriptionUpsertRequestSchemaTeacherId1(v DescriptionUpsertRequestSchemaTeacherId1) error
- func (t *DescriptionUpsertRequestSchema_TeacherId) UnmarshalJSON(b []byte) error
- type DescriptionUpsertResponseSchema
- type DescriptionsResponseSchema
- type DownloadUploadResponse
- func (r DownloadUploadResponse) ContentType() string
- func (r DownloadUploadResponse) GetBody() []byte
- func (r DownloadUploadResponse) GetJSON401() *OpenApiErrorSchema
- func (r DownloadUploadResponse) GetJSON404() *OpenApiErrorSchema
- func (r DownloadUploadResponse) Status() string
- func (r DownloadUploadResponse) StatusCode() int
- type GetApiAuthOauth2TokenResponse
- func (r GetApiAuthOauth2TokenResponse) ContentType() string
- func (r GetApiAuthOauth2TokenResponse) GetBody() []byte
- func (r GetApiAuthOauth2TokenResponse) GetJSON405() *OauthErrorResponseSchema
- func (r GetApiAuthOauth2TokenResponse) Status() string
- func (r GetApiAuthOauth2TokenResponse) StatusCode() int
- type GetApiAuthWellKnownOpenidConfigurationResponse
- type GetApiCatalogCoursesJwIdSectionsParams
- type GetApiCatalogCoursesJwIdSectionsParamsLocale
- type GetApiCatalogCoursesJwIdSectionsResponse
- func (r GetApiCatalogCoursesJwIdSectionsResponse) ContentType() string
- func (r GetApiCatalogCoursesJwIdSectionsResponse) GetBody() []byte
- func (r GetApiCatalogCoursesJwIdSectionsResponse) GetJSON200() *PaginatedSectionHistoryResponseSchema
- func (r GetApiCatalogCoursesJwIdSectionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogCoursesJwIdSectionsResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCatalogCoursesJwIdSectionsResponse) Status() string
- func (r GetApiCatalogCoursesJwIdSectionsResponse) StatusCode() int
- type GetApiCatalogTeachersIdSectionsParams
- type GetApiCatalogTeachersIdSectionsParamsLocale
- type GetApiCatalogTeachersIdSectionsResponse
- func (r GetApiCatalogTeachersIdSectionsResponse) ContentType() string
- func (r GetApiCatalogTeachersIdSectionsResponse) GetBody() []byte
- func (r GetApiCatalogTeachersIdSectionsResponse) GetJSON200() *PaginatedSectionHistoryResponseSchema
- func (r GetApiCatalogTeachersIdSectionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogTeachersIdSectionsResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCatalogTeachersIdSectionsResponse) Status() string
- func (r GetApiCatalogTeachersIdSectionsResponse) StatusCode() int
- type GetApiCatalogYoungEventsImagesPathResponse
- func (r GetApiCatalogYoungEventsImagesPathResponse) ContentType() string
- func (r GetApiCatalogYoungEventsImagesPathResponse) GetBody() []byte
- func (r GetApiCatalogYoungEventsImagesPathResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsImagesPathResponse) GetJSON502() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsImagesPathResponse) GetJSON503() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsImagesPathResponse) Status() string
- func (r GetApiCatalogYoungEventsImagesPathResponse) StatusCode() int
- type GetApiCatalogYoungEventsImagesPathResponse503Headers
- type GetApiCatalogYoungEventsParams
- type GetApiCatalogYoungEventsParamsActive
- type GetApiCatalogYoungEventsParamsDateUnknown
- type GetApiCatalogYoungEventsParamsTimeBasis
- type GetApiCatalogYoungEventsResponse
- func (r GetApiCatalogYoungEventsResponse) ContentType() string
- func (r GetApiCatalogYoungEventsResponse) GetBody() []byte
- func (r GetApiCatalogYoungEventsResponse) GetJSON200() *PaginatedYoungEventResponseSchema
- func (r GetApiCatalogYoungEventsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsResponse) Status() string
- func (r GetApiCatalogYoungEventsResponse) StatusCode() int
- type GetApiCatalogYoungEventsYoungIdImageResponse
- func (r GetApiCatalogYoungEventsYoungIdImageResponse) ContentType() string
- func (r GetApiCatalogYoungEventsYoungIdImageResponse) GetBody() []byte
- func (r GetApiCatalogYoungEventsYoungIdImageResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsYoungIdImageResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsYoungIdImageResponse) Status() string
- func (r GetApiCatalogYoungEventsYoungIdImageResponse) StatusCode() int
- type GetApiCatalogYoungEventsYoungIdResponse
- func (r GetApiCatalogYoungEventsYoungIdResponse) ContentType() string
- func (r GetApiCatalogYoungEventsYoungIdResponse) GetBody() []byte
- func (r GetApiCatalogYoungEventsYoungIdResponse) GetJSON200() *YoungEventDetailSchema
- func (r GetApiCatalogYoungEventsYoungIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsYoungIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCatalogYoungEventsYoungIdResponse) Status() string
- func (r GetApiCatalogYoungEventsYoungIdResponse) StatusCode() int
- type GetApiCatalogYoungOrganizersOrganizerIdResponse
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) ContentType() string
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetBody() []byte
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON200() *YoungOrganizerSummarySchema
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) Status() string
- func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) StatusCode() int
- type GetApiCatalogYoungOrganizersParams
- type GetApiCatalogYoungOrganizersResponse
- func (r GetApiCatalogYoungOrganizersResponse) ContentType() string
- func (r GetApiCatalogYoungOrganizersResponse) GetBody() []byte
- func (r GetApiCatalogYoungOrganizersResponse) GetJSON200() *PaginatedYoungOrganizerResponseSchema
- func (r GetApiCatalogYoungOrganizersResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCatalogYoungOrganizersResponse) Status() string
- func (r GetApiCatalogYoungOrganizersResponse) StatusCode() int
- type GetApiCommunityCommentsIdRepliesParams
- type GetApiCommunityCommentsIdRepliesResponse
- func (r GetApiCommunityCommentsIdRepliesResponse) ContentType() string
- func (r GetApiCommunityCommentsIdRepliesResponse) GetBody() []byte
- func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON200() *CommentRepliesResponseSchema
- func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON403() *OpenApiErrorSchema
- func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCommunityCommentsIdRepliesResponse) Status() string
- func (r GetApiCommunityCommentsIdRepliesResponse) StatusCode() int
- type GetApiCommunitySectionHomeworksAuditParams
- type GetApiCommunitySectionHomeworksAuditResponse
- func (r GetApiCommunitySectionHomeworksAuditResponse) ContentType() string
- func (r GetApiCommunitySectionHomeworksAuditResponse) GetBody() []byte
- func (r GetApiCommunitySectionHomeworksAuditResponse) GetJSON200() *HomeworkAuditListResponseSchema
- func (r GetApiCommunitySectionHomeworksAuditResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCommunitySectionHomeworksAuditResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCommunitySectionHomeworksAuditResponse) Status() string
- func (r GetApiCommunitySectionHomeworksAuditResponse) StatusCode() int
- type GetApiCommunitySectionHomeworksIdResponse
- func (r GetApiCommunitySectionHomeworksIdResponse) ContentType() string
- func (r GetApiCommunitySectionHomeworksIdResponse) GetBody() []byte
- func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON200() *HomeworkDetailResponseSchema
- func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiCommunitySectionHomeworksIdResponse) Status() string
- func (r GetApiCommunitySectionHomeworksIdResponse) StatusCode() int
- type GetApiPublicationsIdResponse
- func (r GetApiPublicationsIdResponse) ContentType() string
- func (r GetApiPublicationsIdResponse) GetBody() []byte
- func (r GetApiPublicationsIdResponse) GetJSON200() *PublicPublicationDetailSchema
- func (r GetApiPublicationsIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiPublicationsIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiPublicationsIdResponse) Status() string
- func (r GetApiPublicationsIdResponse) StatusCode() int
- type GetApiPublicationsImagesHashResponse
- func (r GetApiPublicationsImagesHashResponse) ContentType() string
- func (r GetApiPublicationsImagesHashResponse) GetBody() []byte
- func (r GetApiPublicationsImagesHashResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiPublicationsImagesHashResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetApiPublicationsImagesHashResponse) GetJSON502() *OpenApiErrorSchema
- func (r GetApiPublicationsImagesHashResponse) GetJSON503() *OpenApiErrorSchema
- func (r GetApiPublicationsImagesHashResponse) Status() string
- func (r GetApiPublicationsImagesHashResponse) StatusCode() int
- type GetApiPublicationsImagesHashResponse503Headers
- type GetApiPublicationsObjectsKindSha256ParamsKind
- type GetApiPublicationsObjectsKindSha256Response
- func (r GetApiPublicationsObjectsKindSha256Response) ContentType() string
- func (r GetApiPublicationsObjectsKindSha256Response) GetBody() []byte
- func (r GetApiPublicationsObjectsKindSha256Response) GetJSON400() *OpenApiErrorSchema
- func (r GetApiPublicationsObjectsKindSha256Response) GetJSON404() *OpenApiErrorSchema
- func (r GetApiPublicationsObjectsKindSha256Response) GetJSON503() *OpenApiErrorSchema
- func (r GetApiPublicationsObjectsKindSha256Response) Status() string
- func (r GetApiPublicationsObjectsKindSha256Response) StatusCode() int
- type GetApiPublicationsObjectsKindSha256Response503Headers
- type GetApiPublicationsParams
- type GetApiPublicationsParamsFold
- type GetApiPublicationsParamsType
- type GetApiPublicationsResponse
- func (r GetApiPublicationsResponse) ContentType() string
- func (r GetApiPublicationsResponse) GetBody() []byte
- func (r GetApiPublicationsResponse) GetJSON200() *PublicPublicationsResponseSchema
- func (r GetApiPublicationsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiPublicationsResponse) Status() string
- func (r GetApiPublicationsResponse) StatusCode() int
- type GetApiPublicationsSourcesResponse
- func (r GetApiPublicationsSourcesResponse) ContentType() string
- func (r GetApiPublicationsSourcesResponse) GetBody() []byte
- func (r GetApiPublicationsSourcesResponse) GetJSON200() *PublicPublicationSourceDirectoryResponseSchema
- func (r GetApiPublicationsSourcesResponse) Status() string
- func (r GetApiPublicationsSourcesResponse) StatusCode() int
- type GetApiSearchResponse
- type GetApiWorkspaceCalendarEventsParams
- type GetApiWorkspaceCalendarEventsResponse
- func (r GetApiWorkspaceCalendarEventsResponse) ContentType() string
- func (r GetApiWorkspaceCalendarEventsResponse) GetBody() []byte
- func (r GetApiWorkspaceCalendarEventsResponse) GetJSON200() *PersonalCalendarPageSchema
- func (r GetApiWorkspaceCalendarEventsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiWorkspaceCalendarEventsResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceCalendarEventsResponse) Status() string
- func (r GetApiWorkspaceCalendarEventsResponse) StatusCode() int
- type GetApiWorkspaceOverviewActionableParams
- type GetApiWorkspaceOverviewActionableParamsLocale
- type GetApiWorkspaceOverviewActionableResponse
- func (r GetApiWorkspaceOverviewActionableResponse) ContentType() string
- func (r GetApiWorkspaceOverviewActionableResponse) GetBody() []byte
- func (r GetApiWorkspaceOverviewActionableResponse) GetJSON200() *ActionableOverviewResponseSchema
- func (r GetApiWorkspaceOverviewActionableResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiWorkspaceOverviewActionableResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceOverviewActionableResponse) Status() string
- func (r GetApiWorkspaceOverviewActionableResponse) StatusCode() int
- type GetApiWorkspaceYoungEventSubscriptionsParams
- type GetApiWorkspaceYoungEventSubscriptionsParamsUnread
- type GetApiWorkspaceYoungEventSubscriptionsResponse
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) ContentType() string
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetBody() []byte
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON200() *YoungEventSubscriptionListSchema
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) Status() string
- func (r GetApiWorkspaceYoungEventSubscriptionsResponse) StatusCode() int
- type GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse
- func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) ContentType() string
- func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetBody() []byte
- func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON200() *YoungEventSubscriptionStateSchema
- func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) Status() string
- func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) StatusCode() int
- type GetApiWorkspaceYoungNotificationsParams
- type GetApiWorkspaceYoungNotificationsParamsUnread
- type GetApiWorkspaceYoungNotificationsResponse
- func (r GetApiWorkspaceYoungNotificationsResponse) ContentType() string
- func (r GetApiWorkspaceYoungNotificationsResponse) GetBody() []byte
- func (r GetApiWorkspaceYoungNotificationsResponse) GetJSON200() *YoungNotificationListSchema
- func (r GetApiWorkspaceYoungNotificationsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungNotificationsResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungNotificationsResponse) Status() string
- func (r GetApiWorkspaceYoungNotificationsResponse) StatusCode() int
- type GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) ContentType() string
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetBody() []byte
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON200() *YoungOrganizerSubscriptionStateSchema
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) Status() string
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) StatusCode() int
- type GetApiWorkspaceYoungOrganizerSubscriptionsParams
- type GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread
- type GetApiWorkspaceYoungOrganizerSubscriptionsResponse
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) ContentType() string
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetBody() []byte
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON200() *YoungOrganizerSubscriptionListSchema
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) Status() string
- func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) StatusCode() int
- type GetCommentResponse
- func (r GetCommentResponse) ContentType() string
- func (r GetCommentResponse) GetBody() []byte
- func (r GetCommentResponse) GetJSON200() *CommentThreadResponseSchema
- func (r GetCommentResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetCommentResponse) GetJSON403() *OpenApiErrorSchema
- func (r GetCommentResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetCommentResponse) Status() string
- func (r GetCommentResponse) StatusCode() int
- type GetCourseParams
- type GetCourseParamsLocale
- type GetCourseResponse
- func (r GetCourseResponse) ContentType() string
- func (r GetCourseResponse) GetBody() []byte
- func (r GetCourseResponse) GetJSON200() *CourseDetailSchema
- func (r GetCourseResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetCourseResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetCourseResponse) Status() string
- func (r GetCourseResponse) StatusCode() int
- type GetCurrentCalendarSubscriptionResponse
- func (r GetCurrentCalendarSubscriptionResponse) ContentType() string
- func (r GetCurrentCalendarSubscriptionResponse) GetBody() []byte
- func (r GetCurrentCalendarSubscriptionResponse) GetJSON200() *CurrentCalendarSubscriptionResponseSchema
- func (r GetCurrentCalendarSubscriptionResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetCurrentCalendarSubscriptionResponse) Status() string
- func (r GetCurrentCalendarSubscriptionResponse) StatusCode() int
- type GetCurrentSemesterResponse
- func (r GetCurrentSemesterResponse) ContentType() string
- func (r GetCurrentSemesterResponse) GetBody() []byte
- func (r GetCurrentSemesterResponse) GetJSON200() *SemesterSchema
- func (r GetCurrentSemesterResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetCurrentSemesterResponse) Status() string
- func (r GetCurrentSemesterResponse) StatusCode() int
- type GetDescriptionParams
- type GetDescriptionParamsTargetType
- type GetDescriptionResponse
- func (r GetDescriptionResponse) ContentType() string
- func (r GetDescriptionResponse) GetBody() []byte
- func (r GetDescriptionResponse) GetJSON200() *DescriptionsResponseSchema
- func (r GetDescriptionResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetDescriptionResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetDescriptionResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetDescriptionResponse) Status() string
- func (r GetDescriptionResponse) StatusCode() int
- type GetMetadataResponse
- type GetOpenApiSpecResponse
- type GetSectionCalendarResponse
- type GetSectionParams
- type GetSectionParamsIncludeExams
- type GetSectionParamsIncludeSchedules
- type GetSectionParamsIncludeTeacherDepartments
- type GetSectionParamsLocale
- type GetSectionResponse
- func (r GetSectionResponse) ContentType() string
- func (r GetSectionResponse) GetBody() []byte
- func (r GetSectionResponse) GetJSON200() *SectionDetailSchema
- func (r GetSectionResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetSectionResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetSectionResponse) Status() string
- func (r GetSectionResponse) StatusCode() int
- type GetSectionScheduleGroupsParams
- type GetSectionScheduleGroupsParamsLocale
- type GetSectionScheduleGroupsResponse
- func (r GetSectionScheduleGroupsResponse) ContentType() string
- func (r GetSectionScheduleGroupsResponse) GetBody() []byte
- func (r GetSectionScheduleGroupsResponse) GetJSON200() *ScheduleGroupsResponseSchema
- func (r GetSectionScheduleGroupsResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetSectionScheduleGroupsResponse) Status() string
- func (r GetSectionScheduleGroupsResponse) StatusCode() int
- type GetSectionSchedulesParams
- type GetSectionSchedulesParamsLocale
- type GetSectionSchedulesResponse
- func (r GetSectionSchedulesResponse) ContentType() string
- func (r GetSectionSchedulesResponse) GetBody() []byte
- func (r GetSectionSchedulesResponse) GetJSON200() *SectionSchedulesReadResponseSchema
- func (r GetSectionSchedulesResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetSectionSchedulesResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetSectionSchedulesResponse) Status() string
- func (r GetSectionSchedulesResponse) StatusCode() int
- type GetSectionsCalendarParams
- type GetSectionsCalendarResponse
- type GetSubscribedHomeworksParams
- type GetSubscribedHomeworksResponse
- func (r GetSubscribedHomeworksResponse) ContentType() string
- func (r GetSubscribedHomeworksResponse) GetBody() []byte
- func (r GetSubscribedHomeworksResponse) GetJSON200() *SubscribedHomeworksResponseSchema
- func (r GetSubscribedHomeworksResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetSubscribedHomeworksResponse) GetJSON401() *OpenApiErrorSchema
- func (r GetSubscribedHomeworksResponse) Status() string
- func (r GetSubscribedHomeworksResponse) StatusCode() int
- type GetTeacherParams
- type GetTeacherParamsLocale
- type GetTeacherResponse
- func (r GetTeacherResponse) ContentType() string
- func (r GetTeacherResponse) GetBody() []byte
- func (r GetTeacherResponse) GetJSON200() *TeacherDetailSchema
- func (r GetTeacherResponse) GetJSON400() *OpenApiErrorSchema
- func (r GetTeacherResponse) GetJSON404() *OpenApiErrorSchema
- func (r GetTeacherResponse) Status() string
- func (r GetTeacherResponse) StatusCode() int
- type GetWellKnownAppleAppSiteAssociationResponse
- func (r GetWellKnownAppleAppSiteAssociationResponse) ContentType() string
- func (r GetWellKnownAppleAppSiteAssociationResponse) GetBody() []byte
- func (r GetWellKnownAppleAppSiteAssociationResponse) GetJSON200() *AppleAppSiteAssociationResponseSchema
- func (r GetWellKnownAppleAppSiteAssociationResponse) Status() string
- func (r GetWellKnownAppleAppSiteAssociationResponse) StatusCode() int
- type GetWellKnownOauthAuthorizationServerApiAuthResponse
- func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) ContentType() string
- func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) GetBody() []byte
- func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) Status() string
- func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) StatusCode() int
- type GetWellKnownOauthProtectedResourceApiGraphqlResponse
- func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) ContentType() string
- func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) GetBody() []byte
- func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) Status() string
- func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) StatusCode() int
- type GetWellKnownOauthProtectedResourceApiMcpResponse
- func (r GetWellKnownOauthProtectedResourceApiMcpResponse) ContentType() string
- func (r GetWellKnownOauthProtectedResourceApiMcpResponse) GetBody() []byte
- func (r GetWellKnownOauthProtectedResourceApiMcpResponse) Status() string
- func (r GetWellKnownOauthProtectedResourceApiMcpResponse) StatusCode() int
- type GetWellKnownOpenidConfigurationApiAuthResponse
- type HomeworkAuditListResponseSchema
- type HomeworkAuditListResponseSchemaAuditLogsAction
- type HomeworkCompletionBatchRequestSchema
- type HomeworkCompletionBatchResponseSchema
- type HomeworkCompletionBatchResponseSchemaResults0
- type HomeworkCompletionBatchResponseSchemaResults0Success
- type HomeworkCompletionBatchResponseSchemaResults1
- type HomeworkCompletionBatchResponseSchemaResults1ErrorCode
- type HomeworkCompletionBatchResponseSchemaResults1Success
- type HomeworkCompletionBatchResponseSchema_Results_Item
- func (t HomeworkCompletionBatchResponseSchema_Results_Item) AsHomeworkCompletionBatchResponseSchemaResults0() (HomeworkCompletionBatchResponseSchemaResults0, error)
- func (t HomeworkCompletionBatchResponseSchema_Results_Item) AsHomeworkCompletionBatchResponseSchemaResults1() (HomeworkCompletionBatchResponseSchemaResults1, error)
- func (t *HomeworkCompletionBatchResponseSchema_Results_Item) FromHomeworkCompletionBatchResponseSchemaResults0(v HomeworkCompletionBatchResponseSchemaResults0) error
- func (t *HomeworkCompletionBatchResponseSchema_Results_Item) FromHomeworkCompletionBatchResponseSchemaResults1(v HomeworkCompletionBatchResponseSchemaResults1) error
- func (t HomeworkCompletionBatchResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
- func (t *HomeworkCompletionBatchResponseSchema_Results_Item) MergeHomeworkCompletionBatchResponseSchemaResults0(v HomeworkCompletionBatchResponseSchemaResults0) error
- func (t *HomeworkCompletionBatchResponseSchema_Results_Item) MergeHomeworkCompletionBatchResponseSchemaResults1(v HomeworkCompletionBatchResponseSchemaResults1) error
- func (t *HomeworkCompletionBatchResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
- type HomeworkCompletionRequestSchema
- type HomeworkCompletionResponseSchema
- type HomeworkCreateRequestSchema
- func (t HomeworkCreateRequestSchema) AsHomeworkCreateRequestSchema0() (HomeworkCreateRequestSchema0, error)
- func (t HomeworkCreateRequestSchema) AsHomeworkCreateRequestSchema1() (HomeworkCreateRequestSchema1, error)
- func (t *HomeworkCreateRequestSchema) FromHomeworkCreateRequestSchema0(v HomeworkCreateRequestSchema0) error
- func (t *HomeworkCreateRequestSchema) FromHomeworkCreateRequestSchema1(v HomeworkCreateRequestSchema1) error
- func (t HomeworkCreateRequestSchema) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema) MergeHomeworkCreateRequestSchema0(v HomeworkCreateRequestSchema0) error
- func (t *HomeworkCreateRequestSchema) MergeHomeworkCreateRequestSchema1(v HomeworkCreateRequestSchema1) error
- func (t *HomeworkCreateRequestSchema) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema0
- type HomeworkCreateRequestSchema0PublishedAt0
- type HomeworkCreateRequestSchema0PublishedAt1
- type HomeworkCreateRequestSchema0SectionId0
- type HomeworkCreateRequestSchema0SectionId1
- type HomeworkCreateRequestSchema0SectionJwId0
- type HomeworkCreateRequestSchema0SectionJwId1
- type HomeworkCreateRequestSchema0SubmissionDueAt0
- type HomeworkCreateRequestSchema0SubmissionDueAt1
- type HomeworkCreateRequestSchema0SubmissionStartAt0
- type HomeworkCreateRequestSchema0SubmissionStartAt1
- type HomeworkCreateRequestSchema1
- type HomeworkCreateRequestSchema1PublishedAt0
- type HomeworkCreateRequestSchema1PublishedAt1
- type HomeworkCreateRequestSchema1SectionId0
- type HomeworkCreateRequestSchema1SectionId1
- type HomeworkCreateRequestSchema1SectionJwId0
- type HomeworkCreateRequestSchema1SectionJwId1
- type HomeworkCreateRequestSchema1SubmissionDueAt0
- type HomeworkCreateRequestSchema1SubmissionDueAt1
- type HomeworkCreateRequestSchema1SubmissionStartAt0
- type HomeworkCreateRequestSchema1SubmissionStartAt1
- type HomeworkCreateRequestSchema_0_PublishedAt
- func (t HomeworkCreateRequestSchema_0_PublishedAt) AsHomeworkCreateRequestSchema0PublishedAt0() (HomeworkCreateRequestSchema0PublishedAt0, error)
- func (t HomeworkCreateRequestSchema_0_PublishedAt) AsHomeworkCreateRequestSchema0PublishedAt1() (HomeworkCreateRequestSchema0PublishedAt1, error)
- func (t *HomeworkCreateRequestSchema_0_PublishedAt) FromHomeworkCreateRequestSchema0PublishedAt0(v HomeworkCreateRequestSchema0PublishedAt0) error
- func (t *HomeworkCreateRequestSchema_0_PublishedAt) FromHomeworkCreateRequestSchema0PublishedAt1(v HomeworkCreateRequestSchema0PublishedAt1) error
- func (t HomeworkCreateRequestSchema_0_PublishedAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_0_PublishedAt) MergeHomeworkCreateRequestSchema0PublishedAt0(v HomeworkCreateRequestSchema0PublishedAt0) error
- func (t *HomeworkCreateRequestSchema_0_PublishedAt) MergeHomeworkCreateRequestSchema0PublishedAt1(v HomeworkCreateRequestSchema0PublishedAt1) error
- func (t *HomeworkCreateRequestSchema_0_PublishedAt) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_0_SectionId
- func (t HomeworkCreateRequestSchema_0_SectionId) AsHomeworkCreateRequestSchema0SectionId0() (HomeworkCreateRequestSchema0SectionId0, error)
- func (t HomeworkCreateRequestSchema_0_SectionId) AsHomeworkCreateRequestSchema0SectionId1() (HomeworkCreateRequestSchema0SectionId1, error)
- func (t *HomeworkCreateRequestSchema_0_SectionId) FromHomeworkCreateRequestSchema0SectionId0(v HomeworkCreateRequestSchema0SectionId0) error
- func (t *HomeworkCreateRequestSchema_0_SectionId) FromHomeworkCreateRequestSchema0SectionId1(v HomeworkCreateRequestSchema0SectionId1) error
- func (t HomeworkCreateRequestSchema_0_SectionId) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_0_SectionId) MergeHomeworkCreateRequestSchema0SectionId0(v HomeworkCreateRequestSchema0SectionId0) error
- func (t *HomeworkCreateRequestSchema_0_SectionId) MergeHomeworkCreateRequestSchema0SectionId1(v HomeworkCreateRequestSchema0SectionId1) error
- func (t *HomeworkCreateRequestSchema_0_SectionId) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_0_SectionJwId
- func (t HomeworkCreateRequestSchema_0_SectionJwId) AsHomeworkCreateRequestSchema0SectionJwId0() (HomeworkCreateRequestSchema0SectionJwId0, error)
- func (t HomeworkCreateRequestSchema_0_SectionJwId) AsHomeworkCreateRequestSchema0SectionJwId1() (HomeworkCreateRequestSchema0SectionJwId1, error)
- func (t *HomeworkCreateRequestSchema_0_SectionJwId) FromHomeworkCreateRequestSchema0SectionJwId0(v HomeworkCreateRequestSchema0SectionJwId0) error
- func (t *HomeworkCreateRequestSchema_0_SectionJwId) FromHomeworkCreateRequestSchema0SectionJwId1(v HomeworkCreateRequestSchema0SectionJwId1) error
- func (t HomeworkCreateRequestSchema_0_SectionJwId) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_0_SectionJwId) MergeHomeworkCreateRequestSchema0SectionJwId0(v HomeworkCreateRequestSchema0SectionJwId0) error
- func (t *HomeworkCreateRequestSchema_0_SectionJwId) MergeHomeworkCreateRequestSchema0SectionJwId1(v HomeworkCreateRequestSchema0SectionJwId1) error
- func (t *HomeworkCreateRequestSchema_0_SectionJwId) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_0_SubmissionDueAt
- func (t HomeworkCreateRequestSchema_0_SubmissionDueAt) AsHomeworkCreateRequestSchema0SubmissionDueAt0() (HomeworkCreateRequestSchema0SubmissionDueAt0, error)
- func (t HomeworkCreateRequestSchema_0_SubmissionDueAt) AsHomeworkCreateRequestSchema0SubmissionDueAt1() (HomeworkCreateRequestSchema0SubmissionDueAt1, error)
- func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) FromHomeworkCreateRequestSchema0SubmissionDueAt0(v HomeworkCreateRequestSchema0SubmissionDueAt0) error
- func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) FromHomeworkCreateRequestSchema0SubmissionDueAt1(v HomeworkCreateRequestSchema0SubmissionDueAt1) error
- func (t HomeworkCreateRequestSchema_0_SubmissionDueAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) MergeHomeworkCreateRequestSchema0SubmissionDueAt0(v HomeworkCreateRequestSchema0SubmissionDueAt0) error
- func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) MergeHomeworkCreateRequestSchema0SubmissionDueAt1(v HomeworkCreateRequestSchema0SubmissionDueAt1) error
- func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_0_SubmissionStartAt
- func (t HomeworkCreateRequestSchema_0_SubmissionStartAt) AsHomeworkCreateRequestSchema0SubmissionStartAt0() (HomeworkCreateRequestSchema0SubmissionStartAt0, error)
- func (t HomeworkCreateRequestSchema_0_SubmissionStartAt) AsHomeworkCreateRequestSchema0SubmissionStartAt1() (HomeworkCreateRequestSchema0SubmissionStartAt1, error)
- func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) FromHomeworkCreateRequestSchema0SubmissionStartAt0(v HomeworkCreateRequestSchema0SubmissionStartAt0) error
- func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) FromHomeworkCreateRequestSchema0SubmissionStartAt1(v HomeworkCreateRequestSchema0SubmissionStartAt1) error
- func (t HomeworkCreateRequestSchema_0_SubmissionStartAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) MergeHomeworkCreateRequestSchema0SubmissionStartAt0(v HomeworkCreateRequestSchema0SubmissionStartAt0) error
- func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) MergeHomeworkCreateRequestSchema0SubmissionStartAt1(v HomeworkCreateRequestSchema0SubmissionStartAt1) error
- func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_1_PublishedAt
- func (t HomeworkCreateRequestSchema_1_PublishedAt) AsHomeworkCreateRequestSchema1PublishedAt0() (HomeworkCreateRequestSchema1PublishedAt0, error)
- func (t HomeworkCreateRequestSchema_1_PublishedAt) AsHomeworkCreateRequestSchema1PublishedAt1() (HomeworkCreateRequestSchema1PublishedAt1, error)
- func (t *HomeworkCreateRequestSchema_1_PublishedAt) FromHomeworkCreateRequestSchema1PublishedAt0(v HomeworkCreateRequestSchema1PublishedAt0) error
- func (t *HomeworkCreateRequestSchema_1_PublishedAt) FromHomeworkCreateRequestSchema1PublishedAt1(v HomeworkCreateRequestSchema1PublishedAt1) error
- func (t HomeworkCreateRequestSchema_1_PublishedAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_1_PublishedAt) MergeHomeworkCreateRequestSchema1PublishedAt0(v HomeworkCreateRequestSchema1PublishedAt0) error
- func (t *HomeworkCreateRequestSchema_1_PublishedAt) MergeHomeworkCreateRequestSchema1PublishedAt1(v HomeworkCreateRequestSchema1PublishedAt1) error
- func (t *HomeworkCreateRequestSchema_1_PublishedAt) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_1_SectionId
- func (t HomeworkCreateRequestSchema_1_SectionId) AsHomeworkCreateRequestSchema1SectionId0() (HomeworkCreateRequestSchema1SectionId0, error)
- func (t HomeworkCreateRequestSchema_1_SectionId) AsHomeworkCreateRequestSchema1SectionId1() (HomeworkCreateRequestSchema1SectionId1, error)
- func (t *HomeworkCreateRequestSchema_1_SectionId) FromHomeworkCreateRequestSchema1SectionId0(v HomeworkCreateRequestSchema1SectionId0) error
- func (t *HomeworkCreateRequestSchema_1_SectionId) FromHomeworkCreateRequestSchema1SectionId1(v HomeworkCreateRequestSchema1SectionId1) error
- func (t HomeworkCreateRequestSchema_1_SectionId) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_1_SectionId) MergeHomeworkCreateRequestSchema1SectionId0(v HomeworkCreateRequestSchema1SectionId0) error
- func (t *HomeworkCreateRequestSchema_1_SectionId) MergeHomeworkCreateRequestSchema1SectionId1(v HomeworkCreateRequestSchema1SectionId1) error
- func (t *HomeworkCreateRequestSchema_1_SectionId) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_1_SectionJwId
- func (t HomeworkCreateRequestSchema_1_SectionJwId) AsHomeworkCreateRequestSchema1SectionJwId0() (HomeworkCreateRequestSchema1SectionJwId0, error)
- func (t HomeworkCreateRequestSchema_1_SectionJwId) AsHomeworkCreateRequestSchema1SectionJwId1() (HomeworkCreateRequestSchema1SectionJwId1, error)
- func (t *HomeworkCreateRequestSchema_1_SectionJwId) FromHomeworkCreateRequestSchema1SectionJwId0(v HomeworkCreateRequestSchema1SectionJwId0) error
- func (t *HomeworkCreateRequestSchema_1_SectionJwId) FromHomeworkCreateRequestSchema1SectionJwId1(v HomeworkCreateRequestSchema1SectionJwId1) error
- func (t HomeworkCreateRequestSchema_1_SectionJwId) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_1_SectionJwId) MergeHomeworkCreateRequestSchema1SectionJwId0(v HomeworkCreateRequestSchema1SectionJwId0) error
- func (t *HomeworkCreateRequestSchema_1_SectionJwId) MergeHomeworkCreateRequestSchema1SectionJwId1(v HomeworkCreateRequestSchema1SectionJwId1) error
- func (t *HomeworkCreateRequestSchema_1_SectionJwId) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_1_SubmissionDueAt
- func (t HomeworkCreateRequestSchema_1_SubmissionDueAt) AsHomeworkCreateRequestSchema1SubmissionDueAt0() (HomeworkCreateRequestSchema1SubmissionDueAt0, error)
- func (t HomeworkCreateRequestSchema_1_SubmissionDueAt) AsHomeworkCreateRequestSchema1SubmissionDueAt1() (HomeworkCreateRequestSchema1SubmissionDueAt1, error)
- func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) FromHomeworkCreateRequestSchema1SubmissionDueAt0(v HomeworkCreateRequestSchema1SubmissionDueAt0) error
- func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) FromHomeworkCreateRequestSchema1SubmissionDueAt1(v HomeworkCreateRequestSchema1SubmissionDueAt1) error
- func (t HomeworkCreateRequestSchema_1_SubmissionDueAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) MergeHomeworkCreateRequestSchema1SubmissionDueAt0(v HomeworkCreateRequestSchema1SubmissionDueAt0) error
- func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) MergeHomeworkCreateRequestSchema1SubmissionDueAt1(v HomeworkCreateRequestSchema1SubmissionDueAt1) error
- func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) UnmarshalJSON(b []byte) error
- type HomeworkCreateRequestSchema_1_SubmissionStartAt
- func (t HomeworkCreateRequestSchema_1_SubmissionStartAt) AsHomeworkCreateRequestSchema1SubmissionStartAt0() (HomeworkCreateRequestSchema1SubmissionStartAt0, error)
- func (t HomeworkCreateRequestSchema_1_SubmissionStartAt) AsHomeworkCreateRequestSchema1SubmissionStartAt1() (HomeworkCreateRequestSchema1SubmissionStartAt1, error)
- func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) FromHomeworkCreateRequestSchema1SubmissionStartAt0(v HomeworkCreateRequestSchema1SubmissionStartAt0) error
- func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) FromHomeworkCreateRequestSchema1SubmissionStartAt1(v HomeworkCreateRequestSchema1SubmissionStartAt1) error
- func (t HomeworkCreateRequestSchema_1_SubmissionStartAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) MergeHomeworkCreateRequestSchema1SubmissionStartAt0(v HomeworkCreateRequestSchema1SubmissionStartAt0) error
- func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) MergeHomeworkCreateRequestSchema1SubmissionStartAt1(v HomeworkCreateRequestSchema1SubmissionStartAt1) error
- func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) UnmarshalJSON(b []byte) error
- type HomeworkCreateResponseSchema
- type HomeworkDetailResponseSchema
- type HomeworkDetailResponseSchemaAuditLogsAction
- type HomeworkUpdateRequestSchema
- type HomeworkUpdateRequestSchemaPublishedAt0
- type HomeworkUpdateRequestSchemaPublishedAt1
- type HomeworkUpdateRequestSchemaSubmissionDueAt0
- type HomeworkUpdateRequestSchemaSubmissionDueAt1
- type HomeworkUpdateRequestSchemaSubmissionStartAt0
- type HomeworkUpdateRequestSchemaSubmissionStartAt1
- type HomeworkUpdateRequestSchema_PublishedAt
- func (t HomeworkUpdateRequestSchema_PublishedAt) AsHomeworkUpdateRequestSchemaPublishedAt0() (HomeworkUpdateRequestSchemaPublishedAt0, error)
- func (t HomeworkUpdateRequestSchema_PublishedAt) AsHomeworkUpdateRequestSchemaPublishedAt1() (HomeworkUpdateRequestSchemaPublishedAt1, error)
- func (t *HomeworkUpdateRequestSchema_PublishedAt) FromHomeworkUpdateRequestSchemaPublishedAt0(v HomeworkUpdateRequestSchemaPublishedAt0) error
- func (t *HomeworkUpdateRequestSchema_PublishedAt) FromHomeworkUpdateRequestSchemaPublishedAt1(v HomeworkUpdateRequestSchemaPublishedAt1) error
- func (t HomeworkUpdateRequestSchema_PublishedAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkUpdateRequestSchema_PublishedAt) MergeHomeworkUpdateRequestSchemaPublishedAt0(v HomeworkUpdateRequestSchemaPublishedAt0) error
- func (t *HomeworkUpdateRequestSchema_PublishedAt) MergeHomeworkUpdateRequestSchemaPublishedAt1(v HomeworkUpdateRequestSchemaPublishedAt1) error
- func (t *HomeworkUpdateRequestSchema_PublishedAt) UnmarshalJSON(b []byte) error
- type HomeworkUpdateRequestSchema_SubmissionDueAt
- func (t HomeworkUpdateRequestSchema_SubmissionDueAt) AsHomeworkUpdateRequestSchemaSubmissionDueAt0() (HomeworkUpdateRequestSchemaSubmissionDueAt0, error)
- func (t HomeworkUpdateRequestSchema_SubmissionDueAt) AsHomeworkUpdateRequestSchemaSubmissionDueAt1() (HomeworkUpdateRequestSchemaSubmissionDueAt1, error)
- func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) FromHomeworkUpdateRequestSchemaSubmissionDueAt0(v HomeworkUpdateRequestSchemaSubmissionDueAt0) error
- func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) FromHomeworkUpdateRequestSchemaSubmissionDueAt1(v HomeworkUpdateRequestSchemaSubmissionDueAt1) error
- func (t HomeworkUpdateRequestSchema_SubmissionDueAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) MergeHomeworkUpdateRequestSchemaSubmissionDueAt0(v HomeworkUpdateRequestSchemaSubmissionDueAt0) error
- func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) MergeHomeworkUpdateRequestSchemaSubmissionDueAt1(v HomeworkUpdateRequestSchemaSubmissionDueAt1) error
- func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) UnmarshalJSON(b []byte) error
- type HomeworkUpdateRequestSchema_SubmissionStartAt
- func (t HomeworkUpdateRequestSchema_SubmissionStartAt) AsHomeworkUpdateRequestSchemaSubmissionStartAt0() (HomeworkUpdateRequestSchemaSubmissionStartAt0, error)
- func (t HomeworkUpdateRequestSchema_SubmissionStartAt) AsHomeworkUpdateRequestSchemaSubmissionStartAt1() (HomeworkUpdateRequestSchemaSubmissionStartAt1, error)
- func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) FromHomeworkUpdateRequestSchemaSubmissionStartAt0(v HomeworkUpdateRequestSchemaSubmissionStartAt0) error
- func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) FromHomeworkUpdateRequestSchemaSubmissionStartAt1(v HomeworkUpdateRequestSchemaSubmissionStartAt1) error
- func (t HomeworkUpdateRequestSchema_SubmissionStartAt) MarshalJSON() ([]byte, error)
- func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) MergeHomeworkUpdateRequestSchemaSubmissionStartAt0(v HomeworkUpdateRequestSchemaSubmissionStartAt0) error
- func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) MergeHomeworkUpdateRequestSchemaSubmissionStartAt1(v HomeworkUpdateRequestSchemaSubmissionStartAt1) error
- func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) UnmarshalJSON(b []byte) error
- type HomeworkUpdateResponseSchema
- type HomeworksListResponseSchema
- type HttpRequestDoer
- type IdResponseSchema
- type ListAdminCommentsParams
- type ListAdminCommentsParamsStatus
- type ListAdminCommentsResponse
- func (r ListAdminCommentsResponse) ContentType() string
- func (r ListAdminCommentsResponse) GetBody() []byte
- func (r ListAdminCommentsResponse) GetJSON200() *AdminCommentsResponseSchema
- func (r ListAdminCommentsResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListAdminCommentsResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListAdminCommentsResponse) Status() string
- func (r ListAdminCommentsResponse) StatusCode() int
- type ListAdminDescriptionsParams
- type ListAdminDescriptionsParamsHasContent
- type ListAdminDescriptionsParamsTargetType
- type ListAdminDescriptionsResponse
- func (r ListAdminDescriptionsResponse) ContentType() string
- func (r ListAdminDescriptionsResponse) GetBody() []byte
- func (r ListAdminDescriptionsResponse) GetJSON200() *AdminDescriptionsResponseSchema
- func (r ListAdminDescriptionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListAdminDescriptionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListAdminDescriptionsResponse) Status() string
- func (r ListAdminDescriptionsResponse) StatusCode() int
- type ListAdminHomeworksParams
- type ListAdminHomeworksParamsStatus
- type ListAdminHomeworksResponse
- func (r ListAdminHomeworksResponse) ContentType() string
- func (r ListAdminHomeworksResponse) GetBody() []byte
- func (r ListAdminHomeworksResponse) GetJSON200() *AdminHomeworksResponseSchema
- func (r ListAdminHomeworksResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListAdminHomeworksResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListAdminHomeworksResponse) Status() string
- func (r ListAdminHomeworksResponse) StatusCode() int
- type ListAdminSuspensionsResponse
- func (r ListAdminSuspensionsResponse) ContentType() string
- func (r ListAdminSuspensionsResponse) GetBody() []byte
- func (r ListAdminSuspensionsResponse) GetJSON200() *AdminSuspensionsResponseSchema
- func (r ListAdminSuspensionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListAdminSuspensionsResponse) Status() string
- func (r ListAdminSuspensionsResponse) StatusCode() int
- type ListAdminUsersParams
- type ListAdminUsersResponse
- func (r ListAdminUsersResponse) ContentType() string
- func (r ListAdminUsersResponse) GetBody() []byte
- func (r ListAdminUsersResponse) GetJSON200() *AdminUsersResponseSchema
- func (r ListAdminUsersResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListAdminUsersResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListAdminUsersResponse) Status() string
- func (r ListAdminUsersResponse) StatusCode() int
- type ListCommentsParams
- type ListCommentsParamsTargetType
- type ListCommentsResponse
- func (r ListCommentsResponse) ContentType() string
- func (r ListCommentsResponse) GetBody() []byte
- func (r ListCommentsResponse) GetJSON200() *CommentsListResponseSchema
- func (r ListCommentsResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListCommentsResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListCommentsResponse) GetJSON404() *OpenApiErrorSchema
- func (r ListCommentsResponse) Status() string
- func (r ListCommentsResponse) StatusCode() int
- type ListCoursesParams
- type ListCoursesParamsLocale
- type ListCoursesResponse
- func (r ListCoursesResponse) ContentType() string
- func (r ListCoursesResponse) GetBody() []byte
- func (r ListCoursesResponse) GetJSON200() *PaginatedCourseResponseSchema
- func (r ListCoursesResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListCoursesResponse) Status() string
- func (r ListCoursesResponse) StatusCode() int
- type ListHealthResponse
- type ListMcpResponse
- type ListSchedulesParams
- type ListSchedulesParamsLocale
- type ListSchedulesResponse
- func (r ListSchedulesResponse) ContentType() string
- func (r ListSchedulesResponse) GetBody() []byte
- func (r ListSchedulesResponse) GetJSON200() *PaginatedScheduleResponseSchema
- func (r ListSchedulesResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListSchedulesResponse) Status() string
- func (r ListSchedulesResponse) StatusCode() int
- type ListSectionsParams
- type ListSectionsParamsLocale
- type ListSectionsResponse
- func (r ListSectionsResponse) ContentType() string
- func (r ListSectionsResponse) GetBody() []byte
- func (r ListSectionsResponse) GetJSON200() *PaginatedSectionResponseSchema
- func (r ListSectionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListSectionsResponse) Status() string
- func (r ListSectionsResponse) StatusCode() int
- type ListSemestersParams
- type ListSemestersResponse
- func (r ListSemestersResponse) ContentType() string
- func (r ListSemestersResponse) GetBody() []byte
- func (r ListSemestersResponse) GetJSON200() *PaginatedSemesterResponseSchema
- func (r ListSemestersResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListSemestersResponse) Status() string
- func (r ListSemestersResponse) StatusCode() int
- type ListTeachersParams
- type ListTeachersParamsLocale
- type ListTeachersResponse
- func (r ListTeachersResponse) ContentType() string
- func (r ListTeachersResponse) GetBody() []byte
- func (r ListTeachersResponse) GetJSON200() *PaginatedTeacherResponseSchema
- func (r ListTeachersResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListTeachersResponse) Status() string
- func (r ListTeachersResponse) StatusCode() int
- type ListTodosParams
- type ListTodosParamsCompleted
- type ListTodosParamsPriority
- type ListTodosResponse
- func (r ListTodosResponse) ContentType() string
- func (r ListTodosResponse) GetBody() []byte
- func (r ListTodosResponse) GetJSON200() *TodosListResponseSchema
- func (r ListTodosResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListTodosResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListTodosResponse) Status() string
- func (r ListTodosResponse) StatusCode() int
- type ListUploadsParams
- type ListUploadsResponse
- func (r ListUploadsResponse) ContentType() string
- func (r ListUploadsResponse) GetBody() []byte
- func (r ListUploadsResponse) GetJSON200() *UploadsListResponseSchema
- func (r ListUploadsResponse) GetJSON400() *OpenApiErrorSchema
- func (r ListUploadsResponse) GetJSON401() *OpenApiErrorSchema
- func (r ListUploadsResponse) Status() string
- func (r ListUploadsResponse) StatusCode() int
- type LocaleUpdateRequestSchema
- type LocaleUpdateRequestSchemaLocale
- type MatchSectionCodesJSONRequestBody
- type MatchSectionCodesRequestSchema
- type MatchSectionCodesRequestSchemaSemesterId0
- type MatchSectionCodesRequestSchemaSemesterId1
- type MatchSectionCodesRequestSchema_SemesterId
- func (t MatchSectionCodesRequestSchema_SemesterId) AsMatchSectionCodesRequestSchemaSemesterId0() (MatchSectionCodesRequestSchemaSemesterId0, error)
- func (t MatchSectionCodesRequestSchema_SemesterId) AsMatchSectionCodesRequestSchemaSemesterId1() (MatchSectionCodesRequestSchemaSemesterId1, error)
- func (t *MatchSectionCodesRequestSchema_SemesterId) FromMatchSectionCodesRequestSchemaSemesterId0(v MatchSectionCodesRequestSchemaSemesterId0) error
- func (t *MatchSectionCodesRequestSchema_SemesterId) FromMatchSectionCodesRequestSchemaSemesterId1(v MatchSectionCodesRequestSchemaSemesterId1) error
- func (t MatchSectionCodesRequestSchema_SemesterId) MarshalJSON() ([]byte, error)
- func (t *MatchSectionCodesRequestSchema_SemesterId) MergeMatchSectionCodesRequestSchemaSemesterId0(v MatchSectionCodesRequestSchemaSemesterId0) error
- func (t *MatchSectionCodesRequestSchema_SemesterId) MergeMatchSectionCodesRequestSchemaSemesterId1(v MatchSectionCodesRequestSchemaSemesterId1) error
- func (t *MatchSectionCodesRequestSchema_SemesterId) UnmarshalJSON(b []byte) error
- type MatchSectionCodesResponse
- func (r MatchSectionCodesResponse) ContentType() string
- func (r MatchSectionCodesResponse) GetBody() []byte
- func (r MatchSectionCodesResponse) GetJSON200() *MatchSectionCodesResponseSchema
- func (r MatchSectionCodesResponse) GetJSON400() *OpenApiErrorSchema
- func (r MatchSectionCodesResponse) GetJSON404() *OpenApiErrorSchema
- func (r MatchSectionCodesResponse) Status() string
- func (r MatchSectionCodesResponse) StatusCode() int
- type MatchSectionCodesResponseSchema
- type MeResponseSchema
- type MetadataResponseSchema
- type ModerateAdminCommentJSONRequestBody
- type ModerateAdminCommentResponse
- func (r ModerateAdminCommentResponse) ContentType() string
- func (r ModerateAdminCommentResponse) GetBody() []byte
- func (r ModerateAdminCommentResponse) GetJSON200() *AdminModeratedCommentResponseSchema
- func (r ModerateAdminCommentResponse) GetJSON400() *OpenApiErrorSchema
- func (r ModerateAdminCommentResponse) GetJSON401() *OpenApiErrorSchema
- func (r ModerateAdminCommentResponse) GetJSON403() *OpenApiErrorSchema
- func (r ModerateAdminCommentResponse) GetJSON404() *OpenApiErrorSchema
- func (r ModerateAdminCommentResponse) GetJSON429() *OpenApiErrorSchema
- func (r ModerateAdminCommentResponse) GetJSON503() *OpenApiErrorSchema
- func (r ModerateAdminCommentResponse) Status() string
- func (r ModerateAdminCommentResponse) StatusCode() int
- type ModerateAdminCommentResponse429Headers
- type ModerateAdminCommentResponse503Headers
- type OauthDeviceAuthorizationRequestSchema
- type OauthDeviceAuthorizationRequestSchemaResource0
- type OauthDeviceAuthorizationRequestSchemaResource1
- type OauthDeviceAuthorizationRequestSchema_Resource
- func (t OauthDeviceAuthorizationRequestSchema_Resource) AsOauthDeviceAuthorizationRequestSchemaResource0() (OauthDeviceAuthorizationRequestSchemaResource0, error)
- func (t OauthDeviceAuthorizationRequestSchema_Resource) AsOauthDeviceAuthorizationRequestSchemaResource1() (OauthDeviceAuthorizationRequestSchemaResource1, error)
- func (t *OauthDeviceAuthorizationRequestSchema_Resource) FromOauthDeviceAuthorizationRequestSchemaResource0(v OauthDeviceAuthorizationRequestSchemaResource0) error
- func (t *OauthDeviceAuthorizationRequestSchema_Resource) FromOauthDeviceAuthorizationRequestSchemaResource1(v OauthDeviceAuthorizationRequestSchemaResource1) error
- func (t OauthDeviceAuthorizationRequestSchema_Resource) MarshalJSON() ([]byte, error)
- func (t *OauthDeviceAuthorizationRequestSchema_Resource) MergeOauthDeviceAuthorizationRequestSchemaResource0(v OauthDeviceAuthorizationRequestSchemaResource0) error
- func (t *OauthDeviceAuthorizationRequestSchema_Resource) MergeOauthDeviceAuthorizationRequestSchemaResource1(v OauthDeviceAuthorizationRequestSchemaResource1) error
- func (t *OauthDeviceAuthorizationRequestSchema_Resource) UnmarshalJSON(b []byte) error
- type OauthDeviceAuthorizationResponseSchema
- type OauthErrorResponseSchema
- type OauthTokenRequestSchema
- type OauthTokenRequestSchemaResource0
- type OauthTokenRequestSchemaResource1
- type OauthTokenRequestSchema_Resource
- func (t OauthTokenRequestSchema_Resource) AsOauthTokenRequestSchemaResource0() (OauthTokenRequestSchemaResource0, error)
- func (t OauthTokenRequestSchema_Resource) AsOauthTokenRequestSchemaResource1() (OauthTokenRequestSchemaResource1, error)
- func (t *OauthTokenRequestSchema_Resource) FromOauthTokenRequestSchemaResource0(v OauthTokenRequestSchemaResource0) error
- func (t *OauthTokenRequestSchema_Resource) FromOauthTokenRequestSchemaResource1(v OauthTokenRequestSchemaResource1) error
- func (t OauthTokenRequestSchema_Resource) MarshalJSON() ([]byte, error)
- func (t *OauthTokenRequestSchema_Resource) MergeOauthTokenRequestSchemaResource0(v OauthTokenRequestSchemaResource0) error
- func (t *OauthTokenRequestSchema_Resource) MergeOauthTokenRequestSchemaResource1(v OauthTokenRequestSchemaResource1) error
- func (t *OauthTokenRequestSchema_Resource) UnmarshalJSON(b []byte) error
- type OauthTokenResponseSchema
- type OauthTokenResponseSchemaTokenType
- type OpenApiDocumentResponseSchema
- type OpenApiErrorSchema
- type OptionsApiAuthOauth2DeviceAuthorizationResponse
- type OptionsApiAuthWellKnownOpenidConfigurationResponse
- func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) ContentType() string
- func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) GetBody() []byte
- func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) Status() string
- func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) StatusCode() int
- type OptionsApiMcpResponse
- type OptionsWellKnownOauthAuthorizationServerApiAuthResponse
- func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) ContentType() string
- func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) GetBody() []byte
- func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) Status() string
- func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) StatusCode() int
- type OptionsWellKnownOauthProtectedResourceApiGraphqlResponse
- func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) ContentType() string
- func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) GetBody() []byte
- func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) Status() string
- func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) StatusCode() int
- type OptionsWellKnownOauthProtectedResourceApiMcpResponse
- func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) ContentType() string
- func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) GetBody() []byte
- func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) Status() string
- func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) StatusCode() int
- type OptionsWellKnownOpenidConfigurationApiAuthResponse
- func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) ContentType() string
- func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) GetBody() []byte
- func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) Status() string
- func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) StatusCode() int
- type PaginatedCourseResponseSchema
- type PaginatedScheduleResponseSchema
- type PaginatedSectionHistoryResponseSchema
- type PaginatedSectionResponseSchema
- type PaginatedSemesterResponseSchema
- type PaginatedTeacherResponseSchema
- type PaginatedYoungEventResponseSchema
- type PaginatedYoungEventResponseSchemaMetaSourceStatus
- type PaginatedYoungOrganizerResponseSchema
- type PatchApiTodosBatchJSONRequestBody
- type PatchApiTodosBatchResponse
- func (r PatchApiTodosBatchResponse) ContentType() string
- func (r PatchApiTodosBatchResponse) GetBody() []byte
- func (r PatchApiTodosBatchResponse) GetJSON200() *TodoCompletionBatchResponseSchema
- func (r PatchApiTodosBatchResponse) GetJSON400() *OpenApiErrorSchema
- func (r PatchApiTodosBatchResponse) GetJSON401() *OpenApiErrorSchema
- func (r PatchApiTodosBatchResponse) GetJSON429() *OpenApiErrorSchema
- func (r PatchApiTodosBatchResponse) GetJSON503() *OpenApiErrorSchema
- func (r PatchApiTodosBatchResponse) Status() string
- func (r PatchApiTodosBatchResponse) StatusCode() int
- type PatchApiTodosBatchResponse429Headers
- type PatchApiTodosBatchResponse503Headers
- type PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody
- type PatchApiWorkspaceSubscriptionsJwIdResponse
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) ContentType() string
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetBody() []byte
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON200() *SubscriptionKindUpdateResponseSchema
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON401() *OpenApiErrorSchema
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON429() *OpenApiErrorSchema
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON503() *OpenApiErrorSchema
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) Status() string
- func (r PatchApiWorkspaceSubscriptionsJwIdResponse) StatusCode() int
- type PatchApiWorkspaceSubscriptionsJwIdResponse429Headers
- type PatchApiWorkspaceSubscriptionsJwIdResponse503Headers
- type PersonalCalendarPageSchema
- type PersonalCalendarPageSchemaDataPriority
- type PersonalCalendarPageSchemaDataSubscriptionKind
- type PersonalCalendarPageSchemaDataTargetKind
- type PersonalCalendarPageSchemaDataType
- type PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody
- type PostApiAuthOauth2DeviceAuthorizationResponse
- func (r PostApiAuthOauth2DeviceAuthorizationResponse) ContentType() string
- func (r PostApiAuthOauth2DeviceAuthorizationResponse) GetBody() []byte
- func (r PostApiAuthOauth2DeviceAuthorizationResponse) GetJSON200() *OauthDeviceAuthorizationResponseSchema
- func (r PostApiAuthOauth2DeviceAuthorizationResponse) GetJSON400() *OauthErrorResponseSchema
- func (r PostApiAuthOauth2DeviceAuthorizationResponse) Status() string
- func (r PostApiAuthOauth2DeviceAuthorizationResponse) StatusCode() int
- type PostApiAuthOauth2TokenFormdataRequestBody
- type PostApiAuthOauth2TokenResponse
- func (r PostApiAuthOauth2TokenResponse) ContentType() string
- func (r PostApiAuthOauth2TokenResponse) GetBody() []byte
- func (r PostApiAuthOauth2TokenResponse) GetJSON200() *OauthTokenResponseSchema
- func (r PostApiAuthOauth2TokenResponse) GetJSON400() *OauthErrorResponseSchema
- func (r PostApiAuthOauth2TokenResponse) GetJSON401() *OauthErrorResponseSchema
- func (r PostApiAuthOauth2TokenResponse) Status() string
- func (r PostApiAuthOauth2TokenResponse) StatusCode() int
- type PostApiIngestionPublicationsBatchesJSONRequestBody
- type PostApiIngestionPublicationsBatchesResponse
- func (r PostApiIngestionPublicationsBatchesResponse) ContentType() string
- func (r PostApiIngestionPublicationsBatchesResponse) GetBody() []byte
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON200() *PublicationIngestionBatchResponseSchema
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON400() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON401() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON409() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON413() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON429() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsBatchesResponse) GetJSON503() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsBatchesResponse) Status() string
- func (r PostApiIngestionPublicationsBatchesResponse) StatusCode() int
- type PostApiIngestionPublicationsBatchesResponse429Headers
- type PostApiIngestionPublicationsBatchesResponse503Headers
- type PostApiIngestionPublicationsObjectsPlanJSONRequestBody
- type PostApiIngestionPublicationsObjectsPlanResponse
- func (r PostApiIngestionPublicationsObjectsPlanResponse) ContentType() string
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetBody() []byte
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON200() *PublicationObjectPlanResponseSchema
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON400() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON401() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON404() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON429() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON503() *OpenApiErrorSchema
- func (r PostApiIngestionPublicationsObjectsPlanResponse) Status() string
- func (r PostApiIngestionPublicationsObjectsPlanResponse) StatusCode() int
- type PostApiIngestionPublicationsObjectsPlanResponse429Headers
- type PostApiIngestionPublicationsObjectsPlanResponse503Headers
- type PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody
- type PostApiWorkspaceSubscriptionsImportCodesResponse
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) ContentType() string
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetBody() []byte
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON200() *CalendarSubscriptionImportResponseSchema
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON400() *OpenApiErrorSchema
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON401() *OpenApiErrorSchema
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON404() *OpenApiErrorSchema
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON429() *OpenApiErrorSchema
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON503() *OpenApiErrorSchema
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) Status() string
- func (r PostApiWorkspaceSubscriptionsImportCodesResponse) StatusCode() int
- type PostApiWorkspaceSubscriptionsImportCodesResponse429Headers
- type PostApiWorkspaceSubscriptionsImportCodesResponse503Headers
- type PostApiWorkspaceYoungNotificationsIdReadResponse
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) ContentType() string
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetBody() []byte
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON200() *YoungNotificationReadSchema
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON401() *OpenApiErrorSchema
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON404() *OpenApiErrorSchema
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON429() *OpenApiErrorSchema
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON503() *OpenApiErrorSchema
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) Status() string
- func (r PostApiWorkspaceYoungNotificationsIdReadResponse) StatusCode() int
- type PostApiWorkspaceYoungNotificationsIdReadResponse429Headers
- type PostApiWorkspaceYoungNotificationsIdReadResponse503Headers
- type PublicPublicationDetailSchema
- type PublicPublicationDetailSchemaPublicationType
- type PublicPublicationDetailSchemaRevisionObjectsKind
- type PublicPublicationDetailSchemaRevisionObjectsStatus
- type PublicPublicationSourceDirectoryResponseSchema
- type PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel
- type PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel
- type PublicPublicationsResponseSchema
- type PublicPublicationsResponseSchemaDataObjectsKind
- type PublicPublicationsResponseSchemaDataObjectsStatus
- type PublicPublicationsResponseSchemaDataPublicationType
- type PublicUserProfileResponseSchema
- type PublicationIngestionBatchRequestSchema
- type PublicationIngestionBatchRequestSchemaItems0
- type PublicationIngestionBatchRequestSchemaItems0ObjectsKind
- type PublicationIngestionBatchRequestSchemaItems0PublicationType
- type PublicationIngestionBatchRequestSchemaItems0Tombstone
- type PublicationIngestionBatchRequestSchemaItems1
- type PublicationIngestionBatchRequestSchemaItems1Tombstone
- type PublicationIngestionBatchRequestSchemaProtocolVersion
- type PublicationIngestionBatchRequestSchema_Items_Item
- func (t PublicationIngestionBatchRequestSchema_Items_Item) AsPublicationIngestionBatchRequestSchemaItems0() (PublicationIngestionBatchRequestSchemaItems0, error)
- func (t PublicationIngestionBatchRequestSchema_Items_Item) AsPublicationIngestionBatchRequestSchemaItems1() (PublicationIngestionBatchRequestSchemaItems1, error)
- func (t *PublicationIngestionBatchRequestSchema_Items_Item) FromPublicationIngestionBatchRequestSchemaItems0(v PublicationIngestionBatchRequestSchemaItems0) error
- func (t *PublicationIngestionBatchRequestSchema_Items_Item) FromPublicationIngestionBatchRequestSchemaItems1(v PublicationIngestionBatchRequestSchemaItems1) error
- func (t PublicationIngestionBatchRequestSchema_Items_Item) MarshalJSON() ([]byte, error)
- func (t *PublicationIngestionBatchRequestSchema_Items_Item) MergePublicationIngestionBatchRequestSchemaItems0(v PublicationIngestionBatchRequestSchemaItems0) error
- func (t *PublicationIngestionBatchRequestSchema_Items_Item) MergePublicationIngestionBatchRequestSchemaItems1(v PublicationIngestionBatchRequestSchemaItems1) error
- func (t *PublicationIngestionBatchRequestSchema_Items_Item) UnmarshalJSON(b []byte) error
- type PublicationIngestionBatchResponseSchema
- type PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind
- type PublicationIngestionBatchResponseSchemaResultsStatus
- type PublicationObjectPlanRequestSchema
- type PublicationObjectPlanRequestSchemaObjectsKind
- type PublicationObjectPlanResponseSchema
- type PublicationObjectPlanResponseSchemaObjectsKind
- type PublicationObjectPlanResponseSchemaObjectsStatus
- type PublicationObjectUploadResponseSchema
- type PublicationObjectUploadResponseSchemaKind
- type PublicationObjectUploadResponseSchemaStatus
- type PutApiHomeworksCompletionsJSONRequestBody
- type PutApiHomeworksCompletionsResponse
- func (r PutApiHomeworksCompletionsResponse) ContentType() string
- func (r PutApiHomeworksCompletionsResponse) GetBody() []byte
- func (r PutApiHomeworksCompletionsResponse) GetJSON200() *HomeworkCompletionBatchResponseSchema
- func (r PutApiHomeworksCompletionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r PutApiHomeworksCompletionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r PutApiHomeworksCompletionsResponse) GetJSON429() *OpenApiErrorSchema
- func (r PutApiHomeworksCompletionsResponse) GetJSON503() *OpenApiErrorSchema
- func (r PutApiHomeworksCompletionsResponse) Status() string
- func (r PutApiHomeworksCompletionsResponse) StatusCode() int
- type PutApiHomeworksCompletionsResponse429Headers
- type PutApiHomeworksCompletionsResponse503Headers
- type PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind
- type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) ContentType() string
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetBody() []byte
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON200() *PublicationObjectUploadResponseSchema
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON400() *OpenApiErrorSchema
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON401() *OpenApiErrorSchema
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON404() *OpenApiErrorSchema
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON429() *OpenApiErrorSchema
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON503() *OpenApiErrorSchema
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) Status() string
- func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) StatusCode() int
- type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response429Headers
- type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response503Headers
- type PutApiUploadsObjectParams
- type PutApiUploadsObjectResponse
- func (r PutApiUploadsObjectResponse) ContentType() string
- func (r PutApiUploadsObjectResponse) GetBody() []byte
- func (r PutApiUploadsObjectResponse) GetJSON200() *SuccessResponseSchema
- func (r PutApiUploadsObjectResponse) GetJSON400() *OpenApiErrorSchema
- func (r PutApiUploadsObjectResponse) GetJSON401() *OpenApiErrorSchema
- func (r PutApiUploadsObjectResponse) GetJSON403() *OpenApiErrorSchema
- func (r PutApiUploadsObjectResponse) GetJSON413() *OpenApiErrorSchema
- func (r PutApiUploadsObjectResponse) GetJSON429() *OpenApiErrorSchema
- func (r PutApiUploadsObjectResponse) GetJSON503() *OpenApiErrorSchema
- func (r PutApiUploadsObjectResponse) Status() string
- func (r PutApiUploadsObjectResponse) StatusCode() int
- type PutApiUploadsObjectResponse429Headers
- type PutApiUploadsObjectResponse503Headers
- type PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody
- type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) ContentType() string
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetBody() []byte
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON200() *YoungEventSubscriptionStateSchema
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON401() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON429() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON503() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) Status() string
- func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) StatusCode() int
- type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse429Headers
- type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse503Headers
- type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody
- type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) ContentType() string
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetBody() []byte
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON200() *YoungOrganizerSubscriptionStateSchema
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON400() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON401() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON404() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON429() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON503() *OpenApiErrorSchema
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) Status() string
- func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) StatusCode() int
- type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse429Headers
- type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse503Headers
- type QueryCalendarSubscriptionSectionsJSONRequestBody
- type QueryCalendarSubscriptionSectionsResponse
- func (r QueryCalendarSubscriptionSectionsResponse) ContentType() string
- func (r QueryCalendarSubscriptionSectionsResponse) GetBody() []byte
- func (r QueryCalendarSubscriptionSectionsResponse) GetJSON200() *CalendarSubscriptionQueryResponseSchema
- func (r QueryCalendarSubscriptionSectionsResponse) GetJSON400() *OpenApiErrorSchema
- func (r QueryCalendarSubscriptionSectionsResponse) GetJSON401() *OpenApiErrorSchema
- func (r QueryCalendarSubscriptionSectionsResponse) GetJSON404() *OpenApiErrorSchema
- func (r QueryCalendarSubscriptionSectionsResponse) Status() string
- func (r QueryCalendarSubscriptionSectionsResponse) StatusCode() int
- type RemoveCommentReactionParams
- type RemoveCommentReactionParamsType
- type RemoveCommentReactionResponse
- func (r RemoveCommentReactionResponse) ContentType() string
- func (r RemoveCommentReactionResponse) GetBody() []byte
- func (r RemoveCommentReactionResponse) GetJSON200() *SuccessResponseSchema
- func (r RemoveCommentReactionResponse) GetJSON400() *OpenApiErrorSchema
- func (r RemoveCommentReactionResponse) GetJSON401() *OpenApiErrorSchema
- func (r RemoveCommentReactionResponse) GetJSON403() *OpenApiErrorSchema
- func (r RemoveCommentReactionResponse) GetJSON429() *OpenApiErrorSchema
- func (r RemoveCommentReactionResponse) GetJSON503() *OpenApiErrorSchema
- func (r RemoveCommentReactionResponse) Status() string
- func (r RemoveCommentReactionResponse) StatusCode() int
- type RemoveCommentReactionResponse429Headers
- type RemoveCommentReactionResponse503Headers
- type RequestEditorFn
- type RoomMapResponseSchema
- type RoomMapResponseSchemaStatus
- type ScheduleGroupsResponseSchema
- type Schema00
- type Schema01
- type Schema02
- type Schema03
- type Schema04
- type Schema05
- type Schema10
- type Schema11
- type Schema12
- type Schema13
- type Schema14
- type Schema15
- type Schema20
- type Schema21
- type Schema22
- type Schema23
- type Schema24
- type Schema25
- type Schema40
- type Schema41
- type Schema42
- type Schema43
- type Schema44
- type Schema45
- type Schema50
- type Schema51
- type Schema52
- type Schema53
- type Schema54
- type Schema55
- type Schema60
- type Schema61
- type Schema62
- type Schema63
- type Schema64
- type Schema65
- type Schema70
- type Schema71
- type Schema72
- type Schema73
- type Schema74
- type Schema75
- type Schema90
- type Schema91
- type Schema92
- type Schema93
- type Schema94
- type Schema95
- type SectionDetailSchema
- type SectionSchedulesReadResponseSchema
- func (t SectionSchedulesReadResponseSchema) AsSectionSchedulesReadResponseSchema0() (SectionSchedulesReadResponseSchema0, error)
- func (t SectionSchedulesReadResponseSchema) AsSectionSchedulesReadResponseSchema1() (SectionSchedulesReadResponseSchema1, error)
- func (t *SectionSchedulesReadResponseSchema) FromSectionSchedulesReadResponseSchema0(v SectionSchedulesReadResponseSchema0) error
- func (t *SectionSchedulesReadResponseSchema) FromSectionSchedulesReadResponseSchema1(v SectionSchedulesReadResponseSchema1) error
- func (t SectionSchedulesReadResponseSchema) MarshalJSON() ([]byte, error)
- func (t *SectionSchedulesReadResponseSchema) MergeSectionSchedulesReadResponseSchema0(v SectionSchedulesReadResponseSchema0) error
- func (t *SectionSchedulesReadResponseSchema) MergeSectionSchedulesReadResponseSchema1(v SectionSchedulesReadResponseSchema1) error
- func (t *SectionSchedulesReadResponseSchema) UnmarshalJSON(b []byte) error
- type SectionSchedulesReadResponseSchema0
- type SectionSchedulesReadResponseSchema1
- type SemesterSchema
- type SetHomeworkCompletionJSONRequestBody
- type SetHomeworkCompletionResponse
- func (r SetHomeworkCompletionResponse) ContentType() string
- func (r SetHomeworkCompletionResponse) GetBody() []byte
- func (r SetHomeworkCompletionResponse) GetJSON200() *HomeworkCompletionResponseSchema
- func (r SetHomeworkCompletionResponse) GetJSON400() *OpenApiErrorSchema
- func (r SetHomeworkCompletionResponse) GetJSON401() *OpenApiErrorSchema
- func (r SetHomeworkCompletionResponse) GetJSON404() *OpenApiErrorSchema
- func (r SetHomeworkCompletionResponse) GetJSON429() *OpenApiErrorSchema
- func (r SetHomeworkCompletionResponse) GetJSON503() *OpenApiErrorSchema
- func (r SetHomeworkCompletionResponse) Status() string
- func (r SetHomeworkCompletionResponse) StatusCode() int
- type SetHomeworkCompletionResponse429Headers
- type SetHomeworkCompletionResponse503Headers
- type SetLocaleJSONRequestBody
- type SetLocaleResponse
- func (r SetLocaleResponse) ContentType() string
- func (r SetLocaleResponse) GetBody() []byte
- func (r SetLocaleResponse) GetJSON200() *SuccessResponseSchema
- func (r SetLocaleResponse) GetJSON400() *OpenApiErrorSchema
- func (r SetLocaleResponse) Status() string
- func (r SetLocaleResponse) StatusCode() int
- type SubscribedExamsResponseSchema
- type SubscribedHomeworksResponseSchema
- type SubscribedSchedulesResponseSchema
- type SubscriptionKindUpdateRequestSchema
- type SubscriptionKindUpdateRequestSchemaKind
- type SubscriptionKindUpdateResponseSchema
- type SubscriptionKindUpdateResponseSchemaKind
- type SuccessResponseSchema
- type TeacherDetailSchema
- type TodoBatchDeleteRequestSchema
- type TodoBatchDeleteResponseSchema
- type TodoBatchDeleteResponseSchemaResults0
- type TodoBatchDeleteResponseSchemaResults0Success
- type TodoBatchDeleteResponseSchemaResults1
- type TodoBatchDeleteResponseSchemaResults1ErrorCode
- type TodoBatchDeleteResponseSchemaResults1Success
- type TodoBatchDeleteResponseSchema_Results_Item
- func (t TodoBatchDeleteResponseSchema_Results_Item) AsTodoBatchDeleteResponseSchemaResults0() (TodoBatchDeleteResponseSchemaResults0, error)
- func (t TodoBatchDeleteResponseSchema_Results_Item) AsTodoBatchDeleteResponseSchemaResults1() (TodoBatchDeleteResponseSchemaResults1, error)
- func (t *TodoBatchDeleteResponseSchema_Results_Item) FromTodoBatchDeleteResponseSchemaResults0(v TodoBatchDeleteResponseSchemaResults0) error
- func (t *TodoBatchDeleteResponseSchema_Results_Item) FromTodoBatchDeleteResponseSchemaResults1(v TodoBatchDeleteResponseSchemaResults1) error
- func (t TodoBatchDeleteResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
- func (t *TodoBatchDeleteResponseSchema_Results_Item) MergeTodoBatchDeleteResponseSchemaResults0(v TodoBatchDeleteResponseSchemaResults0) error
- func (t *TodoBatchDeleteResponseSchema_Results_Item) MergeTodoBatchDeleteResponseSchemaResults1(v TodoBatchDeleteResponseSchemaResults1) error
- func (t *TodoBatchDeleteResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
- type TodoCompletionBatchRequestSchema
- type TodoCompletionBatchResponseSchema
- type TodoCompletionBatchResponseSchemaResults0
- type TodoCompletionBatchResponseSchemaResults0Success
- type TodoCompletionBatchResponseSchemaResults0TodoPriority
- type TodoCompletionBatchResponseSchemaResults1
- type TodoCompletionBatchResponseSchemaResults1ErrorCode
- type TodoCompletionBatchResponseSchemaResults1Success
- type TodoCompletionBatchResponseSchema_Results_Item
- func (t TodoCompletionBatchResponseSchema_Results_Item) AsTodoCompletionBatchResponseSchemaResults0() (TodoCompletionBatchResponseSchemaResults0, error)
- func (t TodoCompletionBatchResponseSchema_Results_Item) AsTodoCompletionBatchResponseSchemaResults1() (TodoCompletionBatchResponseSchemaResults1, error)
- func (t *TodoCompletionBatchResponseSchema_Results_Item) FromTodoCompletionBatchResponseSchemaResults0(v TodoCompletionBatchResponseSchemaResults0) error
- func (t *TodoCompletionBatchResponseSchema_Results_Item) FromTodoCompletionBatchResponseSchemaResults1(v TodoCompletionBatchResponseSchemaResults1) error
- func (t TodoCompletionBatchResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
- func (t *TodoCompletionBatchResponseSchema_Results_Item) MergeTodoCompletionBatchResponseSchemaResults0(v TodoCompletionBatchResponseSchemaResults0) error
- func (t *TodoCompletionBatchResponseSchema_Results_Item) MergeTodoCompletionBatchResponseSchemaResults1(v TodoCompletionBatchResponseSchemaResults1) error
- func (t *TodoCompletionBatchResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
- type TodoCreateRequestSchema
- type TodoCreateRequestSchemaDueAt0
- type TodoCreateRequestSchemaDueAt1
- type TodoCreateRequestSchemaPriority
- type TodoCreateRequestSchema_DueAt
- func (t TodoCreateRequestSchema_DueAt) AsTodoCreateRequestSchemaDueAt0() (TodoCreateRequestSchemaDueAt0, error)
- func (t TodoCreateRequestSchema_DueAt) AsTodoCreateRequestSchemaDueAt1() (TodoCreateRequestSchemaDueAt1, error)
- func (t *TodoCreateRequestSchema_DueAt) FromTodoCreateRequestSchemaDueAt0(v TodoCreateRequestSchemaDueAt0) error
- func (t *TodoCreateRequestSchema_DueAt) FromTodoCreateRequestSchemaDueAt1(v TodoCreateRequestSchemaDueAt1) error
- func (t TodoCreateRequestSchema_DueAt) MarshalJSON() ([]byte, error)
- func (t *TodoCreateRequestSchema_DueAt) MergeTodoCreateRequestSchemaDueAt0(v TodoCreateRequestSchemaDueAt0) error
- func (t *TodoCreateRequestSchema_DueAt) MergeTodoCreateRequestSchemaDueAt1(v TodoCreateRequestSchemaDueAt1) error
- func (t *TodoCreateRequestSchema_DueAt) UnmarshalJSON(b []byte) error
- type TodoUpdateRequestSchema
- type TodoUpdateRequestSchemaDueAt0
- type TodoUpdateRequestSchemaDueAt1
- type TodoUpdateRequestSchemaPriority
- type TodoUpdateRequestSchema_DueAt
- func (t TodoUpdateRequestSchema_DueAt) AsTodoUpdateRequestSchemaDueAt0() (TodoUpdateRequestSchemaDueAt0, error)
- func (t TodoUpdateRequestSchema_DueAt) AsTodoUpdateRequestSchemaDueAt1() (TodoUpdateRequestSchemaDueAt1, error)
- func (t *TodoUpdateRequestSchema_DueAt) FromTodoUpdateRequestSchemaDueAt0(v TodoUpdateRequestSchemaDueAt0) error
- func (t *TodoUpdateRequestSchema_DueAt) FromTodoUpdateRequestSchemaDueAt1(v TodoUpdateRequestSchemaDueAt1) error
- func (t TodoUpdateRequestSchema_DueAt) MarshalJSON() ([]byte, error)
- func (t *TodoUpdateRequestSchema_DueAt) MergeTodoUpdateRequestSchemaDueAt0(v TodoUpdateRequestSchemaDueAt0) error
- func (t *TodoUpdateRequestSchema_DueAt) MergeTodoUpdateRequestSchemaDueAt1(v TodoUpdateRequestSchemaDueAt1) error
- func (t *TodoUpdateRequestSchema_DueAt) UnmarshalJSON(b []byte) error
- type TodoUpdateResponseSchema
- type TodoUpdateResponseSchemaTodoPriority
- type TodosListResponseSchema
- func (t TodosListResponseSchema) AsTodosListResponseSchema0() (TodosListResponseSchema0, error)
- func (t TodosListResponseSchema) AsTodosListResponseSchema1() (TodosListResponseSchema1, error)
- func (t *TodosListResponseSchema) FromTodosListResponseSchema0(v TodosListResponseSchema0) error
- func (t *TodosListResponseSchema) FromTodosListResponseSchema1(v TodosListResponseSchema1) error
- func (t TodosListResponseSchema) MarshalJSON() ([]byte, error)
- func (t *TodosListResponseSchema) MergeTodosListResponseSchema0(v TodosListResponseSchema0) error
- func (t *TodosListResponseSchema) MergeTodosListResponseSchema1(v TodosListResponseSchema1) error
- func (t *TodosListResponseSchema) UnmarshalJSON(b []byte) error
- type TodosListResponseSchema0
- type TodosListResponseSchema0TodosPriority
- type TodosListResponseSchema1
- type TodosListResponseSchema1DataPriority
- type UnderscoreUnderscoreSchema0
- func (t UnderscoreUnderscoreSchema0) AsSchema00() (Schema00, error)
- func (t UnderscoreUnderscoreSchema0) AsSchema01() (Schema01, error)
- func (t UnderscoreUnderscoreSchema0) AsSchema02() (Schema02, error)
- func (t UnderscoreUnderscoreSchema0) AsSchema03() (Schema03, error)
- func (t UnderscoreUnderscoreSchema0) AsSchema04() (Schema04, error)
- func (t UnderscoreUnderscoreSchema0) AsSchema05() (Schema05, error)
- func (t *UnderscoreUnderscoreSchema0) FromSchema00(v Schema00) error
- func (t *UnderscoreUnderscoreSchema0) FromSchema01(v Schema01) error
- func (t *UnderscoreUnderscoreSchema0) FromSchema02(v Schema02) error
- func (t *UnderscoreUnderscoreSchema0) FromSchema03(v Schema03) error
- func (t *UnderscoreUnderscoreSchema0) FromSchema04(v Schema04) error
- func (t *UnderscoreUnderscoreSchema0) FromSchema05(v Schema05) error
- func (t UnderscoreUnderscoreSchema0) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema0) MergeSchema00(v Schema00) error
- func (t *UnderscoreUnderscoreSchema0) MergeSchema01(v Schema01) error
- func (t *UnderscoreUnderscoreSchema0) MergeSchema02(v Schema02) error
- func (t *UnderscoreUnderscoreSchema0) MergeSchema03(v Schema03) error
- func (t *UnderscoreUnderscoreSchema0) MergeSchema04(v Schema04) error
- func (t *UnderscoreUnderscoreSchema0) MergeSchema05(v Schema05) error
- func (t *UnderscoreUnderscoreSchema0) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema1
- func (t UnderscoreUnderscoreSchema1) AsSchema10() (Schema10, error)
- func (t UnderscoreUnderscoreSchema1) AsSchema11() (Schema11, error)
- func (t UnderscoreUnderscoreSchema1) AsSchema12() (Schema12, error)
- func (t UnderscoreUnderscoreSchema1) AsSchema13() (Schema13, error)
- func (t UnderscoreUnderscoreSchema1) AsSchema14() (Schema14, error)
- func (t UnderscoreUnderscoreSchema1) AsSchema15() (Schema15, error)
- func (t *UnderscoreUnderscoreSchema1) FromSchema10(v Schema10) error
- func (t *UnderscoreUnderscoreSchema1) FromSchema11(v Schema11) error
- func (t *UnderscoreUnderscoreSchema1) FromSchema12(v Schema12) error
- func (t *UnderscoreUnderscoreSchema1) FromSchema13(v Schema13) error
- func (t *UnderscoreUnderscoreSchema1) FromSchema14(v Schema14) error
- func (t *UnderscoreUnderscoreSchema1) FromSchema15(v Schema15) error
- func (t UnderscoreUnderscoreSchema1) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema1) MergeSchema10(v Schema10) error
- func (t *UnderscoreUnderscoreSchema1) MergeSchema11(v Schema11) error
- func (t *UnderscoreUnderscoreSchema1) MergeSchema12(v Schema12) error
- func (t *UnderscoreUnderscoreSchema1) MergeSchema13(v Schema13) error
- func (t *UnderscoreUnderscoreSchema1) MergeSchema14(v Schema14) error
- func (t *UnderscoreUnderscoreSchema1) MergeSchema15(v Schema15) error
- func (t *UnderscoreUnderscoreSchema1) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema2
- func (t UnderscoreUnderscoreSchema2) AsSchema20() (Schema20, error)
- func (t UnderscoreUnderscoreSchema2) AsSchema21() (Schema21, error)
- func (t UnderscoreUnderscoreSchema2) AsSchema22() (Schema22, error)
- func (t UnderscoreUnderscoreSchema2) AsSchema23() (Schema23, error)
- func (t UnderscoreUnderscoreSchema2) AsSchema24() (Schema24, error)
- func (t UnderscoreUnderscoreSchema2) AsSchema25() (Schema25, error)
- func (t *UnderscoreUnderscoreSchema2) FromSchema20(v Schema20) error
- func (t *UnderscoreUnderscoreSchema2) FromSchema21(v Schema21) error
- func (t *UnderscoreUnderscoreSchema2) FromSchema22(v Schema22) error
- func (t *UnderscoreUnderscoreSchema2) FromSchema23(v Schema23) error
- func (t *UnderscoreUnderscoreSchema2) FromSchema24(v Schema24) error
- func (t *UnderscoreUnderscoreSchema2) FromSchema25(v Schema25) error
- func (t UnderscoreUnderscoreSchema2) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema2) MergeSchema20(v Schema20) error
- func (t *UnderscoreUnderscoreSchema2) MergeSchema21(v Schema21) error
- func (t *UnderscoreUnderscoreSchema2) MergeSchema22(v Schema22) error
- func (t *UnderscoreUnderscoreSchema2) MergeSchema23(v Schema23) error
- func (t *UnderscoreUnderscoreSchema2) MergeSchema24(v Schema24) error
- func (t *UnderscoreUnderscoreSchema2) MergeSchema25(v Schema25) error
- func (t *UnderscoreUnderscoreSchema2) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema3
- type UnderscoreUnderscoreSchema4
- func (t UnderscoreUnderscoreSchema4) AsSchema40() (Schema40, error)
- func (t UnderscoreUnderscoreSchema4) AsSchema41() (Schema41, error)
- func (t UnderscoreUnderscoreSchema4) AsSchema42() (Schema42, error)
- func (t UnderscoreUnderscoreSchema4) AsSchema43() (Schema43, error)
- func (t UnderscoreUnderscoreSchema4) AsSchema44() (Schema44, error)
- func (t UnderscoreUnderscoreSchema4) AsSchema45() (Schema45, error)
- func (t *UnderscoreUnderscoreSchema4) FromSchema40(v Schema40) error
- func (t *UnderscoreUnderscoreSchema4) FromSchema41(v Schema41) error
- func (t *UnderscoreUnderscoreSchema4) FromSchema42(v Schema42) error
- func (t *UnderscoreUnderscoreSchema4) FromSchema43(v Schema43) error
- func (t *UnderscoreUnderscoreSchema4) FromSchema44(v Schema44) error
- func (t *UnderscoreUnderscoreSchema4) FromSchema45(v Schema45) error
- func (t UnderscoreUnderscoreSchema4) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema4) MergeSchema40(v Schema40) error
- func (t *UnderscoreUnderscoreSchema4) MergeSchema41(v Schema41) error
- func (t *UnderscoreUnderscoreSchema4) MergeSchema42(v Schema42) error
- func (t *UnderscoreUnderscoreSchema4) MergeSchema43(v Schema43) error
- func (t *UnderscoreUnderscoreSchema4) MergeSchema44(v Schema44) error
- func (t *UnderscoreUnderscoreSchema4) MergeSchema45(v Schema45) error
- func (t *UnderscoreUnderscoreSchema4) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema5
- func (t UnderscoreUnderscoreSchema5) AsSchema50() (Schema50, error)
- func (t UnderscoreUnderscoreSchema5) AsSchema51() (Schema51, error)
- func (t UnderscoreUnderscoreSchema5) AsSchema52() (Schema52, error)
- func (t UnderscoreUnderscoreSchema5) AsSchema53() (Schema53, error)
- func (t UnderscoreUnderscoreSchema5) AsSchema54() (Schema54, error)
- func (t UnderscoreUnderscoreSchema5) AsSchema55() (Schema55, error)
- func (t *UnderscoreUnderscoreSchema5) FromSchema50(v Schema50) error
- func (t *UnderscoreUnderscoreSchema5) FromSchema51(v Schema51) error
- func (t *UnderscoreUnderscoreSchema5) FromSchema52(v Schema52) error
- func (t *UnderscoreUnderscoreSchema5) FromSchema53(v Schema53) error
- func (t *UnderscoreUnderscoreSchema5) FromSchema54(v Schema54) error
- func (t *UnderscoreUnderscoreSchema5) FromSchema55(v Schema55) error
- func (t UnderscoreUnderscoreSchema5) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema5) MergeSchema50(v Schema50) error
- func (t *UnderscoreUnderscoreSchema5) MergeSchema51(v Schema51) error
- func (t *UnderscoreUnderscoreSchema5) MergeSchema52(v Schema52) error
- func (t *UnderscoreUnderscoreSchema5) MergeSchema53(v Schema53) error
- func (t *UnderscoreUnderscoreSchema5) MergeSchema54(v Schema54) error
- func (t *UnderscoreUnderscoreSchema5) MergeSchema55(v Schema55) error
- func (t *UnderscoreUnderscoreSchema5) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema6
- func (t UnderscoreUnderscoreSchema6) AsSchema60() (Schema60, error)
- func (t UnderscoreUnderscoreSchema6) AsSchema61() (Schema61, error)
- func (t UnderscoreUnderscoreSchema6) AsSchema62() (Schema62, error)
- func (t UnderscoreUnderscoreSchema6) AsSchema63() (Schema63, error)
- func (t UnderscoreUnderscoreSchema6) AsSchema64() (Schema64, error)
- func (t UnderscoreUnderscoreSchema6) AsSchema65() (Schema65, error)
- func (t *UnderscoreUnderscoreSchema6) FromSchema60(v Schema60) error
- func (t *UnderscoreUnderscoreSchema6) FromSchema61(v Schema61) error
- func (t *UnderscoreUnderscoreSchema6) FromSchema62(v Schema62) error
- func (t *UnderscoreUnderscoreSchema6) FromSchema63(v Schema63) error
- func (t *UnderscoreUnderscoreSchema6) FromSchema64(v Schema64) error
- func (t *UnderscoreUnderscoreSchema6) FromSchema65(v Schema65) error
- func (t UnderscoreUnderscoreSchema6) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema6) MergeSchema60(v Schema60) error
- func (t *UnderscoreUnderscoreSchema6) MergeSchema61(v Schema61) error
- func (t *UnderscoreUnderscoreSchema6) MergeSchema62(v Schema62) error
- func (t *UnderscoreUnderscoreSchema6) MergeSchema63(v Schema63) error
- func (t *UnderscoreUnderscoreSchema6) MergeSchema64(v Schema64) error
- func (t *UnderscoreUnderscoreSchema6) MergeSchema65(v Schema65) error
- func (t *UnderscoreUnderscoreSchema6) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema7
- func (t UnderscoreUnderscoreSchema7) AsSchema70() (Schema70, error)
- func (t UnderscoreUnderscoreSchema7) AsSchema71() (Schema71, error)
- func (t UnderscoreUnderscoreSchema7) AsSchema72() (Schema72, error)
- func (t UnderscoreUnderscoreSchema7) AsSchema73() (Schema73, error)
- func (t UnderscoreUnderscoreSchema7) AsSchema74() (Schema74, error)
- func (t UnderscoreUnderscoreSchema7) AsSchema75() (Schema75, error)
- func (t *UnderscoreUnderscoreSchema7) FromSchema70(v Schema70) error
- func (t *UnderscoreUnderscoreSchema7) FromSchema71(v Schema71) error
- func (t *UnderscoreUnderscoreSchema7) FromSchema72(v Schema72) error
- func (t *UnderscoreUnderscoreSchema7) FromSchema73(v Schema73) error
- func (t *UnderscoreUnderscoreSchema7) FromSchema74(v Schema74) error
- func (t *UnderscoreUnderscoreSchema7) FromSchema75(v Schema75) error
- func (t UnderscoreUnderscoreSchema7) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema7) MergeSchema70(v Schema70) error
- func (t *UnderscoreUnderscoreSchema7) MergeSchema71(v Schema71) error
- func (t *UnderscoreUnderscoreSchema7) MergeSchema72(v Schema72) error
- func (t *UnderscoreUnderscoreSchema7) MergeSchema73(v Schema73) error
- func (t *UnderscoreUnderscoreSchema7) MergeSchema74(v Schema74) error
- func (t *UnderscoreUnderscoreSchema7) MergeSchema75(v Schema75) error
- func (t *UnderscoreUnderscoreSchema7) UnmarshalJSON(b []byte) error
- type UnderscoreUnderscoreSchema8
- type UnderscoreUnderscoreSchema9
- func (t UnderscoreUnderscoreSchema9) AsSchema90() (Schema90, error)
- func (t UnderscoreUnderscoreSchema9) AsSchema91() (Schema91, error)
- func (t UnderscoreUnderscoreSchema9) AsSchema92() (Schema92, error)
- func (t UnderscoreUnderscoreSchema9) AsSchema93() (Schema93, error)
- func (t UnderscoreUnderscoreSchema9) AsSchema94() (Schema94, error)
- func (t UnderscoreUnderscoreSchema9) AsSchema95() (Schema95, error)
- func (t *UnderscoreUnderscoreSchema9) FromSchema90(v Schema90) error
- func (t *UnderscoreUnderscoreSchema9) FromSchema91(v Schema91) error
- func (t *UnderscoreUnderscoreSchema9) FromSchema92(v Schema92) error
- func (t *UnderscoreUnderscoreSchema9) FromSchema93(v Schema93) error
- func (t *UnderscoreUnderscoreSchema9) FromSchema94(v Schema94) error
- func (t *UnderscoreUnderscoreSchema9) FromSchema95(v Schema95) error
- func (t UnderscoreUnderscoreSchema9) MarshalJSON() ([]byte, error)
- func (t *UnderscoreUnderscoreSchema9) MergeSchema90(v Schema90) error
- func (t *UnderscoreUnderscoreSchema9) MergeSchema91(v Schema91) error
- func (t *UnderscoreUnderscoreSchema9) MergeSchema92(v Schema92) error
- func (t *UnderscoreUnderscoreSchema9) MergeSchema93(v Schema93) error
- func (t *UnderscoreUnderscoreSchema9) MergeSchema94(v Schema94) error
- func (t *UnderscoreUnderscoreSchema9) MergeSchema95(v Schema95) error
- func (t *UnderscoreUnderscoreSchema9) UnmarshalJSON(b []byte) error
- type UpdateAdminDescriptionJSONRequestBody
- type UpdateAdminDescriptionResponse
- func (r UpdateAdminDescriptionResponse) ContentType() string
- func (r UpdateAdminDescriptionResponse) GetBody() []byte
- func (r UpdateAdminDescriptionResponse) GetJSON200() *AdminModeratedDescriptionResponseSchema
- func (r UpdateAdminDescriptionResponse) GetJSON400() *OpenApiErrorSchema
- func (r UpdateAdminDescriptionResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpdateAdminDescriptionResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpdateAdminDescriptionResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpdateAdminDescriptionResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpdateAdminDescriptionResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpdateAdminDescriptionResponse) Status() string
- func (r UpdateAdminDescriptionResponse) StatusCode() int
- type UpdateAdminDescriptionResponse429Headers
- type UpdateAdminDescriptionResponse503Headers
- type UpdateAdminSuspensionResponse
- func (r UpdateAdminSuspensionResponse) ContentType() string
- func (r UpdateAdminSuspensionResponse) GetBody() []byte
- func (r UpdateAdminSuspensionResponse) GetJSON200() *AdminSuspensionResponseSchema
- func (r UpdateAdminSuspensionResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpdateAdminSuspensionResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpdateAdminSuspensionResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpdateAdminSuspensionResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpdateAdminSuspensionResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpdateAdminSuspensionResponse) Status() string
- func (r UpdateAdminSuspensionResponse) StatusCode() int
- type UpdateAdminSuspensionResponse429Headers
- type UpdateAdminSuspensionResponse503Headers
- type UpdateAdminUserJSONRequestBody
- type UpdateAdminUserResponse
- func (r UpdateAdminUserResponse) ContentType() string
- func (r UpdateAdminUserResponse) GetBody() []byte
- func (r UpdateAdminUserResponse) GetJSON200() *AdminUserResponseSchema
- func (r UpdateAdminUserResponse) GetJSON400() *OpenApiErrorSchema
- func (r UpdateAdminUserResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpdateAdminUserResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpdateAdminUserResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpdateAdminUserResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpdateAdminUserResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpdateAdminUserResponse) Status() string
- func (r UpdateAdminUserResponse) StatusCode() int
- type UpdateAdminUserResponse429Headers
- type UpdateAdminUserResponse503Headers
- type UpdateCommentJSONRequestBody
- type UpdateCommentResponse
- func (r UpdateCommentResponse) ContentType() string
- func (r UpdateCommentResponse) GetBody() []byte
- func (r UpdateCommentResponse) GetJSON200() *CommentUpdateResponseSchema
- func (r UpdateCommentResponse) GetJSON400() *OpenApiErrorSchema
- func (r UpdateCommentResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpdateCommentResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpdateCommentResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpdateCommentResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpdateCommentResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpdateCommentResponse) Status() string
- func (r UpdateCommentResponse) StatusCode() int
- type UpdateCommentResponse429Headers
- type UpdateCommentResponse503Headers
- type UpdateTodoJSONRequestBody
- type UpdateTodoResponse
- func (r UpdateTodoResponse) ContentType() string
- func (r UpdateTodoResponse) GetBody() []byte
- func (r UpdateTodoResponse) GetJSON200() *TodoUpdateResponseSchema
- func (r UpdateTodoResponse) GetJSON400() *OpenApiErrorSchema
- func (r UpdateTodoResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpdateTodoResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpdateTodoResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpdateTodoResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpdateTodoResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpdateTodoResponse) Status() string
- func (r UpdateTodoResponse) StatusCode() int
- type UpdateTodoResponse429Headers
- type UpdateTodoResponse503Headers
- type UpdateUploadJSONRequestBody
- type UpdateUploadResponse
- func (r UpdateUploadResponse) ContentType() string
- func (r UpdateUploadResponse) GetBody() []byte
- func (r UpdateUploadResponse) GetJSON200() *UploadRenameResponseSchema
- func (r UpdateUploadResponse) GetJSON400() *OpenApiErrorSchema
- func (r UpdateUploadResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpdateUploadResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpdateUploadResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpdateUploadResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpdateUploadResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpdateUploadResponse) Status() string
- func (r UpdateUploadResponse) StatusCode() int
- type UpdateUploadResponse429Headers
- type UpdateUploadResponse503Headers
- type UploadCompleteRequestSchema
- type UploadCompleteResponseSchema
- type UploadCreateRequestSchema
- type UploadCreateRequestSchemaSize0
- type UploadCreateRequestSchemaSize1
- type UploadCreateRequestSchema_Size
- func (t UploadCreateRequestSchema_Size) AsUploadCreateRequestSchemaSize0() (UploadCreateRequestSchemaSize0, error)
- func (t UploadCreateRequestSchema_Size) AsUploadCreateRequestSchemaSize1() (UploadCreateRequestSchemaSize1, error)
- func (t *UploadCreateRequestSchema_Size) FromUploadCreateRequestSchemaSize0(v UploadCreateRequestSchemaSize0) error
- func (t *UploadCreateRequestSchema_Size) FromUploadCreateRequestSchemaSize1(v UploadCreateRequestSchemaSize1) error
- func (t UploadCreateRequestSchema_Size) MarshalJSON() ([]byte, error)
- func (t *UploadCreateRequestSchema_Size) MergeUploadCreateRequestSchemaSize0(v UploadCreateRequestSchemaSize0) error
- func (t *UploadCreateRequestSchema_Size) MergeUploadCreateRequestSchemaSize1(v UploadCreateRequestSchemaSize1) error
- func (t *UploadCreateRequestSchema_Size) UnmarshalJSON(b []byte) error
- type UploadCreateResponseSchema
- type UploadDeleteResponseSchema
- type UploadRenameRequestSchema
- type UploadRenameResponseSchema
- type UploadsListResponseSchema
- type UpsertDescriptionJSONRequestBody
- type UpsertDescriptionResponse
- func (r UpsertDescriptionResponse) ContentType() string
- func (r UpsertDescriptionResponse) GetBody() []byte
- func (r UpsertDescriptionResponse) GetJSON200() *DescriptionUpsertResponseSchema
- func (r UpsertDescriptionResponse) GetJSON400() *OpenApiErrorSchema
- func (r UpsertDescriptionResponse) GetJSON401() *OpenApiErrorSchema
- func (r UpsertDescriptionResponse) GetJSON403() *OpenApiErrorSchema
- func (r UpsertDescriptionResponse) GetJSON404() *OpenApiErrorSchema
- func (r UpsertDescriptionResponse) GetJSON429() *OpenApiErrorSchema
- func (r UpsertDescriptionResponse) GetJSON503() *OpenApiErrorSchema
- func (r UpsertDescriptionResponse) Status() string
- func (r UpsertDescriptionResponse) StatusCode() int
- type UpsertDescriptionResponse429Headers
- type UpsertDescriptionResponse503Headers
- type WeatherSnapshotResponseSchema
- type WeatherSnapshotResponseSchemaCurrentSource
- type WeatherSnapshotResponseSchemaLocationKey
- type WeatherSnapshotResponseSchemaProviders
- type WorkspaceBusPreferencesGetResponse
- func (r WorkspaceBusPreferencesGetResponse) ContentType() string
- func (r WorkspaceBusPreferencesGetResponse) GetBody() []byte
- func (r WorkspaceBusPreferencesGetResponse) GetJSON200() *BusPreferenceResponseSchema
- func (r WorkspaceBusPreferencesGetResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceBusPreferencesGetResponse) Status() string
- func (r WorkspaceBusPreferencesGetResponse) StatusCode() int
- type WorkspaceBusPreferencesSetJSONRequestBody
- type WorkspaceBusPreferencesSetResponse
- func (r WorkspaceBusPreferencesSetResponse) ContentType() string
- func (r WorkspaceBusPreferencesSetResponse) GetBody() []byte
- func (r WorkspaceBusPreferencesSetResponse) GetJSON200() *BusPreferenceResponseSchema
- func (r WorkspaceBusPreferencesSetResponse) GetJSON400() *OpenApiErrorSchema
- func (r WorkspaceBusPreferencesSetResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceBusPreferencesSetResponse) GetJSON429() *OpenApiErrorSchema
- func (r WorkspaceBusPreferencesSetResponse) GetJSON503() *OpenApiErrorSchema
- func (r WorkspaceBusPreferencesSetResponse) Status() string
- func (r WorkspaceBusPreferencesSetResponse) StatusCode() int
- type WorkspaceBusPreferencesSetResponse429Headers
- type WorkspaceBusPreferencesSetResponse503Headers
- type WorkspaceCalendarFeedExportResponse
- func (r WorkspaceCalendarFeedExportResponse) ContentType() string
- func (r WorkspaceCalendarFeedExportResponse) GetBody() []byte
- func (r WorkspaceCalendarFeedExportResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceCalendarFeedExportResponse) GetJSON403() *OpenApiErrorSchema
- func (r WorkspaceCalendarFeedExportResponse) GetJSON404() *OpenApiErrorSchema
- func (r WorkspaceCalendarFeedExportResponse) GetJSON410() *OpenApiErrorSchema
- func (r WorkspaceCalendarFeedExportResponse) Status() string
- func (r WorkspaceCalendarFeedExportResponse) StatusCode() int
- type WorkspaceExamListParams
- type WorkspaceExamListParamsIncludeDateUnknown
- type WorkspaceExamListParamsLocale
- type WorkspaceExamListResponse
- func (r WorkspaceExamListResponse) ContentType() string
- func (r WorkspaceExamListResponse) GetBody() []byte
- func (r WorkspaceExamListResponse) GetJSON200() *SubscribedExamsResponseSchema
- func (r WorkspaceExamListResponse) GetJSON400() *OpenApiErrorSchema
- func (r WorkspaceExamListResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceExamListResponse) GetJSON403() *OpenApiErrorSchema
- func (r WorkspaceExamListResponse) Status() string
- func (r WorkspaceExamListResponse) StatusCode() int
- type WorkspaceLinkPinBatchRequestSchema
- type WorkspaceLinkPinBatchRequestSchemaItemsAction
- type WorkspaceLinkPinBatchSetJSONRequestBody
- type WorkspaceLinkPinBatchSetResponse
- func (r WorkspaceLinkPinBatchSetResponse) ContentType() string
- func (r WorkspaceLinkPinBatchSetResponse) GetBody() []byte
- func (r WorkspaceLinkPinBatchSetResponse) GetJSON200() *WorkspaceLinkPinResponseSchema
- func (r WorkspaceLinkPinBatchSetResponse) GetJSON400() *OpenApiErrorSchema
- func (r WorkspaceLinkPinBatchSetResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceLinkPinBatchSetResponse) GetJSON429() *OpenApiErrorSchema
- func (r WorkspaceLinkPinBatchSetResponse) GetJSON500() *OpenApiErrorSchema
- func (r WorkspaceLinkPinBatchSetResponse) GetJSON503() *OpenApiErrorSchema
- func (r WorkspaceLinkPinBatchSetResponse) Status() string
- func (r WorkspaceLinkPinBatchSetResponse) StatusCode() int
- type WorkspaceLinkPinBatchSetResponse429Headers
- type WorkspaceLinkPinBatchSetResponse503Headers
- type WorkspaceLinkPinListResponse
- func (r WorkspaceLinkPinListResponse) ContentType() string
- func (r WorkspaceLinkPinListResponse) GetBody() []byte
- func (r WorkspaceLinkPinListResponse) GetJSON200() *WorkspaceLinkPinResponseSchema
- func (r WorkspaceLinkPinListResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceLinkPinListResponse) Status() string
- func (r WorkspaceLinkPinListResponse) StatusCode() int
- type WorkspaceLinkPinRequestSchema
- type WorkspaceLinkPinRequestSchemaAction
- type WorkspaceLinkPinResponseSchema
- type WorkspaceLinkPinSetFormdataRequestBody
- type WorkspaceLinkPinSetResponse
- func (r WorkspaceLinkPinSetResponse) ContentType() string
- func (r WorkspaceLinkPinSetResponse) GetBody() []byte
- func (r WorkspaceLinkPinSetResponse) GetJSON200() *WorkspaceLinkPinResponseSchema
- func (r WorkspaceLinkPinSetResponse) GetJSON400() *OpenApiErrorSchema
- func (r WorkspaceLinkPinSetResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceLinkPinSetResponse) GetJSON429() *OpenApiErrorSchema
- func (r WorkspaceLinkPinSetResponse) GetJSON500() *OpenApiErrorSchema
- func (r WorkspaceLinkPinSetResponse) GetJSON503() *OpenApiErrorSchema
- func (r WorkspaceLinkPinSetResponse) Status() string
- func (r WorkspaceLinkPinSetResponse) StatusCode() int
- type WorkspaceLinkPinSetResponse303Headers
- type WorkspaceLinkPinSetResponse429Headers
- type WorkspaceLinkPinSetResponse503Headers
- type WorkspaceOverviewGetParams
- type WorkspaceOverviewGetParamsLocale
- type WorkspaceOverviewGetResponse
- func (r WorkspaceOverviewGetResponse) ContentType() string
- func (r WorkspaceOverviewGetResponse) GetBody() []byte
- func (r WorkspaceOverviewGetResponse) GetJSON200() *CompactOverviewResponseSchema
- func (r WorkspaceOverviewGetResponse) GetJSON400() *OpenApiErrorSchema
- func (r WorkspaceOverviewGetResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceOverviewGetResponse) Status() string
- func (r WorkspaceOverviewGetResponse) StatusCode() int
- type WorkspaceScheduleListParams
- type WorkspaceScheduleListParamsLocale
- type WorkspaceScheduleListResponse
- func (r WorkspaceScheduleListResponse) ContentType() string
- func (r WorkspaceScheduleListResponse) GetBody() []byte
- func (r WorkspaceScheduleListResponse) GetJSON200() *SubscribedSchedulesResponseSchema
- func (r WorkspaceScheduleListResponse) GetJSON400() *OpenApiErrorSchema
- func (r WorkspaceScheduleListResponse) GetJSON401() *OpenApiErrorSchema
- func (r WorkspaceScheduleListResponse) Status() string
- func (r WorkspaceScheduleListResponse) StatusCode() int
- type YoungEventDetailSchema
- type YoungEventSubscriptionListSchema
- type YoungEventSubscriptionRequestSchema
- type YoungEventSubscriptionStateSchema
- type YoungNotificationListSchema
- type YoungNotificationReadSchema
- type YoungOrganizerSubscriptionListSchema
- type YoungOrganizerSubscriptionRequestSchema
- type YoungOrganizerSubscriptionStateSchema
- type YoungOrganizerSummarySchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccountClientActivityListRequest ¶
func NewAccountClientActivityListRequest(server string, params *AccountClientActivityListParams) (*http.Request, error)
NewAccountClientActivityListRequest constructs an http.Request for the AccountClientActivityList method
func NewAccountProfileGetRequest ¶
NewAccountProfileGetRequest constructs an http.Request for the AccountProfileGet method
func NewAddCommentReactionRequest ¶
func NewAddCommentReactionRequest(server string, id string, body AddCommentReactionJSONRequestBody) (*http.Request, error)
NewAddCommentReactionRequest calls the generic AddCommentReaction builder with application/json body
func NewAddCommentReactionRequestWithBody ¶
func NewAddCommentReactionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddCommentReactionRequestWithBody constructs an http.Request for the AddCommentReaction method, with any body, and a specified content type
func NewAppendCalendarSubscriptionSectionsRequest ¶
func NewAppendCalendarSubscriptionSectionsRequest(server string, body AppendCalendarSubscriptionSectionsJSONRequestBody) (*http.Request, error)
NewAppendCalendarSubscriptionSectionsRequest calls the generic AppendCalendarSubscriptionSections builder with application/json body
func NewAppendCalendarSubscriptionSectionsRequestWithBody ¶
func NewAppendCalendarSubscriptionSectionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAppendCalendarSubscriptionSectionsRequestWithBody constructs an http.Request for the AppendCalendarSubscriptionSections method, with any body, and a specified content type
func NewBatchUpdateCalendarSubscriptionRequest ¶
func NewBatchUpdateCalendarSubscriptionRequest(server string, body BatchUpdateCalendarSubscriptionJSONRequestBody) (*http.Request, error)
NewBatchUpdateCalendarSubscriptionRequest calls the generic BatchUpdateCalendarSubscription builder with application/json body
func NewBatchUpdateCalendarSubscriptionRequestWithBody ¶
func NewBatchUpdateCalendarSubscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBatchUpdateCalendarSubscriptionRequestWithBody constructs an http.Request for the BatchUpdateCalendarSubscription method, with any body, and a specified content type
func NewCatalogBusDepartureNextRequest ¶
func NewCatalogBusDepartureNextRequest(server string, params *CatalogBusDepartureNextParams) (*http.Request, error)
NewCatalogBusDepartureNextRequest constructs an http.Request for the CatalogBusDepartureNext method
func NewCatalogBusRouteSearchRequest ¶
func NewCatalogBusRouteSearchRequest(server string, params *CatalogBusRouteSearchParams) (*http.Request, error)
NewCatalogBusRouteSearchRequest constructs an http.Request for the CatalogBusRouteSearch method
func NewCatalogBusTimetableGetRequest ¶
func NewCatalogBusTimetableGetRequest(server string, params *CatalogBusTimetableGetParams) (*http.Request, error)
NewCatalogBusTimetableGetRequest constructs an http.Request for the CatalogBusTimetableGet method
func NewCatalogLinkListRequest ¶
NewCatalogLinkListRequest constructs an http.Request for the CatalogLinkList method
func NewCatalogLinkResolveRequest ¶
func NewCatalogLinkResolveRequest(server string, params *CatalogLinkResolveParams) (*http.Request, error)
NewCatalogLinkResolveRequest constructs an http.Request for the CatalogLinkResolve method
func NewCatalogRoomsMapRequest ¶
NewCatalogRoomsMapRequest constructs an http.Request for the CatalogRoomsMap method
func NewCatalogWeatherGetRequest ¶
func NewCatalogWeatherGetRequest(server string, params *CatalogWeatherGetParams) (*http.Request, error)
NewCatalogWeatherGetRequest constructs an http.Request for the CatalogWeatherGet method
func NewCommunitySectionHomeworkCreateRequest ¶
func NewCommunitySectionHomeworkCreateRequest(server string, body CommunitySectionHomeworkCreateJSONRequestBody) (*http.Request, error)
NewCommunitySectionHomeworkCreateRequest calls the generic CommunitySectionHomeworkCreate builder with application/json body
func NewCommunitySectionHomeworkCreateRequestWithBody ¶
func NewCommunitySectionHomeworkCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCommunitySectionHomeworkCreateRequestWithBody constructs an http.Request for the CommunitySectionHomeworkCreate method, with any body, and a specified content type
func NewCommunitySectionHomeworkDeleteRequest ¶
NewCommunitySectionHomeworkDeleteRequest constructs an http.Request for the CommunitySectionHomeworkDelete method
func NewCommunitySectionHomeworkListRequest ¶
func NewCommunitySectionHomeworkListRequest(server string, params *CommunitySectionHomeworkListParams) (*http.Request, error)
NewCommunitySectionHomeworkListRequest constructs an http.Request for the CommunitySectionHomeworkList method
func NewCommunitySectionHomeworkUpdateRequest ¶
func NewCommunitySectionHomeworkUpdateRequest(server string, id string, body CommunitySectionHomeworkUpdateJSONRequestBody) (*http.Request, error)
NewCommunitySectionHomeworkUpdateRequest calls the generic CommunitySectionHomeworkUpdate builder with application/json body
func NewCommunitySectionHomeworkUpdateRequestWithBody ¶
func NewCommunitySectionHomeworkUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCommunitySectionHomeworkUpdateRequestWithBody constructs an http.Request for the CommunitySectionHomeworkUpdate method, with any body, and a specified content type
func NewCommunityUserGetRequest ¶
NewCommunityUserGetRequest constructs an http.Request for the CommunityUserGet method
func NewCompleteUploadRequest ¶
func NewCompleteUploadRequest(server string, body CompleteUploadJSONRequestBody) (*http.Request, error)
NewCompleteUploadRequest calls the generic CompleteUpload builder with application/json body
func NewCompleteUploadRequestWithBody ¶
func NewCompleteUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCompleteUploadRequestWithBody constructs an http.Request for the CompleteUpload method, with any body, and a specified content type
func NewCreateAdminSuspensionRequest ¶
func NewCreateAdminSuspensionRequest(server string, body CreateAdminSuspensionJSONRequestBody) (*http.Request, error)
NewCreateAdminSuspensionRequest calls the generic CreateAdminSuspension builder with application/json body
func NewCreateAdminSuspensionRequestWithBody ¶
func NewCreateAdminSuspensionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAdminSuspensionRequestWithBody constructs an http.Request for the CreateAdminSuspension method, with any body, and a specified content type
func NewCreateCommentRequest ¶
func NewCreateCommentRequest(server string, body CreateCommentJSONRequestBody) (*http.Request, error)
NewCreateCommentRequest calls the generic CreateComment builder with application/json body
func NewCreateCommentRequestWithBody ¶
func NewCreateCommentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCommentRequestWithBody constructs an http.Request for the CreateComment method, with any body, and a specified content type
func NewCreateMcpRequest ¶
NewCreateMcpRequest constructs an http.Request for the CreateMcp method
func NewCreateTodoRequest ¶
func NewCreateTodoRequest(server string, body CreateTodoJSONRequestBody) (*http.Request, error)
NewCreateTodoRequest calls the generic CreateTodo builder with application/json body
func NewCreateTodoRequestWithBody ¶
func NewCreateTodoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTodoRequestWithBody constructs an http.Request for the CreateTodo method, with any body, and a specified content type
func NewCreateUploadRequest ¶
func NewCreateUploadRequest(server string, body CreateUploadJSONRequestBody) (*http.Request, error)
NewCreateUploadRequest calls the generic CreateUpload builder with application/json body
func NewCreateUploadRequestWithBody ¶
func NewCreateUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUploadRequestWithBody constructs an http.Request for the CreateUpload method, with any body, and a specified content type
func NewDeleteAdminHomeworkRequest ¶
NewDeleteAdminHomeworkRequest constructs an http.Request for the DeleteAdminHomework method
func NewDeleteApiCommentsBatchRequest ¶
func NewDeleteApiCommentsBatchRequest(server string, body DeleteApiCommentsBatchJSONRequestBody) (*http.Request, error)
NewDeleteApiCommentsBatchRequest calls the generic DeleteApiCommentsBatch builder with application/json body
func NewDeleteApiCommentsBatchRequestWithBody ¶
func NewDeleteApiCommentsBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteApiCommentsBatchRequestWithBody constructs an http.Request for the DeleteApiCommentsBatch method, with any body, and a specified content type
func NewDeleteApiMcpRequest ¶
NewDeleteApiMcpRequest constructs an http.Request for the DeleteApiMcp method
func NewDeleteApiTodosBatchRequest ¶
func NewDeleteApiTodosBatchRequest(server string, body DeleteApiTodosBatchJSONRequestBody) (*http.Request, error)
NewDeleteApiTodosBatchRequest calls the generic DeleteApiTodosBatch builder with application/json body
func NewDeleteApiTodosBatchRequestWithBody ¶
func NewDeleteApiTodosBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteApiTodosBatchRequestWithBody constructs an http.Request for the DeleteApiTodosBatch method, with any body, and a specified content type
func NewDeleteApiWorkspaceSubscriptionsRequest ¶
func NewDeleteApiWorkspaceSubscriptionsRequest(server string, body DeleteApiWorkspaceSubscriptionsJSONRequestBody) (*http.Request, error)
NewDeleteApiWorkspaceSubscriptionsRequest calls the generic DeleteApiWorkspaceSubscriptions builder with application/json body
func NewDeleteApiWorkspaceSubscriptionsRequestWithBody ¶
func NewDeleteApiWorkspaceSubscriptionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteApiWorkspaceSubscriptionsRequestWithBody constructs an http.Request for the DeleteApiWorkspaceSubscriptions method, with any body, and a specified content type
func NewDeleteCommentRequest ¶
NewDeleteCommentRequest constructs an http.Request for the DeleteComment method
func NewDeleteTodoRequest ¶
NewDeleteTodoRequest constructs an http.Request for the DeleteTodo method
func NewDeleteUploadRequest ¶
NewDeleteUploadRequest constructs an http.Request for the DeleteUpload method
func NewDownloadUploadRequest ¶
NewDownloadUploadRequest constructs an http.Request for the DownloadUpload method
func NewGetApiAuthOauth2TokenRequest ¶
NewGetApiAuthOauth2TokenRequest constructs an http.Request for the GetApiAuthOauth2Token method
func NewGetApiAuthWellKnownOpenidConfigurationRequest ¶
NewGetApiAuthWellKnownOpenidConfigurationRequest constructs an http.Request for the GetApiAuthWellKnownOpenidConfiguration method
func NewGetApiCatalogCoursesJwIdSectionsRequest ¶
func NewGetApiCatalogCoursesJwIdSectionsRequest(server string, jwId int64, params *GetApiCatalogCoursesJwIdSectionsParams) (*http.Request, error)
NewGetApiCatalogCoursesJwIdSectionsRequest constructs an http.Request for the GetApiCatalogCoursesJwIdSections method
func NewGetApiCatalogTeachersIdSectionsRequest ¶
func NewGetApiCatalogTeachersIdSectionsRequest(server string, id string, params *GetApiCatalogTeachersIdSectionsParams) (*http.Request, error)
NewGetApiCatalogTeachersIdSectionsRequest constructs an http.Request for the GetApiCatalogTeachersIdSections method
func NewGetApiCatalogYoungEventsImagesPathRequest ¶
func NewGetApiCatalogYoungEventsImagesPathRequest(server string, path string) (*http.Request, error)
NewGetApiCatalogYoungEventsImagesPathRequest constructs an http.Request for the GetApiCatalogYoungEventsImagesPath method
func NewGetApiCatalogYoungEventsRequest ¶
func NewGetApiCatalogYoungEventsRequest(server string, params *GetApiCatalogYoungEventsParams) (*http.Request, error)
NewGetApiCatalogYoungEventsRequest constructs an http.Request for the GetApiCatalogYoungEvents method
func NewGetApiCatalogYoungEventsYoungIdImageRequest ¶
func NewGetApiCatalogYoungEventsYoungIdImageRequest(server string, youngId string) (*http.Request, error)
NewGetApiCatalogYoungEventsYoungIdImageRequest constructs an http.Request for the GetApiCatalogYoungEventsYoungIdImage method
func NewGetApiCatalogYoungEventsYoungIdRequest ¶
func NewGetApiCatalogYoungEventsYoungIdRequest(server string, youngId string) (*http.Request, error)
NewGetApiCatalogYoungEventsYoungIdRequest constructs an http.Request for the GetApiCatalogYoungEventsYoungId method
func NewGetApiCatalogYoungOrganizersOrganizerIdRequest ¶
func NewGetApiCatalogYoungOrganizersOrganizerIdRequest(server string, organizerId string) (*http.Request, error)
NewGetApiCatalogYoungOrganizersOrganizerIdRequest constructs an http.Request for the GetApiCatalogYoungOrganizersOrganizerId method
func NewGetApiCatalogYoungOrganizersRequest ¶
func NewGetApiCatalogYoungOrganizersRequest(server string, params *GetApiCatalogYoungOrganizersParams) (*http.Request, error)
NewGetApiCatalogYoungOrganizersRequest constructs an http.Request for the GetApiCatalogYoungOrganizers method
func NewGetApiCommunityCommentsIdRepliesRequest ¶
func NewGetApiCommunityCommentsIdRepliesRequest(server string, id string, params *GetApiCommunityCommentsIdRepliesParams) (*http.Request, error)
NewGetApiCommunityCommentsIdRepliesRequest constructs an http.Request for the GetApiCommunityCommentsIdReplies method
func NewGetApiCommunitySectionHomeworksAuditRequest ¶
func NewGetApiCommunitySectionHomeworksAuditRequest(server string, params *GetApiCommunitySectionHomeworksAuditParams) (*http.Request, error)
NewGetApiCommunitySectionHomeworksAuditRequest constructs an http.Request for the GetApiCommunitySectionHomeworksAudit method
func NewGetApiCommunitySectionHomeworksIdRequest ¶
NewGetApiCommunitySectionHomeworksIdRequest constructs an http.Request for the GetApiCommunitySectionHomeworksId method
func NewGetApiPublicationsIdRequest ¶
NewGetApiPublicationsIdRequest constructs an http.Request for the GetApiPublicationsId method
func NewGetApiPublicationsImagesHashRequest ¶
NewGetApiPublicationsImagesHashRequest constructs an http.Request for the GetApiPublicationsImagesHash method
func NewGetApiPublicationsObjectsKindSha256Request ¶
func NewGetApiPublicationsObjectsKindSha256Request(server string, kind GetApiPublicationsObjectsKindSha256ParamsKind, sha256 string) (*http.Request, error)
NewGetApiPublicationsObjectsKindSha256Request constructs an http.Request for the GetApiPublicationsObjectsKindSha256 method
func NewGetApiPublicationsRequest ¶
func NewGetApiPublicationsRequest(server string, params *GetApiPublicationsParams) (*http.Request, error)
NewGetApiPublicationsRequest constructs an http.Request for the GetApiPublications method
func NewGetApiPublicationsSourcesRequest ¶
NewGetApiPublicationsSourcesRequest constructs an http.Request for the GetApiPublicationsSources method
func NewGetApiSearchRequest ¶
NewGetApiSearchRequest constructs an http.Request for the GetApiSearch method
func NewGetApiWorkspaceCalendarEventsRequest ¶
func NewGetApiWorkspaceCalendarEventsRequest(server string, params *GetApiWorkspaceCalendarEventsParams) (*http.Request, error)
NewGetApiWorkspaceCalendarEventsRequest constructs an http.Request for the GetApiWorkspaceCalendarEvents method
func NewGetApiWorkspaceOverviewActionableRequest ¶
func NewGetApiWorkspaceOverviewActionableRequest(server string, params *GetApiWorkspaceOverviewActionableParams) (*http.Request, error)
NewGetApiWorkspaceOverviewActionableRequest constructs an http.Request for the GetApiWorkspaceOverviewActionable method
func NewGetApiWorkspaceYoungEventSubscriptionsRequest ¶
func NewGetApiWorkspaceYoungEventSubscriptionsRequest(server string, params *GetApiWorkspaceYoungEventSubscriptionsParams) (*http.Request, error)
NewGetApiWorkspaceYoungEventSubscriptionsRequest constructs an http.Request for the GetApiWorkspaceYoungEventSubscriptions method
func NewGetApiWorkspaceYoungEventSubscriptionsYoungIdRequest ¶
func NewGetApiWorkspaceYoungEventSubscriptionsYoungIdRequest(server string, youngId string) (*http.Request, error)
NewGetApiWorkspaceYoungEventSubscriptionsYoungIdRequest constructs an http.Request for the GetApiWorkspaceYoungEventSubscriptionsYoungId method
func NewGetApiWorkspaceYoungNotificationsRequest ¶
func NewGetApiWorkspaceYoungNotificationsRequest(server string, params *GetApiWorkspaceYoungNotificationsParams) (*http.Request, error)
NewGetApiWorkspaceYoungNotificationsRequest constructs an http.Request for the GetApiWorkspaceYoungNotifications method
func NewGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest ¶
func NewGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest(server string, organizerId string) (*http.Request, error)
NewGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest constructs an http.Request for the GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId method
func NewGetApiWorkspaceYoungOrganizerSubscriptionsRequest ¶
func NewGetApiWorkspaceYoungOrganizerSubscriptionsRequest(server string, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams) (*http.Request, error)
NewGetApiWorkspaceYoungOrganizerSubscriptionsRequest constructs an http.Request for the GetApiWorkspaceYoungOrganizerSubscriptions method
func NewGetCommentRequest ¶
NewGetCommentRequest constructs an http.Request for the GetComment method
func NewGetCourseRequest ¶
NewGetCourseRequest constructs an http.Request for the GetCourse method
func NewGetCurrentCalendarSubscriptionRequest ¶
NewGetCurrentCalendarSubscriptionRequest constructs an http.Request for the GetCurrentCalendarSubscription method
func NewGetCurrentSemesterRequest ¶
NewGetCurrentSemesterRequest constructs an http.Request for the GetCurrentSemester method
func NewGetDescriptionRequest ¶
func NewGetDescriptionRequest(server string, params *GetDescriptionParams) (*http.Request, error)
NewGetDescriptionRequest constructs an http.Request for the GetDescription method
func NewGetMetadataRequest ¶
NewGetMetadataRequest constructs an http.Request for the GetMetadata method
func NewGetOpenApiSpecRequest ¶
NewGetOpenApiSpecRequest constructs an http.Request for the GetOpenApiSpec method
func NewGetSectionCalendarRequest ¶
NewGetSectionCalendarRequest constructs an http.Request for the GetSectionCalendar method
func NewGetSectionRequest ¶
func NewGetSectionRequest(server string, jwId int64, params *GetSectionParams) (*http.Request, error)
NewGetSectionRequest constructs an http.Request for the GetSection method
func NewGetSectionScheduleGroupsRequest ¶
func NewGetSectionScheduleGroupsRequest(server string, jwId int64, params *GetSectionScheduleGroupsParams) (*http.Request, error)
NewGetSectionScheduleGroupsRequest constructs an http.Request for the GetSectionScheduleGroups method
func NewGetSectionSchedulesRequest ¶
func NewGetSectionSchedulesRequest(server string, jwId int64, params *GetSectionSchedulesParams) (*http.Request, error)
NewGetSectionSchedulesRequest constructs an http.Request for the GetSectionSchedules method
func NewGetSectionsCalendarRequest ¶
func NewGetSectionsCalendarRequest(server string, params *GetSectionsCalendarParams) (*http.Request, error)
NewGetSectionsCalendarRequest constructs an http.Request for the GetSectionsCalendar method
func NewGetSubscribedHomeworksRequest ¶
func NewGetSubscribedHomeworksRequest(server string, params *GetSubscribedHomeworksParams) (*http.Request, error)
NewGetSubscribedHomeworksRequest constructs an http.Request for the GetSubscribedHomeworks method
func NewGetTeacherRequest ¶
NewGetTeacherRequest constructs an http.Request for the GetTeacher method
func NewGetWellKnownAppleAppSiteAssociationRequest ¶
NewGetWellKnownAppleAppSiteAssociationRequest constructs an http.Request for the GetWellKnownAppleAppSiteAssociation method
func NewGetWellKnownOauthAuthorizationServerApiAuthRequest ¶
NewGetWellKnownOauthAuthorizationServerApiAuthRequest constructs an http.Request for the GetWellKnownOauthAuthorizationServerApiAuth method
func NewGetWellKnownOauthProtectedResourceApiGraphqlRequest ¶
NewGetWellKnownOauthProtectedResourceApiGraphqlRequest constructs an http.Request for the GetWellKnownOauthProtectedResourceApiGraphql method
func NewGetWellKnownOauthProtectedResourceApiMcpRequest ¶
NewGetWellKnownOauthProtectedResourceApiMcpRequest constructs an http.Request for the GetWellKnownOauthProtectedResourceApiMcp method
func NewGetWellKnownOpenidConfigurationApiAuthRequest ¶
NewGetWellKnownOpenidConfigurationApiAuthRequest constructs an http.Request for the GetWellKnownOpenidConfigurationApiAuth method
func NewListAdminCommentsRequest ¶
func NewListAdminCommentsRequest(server string, params *ListAdminCommentsParams) (*http.Request, error)
NewListAdminCommentsRequest constructs an http.Request for the ListAdminComments method
func NewListAdminDescriptionsRequest ¶
func NewListAdminDescriptionsRequest(server string, params *ListAdminDescriptionsParams) (*http.Request, error)
NewListAdminDescriptionsRequest constructs an http.Request for the ListAdminDescriptions method
func NewListAdminHomeworksRequest ¶
func NewListAdminHomeworksRequest(server string, params *ListAdminHomeworksParams) (*http.Request, error)
NewListAdminHomeworksRequest constructs an http.Request for the ListAdminHomeworks method
func NewListAdminSuspensionsRequest ¶
NewListAdminSuspensionsRequest constructs an http.Request for the ListAdminSuspensions method
func NewListAdminUsersRequest ¶
func NewListAdminUsersRequest(server string, params *ListAdminUsersParams) (*http.Request, error)
NewListAdminUsersRequest constructs an http.Request for the ListAdminUsers method
func NewListCommentsRequest ¶
func NewListCommentsRequest(server string, params *ListCommentsParams) (*http.Request, error)
NewListCommentsRequest constructs an http.Request for the ListComments method
func NewListCoursesRequest ¶
func NewListCoursesRequest(server string, params *ListCoursesParams) (*http.Request, error)
NewListCoursesRequest constructs an http.Request for the ListCourses method
func NewListHealthRequest ¶
NewListHealthRequest constructs an http.Request for the ListHealth method
func NewListMcpRequest ¶
NewListMcpRequest constructs an http.Request for the ListMcp method
func NewListSchedulesRequest ¶
func NewListSchedulesRequest(server string, params *ListSchedulesParams) (*http.Request, error)
NewListSchedulesRequest constructs an http.Request for the ListSchedules method
func NewListSectionsRequest ¶
func NewListSectionsRequest(server string, params *ListSectionsParams) (*http.Request, error)
NewListSectionsRequest constructs an http.Request for the ListSections method
func NewListSemestersRequest ¶
func NewListSemestersRequest(server string, params *ListSemestersParams) (*http.Request, error)
NewListSemestersRequest constructs an http.Request for the ListSemesters method
func NewListTeachersRequest ¶
func NewListTeachersRequest(server string, params *ListTeachersParams) (*http.Request, error)
NewListTeachersRequest constructs an http.Request for the ListTeachers method
func NewListTodosRequest ¶
func NewListTodosRequest(server string, params *ListTodosParams) (*http.Request, error)
NewListTodosRequest constructs an http.Request for the ListTodos method
func NewListUploadsRequest ¶
func NewListUploadsRequest(server string, params *ListUploadsParams) (*http.Request, error)
NewListUploadsRequest constructs an http.Request for the ListUploads method
func NewMatchSectionCodesRequest ¶
func NewMatchSectionCodesRequest(server string, body MatchSectionCodesJSONRequestBody) (*http.Request, error)
NewMatchSectionCodesRequest calls the generic MatchSectionCodes builder with application/json body
func NewMatchSectionCodesRequestWithBody ¶
func NewMatchSectionCodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMatchSectionCodesRequestWithBody constructs an http.Request for the MatchSectionCodes method, with any body, and a specified content type
func NewModerateAdminCommentRequest ¶
func NewModerateAdminCommentRequest(server string, id string, body ModerateAdminCommentJSONRequestBody) (*http.Request, error)
NewModerateAdminCommentRequest calls the generic ModerateAdminComment builder with application/json body
func NewModerateAdminCommentRequestWithBody ¶
func NewModerateAdminCommentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModerateAdminCommentRequestWithBody constructs an http.Request for the ModerateAdminComment method, with any body, and a specified content type
func NewOptionsApiAuthOauth2DeviceAuthorizationRequest ¶
NewOptionsApiAuthOauth2DeviceAuthorizationRequest constructs an http.Request for the OptionsApiAuthOauth2DeviceAuthorization method
func NewOptionsApiAuthWellKnownOpenidConfigurationRequest ¶
NewOptionsApiAuthWellKnownOpenidConfigurationRequest constructs an http.Request for the OptionsApiAuthWellKnownOpenidConfiguration method
func NewOptionsApiMcpRequest ¶
NewOptionsApiMcpRequest constructs an http.Request for the OptionsApiMcp method
func NewOptionsWellKnownOauthAuthorizationServerApiAuthRequest ¶
func NewOptionsWellKnownOauthAuthorizationServerApiAuthRequest(server string) (*http.Request, error)
NewOptionsWellKnownOauthAuthorizationServerApiAuthRequest constructs an http.Request for the OptionsWellKnownOauthAuthorizationServerApiAuth method
func NewOptionsWellKnownOauthProtectedResourceApiGraphqlRequest ¶
func NewOptionsWellKnownOauthProtectedResourceApiGraphqlRequest(server string) (*http.Request, error)
NewOptionsWellKnownOauthProtectedResourceApiGraphqlRequest constructs an http.Request for the OptionsWellKnownOauthProtectedResourceApiGraphql method
func NewOptionsWellKnownOauthProtectedResourceApiMcpRequest ¶
NewOptionsWellKnownOauthProtectedResourceApiMcpRequest constructs an http.Request for the OptionsWellKnownOauthProtectedResourceApiMcp method
func NewOptionsWellKnownOpenidConfigurationApiAuthRequest ¶
NewOptionsWellKnownOpenidConfigurationApiAuthRequest constructs an http.Request for the OptionsWellKnownOpenidConfigurationApiAuth method
func NewPatchApiTodosBatchRequest ¶
func NewPatchApiTodosBatchRequest(server string, body PatchApiTodosBatchJSONRequestBody) (*http.Request, error)
NewPatchApiTodosBatchRequest calls the generic PatchApiTodosBatch builder with application/json body
func NewPatchApiTodosBatchRequestWithBody ¶
func NewPatchApiTodosBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPatchApiTodosBatchRequestWithBody constructs an http.Request for the PatchApiTodosBatch method, with any body, and a specified content type
func NewPatchApiWorkspaceSubscriptionsJwIdRequest ¶
func NewPatchApiWorkspaceSubscriptionsJwIdRequest(server string, jwId int64, body PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody) (*http.Request, error)
NewPatchApiWorkspaceSubscriptionsJwIdRequest calls the generic PatchApiWorkspaceSubscriptionsJwId builder with application/json body
func NewPatchApiWorkspaceSubscriptionsJwIdRequestWithBody ¶
func NewPatchApiWorkspaceSubscriptionsJwIdRequestWithBody(server string, jwId int64, contentType string, body io.Reader) (*http.Request, error)
NewPatchApiWorkspaceSubscriptionsJwIdRequestWithBody constructs an http.Request for the PatchApiWorkspaceSubscriptionsJwId method, with any body, and a specified content type
func NewPostApiAuthOauth2DeviceAuthorizationRequestWithBody ¶
func NewPostApiAuthOauth2DeviceAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostApiAuthOauth2DeviceAuthorizationRequestWithBody constructs an http.Request for the PostApiAuthOauth2DeviceAuthorization method, with any body, and a specified content type
func NewPostApiAuthOauth2DeviceAuthorizationRequestWithFormdataBody ¶
func NewPostApiAuthOauth2DeviceAuthorizationRequestWithFormdataBody(server string, body PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody) (*http.Request, error)
NewPostApiAuthOauth2DeviceAuthorizationRequestWithFormdataBody calls the generic PostApiAuthOauth2DeviceAuthorization builder with application/x-www-form-urlencoded body
func NewPostApiAuthOauth2TokenRequestWithBody ¶
func NewPostApiAuthOauth2TokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostApiAuthOauth2TokenRequestWithBody constructs an http.Request for the PostApiAuthOauth2Token method, with any body, and a specified content type
func NewPostApiAuthOauth2TokenRequestWithFormdataBody ¶
func NewPostApiAuthOauth2TokenRequestWithFormdataBody(server string, body PostApiAuthOauth2TokenFormdataRequestBody) (*http.Request, error)
NewPostApiAuthOauth2TokenRequestWithFormdataBody calls the generic PostApiAuthOauth2Token builder with application/x-www-form-urlencoded body
func NewPostApiIngestionPublicationsBatchesRequest ¶
func NewPostApiIngestionPublicationsBatchesRequest(server string, body PostApiIngestionPublicationsBatchesJSONRequestBody) (*http.Request, error)
NewPostApiIngestionPublicationsBatchesRequest calls the generic PostApiIngestionPublicationsBatches builder with application/json body
func NewPostApiIngestionPublicationsBatchesRequestWithBody ¶
func NewPostApiIngestionPublicationsBatchesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostApiIngestionPublicationsBatchesRequestWithBody constructs an http.Request for the PostApiIngestionPublicationsBatches method, with any body, and a specified content type
func NewPostApiIngestionPublicationsObjectsPlanRequest ¶
func NewPostApiIngestionPublicationsObjectsPlanRequest(server string, body PostApiIngestionPublicationsObjectsPlanJSONRequestBody) (*http.Request, error)
NewPostApiIngestionPublicationsObjectsPlanRequest calls the generic PostApiIngestionPublicationsObjectsPlan builder with application/json body
func NewPostApiIngestionPublicationsObjectsPlanRequestWithBody ¶
func NewPostApiIngestionPublicationsObjectsPlanRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostApiIngestionPublicationsObjectsPlanRequestWithBody constructs an http.Request for the PostApiIngestionPublicationsObjectsPlan method, with any body, and a specified content type
func NewPostApiWorkspaceSubscriptionsImportCodesRequest ¶
func NewPostApiWorkspaceSubscriptionsImportCodesRequest(server string, body PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody) (*http.Request, error)
NewPostApiWorkspaceSubscriptionsImportCodesRequest calls the generic PostApiWorkspaceSubscriptionsImportCodes builder with application/json body
func NewPostApiWorkspaceSubscriptionsImportCodesRequestWithBody ¶
func NewPostApiWorkspaceSubscriptionsImportCodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostApiWorkspaceSubscriptionsImportCodesRequestWithBody constructs an http.Request for the PostApiWorkspaceSubscriptionsImportCodes method, with any body, and a specified content type
func NewPostApiWorkspaceYoungNotificationsIdReadRequest ¶
func NewPostApiWorkspaceYoungNotificationsIdReadRequest(server string, id string) (*http.Request, error)
NewPostApiWorkspaceYoungNotificationsIdReadRequest constructs an http.Request for the PostApiWorkspaceYoungNotificationsIdRead method
func NewPutApiHomeworksCompletionsRequest ¶
func NewPutApiHomeworksCompletionsRequest(server string, body PutApiHomeworksCompletionsJSONRequestBody) (*http.Request, error)
NewPutApiHomeworksCompletionsRequest calls the generic PutApiHomeworksCompletions builder with application/json body
func NewPutApiHomeworksCompletionsRequestWithBody ¶
func NewPutApiHomeworksCompletionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutApiHomeworksCompletionsRequestWithBody constructs an http.Request for the PutApiHomeworksCompletions method, with any body, and a specified content type
func NewPutApiIngestionPublicationsObjectsBatchIdKindSha256Request ¶
func NewPutApiIngestionPublicationsObjectsBatchIdKindSha256Request(server string, batchId string, kind PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind, sha256 string) (*http.Request, error)
NewPutApiIngestionPublicationsObjectsBatchIdKindSha256Request constructs an http.Request for the PutApiIngestionPublicationsObjectsBatchIdKindSha256 method
func NewPutApiUploadsObjectRequestWithBody ¶
func NewPutApiUploadsObjectRequestWithBody(server string, params *PutApiUploadsObjectParams, contentType string, body io.Reader) (*http.Request, error)
NewPutApiUploadsObjectRequestWithBody constructs an http.Request for the PutApiUploadsObject method, with any body, and a specified content type
func NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequest ¶
func NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequest(server string, youngId string, body PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody) (*http.Request, error)
NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequest calls the generic PutApiWorkspaceYoungEventSubscriptionsYoungId builder with application/json body
func NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequestWithBody ¶
func NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequestWithBody(server string, youngId string, contentType string, body io.Reader) (*http.Request, error)
NewPutApiWorkspaceYoungEventSubscriptionsYoungIdRequestWithBody constructs an http.Request for the PutApiWorkspaceYoungEventSubscriptionsYoungId method, with any body, and a specified content type
func NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest ¶
func NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest(server string, organizerId string, body PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody) (*http.Request, error)
NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequest calls the generic PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId builder with application/json body
func NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequestWithBody ¶
func NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequestWithBody(server string, organizerId string, contentType string, body io.Reader) (*http.Request, error)
NewPutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdRequestWithBody constructs an http.Request for the PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId method, with any body, and a specified content type
func NewQueryCalendarSubscriptionSectionsRequest ¶
func NewQueryCalendarSubscriptionSectionsRequest(server string, body QueryCalendarSubscriptionSectionsJSONRequestBody) (*http.Request, error)
NewQueryCalendarSubscriptionSectionsRequest calls the generic QueryCalendarSubscriptionSections builder with application/json body
func NewQueryCalendarSubscriptionSectionsRequestWithBody ¶
func NewQueryCalendarSubscriptionSectionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewQueryCalendarSubscriptionSectionsRequestWithBody constructs an http.Request for the QueryCalendarSubscriptionSections method, with any body, and a specified content type
func NewRemoveCommentReactionRequest ¶
func NewRemoveCommentReactionRequest(server string, id string, params *RemoveCommentReactionParams) (*http.Request, error)
NewRemoveCommentReactionRequest constructs an http.Request for the RemoveCommentReaction method
func NewSetHomeworkCompletionRequest ¶
func NewSetHomeworkCompletionRequest(server string, id string, body SetHomeworkCompletionJSONRequestBody) (*http.Request, error)
NewSetHomeworkCompletionRequest calls the generic SetHomeworkCompletion builder with application/json body
func NewSetHomeworkCompletionRequestWithBody ¶
func NewSetHomeworkCompletionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewSetHomeworkCompletionRequestWithBody constructs an http.Request for the SetHomeworkCompletion method, with any body, and a specified content type
func NewSetLocaleRequest ¶
func NewSetLocaleRequest(server string, body SetLocaleJSONRequestBody) (*http.Request, error)
NewSetLocaleRequest calls the generic SetLocale builder with application/json body
func NewSetLocaleRequestWithBody ¶
func NewSetLocaleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSetLocaleRequestWithBody constructs an http.Request for the SetLocale method, with any body, and a specified content type
func NewUpdateAdminDescriptionRequest ¶
func NewUpdateAdminDescriptionRequest(server string, id string, body UpdateAdminDescriptionJSONRequestBody) (*http.Request, error)
NewUpdateAdminDescriptionRequest calls the generic UpdateAdminDescription builder with application/json body
func NewUpdateAdminDescriptionRequestWithBody ¶
func NewUpdateAdminDescriptionRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdminDescriptionRequestWithBody constructs an http.Request for the UpdateAdminDescription method, with any body, and a specified content type
func NewUpdateAdminSuspensionRequest ¶
NewUpdateAdminSuspensionRequest constructs an http.Request for the UpdateAdminSuspension method
func NewUpdateAdminUserRequest ¶
func NewUpdateAdminUserRequest(server string, id string, body UpdateAdminUserJSONRequestBody) (*http.Request, error)
NewUpdateAdminUserRequest calls the generic UpdateAdminUser builder with application/json body
func NewUpdateAdminUserRequestWithBody ¶
func NewUpdateAdminUserRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdminUserRequestWithBody constructs an http.Request for the UpdateAdminUser method, with any body, and a specified content type
func NewUpdateCommentRequest ¶
func NewUpdateCommentRequest(server string, id string, body UpdateCommentJSONRequestBody) (*http.Request, error)
NewUpdateCommentRequest calls the generic UpdateComment builder with application/json body
func NewUpdateCommentRequestWithBody ¶
func NewUpdateCommentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCommentRequestWithBody constructs an http.Request for the UpdateComment method, with any body, and a specified content type
func NewUpdateTodoRequest ¶
func NewUpdateTodoRequest(server string, id string, body UpdateTodoJSONRequestBody) (*http.Request, error)
NewUpdateTodoRequest calls the generic UpdateTodo builder with application/json body
func NewUpdateTodoRequestWithBody ¶
func NewUpdateTodoRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateTodoRequestWithBody constructs an http.Request for the UpdateTodo method, with any body, and a specified content type
func NewUpdateUploadRequest ¶
func NewUpdateUploadRequest(server string, id string, body UpdateUploadJSONRequestBody) (*http.Request, error)
NewUpdateUploadRequest calls the generic UpdateUpload builder with application/json body
func NewUpdateUploadRequestWithBody ¶
func NewUpdateUploadRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateUploadRequestWithBody constructs an http.Request for the UpdateUpload method, with any body, and a specified content type
func NewUpsertDescriptionRequest ¶
func NewUpsertDescriptionRequest(server string, body UpsertDescriptionJSONRequestBody) (*http.Request, error)
NewUpsertDescriptionRequest calls the generic UpsertDescription builder with application/json body
func NewUpsertDescriptionRequestWithBody ¶
func NewUpsertDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertDescriptionRequestWithBody constructs an http.Request for the UpsertDescription method, with any body, and a specified content type
func NewWorkspaceBusPreferencesGetRequest ¶
NewWorkspaceBusPreferencesGetRequest constructs an http.Request for the WorkspaceBusPreferencesGet method
func NewWorkspaceBusPreferencesSetRequest ¶
func NewWorkspaceBusPreferencesSetRequest(server string, body WorkspaceBusPreferencesSetJSONRequestBody) (*http.Request, error)
NewWorkspaceBusPreferencesSetRequest calls the generic WorkspaceBusPreferencesSet builder with application/json body
func NewWorkspaceBusPreferencesSetRequestWithBody ¶
func NewWorkspaceBusPreferencesSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceBusPreferencesSetRequestWithBody constructs an http.Request for the WorkspaceBusPreferencesSet method, with any body, and a specified content type
func NewWorkspaceCalendarFeedExportRequest ¶
NewWorkspaceCalendarFeedExportRequest constructs an http.Request for the WorkspaceCalendarFeedExport method
func NewWorkspaceExamListRequest ¶
func NewWorkspaceExamListRequest(server string, params *WorkspaceExamListParams) (*http.Request, error)
NewWorkspaceExamListRequest constructs an http.Request for the WorkspaceExamList method
func NewWorkspaceLinkPinBatchSetRequest ¶
func NewWorkspaceLinkPinBatchSetRequest(server string, body WorkspaceLinkPinBatchSetJSONRequestBody) (*http.Request, error)
NewWorkspaceLinkPinBatchSetRequest calls the generic WorkspaceLinkPinBatchSet builder with application/json body
func NewWorkspaceLinkPinBatchSetRequestWithBody ¶
func NewWorkspaceLinkPinBatchSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceLinkPinBatchSetRequestWithBody constructs an http.Request for the WorkspaceLinkPinBatchSet method, with any body, and a specified content type
func NewWorkspaceLinkPinListRequest ¶
NewWorkspaceLinkPinListRequest constructs an http.Request for the WorkspaceLinkPinList method
func NewWorkspaceLinkPinSetRequestWithBody ¶
func NewWorkspaceLinkPinSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceLinkPinSetRequestWithBody constructs an http.Request for the WorkspaceLinkPinSet method, with any body, and a specified content type
func NewWorkspaceLinkPinSetRequestWithFormdataBody ¶
func NewWorkspaceLinkPinSetRequestWithFormdataBody(server string, body WorkspaceLinkPinSetFormdataRequestBody) (*http.Request, error)
NewWorkspaceLinkPinSetRequestWithFormdataBody calls the generic WorkspaceLinkPinSet builder with application/x-www-form-urlencoded body
func NewWorkspaceOverviewGetRequest ¶
func NewWorkspaceOverviewGetRequest(server string, params *WorkspaceOverviewGetParams) (*http.Request, error)
NewWorkspaceOverviewGetRequest constructs an http.Request for the WorkspaceOverviewGet method
func NewWorkspaceScheduleListRequest ¶
func NewWorkspaceScheduleListRequest(server string, params *WorkspaceScheduleListParams) (*http.Request, error)
NewWorkspaceScheduleListRequest constructs an http.Request for the WorkspaceScheduleList method
Types ¶
type AccountClientActivityListParams ¶
type AccountClientActivityListParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
}
AccountClientActivityListParams defines parameters for AccountClientActivityList.
type AccountClientActivityListResponse ¶
type AccountClientActivityListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccountClientActivityResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseAccountClientActivityListResponse ¶
func ParseAccountClientActivityListResponse(rsp *http.Response) (*AccountClientActivityListResponse, error)
ParseAccountClientActivityListResponse parses an HTTP response from a AccountClientActivityListWithResponse call
func (AccountClientActivityListResponse) ContentType ¶
func (r AccountClientActivityListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountClientActivityListResponse) GetBody ¶
func (r AccountClientActivityListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountClientActivityListResponse) GetJSON200 ¶
func (r AccountClientActivityListResponse) GetJSON200() *AccountClientActivityResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountClientActivityListResponse) GetJSON400 ¶
func (r AccountClientActivityListResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AccountClientActivityListResponse) GetJSON401 ¶
func (r AccountClientActivityListResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AccountClientActivityListResponse) Status ¶
func (r AccountClientActivityListResponse) Status() string
Status returns HTTPResponse.Status
func (AccountClientActivityListResponse) StatusCode ¶
func (r AccountClientActivityListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountClientActivityResponseSchema ¶
type AccountClientActivityResponseSchema struct {
Items []struct {
Action string `json:"action"`
Channel AccountClientActivityResponseSchemaItemsChannel `json:"channel"`
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
Outcome AccountClientActivityResponseSchemaItemsOutcome `json:"outcome"`
TargetType *string `json:"targetType"`
} `json:"items"`
NextCursor *string `json:"nextCursor"`
}
AccountClientActivityResponseSchema defines model for accountClientActivityResponseSchema.
type AccountClientActivityResponseSchemaItemsChannel ¶
type AccountClientActivityResponseSchemaItemsChannel string
AccountClientActivityResponseSchemaItemsChannel defines model for AccountClientActivityResponseSchema.Items.Channel.
const ( Auth AccountClientActivityResponseSchemaItemsChannel = "auth" Graphql AccountClientActivityResponseSchemaItemsChannel = "graphql" Mcp AccountClientActivityResponseSchemaItemsChannel = "mcp" Rest AccountClientActivityResponseSchemaItemsChannel = "rest" System AccountClientActivityResponseSchemaItemsChannel = "system" Web AccountClientActivityResponseSchemaItemsChannel = "web" Webhook AccountClientActivityResponseSchemaItemsChannel = "webhook" )
Defines values for AccountClientActivityResponseSchemaItemsChannel.
func (AccountClientActivityResponseSchemaItemsChannel) Valid ¶
func (e AccountClientActivityResponseSchemaItemsChannel) Valid() bool
Valid indicates whether the value is a known member of the AccountClientActivityResponseSchemaItemsChannel enum.
type AccountClientActivityResponseSchemaItemsOutcome ¶
type AccountClientActivityResponseSchemaItemsOutcome string
AccountClientActivityResponseSchemaItemsOutcome defines model for AccountClientActivityResponseSchema.Items.Outcome.
const ( Denied AccountClientActivityResponseSchemaItemsOutcome = "denied" Failure AccountClientActivityResponseSchemaItemsOutcome = "failure" Success AccountClientActivityResponseSchemaItemsOutcome = "success" )
Defines values for AccountClientActivityResponseSchemaItemsOutcome.
func (AccountClientActivityResponseSchemaItemsOutcome) Valid ¶
func (e AccountClientActivityResponseSchemaItemsOutcome) Valid() bool
Valid indicates whether the value is a known member of the AccountClientActivityResponseSchemaItemsOutcome enum.
type AccountProfileGetResponse ¶
type AccountProfileGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MeResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseAccountProfileGetResponse ¶
func ParseAccountProfileGetResponse(rsp *http.Response) (*AccountProfileGetResponse, error)
ParseAccountProfileGetResponse parses an HTTP response from a AccountProfileGetWithResponse call
func (AccountProfileGetResponse) ContentType ¶
func (r AccountProfileGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountProfileGetResponse) GetBody ¶
func (r AccountProfileGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountProfileGetResponse) GetJSON200 ¶
func (r AccountProfileGetResponse) GetJSON200() *MeResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountProfileGetResponse) GetJSON401 ¶
func (r AccountProfileGetResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AccountProfileGetResponse) GetJSON404 ¶
func (r AccountProfileGetResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AccountProfileGetResponse) Status ¶
func (r AccountProfileGetResponse) Status() string
Status returns HTTPResponse.Status
func (AccountProfileGetResponse) StatusCode ¶
func (r AccountProfileGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActionableOverviewResponseSchema ¶
type ActionableOverviewResponseSchema struct {
Anchor struct {
AtTime time.Time `json:"atTime"`
DateFrom time.Time `json:"dateFrom"`
DateTo time.Time `json:"dateTo"`
} `json:"anchor"`
Deadlines struct {
AllPending []struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *ActionableOverviewResponseSchemaDeadlinesAllPendingPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
SubscriptionKind *ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type ActionableOverviewResponseSchemaDeadlinesAllPendingType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"allPending"`
NextThreeDays []struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
SubscriptionKind *ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"nextThreeDays"`
Today []struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *ActionableOverviewResponseSchemaDeadlinesTodayPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
SubscriptionKind *ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind ActionableOverviewResponseSchemaDeadlinesTodayTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type ActionableOverviewResponseSchemaDeadlinesTodayType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"today"`
} `json:"deadlines"`
Focus *struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *ActionableOverviewResponseSchemaFocusPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
Status ActionableOverviewResponseSchemaFocusStatus `json:"status"`
SubscriptionKind *ActionableOverviewResponseSchemaFocusSubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind ActionableOverviewResponseSchemaFocusTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type ActionableOverviewResponseSchemaFocusType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"focus"`
Subscriptions struct {
CurrentSemester *struct {
EndDate time.Time `json:"endDate"`
Id int `json:"id"`
NameCn string `json:"nameCn"`
StartDate time.Time `json:"startDate"`
} `json:"currentSemester"`
CurrentSemesterCount int `json:"currentSemesterCount"`
TotalCount int `json:"totalCount"`
} `json:"subscriptions"`
Upcoming []struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *ActionableOverviewResponseSchemaUpcomingPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
SubscriptionKind *ActionableOverviewResponseSchemaUpcomingSubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind ActionableOverviewResponseSchemaUpcomingTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type ActionableOverviewResponseSchemaUpcomingType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"upcoming"`
Urgency []struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *ActionableOverviewResponseSchemaUrgencyPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
SubscriptionKind *ActionableOverviewResponseSchemaUrgencySubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind ActionableOverviewResponseSchemaUrgencyTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type ActionableOverviewResponseSchemaUrgencyType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"urgency"`
}
ActionableOverviewResponseSchema defines model for actionableOverviewResponseSchema.
type ActionableOverviewResponseSchemaDeadlinesAllPendingPriority ¶
type ActionableOverviewResponseSchemaDeadlinesAllPendingPriority string
ActionableOverviewResponseSchemaDeadlinesAllPendingPriority defines model for ActionableOverviewResponseSchema.Deadlines.AllPending.Priority.
const ( ActionableOverviewResponseSchemaDeadlinesAllPendingPriorityHigh ActionableOverviewResponseSchemaDeadlinesAllPendingPriority = "high" ActionableOverviewResponseSchemaDeadlinesAllPendingPriorityLow ActionableOverviewResponseSchemaDeadlinesAllPendingPriority = "low" ActionableOverviewResponseSchemaDeadlinesAllPendingPriorityMedium ActionableOverviewResponseSchemaDeadlinesAllPendingPriority = "medium" )
Defines values for ActionableOverviewResponseSchemaDeadlinesAllPendingPriority.
func (ActionableOverviewResponseSchemaDeadlinesAllPendingPriority) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesAllPendingPriority) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesAllPendingPriority enum.
type ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind ¶
type ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind string
ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind defines model for ActionableOverviewResponseSchema.Deadlines.AllPending.SubscriptionKind.
const ( ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKindAuditor ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind = "auditor" ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKindRegular ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind = "regular" ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKindTeachingAssistant ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind = "teaching_assistant" )
Defines values for ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind.
func (ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesAllPendingSubscriptionKind enum.
type ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind ¶
type ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind string
ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind defines model for ActionableOverviewResponseSchema.Deadlines.AllPending.Target.Kind.
const ( ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKindExam ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind = "exam" ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKindHomework ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind = "homework" ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKindSection ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind = "section" ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKindTodo ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind = "todo" ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKindYoungEvent ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind = "young_event" )
Defines values for ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind.
func (ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesAllPendingTargetKind enum.
type ActionableOverviewResponseSchemaDeadlinesAllPendingType ¶
type ActionableOverviewResponseSchemaDeadlinesAllPendingType string
ActionableOverviewResponseSchemaDeadlinesAllPendingType defines model for ActionableOverviewResponseSchema.Deadlines.AllPending.Type.
const ( ActionableOverviewResponseSchemaDeadlinesAllPendingTypeExam ActionableOverviewResponseSchemaDeadlinesAllPendingType = "exam" ActionableOverviewResponseSchemaDeadlinesAllPendingTypeHomeworkDue ActionableOverviewResponseSchemaDeadlinesAllPendingType = "homework_due" ActionableOverviewResponseSchemaDeadlinesAllPendingTypeSchedule ActionableOverviewResponseSchemaDeadlinesAllPendingType = "schedule" ActionableOverviewResponseSchemaDeadlinesAllPendingTypeTodoDue ActionableOverviewResponseSchemaDeadlinesAllPendingType = "todo_due" ActionableOverviewResponseSchemaDeadlinesAllPendingTypeYoungEvent ActionableOverviewResponseSchemaDeadlinesAllPendingType = "young_event" )
Defines values for ActionableOverviewResponseSchemaDeadlinesAllPendingType.
func (ActionableOverviewResponseSchemaDeadlinesAllPendingType) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesAllPendingType) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesAllPendingType enum.
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority ¶
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority string
ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority defines model for ActionableOverviewResponseSchema.Deadlines.NextThreeDays.Priority.
const ( ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriorityHigh ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority = "high" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriorityLow ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority = "low" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriorityMedium ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority = "medium" )
Defines values for ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority.
func (ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesNextThreeDaysPriority enum.
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind ¶
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind string
ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind defines model for ActionableOverviewResponseSchema.Deadlines.NextThreeDays.SubscriptionKind.
const ( ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKindAuditor ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind = "auditor" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKindRegular ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind = "regular" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKindTeachingAssistant ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind = "teaching_assistant" )
Defines values for ActionableOverviewResponseSchemaDeadlinesNextThreeDaysSubscriptionKind.
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind ¶
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind string
ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind defines model for ActionableOverviewResponseSchema.Deadlines.NextThreeDays.Target.Kind.
const ( ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKindExam ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind = "exam" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKindHomework ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind = "homework" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKindSection ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind = "section" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKindTodo ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind = "todo" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKindYoungEvent ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind = "young_event" )
Defines values for ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind.
func (ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTargetKind enum.
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType ¶
type ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType string
ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType defines model for ActionableOverviewResponseSchema.Deadlines.NextThreeDays.Type.
const ( ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTypeExam ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType = "exam" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTypeHomeworkDue ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType = "homework_due" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTypeSchedule ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType = "schedule" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTypeTodoDue ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType = "todo_due" ActionableOverviewResponseSchemaDeadlinesNextThreeDaysTypeYoungEvent ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType = "young_event" )
Defines values for ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType.
func (ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesNextThreeDaysType enum.
type ActionableOverviewResponseSchemaDeadlinesTodayPriority ¶
type ActionableOverviewResponseSchemaDeadlinesTodayPriority string
ActionableOverviewResponseSchemaDeadlinesTodayPriority defines model for ActionableOverviewResponseSchema.Deadlines.Today.Priority.
const ( ActionableOverviewResponseSchemaDeadlinesTodayPriorityHigh ActionableOverviewResponseSchemaDeadlinesTodayPriority = "high" ActionableOverviewResponseSchemaDeadlinesTodayPriorityLow ActionableOverviewResponseSchemaDeadlinesTodayPriority = "low" ActionableOverviewResponseSchemaDeadlinesTodayPriorityMedium ActionableOverviewResponseSchemaDeadlinesTodayPriority = "medium" )
Defines values for ActionableOverviewResponseSchemaDeadlinesTodayPriority.
func (ActionableOverviewResponseSchemaDeadlinesTodayPriority) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesTodayPriority) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesTodayPriority enum.
type ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind ¶
type ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind string
ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind defines model for ActionableOverviewResponseSchema.Deadlines.Today.SubscriptionKind.
const ( ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKindAuditor ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind = "auditor" ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKindRegular ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind = "regular" ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKindTeachingAssistant ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind = "teaching_assistant" )
Defines values for ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind.
func (ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesTodaySubscriptionKind enum.
type ActionableOverviewResponseSchemaDeadlinesTodayTargetKind ¶
type ActionableOverviewResponseSchemaDeadlinesTodayTargetKind string
ActionableOverviewResponseSchemaDeadlinesTodayTargetKind defines model for ActionableOverviewResponseSchema.Deadlines.Today.Target.Kind.
const ( ActionableOverviewResponseSchemaDeadlinesTodayTargetKindExam ActionableOverviewResponseSchemaDeadlinesTodayTargetKind = "exam" ActionableOverviewResponseSchemaDeadlinesTodayTargetKindHomework ActionableOverviewResponseSchemaDeadlinesTodayTargetKind = "homework" ActionableOverviewResponseSchemaDeadlinesTodayTargetKindSection ActionableOverviewResponseSchemaDeadlinesTodayTargetKind = "section" ActionableOverviewResponseSchemaDeadlinesTodayTargetKindTodo ActionableOverviewResponseSchemaDeadlinesTodayTargetKind = "todo" ActionableOverviewResponseSchemaDeadlinesTodayTargetKindYoungEvent ActionableOverviewResponseSchemaDeadlinesTodayTargetKind = "young_event" )
Defines values for ActionableOverviewResponseSchemaDeadlinesTodayTargetKind.
func (ActionableOverviewResponseSchemaDeadlinesTodayTargetKind) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesTodayTargetKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesTodayTargetKind enum.
type ActionableOverviewResponseSchemaDeadlinesTodayType ¶
type ActionableOverviewResponseSchemaDeadlinesTodayType string
ActionableOverviewResponseSchemaDeadlinesTodayType defines model for ActionableOverviewResponseSchema.Deadlines.Today.Type.
const ( ActionableOverviewResponseSchemaDeadlinesTodayTypeExam ActionableOverviewResponseSchemaDeadlinesTodayType = "exam" ActionableOverviewResponseSchemaDeadlinesTodayTypeHomeworkDue ActionableOverviewResponseSchemaDeadlinesTodayType = "homework_due" ActionableOverviewResponseSchemaDeadlinesTodayTypeSchedule ActionableOverviewResponseSchemaDeadlinesTodayType = "schedule" ActionableOverviewResponseSchemaDeadlinesTodayTypeTodoDue ActionableOverviewResponseSchemaDeadlinesTodayType = "todo_due" ActionableOverviewResponseSchemaDeadlinesTodayTypeYoungEvent ActionableOverviewResponseSchemaDeadlinesTodayType = "young_event" )
Defines values for ActionableOverviewResponseSchemaDeadlinesTodayType.
func (ActionableOverviewResponseSchemaDeadlinesTodayType) Valid ¶
func (e ActionableOverviewResponseSchemaDeadlinesTodayType) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaDeadlinesTodayType enum.
type ActionableOverviewResponseSchemaFocusPriority ¶
type ActionableOverviewResponseSchemaFocusPriority string
ActionableOverviewResponseSchemaFocusPriority defines model for ActionableOverviewResponseSchema.Focus.Priority.
const ( ActionableOverviewResponseSchemaFocusPriorityHigh ActionableOverviewResponseSchemaFocusPriority = "high" ActionableOverviewResponseSchemaFocusPriorityLow ActionableOverviewResponseSchemaFocusPriority = "low" ActionableOverviewResponseSchemaFocusPriorityMedium ActionableOverviewResponseSchemaFocusPriority = "medium" )
Defines values for ActionableOverviewResponseSchemaFocusPriority.
func (ActionableOverviewResponseSchemaFocusPriority) Valid ¶
func (e ActionableOverviewResponseSchemaFocusPriority) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaFocusPriority enum.
type ActionableOverviewResponseSchemaFocusStatus ¶
type ActionableOverviewResponseSchemaFocusStatus string
ActionableOverviewResponseSchemaFocusStatus defines model for ActionableOverviewResponseSchema.Focus.Status.
const ( Next ActionableOverviewResponseSchemaFocusStatus = "next" Now ActionableOverviewResponseSchemaFocusStatus = "now" Urgent ActionableOverviewResponseSchemaFocusStatus = "urgent" )
Defines values for ActionableOverviewResponseSchemaFocusStatus.
func (ActionableOverviewResponseSchemaFocusStatus) Valid ¶
func (e ActionableOverviewResponseSchemaFocusStatus) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaFocusStatus enum.
type ActionableOverviewResponseSchemaFocusSubscriptionKind ¶
type ActionableOverviewResponseSchemaFocusSubscriptionKind string
ActionableOverviewResponseSchemaFocusSubscriptionKind defines model for ActionableOverviewResponseSchema.Focus.SubscriptionKind.
const ( ActionableOverviewResponseSchemaFocusSubscriptionKindAuditor ActionableOverviewResponseSchemaFocusSubscriptionKind = "auditor" ActionableOverviewResponseSchemaFocusSubscriptionKindRegular ActionableOverviewResponseSchemaFocusSubscriptionKind = "regular" ActionableOverviewResponseSchemaFocusSubscriptionKindTeachingAssistant ActionableOverviewResponseSchemaFocusSubscriptionKind = "teaching_assistant" )
Defines values for ActionableOverviewResponseSchemaFocusSubscriptionKind.
func (ActionableOverviewResponseSchemaFocusSubscriptionKind) Valid ¶
func (e ActionableOverviewResponseSchemaFocusSubscriptionKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaFocusSubscriptionKind enum.
type ActionableOverviewResponseSchemaFocusTargetKind ¶
type ActionableOverviewResponseSchemaFocusTargetKind string
ActionableOverviewResponseSchemaFocusTargetKind defines model for ActionableOverviewResponseSchema.Focus.Target.Kind.
const ( ActionableOverviewResponseSchemaFocusTargetKindExam ActionableOverviewResponseSchemaFocusTargetKind = "exam" ActionableOverviewResponseSchemaFocusTargetKindHomework ActionableOverviewResponseSchemaFocusTargetKind = "homework" ActionableOverviewResponseSchemaFocusTargetKindSection ActionableOverviewResponseSchemaFocusTargetKind = "section" ActionableOverviewResponseSchemaFocusTargetKindTodo ActionableOverviewResponseSchemaFocusTargetKind = "todo" ActionableOverviewResponseSchemaFocusTargetKindYoungEvent ActionableOverviewResponseSchemaFocusTargetKind = "young_event" )
Defines values for ActionableOverviewResponseSchemaFocusTargetKind.
func (ActionableOverviewResponseSchemaFocusTargetKind) Valid ¶
func (e ActionableOverviewResponseSchemaFocusTargetKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaFocusTargetKind enum.
type ActionableOverviewResponseSchemaFocusType ¶
type ActionableOverviewResponseSchemaFocusType string
ActionableOverviewResponseSchemaFocusType defines model for ActionableOverviewResponseSchema.Focus.Type.
const ( ActionableOverviewResponseSchemaFocusTypeExam ActionableOverviewResponseSchemaFocusType = "exam" ActionableOverviewResponseSchemaFocusTypeHomeworkDue ActionableOverviewResponseSchemaFocusType = "homework_due" ActionableOverviewResponseSchemaFocusTypeSchedule ActionableOverviewResponseSchemaFocusType = "schedule" ActionableOverviewResponseSchemaFocusTypeTodoDue ActionableOverviewResponseSchemaFocusType = "todo_due" ActionableOverviewResponseSchemaFocusTypeYoungEvent ActionableOverviewResponseSchemaFocusType = "young_event" )
Defines values for ActionableOverviewResponseSchemaFocusType.
func (ActionableOverviewResponseSchemaFocusType) Valid ¶
func (e ActionableOverviewResponseSchemaFocusType) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaFocusType enum.
type ActionableOverviewResponseSchemaUpcomingPriority ¶
type ActionableOverviewResponseSchemaUpcomingPriority string
ActionableOverviewResponseSchemaUpcomingPriority defines model for ActionableOverviewResponseSchema.Upcoming.Priority.
const ( ActionableOverviewResponseSchemaUpcomingPriorityHigh ActionableOverviewResponseSchemaUpcomingPriority = "high" ActionableOverviewResponseSchemaUpcomingPriorityLow ActionableOverviewResponseSchemaUpcomingPriority = "low" ActionableOverviewResponseSchemaUpcomingPriorityMedium ActionableOverviewResponseSchemaUpcomingPriority = "medium" )
Defines values for ActionableOverviewResponseSchemaUpcomingPriority.
func (ActionableOverviewResponseSchemaUpcomingPriority) Valid ¶
func (e ActionableOverviewResponseSchemaUpcomingPriority) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUpcomingPriority enum.
type ActionableOverviewResponseSchemaUpcomingSubscriptionKind ¶
type ActionableOverviewResponseSchemaUpcomingSubscriptionKind string
ActionableOverviewResponseSchemaUpcomingSubscriptionKind defines model for ActionableOverviewResponseSchema.Upcoming.SubscriptionKind.
const ( ActionableOverviewResponseSchemaUpcomingSubscriptionKindAuditor ActionableOverviewResponseSchemaUpcomingSubscriptionKind = "auditor" ActionableOverviewResponseSchemaUpcomingSubscriptionKindRegular ActionableOverviewResponseSchemaUpcomingSubscriptionKind = "regular" ActionableOverviewResponseSchemaUpcomingSubscriptionKindTeachingAssistant ActionableOverviewResponseSchemaUpcomingSubscriptionKind = "teaching_assistant" )
Defines values for ActionableOverviewResponseSchemaUpcomingSubscriptionKind.
func (ActionableOverviewResponseSchemaUpcomingSubscriptionKind) Valid ¶
func (e ActionableOverviewResponseSchemaUpcomingSubscriptionKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUpcomingSubscriptionKind enum.
type ActionableOverviewResponseSchemaUpcomingTargetKind ¶
type ActionableOverviewResponseSchemaUpcomingTargetKind string
ActionableOverviewResponseSchemaUpcomingTargetKind defines model for ActionableOverviewResponseSchema.Upcoming.Target.Kind.
const ( ActionableOverviewResponseSchemaUpcomingTargetKindExam ActionableOverviewResponseSchemaUpcomingTargetKind = "exam" ActionableOverviewResponseSchemaUpcomingTargetKindHomework ActionableOverviewResponseSchemaUpcomingTargetKind = "homework" ActionableOverviewResponseSchemaUpcomingTargetKindSection ActionableOverviewResponseSchemaUpcomingTargetKind = "section" ActionableOverviewResponseSchemaUpcomingTargetKindTodo ActionableOverviewResponseSchemaUpcomingTargetKind = "todo" ActionableOverviewResponseSchemaUpcomingTargetKindYoungEvent ActionableOverviewResponseSchemaUpcomingTargetKind = "young_event" )
Defines values for ActionableOverviewResponseSchemaUpcomingTargetKind.
func (ActionableOverviewResponseSchemaUpcomingTargetKind) Valid ¶
func (e ActionableOverviewResponseSchemaUpcomingTargetKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUpcomingTargetKind enum.
type ActionableOverviewResponseSchemaUpcomingType ¶
type ActionableOverviewResponseSchemaUpcomingType string
ActionableOverviewResponseSchemaUpcomingType defines model for ActionableOverviewResponseSchema.Upcoming.Type.
const ( ActionableOverviewResponseSchemaUpcomingTypeExam ActionableOverviewResponseSchemaUpcomingType = "exam" ActionableOverviewResponseSchemaUpcomingTypeHomeworkDue ActionableOverviewResponseSchemaUpcomingType = "homework_due" ActionableOverviewResponseSchemaUpcomingTypeSchedule ActionableOverviewResponseSchemaUpcomingType = "schedule" ActionableOverviewResponseSchemaUpcomingTypeTodoDue ActionableOverviewResponseSchemaUpcomingType = "todo_due" ActionableOverviewResponseSchemaUpcomingTypeYoungEvent ActionableOverviewResponseSchemaUpcomingType = "young_event" )
Defines values for ActionableOverviewResponseSchemaUpcomingType.
func (ActionableOverviewResponseSchemaUpcomingType) Valid ¶
func (e ActionableOverviewResponseSchemaUpcomingType) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUpcomingType enum.
type ActionableOverviewResponseSchemaUrgencyPriority ¶
type ActionableOverviewResponseSchemaUrgencyPriority string
ActionableOverviewResponseSchemaUrgencyPriority defines model for ActionableOverviewResponseSchema.Urgency.Priority.
const ( ActionableOverviewResponseSchemaUrgencyPriorityHigh ActionableOverviewResponseSchemaUrgencyPriority = "high" ActionableOverviewResponseSchemaUrgencyPriorityLow ActionableOverviewResponseSchemaUrgencyPriority = "low" ActionableOverviewResponseSchemaUrgencyPriorityMedium ActionableOverviewResponseSchemaUrgencyPriority = "medium" )
Defines values for ActionableOverviewResponseSchemaUrgencyPriority.
func (ActionableOverviewResponseSchemaUrgencyPriority) Valid ¶
func (e ActionableOverviewResponseSchemaUrgencyPriority) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUrgencyPriority enum.
type ActionableOverviewResponseSchemaUrgencySubscriptionKind ¶
type ActionableOverviewResponseSchemaUrgencySubscriptionKind string
ActionableOverviewResponseSchemaUrgencySubscriptionKind defines model for ActionableOverviewResponseSchema.Urgency.SubscriptionKind.
const ( ActionableOverviewResponseSchemaUrgencySubscriptionKindAuditor ActionableOverviewResponseSchemaUrgencySubscriptionKind = "auditor" ActionableOverviewResponseSchemaUrgencySubscriptionKindRegular ActionableOverviewResponseSchemaUrgencySubscriptionKind = "regular" ActionableOverviewResponseSchemaUrgencySubscriptionKindTeachingAssistant ActionableOverviewResponseSchemaUrgencySubscriptionKind = "teaching_assistant" )
Defines values for ActionableOverviewResponseSchemaUrgencySubscriptionKind.
func (ActionableOverviewResponseSchemaUrgencySubscriptionKind) Valid ¶
func (e ActionableOverviewResponseSchemaUrgencySubscriptionKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUrgencySubscriptionKind enum.
type ActionableOverviewResponseSchemaUrgencyTargetKind ¶
type ActionableOverviewResponseSchemaUrgencyTargetKind string
ActionableOverviewResponseSchemaUrgencyTargetKind defines model for ActionableOverviewResponseSchema.Urgency.Target.Kind.
const ( ActionableOverviewResponseSchemaUrgencyTargetKindExam ActionableOverviewResponseSchemaUrgencyTargetKind = "exam" ActionableOverviewResponseSchemaUrgencyTargetKindHomework ActionableOverviewResponseSchemaUrgencyTargetKind = "homework" ActionableOverviewResponseSchemaUrgencyTargetKindSection ActionableOverviewResponseSchemaUrgencyTargetKind = "section" ActionableOverviewResponseSchemaUrgencyTargetKindTodo ActionableOverviewResponseSchemaUrgencyTargetKind = "todo" ActionableOverviewResponseSchemaUrgencyTargetKindYoungEvent ActionableOverviewResponseSchemaUrgencyTargetKind = "young_event" )
Defines values for ActionableOverviewResponseSchemaUrgencyTargetKind.
func (ActionableOverviewResponseSchemaUrgencyTargetKind) Valid ¶
func (e ActionableOverviewResponseSchemaUrgencyTargetKind) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUrgencyTargetKind enum.
type ActionableOverviewResponseSchemaUrgencyType ¶
type ActionableOverviewResponseSchemaUrgencyType string
ActionableOverviewResponseSchemaUrgencyType defines model for ActionableOverviewResponseSchema.Urgency.Type.
const ( ActionableOverviewResponseSchemaUrgencyTypeExam ActionableOverviewResponseSchemaUrgencyType = "exam" ActionableOverviewResponseSchemaUrgencyTypeHomeworkDue ActionableOverviewResponseSchemaUrgencyType = "homework_due" ActionableOverviewResponseSchemaUrgencyTypeSchedule ActionableOverviewResponseSchemaUrgencyType = "schedule" ActionableOverviewResponseSchemaUrgencyTypeTodoDue ActionableOverviewResponseSchemaUrgencyType = "todo_due" ActionableOverviewResponseSchemaUrgencyTypeYoungEvent ActionableOverviewResponseSchemaUrgencyType = "young_event" )
Defines values for ActionableOverviewResponseSchemaUrgencyType.
func (ActionableOverviewResponseSchemaUrgencyType) Valid ¶
func (e ActionableOverviewResponseSchemaUrgencyType) Valid() bool
Valid indicates whether the value is a known member of the ActionableOverviewResponseSchemaUrgencyType enum.
type AddCommentReactionJSONRequestBody ¶
type AddCommentReactionJSONRequestBody = CommentReactionRequestSchema
AddCommentReactionJSONRequestBody defines body for AddCommentReaction for application/json ContentType.
type AddCommentReactionResponse ¶
type AddCommentReactionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *AddCommentReactionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *AddCommentReactionResponse503Headers
}
func ParseAddCommentReactionResponse ¶
func ParseAddCommentReactionResponse(rsp *http.Response) (*AddCommentReactionResponse, error)
ParseAddCommentReactionResponse parses an HTTP response from a AddCommentReactionWithResponse call
func (AddCommentReactionResponse) ContentType ¶
func (r AddCommentReactionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddCommentReactionResponse) GetBody ¶
func (r AddCommentReactionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddCommentReactionResponse) GetJSON200 ¶
func (r AddCommentReactionResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AddCommentReactionResponse) GetJSON400 ¶
func (r AddCommentReactionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AddCommentReactionResponse) GetJSON401 ¶
func (r AddCommentReactionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AddCommentReactionResponse) GetJSON403 ¶
func (r AddCommentReactionResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (AddCommentReactionResponse) GetJSON404 ¶
func (r AddCommentReactionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddCommentReactionResponse) GetJSON429 ¶
func (r AddCommentReactionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (AddCommentReactionResponse) GetJSON503 ¶
func (r AddCommentReactionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (AddCommentReactionResponse) Status ¶
func (r AddCommentReactionResponse) Status() string
Status returns HTTPResponse.Status
func (AddCommentReactionResponse) StatusCode ¶
func (r AddCommentReactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddCommentReactionResponse429Headers ¶
type AddCommentReactionResponse429Headers struct {
RetryAfter *int
}
AddCommentReactionResponse429Headers the declared response headers of an HTTP 429 response for AddCommentReaction
type AddCommentReactionResponse503Headers ¶
type AddCommentReactionResponse503Headers struct {
RetryAfter *int
}
AddCommentReactionResponse503Headers the declared response headers of an HTTP 503 response for AddCommentReaction
type AdminCommentsResponseSchema ¶
type AdminCommentsResponseSchema struct {
Data []struct {
AuthorName *string `json:"authorName"`
Body string `json:"body"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
DeletedAt *time.Time `json:"deletedAt"`
Homework *struct {
Id string `json:"id"`
Section struct {
Code string `json:"code"`
} `json:"section"`
Title string `json:"title"`
} `json:"homework"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
IsAnonymous bool `json:"isAnonymous"`
ModeratedAt *time.Time `json:"moderatedAt"`
ModeratedById *string `json:"moderatedById"`
ModerationNote *string `json:"moderationNote"`
ParentId *string `json:"parentId"`
RootId *string `json:"rootId"`
Section *struct {
Code string `json:"code"`
Course struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
JwId int `json:"jwId"`
} `json:"section"`
SectionId *int `json:"sectionId"`
SectionTeacher *struct {
Section struct {
Code string `json:"code"`
Course struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
JwId int `json:"jwId"`
} `json:"section"`
Teacher struct {
NameCn string `json:"nameCn"`
} `json:"teacher"`
} `json:"sectionTeacher"`
SectionTeacherId *int `json:"sectionTeacherId"`
Status AdminCommentsResponseSchemaDataStatus `json:"status"`
Teacher *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
} `json:"teacher"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
User *struct {
Name *string `json:"name"`
} `json:"user"`
UserId *string `json:"userId"`
Visibility AdminCommentsResponseSchemaDataVisibility `json:"visibility"`
YoungEvent *struct {
Id int `json:"id"`
Name string `json:"name"`
YoungId string `json:"youngId"`
} `json:"youngEvent"`
YoungEventId *int `json:"youngEventId"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
AdminCommentsResponseSchema defines model for adminCommentsResponseSchema.
type AdminCommentsResponseSchemaDataStatus ¶
type AdminCommentsResponseSchemaDataStatus string
AdminCommentsResponseSchemaDataStatus defines model for AdminCommentsResponseSchema.Data.Status.
const ( AdminCommentsResponseSchemaDataStatusActive AdminCommentsResponseSchemaDataStatus = "active" AdminCommentsResponseSchemaDataStatusDeleted AdminCommentsResponseSchemaDataStatus = "deleted" AdminCommentsResponseSchemaDataStatusSoftbanned AdminCommentsResponseSchemaDataStatus = "softbanned" )
Defines values for AdminCommentsResponseSchemaDataStatus.
func (AdminCommentsResponseSchemaDataStatus) Valid ¶
func (e AdminCommentsResponseSchemaDataStatus) Valid() bool
Valid indicates whether the value is a known member of the AdminCommentsResponseSchemaDataStatus enum.
type AdminCommentsResponseSchemaDataVisibility ¶
type AdminCommentsResponseSchemaDataVisibility string
AdminCommentsResponseSchemaDataVisibility defines model for AdminCommentsResponseSchema.Data.Visibility.
const ( AdminCommentsResponseSchemaDataVisibilityLoggedInOnly AdminCommentsResponseSchemaDataVisibility = "logged_in_only" AdminCommentsResponseSchemaDataVisibilityPublic AdminCommentsResponseSchemaDataVisibility = "public" )
Defines values for AdminCommentsResponseSchemaDataVisibility.
func (AdminCommentsResponseSchemaDataVisibility) Valid ¶
func (e AdminCommentsResponseSchemaDataVisibility) Valid() bool
Valid indicates whether the value is a known member of the AdminCommentsResponseSchemaDataVisibility enum.
type AdminCreateSuspensionRequestSchema ¶
type AdminCreateSuspensionRequestSchema struct {
ExpiresAt *AdminCreateSuspensionRequestSchema_ExpiresAt `json:"expiresAt,omitempty"`
Note *string `json:"note,omitempty"`
Reason *string `json:"reason,omitempty"`
UserId string `json:"userId"`
}
AdminCreateSuspensionRequestSchema defines model for adminCreateSuspensionRequestSchema.
type AdminCreateSuspensionRequestSchemaExpiresAt0 ¶
type AdminCreateSuspensionRequestSchemaExpiresAt0 = string
AdminCreateSuspensionRequestSchemaExpiresAt0 defines model for AdminCreateSuspensionRequestSchema.ExpiresAt.0.
type AdminCreateSuspensionRequestSchemaExpiresAt1 ¶
type AdminCreateSuspensionRequestSchemaExpiresAt1 string
AdminCreateSuspensionRequestSchemaExpiresAt1 defines model for AdminCreateSuspensionRequestSchema.ExpiresAt.1.
const (
AdminCreateSuspensionRequestSchemaExpiresAt1LessThannil AdminCreateSuspensionRequestSchemaExpiresAt1 = "<nil>"
)
Defines values for AdminCreateSuspensionRequestSchemaExpiresAt1.
func (AdminCreateSuspensionRequestSchemaExpiresAt1) Valid ¶
func (e AdminCreateSuspensionRequestSchemaExpiresAt1) Valid() bool
Valid indicates whether the value is a known member of the AdminCreateSuspensionRequestSchemaExpiresAt1 enum.
type AdminCreateSuspensionRequestSchema_ExpiresAt ¶
type AdminCreateSuspensionRequestSchema_ExpiresAt struct {
// contains filtered or unexported fields
}
AdminCreateSuspensionRequestSchema_ExpiresAt defines model for AdminCreateSuspensionRequestSchema.ExpiresAt.
func (AdminCreateSuspensionRequestSchema_ExpiresAt) AsAdminCreateSuspensionRequestSchemaExpiresAt0 ¶
func (t AdminCreateSuspensionRequestSchema_ExpiresAt) AsAdminCreateSuspensionRequestSchemaExpiresAt0() (AdminCreateSuspensionRequestSchemaExpiresAt0, error)
AsAdminCreateSuspensionRequestSchemaExpiresAt0 returns the union data inside the AdminCreateSuspensionRequestSchema_ExpiresAt as a AdminCreateSuspensionRequestSchemaExpiresAt0
func (AdminCreateSuspensionRequestSchema_ExpiresAt) AsAdminCreateSuspensionRequestSchemaExpiresAt1 ¶
func (t AdminCreateSuspensionRequestSchema_ExpiresAt) AsAdminCreateSuspensionRequestSchemaExpiresAt1() (AdminCreateSuspensionRequestSchemaExpiresAt1, error)
AsAdminCreateSuspensionRequestSchemaExpiresAt1 returns the union data inside the AdminCreateSuspensionRequestSchema_ExpiresAt as a AdminCreateSuspensionRequestSchemaExpiresAt1
func (*AdminCreateSuspensionRequestSchema_ExpiresAt) FromAdminCreateSuspensionRequestSchemaExpiresAt0 ¶
func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) FromAdminCreateSuspensionRequestSchemaExpiresAt0(v AdminCreateSuspensionRequestSchemaExpiresAt0) error
FromAdminCreateSuspensionRequestSchemaExpiresAt0 overwrites any union data inside the AdminCreateSuspensionRequestSchema_ExpiresAt as the provided AdminCreateSuspensionRequestSchemaExpiresAt0
func (*AdminCreateSuspensionRequestSchema_ExpiresAt) FromAdminCreateSuspensionRequestSchemaExpiresAt1 ¶
func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) FromAdminCreateSuspensionRequestSchemaExpiresAt1(v AdminCreateSuspensionRequestSchemaExpiresAt1) error
FromAdminCreateSuspensionRequestSchemaExpiresAt1 overwrites any union data inside the AdminCreateSuspensionRequestSchema_ExpiresAt as the provided AdminCreateSuspensionRequestSchemaExpiresAt1
func (AdminCreateSuspensionRequestSchema_ExpiresAt) MarshalJSON ¶
func (t AdminCreateSuspensionRequestSchema_ExpiresAt) MarshalJSON() ([]byte, error)
func (*AdminCreateSuspensionRequestSchema_ExpiresAt) MergeAdminCreateSuspensionRequestSchemaExpiresAt0 ¶
func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) MergeAdminCreateSuspensionRequestSchemaExpiresAt0(v AdminCreateSuspensionRequestSchemaExpiresAt0) error
MergeAdminCreateSuspensionRequestSchemaExpiresAt0 performs a merge with any union data inside the AdminCreateSuspensionRequestSchema_ExpiresAt, using the provided AdminCreateSuspensionRequestSchemaExpiresAt0
func (*AdminCreateSuspensionRequestSchema_ExpiresAt) MergeAdminCreateSuspensionRequestSchemaExpiresAt1 ¶
func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) MergeAdminCreateSuspensionRequestSchemaExpiresAt1(v AdminCreateSuspensionRequestSchemaExpiresAt1) error
MergeAdminCreateSuspensionRequestSchemaExpiresAt1 performs a merge with any union data inside the AdminCreateSuspensionRequestSchema_ExpiresAt, using the provided AdminCreateSuspensionRequestSchemaExpiresAt1
func (*AdminCreateSuspensionRequestSchema_ExpiresAt) UnmarshalJSON ¶
func (t *AdminCreateSuspensionRequestSchema_ExpiresAt) UnmarshalJSON(b []byte) error
type AdminDescriptionsResponseSchema ¶
type AdminDescriptionsResponseSchema struct {
Data []struct {
Content string `json:"content"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
Homework *struct {
Id string `json:"id"`
Section *struct {
Code *string `json:"code"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
JwId *int `json:"jwId"`
} `json:"section"`
Title string `json:"title"`
} `json:"homework"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"lastEditedBy"`
LastEditedById *string `json:"lastEditedById"`
Section *struct {
Code *string `json:"code"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
JwId *int `json:"jwId"`
} `json:"section"`
SectionId *int `json:"sectionId"`
Teacher *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
} `json:"teacher"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
AdminDescriptionsResponseSchema defines model for adminDescriptionsResponseSchema.
type AdminHomeworksResponseSchema ¶
type AdminHomeworksResponseSchema struct {
Data []struct {
CreatedAt time.Time `json:"createdAt"`
CreatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"createdBy"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"deletedBy"`
Id string `json:"id"`
Section *struct {
Code *string `json:"code"`
Course struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
Id int `json:"id"`
JwId *int `json:"jwId"`
} `json:"section"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"updatedBy"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
AdminHomeworksResponseSchema defines model for adminHomeworksResponseSchema.
type AdminModerateCommentRequestSchema ¶
type AdminModerateCommentRequestSchema struct {
ModerationNote *string `json:"moderationNote,omitempty"`
Status AdminModerateCommentRequestSchemaStatus `json:"status"`
}
AdminModerateCommentRequestSchema defines model for adminModerateCommentRequestSchema.
type AdminModerateCommentRequestSchemaStatus ¶
type AdminModerateCommentRequestSchemaStatus string
AdminModerateCommentRequestSchemaStatus defines model for AdminModerateCommentRequestSchema.Status.
const ( AdminModerateCommentRequestSchemaStatusActive AdminModerateCommentRequestSchemaStatus = "active" AdminModerateCommentRequestSchemaStatusDeleted AdminModerateCommentRequestSchemaStatus = "deleted" AdminModerateCommentRequestSchemaStatusSoftbanned AdminModerateCommentRequestSchemaStatus = "softbanned" )
Defines values for AdminModerateCommentRequestSchemaStatus.
func (AdminModerateCommentRequestSchemaStatus) Valid ¶
func (e AdminModerateCommentRequestSchemaStatus) Valid() bool
Valid indicates whether the value is a known member of the AdminModerateCommentRequestSchemaStatus enum.
type AdminModerateDescriptionRequestSchema ¶
type AdminModerateDescriptionRequestSchema struct {
Content string `json:"content"`
}
AdminModerateDescriptionRequestSchema defines model for adminModerateDescriptionRequestSchema.
type AdminModeratedCommentResponseSchema ¶
type AdminModeratedCommentResponseSchema struct {
Comment struct {
AuthorName *string `json:"authorName"`
Body string `json:"body"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
DeletedAt *time.Time `json:"deletedAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
IsAnonymous bool `json:"isAnonymous"`
ModeratedAt *time.Time `json:"moderatedAt"`
ModeratedById *string `json:"moderatedById"`
ModerationNote *string `json:"moderationNote"`
ParentId *string `json:"parentId"`
RootId *string `json:"rootId"`
SectionId *int `json:"sectionId"`
SectionTeacherId *int `json:"sectionTeacherId"`
Status AdminModeratedCommentResponseSchemaCommentStatus `json:"status"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
UserId *string `json:"userId"`
Visibility AdminModeratedCommentResponseSchemaCommentVisibility `json:"visibility"`
YoungEventId *int `json:"youngEventId"`
} `json:"comment"`
}
AdminModeratedCommentResponseSchema defines model for adminModeratedCommentResponseSchema.
type AdminModeratedCommentResponseSchemaCommentStatus ¶
type AdminModeratedCommentResponseSchemaCommentStatus string
AdminModeratedCommentResponseSchemaCommentStatus defines model for AdminModeratedCommentResponseSchema.Comment.Status.
const ( AdminModeratedCommentResponseSchemaCommentStatusActive AdminModeratedCommentResponseSchemaCommentStatus = "active" AdminModeratedCommentResponseSchemaCommentStatusDeleted AdminModeratedCommentResponseSchemaCommentStatus = "deleted" AdminModeratedCommentResponseSchemaCommentStatusSoftbanned AdminModeratedCommentResponseSchemaCommentStatus = "softbanned" )
Defines values for AdminModeratedCommentResponseSchemaCommentStatus.
func (AdminModeratedCommentResponseSchemaCommentStatus) Valid ¶
func (e AdminModeratedCommentResponseSchemaCommentStatus) Valid() bool
Valid indicates whether the value is a known member of the AdminModeratedCommentResponseSchemaCommentStatus enum.
type AdminModeratedCommentResponseSchemaCommentVisibility ¶
type AdminModeratedCommentResponseSchemaCommentVisibility string
AdminModeratedCommentResponseSchemaCommentVisibility defines model for AdminModeratedCommentResponseSchema.Comment.Visibility.
const ( AdminModeratedCommentResponseSchemaCommentVisibilityLoggedInOnly AdminModeratedCommentResponseSchemaCommentVisibility = "logged_in_only" AdminModeratedCommentResponseSchemaCommentVisibilityPublic AdminModeratedCommentResponseSchemaCommentVisibility = "public" )
Defines values for AdminModeratedCommentResponseSchemaCommentVisibility.
func (AdminModeratedCommentResponseSchemaCommentVisibility) Valid ¶
func (e AdminModeratedCommentResponseSchemaCommentVisibility) Valid() bool
Valid indicates whether the value is a known member of the AdminModeratedCommentResponseSchemaCommentVisibility enum.
type AdminModeratedDescriptionResponseSchema ¶
type AdminModeratedDescriptionResponseSchema struct {
Description struct {
Content string `json:"content"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
Homework *struct {
Id string `json:"id"`
Section *struct {
Code *string `json:"code"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
JwId *int `json:"jwId"`
} `json:"section"`
Title string `json:"title"`
} `json:"homework"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"lastEditedBy"`
LastEditedById *string `json:"lastEditedById"`
Section *struct {
Code *string `json:"code"`
Course *struct {
Code string `json:"code"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"course"`
JwId *int `json:"jwId"`
} `json:"section"`
SectionId *int `json:"sectionId"`
Teacher *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
} `json:"teacher"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"description"`
}
AdminModeratedDescriptionResponseSchema defines model for adminModeratedDescriptionResponseSchema.
type AdminSuspensionResponseSchema ¶
type AdminSuspensionResponseSchema struct {
Suspension struct {
CreatedAt time.Time `json:"createdAt"`
CreatedById *string `json:"createdById"`
ExpiresAt *time.Time `json:"expiresAt"`
Id string `json:"id"`
LiftedAt *time.Time `json:"liftedAt"`
LiftedById *string `json:"liftedById"`
Note *string `json:"note"`
Reason *string `json:"reason"`
User *struct {
Id string `json:"id"`
Name *string `json:"name"`
} `json:"user,omitempty"`
UserId string `json:"userId"`
} `json:"suspension"`
}
AdminSuspensionResponseSchema defines model for adminSuspensionResponseSchema.
type AdminSuspensionsResponseSchema ¶
type AdminSuspensionsResponseSchema struct {
Data []struct {
CreatedAt time.Time `json:"createdAt"`
CreatedById *string `json:"createdById"`
ExpiresAt *time.Time `json:"expiresAt"`
Id string `json:"id"`
LiftedAt *time.Time `json:"liftedAt"`
LiftedById *string `json:"liftedById"`
Note *string `json:"note"`
Reason *string `json:"reason"`
User *struct {
Id string `json:"id"`
Name *string `json:"name"`
} `json:"user,omitempty"`
UserId string `json:"userId"`
} `json:"data"`
}
AdminSuspensionsResponseSchema defines model for adminSuspensionsResponseSchema.
type AdminUpdateUserRequestSchema ¶
type AdminUpdateUserRequestSchema struct {
IsAdmin *bool `json:"isAdmin,omitempty"`
Name *AdminUpdateUserRequestSchema_Name `json:"name,omitempty"`
Username *AdminUpdateUserRequestSchema_Username `json:"username,omitempty"`
}
AdminUpdateUserRequestSchema defines model for adminUpdateUserRequestSchema.
type AdminUpdateUserRequestSchemaName0 ¶
type AdminUpdateUserRequestSchemaName0 = string
AdminUpdateUserRequestSchemaName0 defines model for AdminUpdateUserRequestSchema.Name.0.
type AdminUpdateUserRequestSchemaName1 ¶
type AdminUpdateUserRequestSchemaName1 string
AdminUpdateUserRequestSchemaName1 defines model for AdminUpdateUserRequestSchema.Name.1.
const (
AdminUpdateUserRequestSchemaName1LessThannil AdminUpdateUserRequestSchemaName1 = "<nil>"
)
Defines values for AdminUpdateUserRequestSchemaName1.
func (AdminUpdateUserRequestSchemaName1) Valid ¶
func (e AdminUpdateUserRequestSchemaName1) Valid() bool
Valid indicates whether the value is a known member of the AdminUpdateUserRequestSchemaName1 enum.
type AdminUpdateUserRequestSchemaUsername0 ¶
type AdminUpdateUserRequestSchemaUsername0 = string
AdminUpdateUserRequestSchemaUsername0 defines model for AdminUpdateUserRequestSchema.Username.0.
type AdminUpdateUserRequestSchemaUsername1 ¶
type AdminUpdateUserRequestSchemaUsername1 string
AdminUpdateUserRequestSchemaUsername1 defines model for AdminUpdateUserRequestSchema.Username.1.
const (
AdminUpdateUserRequestSchemaUsername1LessThannil AdminUpdateUserRequestSchemaUsername1 = "<nil>"
)
Defines values for AdminUpdateUserRequestSchemaUsername1.
func (AdminUpdateUserRequestSchemaUsername1) Valid ¶
func (e AdminUpdateUserRequestSchemaUsername1) Valid() bool
Valid indicates whether the value is a known member of the AdminUpdateUserRequestSchemaUsername1 enum.
type AdminUpdateUserRequestSchema_Name ¶
type AdminUpdateUserRequestSchema_Name struct {
// contains filtered or unexported fields
}
AdminUpdateUserRequestSchema_Name defines model for AdminUpdateUserRequestSchema.Name.
func (AdminUpdateUserRequestSchema_Name) AsAdminUpdateUserRequestSchemaName0 ¶
func (t AdminUpdateUserRequestSchema_Name) AsAdminUpdateUserRequestSchemaName0() (AdminUpdateUserRequestSchemaName0, error)
AsAdminUpdateUserRequestSchemaName0 returns the union data inside the AdminUpdateUserRequestSchema_Name as a AdminUpdateUserRequestSchemaName0
func (AdminUpdateUserRequestSchema_Name) AsAdminUpdateUserRequestSchemaName1 ¶
func (t AdminUpdateUserRequestSchema_Name) AsAdminUpdateUserRequestSchemaName1() (AdminUpdateUserRequestSchemaName1, error)
AsAdminUpdateUserRequestSchemaName1 returns the union data inside the AdminUpdateUserRequestSchema_Name as a AdminUpdateUserRequestSchemaName1
func (*AdminUpdateUserRequestSchema_Name) FromAdminUpdateUserRequestSchemaName0 ¶
func (t *AdminUpdateUserRequestSchema_Name) FromAdminUpdateUserRequestSchemaName0(v AdminUpdateUserRequestSchemaName0) error
FromAdminUpdateUserRequestSchemaName0 overwrites any union data inside the AdminUpdateUserRequestSchema_Name as the provided AdminUpdateUserRequestSchemaName0
func (*AdminUpdateUserRequestSchema_Name) FromAdminUpdateUserRequestSchemaName1 ¶
func (t *AdminUpdateUserRequestSchema_Name) FromAdminUpdateUserRequestSchemaName1(v AdminUpdateUserRequestSchemaName1) error
FromAdminUpdateUserRequestSchemaName1 overwrites any union data inside the AdminUpdateUserRequestSchema_Name as the provided AdminUpdateUserRequestSchemaName1
func (AdminUpdateUserRequestSchema_Name) MarshalJSON ¶
func (t AdminUpdateUserRequestSchema_Name) MarshalJSON() ([]byte, error)
func (*AdminUpdateUserRequestSchema_Name) MergeAdminUpdateUserRequestSchemaName0 ¶
func (t *AdminUpdateUserRequestSchema_Name) MergeAdminUpdateUserRequestSchemaName0(v AdminUpdateUserRequestSchemaName0) error
MergeAdminUpdateUserRequestSchemaName0 performs a merge with any union data inside the AdminUpdateUserRequestSchema_Name, using the provided AdminUpdateUserRequestSchemaName0
func (*AdminUpdateUserRequestSchema_Name) MergeAdminUpdateUserRequestSchemaName1 ¶
func (t *AdminUpdateUserRequestSchema_Name) MergeAdminUpdateUserRequestSchemaName1(v AdminUpdateUserRequestSchemaName1) error
MergeAdminUpdateUserRequestSchemaName1 performs a merge with any union data inside the AdminUpdateUserRequestSchema_Name, using the provided AdminUpdateUserRequestSchemaName1
func (*AdminUpdateUserRequestSchema_Name) UnmarshalJSON ¶
func (t *AdminUpdateUserRequestSchema_Name) UnmarshalJSON(b []byte) error
type AdminUpdateUserRequestSchema_Username ¶
type AdminUpdateUserRequestSchema_Username struct {
// contains filtered or unexported fields
}
AdminUpdateUserRequestSchema_Username defines model for AdminUpdateUserRequestSchema.Username.
func (AdminUpdateUserRequestSchema_Username) AsAdminUpdateUserRequestSchemaUsername0 ¶
func (t AdminUpdateUserRequestSchema_Username) AsAdminUpdateUserRequestSchemaUsername0() (AdminUpdateUserRequestSchemaUsername0, error)
AsAdminUpdateUserRequestSchemaUsername0 returns the union data inside the AdminUpdateUserRequestSchema_Username as a AdminUpdateUserRequestSchemaUsername0
func (AdminUpdateUserRequestSchema_Username) AsAdminUpdateUserRequestSchemaUsername1 ¶
func (t AdminUpdateUserRequestSchema_Username) AsAdminUpdateUserRequestSchemaUsername1() (AdminUpdateUserRequestSchemaUsername1, error)
AsAdminUpdateUserRequestSchemaUsername1 returns the union data inside the AdminUpdateUserRequestSchema_Username as a AdminUpdateUserRequestSchemaUsername1
func (*AdminUpdateUserRequestSchema_Username) FromAdminUpdateUserRequestSchemaUsername0 ¶
func (t *AdminUpdateUserRequestSchema_Username) FromAdminUpdateUserRequestSchemaUsername0(v AdminUpdateUserRequestSchemaUsername0) error
FromAdminUpdateUserRequestSchemaUsername0 overwrites any union data inside the AdminUpdateUserRequestSchema_Username as the provided AdminUpdateUserRequestSchemaUsername0
func (*AdminUpdateUserRequestSchema_Username) FromAdminUpdateUserRequestSchemaUsername1 ¶
func (t *AdminUpdateUserRequestSchema_Username) FromAdminUpdateUserRequestSchemaUsername1(v AdminUpdateUserRequestSchemaUsername1) error
FromAdminUpdateUserRequestSchemaUsername1 overwrites any union data inside the AdminUpdateUserRequestSchema_Username as the provided AdminUpdateUserRequestSchemaUsername1
func (AdminUpdateUserRequestSchema_Username) MarshalJSON ¶
func (t AdminUpdateUserRequestSchema_Username) MarshalJSON() ([]byte, error)
func (*AdminUpdateUserRequestSchema_Username) MergeAdminUpdateUserRequestSchemaUsername0 ¶
func (t *AdminUpdateUserRequestSchema_Username) MergeAdminUpdateUserRequestSchemaUsername0(v AdminUpdateUserRequestSchemaUsername0) error
MergeAdminUpdateUserRequestSchemaUsername0 performs a merge with any union data inside the AdminUpdateUserRequestSchema_Username, using the provided AdminUpdateUserRequestSchemaUsername0
func (*AdminUpdateUserRequestSchema_Username) MergeAdminUpdateUserRequestSchemaUsername1 ¶
func (t *AdminUpdateUserRequestSchema_Username) MergeAdminUpdateUserRequestSchemaUsername1(v AdminUpdateUserRequestSchemaUsername1) error
MergeAdminUpdateUserRequestSchemaUsername1 performs a merge with any union data inside the AdminUpdateUserRequestSchema_Username, using the provided AdminUpdateUserRequestSchemaUsername1
func (*AdminUpdateUserRequestSchema_Username) UnmarshalJSON ¶
func (t *AdminUpdateUserRequestSchema_Username) UnmarshalJSON(b []byte) error
type AdminUserResponseSchema ¶
type AdminUserResponseSchema struct {
User struct {
CreatedAt time.Time `json:"createdAt"`
Email *string `json:"email"`
Id string `json:"id"`
IsAdmin bool `json:"isAdmin"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"user"`
}
AdminUserResponseSchema defines model for adminUserResponseSchema.
type AdminUsersResponseSchema ¶
type AdminUsersResponseSchema struct {
Data []struct {
CreatedAt time.Time `json:"createdAt"`
Email *string `json:"email"`
Id string `json:"id"`
IsAdmin bool `json:"isAdmin"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
AdminUsersResponseSchema defines model for adminUsersResponseSchema.
type AppendCalendarSubscriptionSectionsJSONRequestBody ¶
type AppendCalendarSubscriptionSectionsJSONRequestBody = CalendarSubscriptionAppendRequestSchema
AppendCalendarSubscriptionSectionsJSONRequestBody defines body for AppendCalendarSubscriptionSections for application/json ContentType.
type AppendCalendarSubscriptionSectionsResponse ¶
type AppendCalendarSubscriptionSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CalendarSubscriptionAppendResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *AppendCalendarSubscriptionSectionsResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *AppendCalendarSubscriptionSectionsResponse503Headers
}
func ParseAppendCalendarSubscriptionSectionsResponse ¶
func ParseAppendCalendarSubscriptionSectionsResponse(rsp *http.Response) (*AppendCalendarSubscriptionSectionsResponse, error)
ParseAppendCalendarSubscriptionSectionsResponse parses an HTTP response from a AppendCalendarSubscriptionSectionsWithResponse call
func (AppendCalendarSubscriptionSectionsResponse) ContentType ¶
func (r AppendCalendarSubscriptionSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppendCalendarSubscriptionSectionsResponse) GetBody ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppendCalendarSubscriptionSectionsResponse) GetJSON200 ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetJSON200() *CalendarSubscriptionAppendResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppendCalendarSubscriptionSectionsResponse) GetJSON400 ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AppendCalendarSubscriptionSectionsResponse) GetJSON401 ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AppendCalendarSubscriptionSectionsResponse) GetJSON404 ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AppendCalendarSubscriptionSectionsResponse) GetJSON429 ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (AppendCalendarSubscriptionSectionsResponse) GetJSON503 ¶
func (r AppendCalendarSubscriptionSectionsResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (AppendCalendarSubscriptionSectionsResponse) Status ¶
func (r AppendCalendarSubscriptionSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (AppendCalendarSubscriptionSectionsResponse) StatusCode ¶
func (r AppendCalendarSubscriptionSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppendCalendarSubscriptionSectionsResponse429Headers ¶
type AppendCalendarSubscriptionSectionsResponse429Headers struct {
RetryAfter *int
}
AppendCalendarSubscriptionSectionsResponse429Headers the declared response headers of an HTTP 429 response for AppendCalendarSubscriptionSections
type AppendCalendarSubscriptionSectionsResponse503Headers ¶
type AppendCalendarSubscriptionSectionsResponse503Headers struct {
RetryAfter *int
}
AppendCalendarSubscriptionSectionsResponse503Headers the declared response headers of an HTTP 503 response for AppendCalendarSubscriptionSections
type AppleAppSiteAssociationResponseSchema ¶
type AppleAppSiteAssociationResponseSchema struct {
Applinks struct {
Details []struct {
AppIDs []string `json:"appIDs"`
Components []struct {
Exclude *bool `json:"exclude,omitempty"`
// contains filtered or unexported fields
} `json:"components"`
} `json:"details"`
} `json:"applinks"`
Webcredentials struct {
Apps []string `json:"apps"`
} `json:"webcredentials"`
}
AppleAppSiteAssociationResponseSchema defines model for appleAppSiteAssociationResponseSchema.
type BatchUpdateCalendarSubscriptionJSONRequestBody ¶
type BatchUpdateCalendarSubscriptionJSONRequestBody = CalendarSubscriptionBatchRequestSchema
BatchUpdateCalendarSubscriptionJSONRequestBody defines body for BatchUpdateCalendarSubscription for application/json ContentType.
type BatchUpdateCalendarSubscriptionResponse ¶
type BatchUpdateCalendarSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CalendarSubscriptionBatchResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *BatchUpdateCalendarSubscriptionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *BatchUpdateCalendarSubscriptionResponse503Headers
}
func ParseBatchUpdateCalendarSubscriptionResponse ¶
func ParseBatchUpdateCalendarSubscriptionResponse(rsp *http.Response) (*BatchUpdateCalendarSubscriptionResponse, error)
ParseBatchUpdateCalendarSubscriptionResponse parses an HTTP response from a BatchUpdateCalendarSubscriptionWithResponse call
func (BatchUpdateCalendarSubscriptionResponse) ContentType ¶
func (r BatchUpdateCalendarSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchUpdateCalendarSubscriptionResponse) GetBody ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchUpdateCalendarSubscriptionResponse) GetJSON200 ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetJSON200() *CalendarSubscriptionBatchResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BatchUpdateCalendarSubscriptionResponse) GetJSON400 ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BatchUpdateCalendarSubscriptionResponse) GetJSON401 ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BatchUpdateCalendarSubscriptionResponse) GetJSON404 ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BatchUpdateCalendarSubscriptionResponse) GetJSON429 ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (BatchUpdateCalendarSubscriptionResponse) GetJSON503 ¶
func (r BatchUpdateCalendarSubscriptionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (BatchUpdateCalendarSubscriptionResponse) Status ¶
func (r BatchUpdateCalendarSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (BatchUpdateCalendarSubscriptionResponse) StatusCode ¶
func (r BatchUpdateCalendarSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchUpdateCalendarSubscriptionResponse429Headers ¶
type BatchUpdateCalendarSubscriptionResponse429Headers struct {
RetryAfter *int
}
BatchUpdateCalendarSubscriptionResponse429Headers the declared response headers of an HTTP 429 response for BatchUpdateCalendarSubscription
type BatchUpdateCalendarSubscriptionResponse503Headers ¶
type BatchUpdateCalendarSubscriptionResponse503Headers struct {
RetryAfter *int
}
BatchUpdateCalendarSubscriptionResponse503Headers the declared response headers of an HTTP 503 response for BatchUpdateCalendarSubscription
type BusNextDeparturesResponseSchema ¶
type BusNextDeparturesResponseSchema struct {
AtTime time.Time `json:"atTime"`
DayType BusNextDeparturesResponseSchemaDayType `json:"dayType"`
Departures []struct {
ArrivalEstimated bool `json:"arrivalEstimated"`
ArrivalTime *string `json:"arrivalTime"`
DayType BusNextDeparturesResponseSchemaDeparturesDayType `json:"dayType"`
DepartureEstimated bool `json:"departureEstimated"`
DepartureTime *string `json:"departureTime"`
DestinationCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"destinationCampus"`
MinutesUntilDeparture *int `json:"minutesUntilDeparture"`
OriginCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"originCampus"`
Route struct {
DescriptionPrimary string `json:"descriptionPrimary"`
DescriptionSecondary *string `json:"descriptionSecondary"`
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"route"`
RouteId int `json:"routeId"`
Status BusNextDeparturesResponseSchemaDeparturesStatus `json:"status"`
TripId int `json:"tripId"`
} `json:"departures"`
DestinationCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"destinationCampus"`
Message *string `json:"message"`
NextAvailableDeparture *struct {
ArrivalEstimated bool `json:"arrivalEstimated"`
ArrivalTime *string `json:"arrivalTime"`
DayType BusNextDeparturesResponseSchemaNextAvailableDepartureDayType `json:"dayType"`
DepartureEstimated bool `json:"departureEstimated"`
DepartureTime *string `json:"departureTime"`
DestinationCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"destinationCampus"`
MinutesUntilDeparture *int `json:"minutesUntilDeparture"`
OriginCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"originCampus"`
Route struct {
DescriptionPrimary string `json:"descriptionPrimary"`
DescriptionSecondary *string `json:"descriptionSecondary"`
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"route"`
RouteId int `json:"routeId"`
Status BusNextDeparturesResponseSchemaNextAvailableDepartureStatus `json:"status"`
TripId int `json:"tripId"`
} `json:"nextAvailableDeparture"`
OriginCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"originCampus"`
TotalRoutes int `json:"totalRoutes"`
}
BusNextDeparturesResponseSchema defines model for busNextDeparturesResponseSchema.
type BusNextDeparturesResponseSchemaDayType ¶
type BusNextDeparturesResponseSchemaDayType string
BusNextDeparturesResponseSchemaDayType defines model for BusNextDeparturesResponseSchema.DayType.
const ( BusNextDeparturesResponseSchemaDayTypeSaturday BusNextDeparturesResponseSchemaDayType = "saturday" BusNextDeparturesResponseSchemaDayTypeSunday BusNextDeparturesResponseSchemaDayType = "sunday" BusNextDeparturesResponseSchemaDayTypeWeekday BusNextDeparturesResponseSchemaDayType = "weekday" )
Defines values for BusNextDeparturesResponseSchemaDayType.
func (BusNextDeparturesResponseSchemaDayType) Valid ¶
func (e BusNextDeparturesResponseSchemaDayType) Valid() bool
Valid indicates whether the value is a known member of the BusNextDeparturesResponseSchemaDayType enum.
type BusNextDeparturesResponseSchemaDeparturesDayType ¶
type BusNextDeparturesResponseSchemaDeparturesDayType string
BusNextDeparturesResponseSchemaDeparturesDayType defines model for BusNextDeparturesResponseSchema.Departures.DayType.
const ( BusNextDeparturesResponseSchemaDeparturesDayTypeSaturday BusNextDeparturesResponseSchemaDeparturesDayType = "saturday" BusNextDeparturesResponseSchemaDeparturesDayTypeSunday BusNextDeparturesResponseSchemaDeparturesDayType = "sunday" BusNextDeparturesResponseSchemaDeparturesDayTypeWeekday BusNextDeparturesResponseSchemaDeparturesDayType = "weekday" )
Defines values for BusNextDeparturesResponseSchemaDeparturesDayType.
func (BusNextDeparturesResponseSchemaDeparturesDayType) Valid ¶
func (e BusNextDeparturesResponseSchemaDeparturesDayType) Valid() bool
Valid indicates whether the value is a known member of the BusNextDeparturesResponseSchemaDeparturesDayType enum.
type BusNextDeparturesResponseSchemaDeparturesStatus ¶
type BusNextDeparturesResponseSchemaDeparturesStatus string
BusNextDeparturesResponseSchemaDeparturesStatus defines model for BusNextDeparturesResponseSchema.Departures.Status.
const ( BusNextDeparturesResponseSchemaDeparturesStatusDeparted BusNextDeparturesResponseSchemaDeparturesStatus = "departed" BusNextDeparturesResponseSchemaDeparturesStatusUpcoming BusNextDeparturesResponseSchemaDeparturesStatus = "upcoming" )
Defines values for BusNextDeparturesResponseSchemaDeparturesStatus.
func (BusNextDeparturesResponseSchemaDeparturesStatus) Valid ¶
func (e BusNextDeparturesResponseSchemaDeparturesStatus) Valid() bool
Valid indicates whether the value is a known member of the BusNextDeparturesResponseSchemaDeparturesStatus enum.
type BusNextDeparturesResponseSchemaNextAvailableDepartureDayType ¶
type BusNextDeparturesResponseSchemaNextAvailableDepartureDayType string
BusNextDeparturesResponseSchemaNextAvailableDepartureDayType defines model for BusNextDeparturesResponseSchema.NextAvailableDeparture.DayType.
const ( BusNextDeparturesResponseSchemaNextAvailableDepartureDayTypeSaturday BusNextDeparturesResponseSchemaNextAvailableDepartureDayType = "saturday" BusNextDeparturesResponseSchemaNextAvailableDepartureDayTypeSunday BusNextDeparturesResponseSchemaNextAvailableDepartureDayType = "sunday" BusNextDeparturesResponseSchemaNextAvailableDepartureDayTypeWeekday BusNextDeparturesResponseSchemaNextAvailableDepartureDayType = "weekday" )
Defines values for BusNextDeparturesResponseSchemaNextAvailableDepartureDayType.
func (BusNextDeparturesResponseSchemaNextAvailableDepartureDayType) Valid ¶
func (e BusNextDeparturesResponseSchemaNextAvailableDepartureDayType) Valid() bool
Valid indicates whether the value is a known member of the BusNextDeparturesResponseSchemaNextAvailableDepartureDayType enum.
type BusNextDeparturesResponseSchemaNextAvailableDepartureStatus ¶
type BusNextDeparturesResponseSchemaNextAvailableDepartureStatus string
BusNextDeparturesResponseSchemaNextAvailableDepartureStatus defines model for BusNextDeparturesResponseSchema.NextAvailableDeparture.Status.
const ( BusNextDeparturesResponseSchemaNextAvailableDepartureStatusDeparted BusNextDeparturesResponseSchemaNextAvailableDepartureStatus = "departed" BusNextDeparturesResponseSchemaNextAvailableDepartureStatusUpcoming BusNextDeparturesResponseSchemaNextAvailableDepartureStatus = "upcoming" )
Defines values for BusNextDeparturesResponseSchemaNextAvailableDepartureStatus.
func (BusNextDeparturesResponseSchemaNextAvailableDepartureStatus) Valid ¶
func (e BusNextDeparturesResponseSchemaNextAvailableDepartureStatus) Valid() bool
Valid indicates whether the value is a known member of the BusNextDeparturesResponseSchemaNextAvailableDepartureStatus enum.
type BusPreferenceRequestSchema ¶
type BusPreferenceRequestSchema struct {
PreferredDestinationCampusId *int `json:"preferredDestinationCampusId"`
PreferredOriginCampusId *int `json:"preferredOriginCampusId"`
ShowDepartedTrips bool `json:"showDepartedTrips"`
}
BusPreferenceRequestSchema defines model for busPreferenceRequestSchema.
type BusPreferenceResponseSchema ¶
type BusPreferenceResponseSchema struct {
Preference struct {
PreferredDestinationCampusId *int `json:"preferredDestinationCampusId"`
PreferredOriginCampusId *int `json:"preferredOriginCampusId"`
ShowDepartedTrips bool `json:"showDepartedTrips"`
} `json:"preference"`
}
BusPreferenceResponseSchema defines model for busPreferenceResponseSchema.
type BusQueryResponseSchema ¶
type BusQueryResponseSchema struct {
AvailableVersions []struct {
EffectiveFrom *time.Time `json:"effectiveFrom"`
EffectiveUntil *time.Time `json:"effectiveUntil"`
Id int `json:"id"`
ImportedAt time.Time `json:"importedAt"`
Key string `json:"key"`
Notice *struct {
Message *string `json:"message"`
Url *string `json:"url"`
} `json:"notice"`
Title string `json:"title"`
} `json:"availableVersions"`
Campuses []struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campuses"`
FetchedAt time.Time `json:"fetchedAt"`
Locale BusQueryResponseSchemaLocale `json:"locale"`
Notice *struct {
Message *string `json:"message"`
Url *string `json:"url"`
} `json:"notice"`
Preferences *struct {
PreferredDestinationCampusId *int `json:"preferredDestinationCampusId"`
PreferredOriginCampusId *int `json:"preferredOriginCampusId"`
ShowDepartedTrips bool `json:"showDepartedTrips"`
} `json:"preferences"`
Routes []struct {
DescriptionPrimary string `json:"descriptionPrimary"`
DescriptionSecondary *string `json:"descriptionSecondary"`
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
Stops []struct {
Campus struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
StopOrder int `json:"stopOrder"`
} `json:"stops"`
} `json:"routes"`
Trips []struct {
ArrivalMinutes *int `json:"arrivalMinutes"`
ArrivalTime *string `json:"arrivalTime"`
DayType BusQueryResponseSchemaTripsDayType `json:"dayType"`
DepartureMinutes *int `json:"departureMinutes"`
DepartureTime *string `json:"departureTime"`
Id int `json:"id"`
Position int `json:"position"`
RouteId int `json:"routeId"`
StopTimes []struct {
CampusId int `json:"campusId"`
CampusName string `json:"campusName"`
IsPassThrough bool `json:"isPassThrough"`
MinutesSinceMidnight *int `json:"minutesSinceMidnight"`
StopOrder int `json:"stopOrder"`
Time *string `json:"time"`
} `json:"stopTimes"`
} `json:"trips"`
Version *struct {
EffectiveFrom *time.Time `json:"effectiveFrom"`
EffectiveUntil *time.Time `json:"effectiveUntil"`
Id int `json:"id"`
ImportedAt time.Time `json:"importedAt"`
Key string `json:"key"`
Notice *struct {
Message *string `json:"message"`
Url *string `json:"url"`
} `json:"notice"`
Title string `json:"title"`
} `json:"version"`
}
BusQueryResponseSchema defines model for busQueryResponseSchema.
type BusQueryResponseSchemaLocale ¶
type BusQueryResponseSchemaLocale string
BusQueryResponseSchemaLocale defines model for BusQueryResponseSchema.Locale.
const ( BusQueryResponseSchemaLocaleEnUs BusQueryResponseSchemaLocale = "en-us" BusQueryResponseSchemaLocaleZhCn BusQueryResponseSchemaLocale = "zh-cn" )
Defines values for BusQueryResponseSchemaLocale.
func (BusQueryResponseSchemaLocale) Valid ¶
func (e BusQueryResponseSchemaLocale) Valid() bool
Valid indicates whether the value is a known member of the BusQueryResponseSchemaLocale enum.
type BusQueryResponseSchemaTripsDayType ¶
type BusQueryResponseSchemaTripsDayType string
BusQueryResponseSchemaTripsDayType defines model for BusQueryResponseSchema.Trips.DayType.
const ( BusQueryResponseSchemaTripsDayTypeSaturday BusQueryResponseSchemaTripsDayType = "saturday" BusQueryResponseSchemaTripsDayTypeSunday BusQueryResponseSchemaTripsDayType = "sunday" BusQueryResponseSchemaTripsDayTypeWeekday BusQueryResponseSchemaTripsDayType = "weekday" )
Defines values for BusQueryResponseSchemaTripsDayType.
func (BusQueryResponseSchemaTripsDayType) Valid ¶
func (e BusQueryResponseSchemaTripsDayType) Valid() bool
Valid indicates whether the value is a known member of the BusQueryResponseSchemaTripsDayType enum.
type BusRouteSearchResponseSchema ¶
type BusRouteSearchResponseSchema struct {
DestinationCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"destinationCampus"`
OriginCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"originCampus"`
Routes []struct {
DescriptionPrimary string `json:"descriptionPrimary"`
DescriptionSecondary *string `json:"descriptionSecondary"`
DestinationCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"destinationCampus"`
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
OriginCampus *struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"originCampus"`
SaturdayTrips int `json:"saturdayTrips"`
StopCount int `json:"stopCount"`
Stops []struct {
Campus struct {
Id int `json:"id"`
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
StopOrder int `json:"stopOrder"`
} `json:"stops"`
SundayTrips int `json:"sundayTrips"`
WeekdayTrips int `json:"weekdayTrips"`
} `json:"routes"`
Total int `json:"total"`
}
BusRouteSearchResponseSchema defines model for busRouteSearchResponseSchema.
type CalendarSubscriptionAppendRequestSchema ¶
type CalendarSubscriptionAppendRequestSchema struct {
SectionIds []int `json:"sectionIds"`
}
CalendarSubscriptionAppendRequestSchema defines model for calendarSubscriptionAppendRequestSchema.
type CalendarSubscriptionAppendResponseSchema ¶
type CalendarSubscriptionAppendResponseSchema struct {
AddedCount int `json:"addedCount"`
AlreadySubscribedCount int `json:"alreadySubscribedCount"`
Subscription *struct {
Note string `json:"note"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
Kind CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind `json:"kind"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
UserId string `json:"userId"`
} `json:"subscription"`
}
CalendarSubscriptionAppendResponseSchema defines model for calendarSubscriptionAppendResponseSchema.
type CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind ¶
type CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind string
CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind defines model for CalendarSubscriptionAppendResponseSchema.Subscription.Sections.Kind.
const ( CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKindAuditor CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind = "auditor" CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKindRegular CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind = "regular" CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKindTeachingAssistant CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind = "teaching_assistant" )
Defines values for CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind.
func (CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind) Valid ¶
func (e CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind) Valid() bool
Valid indicates whether the value is a known member of the CalendarSubscriptionAppendResponseSchemaSubscriptionSectionsKind enum.
type CalendarSubscriptionBatchRequestSchema ¶
type CalendarSubscriptionBatchRequestSchema struct {
Action CalendarSubscriptionBatchRequestSchemaAction `json:"action"`
Codes *[]string `json:"codes,omitempty"`
SectionIds *[]int `json:"sectionIds,omitempty"`
SemesterId *CalendarSubscriptionBatchRequestSchema_SemesterId `json:"semesterId,omitempty"`
}
CalendarSubscriptionBatchRequestSchema defines model for calendarSubscriptionBatchRequestSchema.
type CalendarSubscriptionBatchRequestSchemaAction ¶
type CalendarSubscriptionBatchRequestSchemaAction string
CalendarSubscriptionBatchRequestSchemaAction defines model for CalendarSubscriptionBatchRequestSchema.Action.
const ( CalendarSubscriptionBatchRequestSchemaActionAdd CalendarSubscriptionBatchRequestSchemaAction = "add" CalendarSubscriptionBatchRequestSchemaActionRemove CalendarSubscriptionBatchRequestSchemaAction = "remove" )
Defines values for CalendarSubscriptionBatchRequestSchemaAction.
func (CalendarSubscriptionBatchRequestSchemaAction) Valid ¶
func (e CalendarSubscriptionBatchRequestSchemaAction) Valid() bool
Valid indicates whether the value is a known member of the CalendarSubscriptionBatchRequestSchemaAction enum.
type CalendarSubscriptionBatchRequestSchemaSemesterId0 ¶
type CalendarSubscriptionBatchRequestSchemaSemesterId0 = string
CalendarSubscriptionBatchRequestSchemaSemesterId0 defines model for CalendarSubscriptionBatchRequestSchema.SemesterId.0.
type CalendarSubscriptionBatchRequestSchemaSemesterId1 ¶
type CalendarSubscriptionBatchRequestSchemaSemesterId1 = float32
CalendarSubscriptionBatchRequestSchemaSemesterId1 defines model for CalendarSubscriptionBatchRequestSchema.SemesterId.1.
type CalendarSubscriptionBatchRequestSchema_SemesterId ¶
type CalendarSubscriptionBatchRequestSchema_SemesterId struct {
// contains filtered or unexported fields
}
CalendarSubscriptionBatchRequestSchema_SemesterId defines model for CalendarSubscriptionBatchRequestSchema.SemesterId.
func (CalendarSubscriptionBatchRequestSchema_SemesterId) AsCalendarSubscriptionBatchRequestSchemaSemesterId0 ¶
func (t CalendarSubscriptionBatchRequestSchema_SemesterId) AsCalendarSubscriptionBatchRequestSchemaSemesterId0() (CalendarSubscriptionBatchRequestSchemaSemesterId0, error)
AsCalendarSubscriptionBatchRequestSchemaSemesterId0 returns the union data inside the CalendarSubscriptionBatchRequestSchema_SemesterId as a CalendarSubscriptionBatchRequestSchemaSemesterId0
func (CalendarSubscriptionBatchRequestSchema_SemesterId) AsCalendarSubscriptionBatchRequestSchemaSemesterId1 ¶
func (t CalendarSubscriptionBatchRequestSchema_SemesterId) AsCalendarSubscriptionBatchRequestSchemaSemesterId1() (CalendarSubscriptionBatchRequestSchemaSemesterId1, error)
AsCalendarSubscriptionBatchRequestSchemaSemesterId1 returns the union data inside the CalendarSubscriptionBatchRequestSchema_SemesterId as a CalendarSubscriptionBatchRequestSchemaSemesterId1
func (*CalendarSubscriptionBatchRequestSchema_SemesterId) FromCalendarSubscriptionBatchRequestSchemaSemesterId0 ¶
func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) FromCalendarSubscriptionBatchRequestSchemaSemesterId0(v CalendarSubscriptionBatchRequestSchemaSemesterId0) error
FromCalendarSubscriptionBatchRequestSchemaSemesterId0 overwrites any union data inside the CalendarSubscriptionBatchRequestSchema_SemesterId as the provided CalendarSubscriptionBatchRequestSchemaSemesterId0
func (*CalendarSubscriptionBatchRequestSchema_SemesterId) FromCalendarSubscriptionBatchRequestSchemaSemesterId1 ¶
func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) FromCalendarSubscriptionBatchRequestSchemaSemesterId1(v CalendarSubscriptionBatchRequestSchemaSemesterId1) error
FromCalendarSubscriptionBatchRequestSchemaSemesterId1 overwrites any union data inside the CalendarSubscriptionBatchRequestSchema_SemesterId as the provided CalendarSubscriptionBatchRequestSchemaSemesterId1
func (CalendarSubscriptionBatchRequestSchema_SemesterId) MarshalJSON ¶
func (t CalendarSubscriptionBatchRequestSchema_SemesterId) MarshalJSON() ([]byte, error)
func (*CalendarSubscriptionBatchRequestSchema_SemesterId) MergeCalendarSubscriptionBatchRequestSchemaSemesterId0 ¶
func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) MergeCalendarSubscriptionBatchRequestSchemaSemesterId0(v CalendarSubscriptionBatchRequestSchemaSemesterId0) error
MergeCalendarSubscriptionBatchRequestSchemaSemesterId0 performs a merge with any union data inside the CalendarSubscriptionBatchRequestSchema_SemesterId, using the provided CalendarSubscriptionBatchRequestSchemaSemesterId0
func (*CalendarSubscriptionBatchRequestSchema_SemesterId) MergeCalendarSubscriptionBatchRequestSchemaSemesterId1 ¶
func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) MergeCalendarSubscriptionBatchRequestSchemaSemesterId1(v CalendarSubscriptionBatchRequestSchemaSemesterId1) error
MergeCalendarSubscriptionBatchRequestSchemaSemesterId1 performs a merge with any union data inside the CalendarSubscriptionBatchRequestSchema_SemesterId, using the provided CalendarSubscriptionBatchRequestSchemaSemesterId1
func (*CalendarSubscriptionBatchRequestSchema_SemesterId) UnmarshalJSON ¶
func (t *CalendarSubscriptionBatchRequestSchema_SemesterId) UnmarshalJSON(b []byte) error
type CalendarSubscriptionBatchResponseSchema ¶
type CalendarSubscriptionBatchResponseSchema struct {
Action CalendarSubscriptionBatchResponseSchemaAction `json:"action"`
AddedCount int `json:"addedCount"`
MatchedCodes []string `json:"matchedCodes"`
MatchedSectionIds []int `json:"matchedSectionIds"`
RemovedCount int `json:"removedCount"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
Semester *struct {
Code *string `json:"code"`
Id int `json:"id"`
NameCn *string `json:"nameCn"`
} `json:"semester"`
Subscription *struct {
Note string `json:"note"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
Kind CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind `json:"kind"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
UserId string `json:"userId"`
} `json:"subscription"`
Suggestions map[string][]string `json:"suggestions"`
Total int `json:"total"`
UnchangedCount int `json:"unchangedCount"`
UnmatchedCodes []string `json:"unmatchedCodes"`
UnmatchedSectionIds []int `json:"unmatchedSectionIds"`
}
CalendarSubscriptionBatchResponseSchema defines model for calendarSubscriptionBatchResponseSchema.
type CalendarSubscriptionBatchResponseSchemaAction ¶
type CalendarSubscriptionBatchResponseSchemaAction string
CalendarSubscriptionBatchResponseSchemaAction defines model for CalendarSubscriptionBatchResponseSchema.Action.
const ( CalendarSubscriptionBatchResponseSchemaActionAdd CalendarSubscriptionBatchResponseSchemaAction = "add" CalendarSubscriptionBatchResponseSchemaActionRemove CalendarSubscriptionBatchResponseSchemaAction = "remove" )
Defines values for CalendarSubscriptionBatchResponseSchemaAction.
func (CalendarSubscriptionBatchResponseSchemaAction) Valid ¶
func (e CalendarSubscriptionBatchResponseSchemaAction) Valid() bool
Valid indicates whether the value is a known member of the CalendarSubscriptionBatchResponseSchemaAction enum.
type CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind ¶
type CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind string
CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind defines model for CalendarSubscriptionBatchResponseSchema.Subscription.Sections.Kind.
const ( CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKindAuditor CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind = "auditor" CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKindRegular CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind = "regular" CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKindTeachingAssistant CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind = "teaching_assistant" )
Defines values for CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind.
func (CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind) Valid ¶
func (e CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind) Valid() bool
Valid indicates whether the value is a known member of the CalendarSubscriptionBatchResponseSchemaSubscriptionSectionsKind enum.
type CalendarSubscriptionImportResponseSchema ¶
type CalendarSubscriptionImportResponseSchema struct {
AddedCount int `json:"addedCount"`
AddedSections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"addedSections"`
AlreadySubscribedCount int `json:"alreadySubscribedCount"`
AlreadySubscribedSections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"alreadySubscribedSections"`
AmbiguousCodes []string `json:"ambiguousCodes"`
MatchedCodes []string `json:"matchedCodes"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
Semester struct {
Code *string `json:"code"`
Id int `json:"id"`
NameCn *string `json:"nameCn"`
} `json:"semester"`
Subscription *struct {
Note string `json:"note"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
Kind CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind `json:"kind"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
UserId string `json:"userId"`
} `json:"subscription"`
Success bool `json:"success"`
UnmatchedCodes []string `json:"unmatchedCodes"`
}
CalendarSubscriptionImportResponseSchema defines model for calendarSubscriptionImportResponseSchema.
type CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind ¶
type CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind string
CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind defines model for CalendarSubscriptionImportResponseSchema.Subscription.Sections.Kind.
const ( CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKindAuditor CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind = "auditor" CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKindRegular CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind = "regular" CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKindTeachingAssistant CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind = "teaching_assistant" )
Defines values for CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind.
func (CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind) Valid ¶
func (e CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind) Valid() bool
Valid indicates whether the value is a known member of the CalendarSubscriptionImportResponseSchemaSubscriptionSectionsKind enum.
type CalendarSubscriptionQueryRequestSchema ¶
type CalendarSubscriptionQueryRequestSchema struct {
Codes *[]string `json:"codes,omitempty"`
SectionIds *[]int `json:"sectionIds,omitempty"`
SemesterId *CalendarSubscriptionQueryRequestSchema_SemesterId `json:"semesterId,omitempty"`
}
CalendarSubscriptionQueryRequestSchema defines model for calendarSubscriptionQueryRequestSchema.
type CalendarSubscriptionQueryRequestSchemaSemesterId0 ¶
type CalendarSubscriptionQueryRequestSchemaSemesterId0 = string
CalendarSubscriptionQueryRequestSchemaSemesterId0 defines model for CalendarSubscriptionQueryRequestSchema.SemesterId.0.
type CalendarSubscriptionQueryRequestSchemaSemesterId1 ¶
type CalendarSubscriptionQueryRequestSchemaSemesterId1 = float32
CalendarSubscriptionQueryRequestSchemaSemesterId1 defines model for CalendarSubscriptionQueryRequestSchema.SemesterId.1.
type CalendarSubscriptionQueryRequestSchema_SemesterId ¶
type CalendarSubscriptionQueryRequestSchema_SemesterId struct {
// contains filtered or unexported fields
}
CalendarSubscriptionQueryRequestSchema_SemesterId defines model for CalendarSubscriptionQueryRequestSchema.SemesterId.
func (CalendarSubscriptionQueryRequestSchema_SemesterId) AsCalendarSubscriptionQueryRequestSchemaSemesterId0 ¶
func (t CalendarSubscriptionQueryRequestSchema_SemesterId) AsCalendarSubscriptionQueryRequestSchemaSemesterId0() (CalendarSubscriptionQueryRequestSchemaSemesterId0, error)
AsCalendarSubscriptionQueryRequestSchemaSemesterId0 returns the union data inside the CalendarSubscriptionQueryRequestSchema_SemesterId as a CalendarSubscriptionQueryRequestSchemaSemesterId0
func (CalendarSubscriptionQueryRequestSchema_SemesterId) AsCalendarSubscriptionQueryRequestSchemaSemesterId1 ¶
func (t CalendarSubscriptionQueryRequestSchema_SemesterId) AsCalendarSubscriptionQueryRequestSchemaSemesterId1() (CalendarSubscriptionQueryRequestSchemaSemesterId1, error)
AsCalendarSubscriptionQueryRequestSchemaSemesterId1 returns the union data inside the CalendarSubscriptionQueryRequestSchema_SemesterId as a CalendarSubscriptionQueryRequestSchemaSemesterId1
func (*CalendarSubscriptionQueryRequestSchema_SemesterId) FromCalendarSubscriptionQueryRequestSchemaSemesterId0 ¶
func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) FromCalendarSubscriptionQueryRequestSchemaSemesterId0(v CalendarSubscriptionQueryRequestSchemaSemesterId0) error
FromCalendarSubscriptionQueryRequestSchemaSemesterId0 overwrites any union data inside the CalendarSubscriptionQueryRequestSchema_SemesterId as the provided CalendarSubscriptionQueryRequestSchemaSemesterId0
func (*CalendarSubscriptionQueryRequestSchema_SemesterId) FromCalendarSubscriptionQueryRequestSchemaSemesterId1 ¶
func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) FromCalendarSubscriptionQueryRequestSchemaSemesterId1(v CalendarSubscriptionQueryRequestSchemaSemesterId1) error
FromCalendarSubscriptionQueryRequestSchemaSemesterId1 overwrites any union data inside the CalendarSubscriptionQueryRequestSchema_SemesterId as the provided CalendarSubscriptionQueryRequestSchemaSemesterId1
func (CalendarSubscriptionQueryRequestSchema_SemesterId) MarshalJSON ¶
func (t CalendarSubscriptionQueryRequestSchema_SemesterId) MarshalJSON() ([]byte, error)
func (*CalendarSubscriptionQueryRequestSchema_SemesterId) MergeCalendarSubscriptionQueryRequestSchemaSemesterId0 ¶
func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) MergeCalendarSubscriptionQueryRequestSchemaSemesterId0(v CalendarSubscriptionQueryRequestSchemaSemesterId0) error
MergeCalendarSubscriptionQueryRequestSchemaSemesterId0 performs a merge with any union data inside the CalendarSubscriptionQueryRequestSchema_SemesterId, using the provided CalendarSubscriptionQueryRequestSchemaSemesterId0
func (*CalendarSubscriptionQueryRequestSchema_SemesterId) MergeCalendarSubscriptionQueryRequestSchemaSemesterId1 ¶
func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) MergeCalendarSubscriptionQueryRequestSchemaSemesterId1(v CalendarSubscriptionQueryRequestSchemaSemesterId1) error
MergeCalendarSubscriptionQueryRequestSchemaSemesterId1 performs a merge with any union data inside the CalendarSubscriptionQueryRequestSchema_SemesterId, using the provided CalendarSubscriptionQueryRequestSchemaSemesterId1
func (*CalendarSubscriptionQueryRequestSchema_SemesterId) UnmarshalJSON ¶
func (t *CalendarSubscriptionQueryRequestSchema_SemesterId) UnmarshalJSON(b []byte) error
type CalendarSubscriptionQueryResponseSchema ¶
type CalendarSubscriptionQueryResponseSchema struct {
MatchedCodes []string `json:"matchedCodes"`
MatchedSectionIds []int `json:"matchedSectionIds"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
Semester *struct {
Code *string `json:"code"`
Id int `json:"id"`
NameCn *string `json:"nameCn"`
} `json:"semester"`
Suggestions map[string][]string `json:"suggestions"`
Total int `json:"total"`
UnmatchedCodes []string `json:"unmatchedCodes"`
UnmatchedSectionIds []int `json:"unmatchedSectionIds"`
}
CalendarSubscriptionQueryResponseSchema defines model for calendarSubscriptionQueryResponseSchema.
type CalendarSubscriptionRemoveRequestSchema ¶
type CalendarSubscriptionRemoveRequestSchema struct {
SectionIds []int `json:"sectionIds"`
}
CalendarSubscriptionRemoveRequestSchema defines model for calendarSubscriptionRemoveRequestSchema.
type CalendarSubscriptionRemoveResponseSchema ¶
type CalendarSubscriptionRemoveResponseSchema struct {
Subscription *struct {
Note string `json:"note"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
Kind CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind `json:"kind"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
UserId string `json:"userId"`
} `json:"subscription"`
}
CalendarSubscriptionRemoveResponseSchema defines model for calendarSubscriptionRemoveResponseSchema.
type CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind ¶
type CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind string
CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind defines model for CalendarSubscriptionRemoveResponseSchema.Subscription.Sections.Kind.
const ( CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKindAuditor CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind = "auditor" CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKindRegular CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind = "regular" CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKindTeachingAssistant CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind = "teaching_assistant" )
Defines values for CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind.
func (CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind) Valid ¶
func (e CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind) Valid() bool
Valid indicates whether the value is a known member of the CalendarSubscriptionRemoveResponseSchemaSubscriptionSectionsKind enum.
type CatalogBusDepartureNextParams ¶
type CatalogBusDepartureNextParams struct {
OriginCampusId int64 `form:"originCampusId" json:"originCampusId"`
DestinationCampusId int64 `form:"destinationCampusId" json:"destinationCampusId"`
AtTime *string `form:"atTime,omitempty" json:"atTime,omitempty"`
DayType *CatalogBusDepartureNextParamsDayType `form:"dayType,omitempty" json:"dayType,omitempty"`
IncludeDeparted *CatalogBusDepartureNextParamsIncludeDeparted `form:"includeDeparted,omitempty" json:"includeDeparted,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
VersionKey *string `form:"versionKey,omitempty" json:"versionKey,omitempty"`
Locale *CatalogBusDepartureNextParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
CatalogBusDepartureNextParams defines parameters for CatalogBusDepartureNext.
type CatalogBusDepartureNextParamsDayType ¶
type CatalogBusDepartureNextParamsDayType string
CatalogBusDepartureNextParamsDayType defines parameters for CatalogBusDepartureNext.
const ( CatalogBusDepartureNextParamsDayTypeAuto CatalogBusDepartureNextParamsDayType = "auto" CatalogBusDepartureNextParamsDayTypeSaturday CatalogBusDepartureNextParamsDayType = "saturday" CatalogBusDepartureNextParamsDayTypeSunday CatalogBusDepartureNextParamsDayType = "sunday" CatalogBusDepartureNextParamsDayTypeWeekday CatalogBusDepartureNextParamsDayType = "weekday" )
Defines values for CatalogBusDepartureNextParamsDayType.
func (CatalogBusDepartureNextParamsDayType) Valid ¶
func (e CatalogBusDepartureNextParamsDayType) Valid() bool
Valid indicates whether the value is a known member of the CatalogBusDepartureNextParamsDayType enum.
type CatalogBusDepartureNextParamsIncludeDeparted ¶
type CatalogBusDepartureNextParamsIncludeDeparted string
CatalogBusDepartureNextParamsIncludeDeparted defines parameters for CatalogBusDepartureNext.
const ( CatalogBusDepartureNextParamsIncludeDepartedFalse CatalogBusDepartureNextParamsIncludeDeparted = "false" CatalogBusDepartureNextParamsIncludeDepartedTrue CatalogBusDepartureNextParamsIncludeDeparted = "true" )
Defines values for CatalogBusDepartureNextParamsIncludeDeparted.
func (CatalogBusDepartureNextParamsIncludeDeparted) Valid ¶
func (e CatalogBusDepartureNextParamsIncludeDeparted) Valid() bool
Valid indicates whether the value is a known member of the CatalogBusDepartureNextParamsIncludeDeparted enum.
type CatalogBusDepartureNextParamsLocale ¶
type CatalogBusDepartureNextParamsLocale string
CatalogBusDepartureNextParamsLocale defines parameters for CatalogBusDepartureNext.
const ( CatalogBusDepartureNextParamsLocaleEnUs CatalogBusDepartureNextParamsLocale = "en-us" CatalogBusDepartureNextParamsLocaleZhCn CatalogBusDepartureNextParamsLocale = "zh-cn" )
Defines values for CatalogBusDepartureNextParamsLocale.
func (CatalogBusDepartureNextParamsLocale) Valid ¶
func (e CatalogBusDepartureNextParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the CatalogBusDepartureNextParamsLocale enum.
type CatalogBusDepartureNextResponse ¶
type CatalogBusDepartureNextResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BusNextDeparturesResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseCatalogBusDepartureNextResponse ¶
func ParseCatalogBusDepartureNextResponse(rsp *http.Response) (*CatalogBusDepartureNextResponse, error)
ParseCatalogBusDepartureNextResponse parses an HTTP response from a CatalogBusDepartureNextWithResponse call
func (CatalogBusDepartureNextResponse) ContentType ¶
func (r CatalogBusDepartureNextResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogBusDepartureNextResponse) GetBody ¶
func (r CatalogBusDepartureNextResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogBusDepartureNextResponse) GetJSON200 ¶
func (r CatalogBusDepartureNextResponse) GetJSON200() *BusNextDeparturesResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CatalogBusDepartureNextResponse) GetJSON400 ¶
func (r CatalogBusDepartureNextResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CatalogBusDepartureNextResponse) GetJSON404 ¶
func (r CatalogBusDepartureNextResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CatalogBusDepartureNextResponse) Status ¶
func (r CatalogBusDepartureNextResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogBusDepartureNextResponse) StatusCode ¶
func (r CatalogBusDepartureNextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogBusRouteSearchParams ¶
type CatalogBusRouteSearchParams struct {
OriginCampusId *int64 `form:"originCampusId,omitempty" json:"originCampusId,omitempty"`
DestinationCampusId *int64 `form:"destinationCampusId,omitempty" json:"destinationCampusId,omitempty"`
VersionKey *string `form:"versionKey,omitempty" json:"versionKey,omitempty"`
Locale *CatalogBusRouteSearchParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
CatalogBusRouteSearchParams defines parameters for CatalogBusRouteSearch.
type CatalogBusRouteSearchParamsLocale ¶
type CatalogBusRouteSearchParamsLocale string
CatalogBusRouteSearchParamsLocale defines parameters for CatalogBusRouteSearch.
const ( CatalogBusRouteSearchParamsLocaleEnUs CatalogBusRouteSearchParamsLocale = "en-us" CatalogBusRouteSearchParamsLocaleZhCn CatalogBusRouteSearchParamsLocale = "zh-cn" )
Defines values for CatalogBusRouteSearchParamsLocale.
func (CatalogBusRouteSearchParamsLocale) Valid ¶
func (e CatalogBusRouteSearchParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the CatalogBusRouteSearchParamsLocale enum.
type CatalogBusRouteSearchResponse ¶
type CatalogBusRouteSearchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BusRouteSearchResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseCatalogBusRouteSearchResponse ¶
func ParseCatalogBusRouteSearchResponse(rsp *http.Response) (*CatalogBusRouteSearchResponse, error)
ParseCatalogBusRouteSearchResponse parses an HTTP response from a CatalogBusRouteSearchWithResponse call
func (CatalogBusRouteSearchResponse) ContentType ¶
func (r CatalogBusRouteSearchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogBusRouteSearchResponse) GetBody ¶
func (r CatalogBusRouteSearchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogBusRouteSearchResponse) GetJSON200 ¶
func (r CatalogBusRouteSearchResponse) GetJSON200() *BusRouteSearchResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CatalogBusRouteSearchResponse) GetJSON400 ¶
func (r CatalogBusRouteSearchResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CatalogBusRouteSearchResponse) GetJSON404 ¶
func (r CatalogBusRouteSearchResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CatalogBusRouteSearchResponse) Status ¶
func (r CatalogBusRouteSearchResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogBusRouteSearchResponse) StatusCode ¶
func (r CatalogBusRouteSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogBusTimetableGetParams ¶
type CatalogBusTimetableGetParams struct {
VersionKey *string `form:"versionKey,omitempty" json:"versionKey,omitempty"`
}
CatalogBusTimetableGetParams defines parameters for CatalogBusTimetableGet.
type CatalogBusTimetableGetResponse ¶
type CatalogBusTimetableGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BusQueryResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseCatalogBusTimetableGetResponse ¶
func ParseCatalogBusTimetableGetResponse(rsp *http.Response) (*CatalogBusTimetableGetResponse, error)
ParseCatalogBusTimetableGetResponse parses an HTTP response from a CatalogBusTimetableGetWithResponse call
func (CatalogBusTimetableGetResponse) ContentType ¶
func (r CatalogBusTimetableGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogBusTimetableGetResponse) GetBody ¶
func (r CatalogBusTimetableGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogBusTimetableGetResponse) GetJSON200 ¶
func (r CatalogBusTimetableGetResponse) GetJSON200() *BusQueryResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CatalogBusTimetableGetResponse) GetJSON400 ¶
func (r CatalogBusTimetableGetResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CatalogBusTimetableGetResponse) Status ¶
func (r CatalogBusTimetableGetResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogBusTimetableGetResponse) StatusCode ¶
func (r CatalogBusTimetableGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogLinkListResponse ¶
type CatalogLinkListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CatalogLinkListResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseCatalogLinkListResponse ¶
func ParseCatalogLinkListResponse(rsp *http.Response) (*CatalogLinkListResponse, error)
ParseCatalogLinkListResponse parses an HTTP response from a CatalogLinkListWithResponse call
func (CatalogLinkListResponse) ContentType ¶
func (r CatalogLinkListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogLinkListResponse) GetBody ¶
func (r CatalogLinkListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogLinkListResponse) GetJSON200 ¶
func (r CatalogLinkListResponse) GetJSON200() *CatalogLinkListResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CatalogLinkListResponse) GetJSON400 ¶
func (r CatalogLinkListResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CatalogLinkListResponse) Status ¶
func (r CatalogLinkListResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogLinkListResponse) StatusCode ¶
func (r CatalogLinkListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogLinkListResponseSchema ¶
type CatalogLinkListResponseSchema struct {
Links []struct {
Category CatalogLinkListResponseSchemaLinksCategory `json:"category"`
Description string `json:"description"`
DescriptionPinyin string `json:"descriptionPinyin"`
Group CatalogLinkListResponseSchemaLinksGroup `json:"group"`
Icon CatalogLinkListResponseSchemaLinksIcon `json:"icon"`
Locale CatalogLinkListResponseSchemaLinksLocale `json:"locale"`
Slug string `json:"slug"`
Title string `json:"title"`
TitlePinyin string `json:"titlePinyin"`
Url string `json:"url"`
} `json:"links"`
}
CatalogLinkListResponseSchema defines model for catalogLinkListResponseSchema.
type CatalogLinkListResponseSchemaLinksCategory ¶
type CatalogLinkListResponseSchemaLinksCategory string
CatalogLinkListResponseSchemaLinksCategory defines model for CatalogLinkListResponseSchema.Links.Category.
const ( Academic CatalogLinkListResponseSchemaLinksCategory = "academic" Campus CatalogLinkListResponseSchemaLinksCategory = "campus" Community CatalogLinkListResponseSchemaLinksCategory = "community" Services CatalogLinkListResponseSchemaLinksCategory = "services" )
Defines values for CatalogLinkListResponseSchemaLinksCategory.
func (CatalogLinkListResponseSchemaLinksCategory) Valid ¶
func (e CatalogLinkListResponseSchemaLinksCategory) Valid() bool
Valid indicates whether the value is a known member of the CatalogLinkListResponseSchemaLinksCategory enum.
type CatalogLinkListResponseSchemaLinksGroup ¶
type CatalogLinkListResponseSchemaLinksGroup string
CatalogLinkListResponseSchemaLinksGroup defines model for CatalogLinkListResponseSchema.Links.Group.
const ( Classroom CatalogLinkListResponseSchemaLinksGroup = "classroom" External CatalogLinkListResponseSchemaLinksGroup = "external" Graduate CatalogLinkListResponseSchemaLinksGroup = "graduate" LeastClicked CatalogLinkListResponseSchemaLinksGroup = "leastClicked" Life CatalogLinkListResponseSchemaLinksGroup = "life" MostClicked CatalogLinkListResponseSchemaLinksGroup = "mostClicked" Study CatalogLinkListResponseSchemaLinksGroup = "study" Tech CatalogLinkListResponseSchemaLinksGroup = "tech" )
Defines values for CatalogLinkListResponseSchemaLinksGroup.
func (CatalogLinkListResponseSchemaLinksGroup) Valid ¶
func (e CatalogLinkListResponseSchemaLinksGroup) Valid() bool
Valid indicates whether the value is a known member of the CatalogLinkListResponseSchemaLinksGroup enum.
type CatalogLinkListResponseSchemaLinksIcon ¶
type CatalogLinkListResponseSchemaLinksIcon string
CatalogLinkListResponseSchemaLinksIcon defines model for CatalogLinkListResponseSchema.Links.Icon.
const ( BookOpen CatalogLinkListResponseSchemaLinksIcon = "book-open" Building CatalogLinkListResponseSchemaLinksIcon = "building" ClipboardList CatalogLinkListResponseSchemaLinksIcon = "clipboard-list" GraduationCap CatalogLinkListResponseSchemaLinksIcon = "graduation-cap" Mail CatalogLinkListResponseSchemaLinksIcon = "mail" MonitorPlay CatalogLinkListResponseSchemaLinksIcon = "monitor-play" Network CatalogLinkListResponseSchemaLinksIcon = "network" School CatalogLinkListResponseSchemaLinksIcon = "school" Users CatalogLinkListResponseSchemaLinksIcon = "users" )
Defines values for CatalogLinkListResponseSchemaLinksIcon.
func (CatalogLinkListResponseSchemaLinksIcon) Valid ¶
func (e CatalogLinkListResponseSchemaLinksIcon) Valid() bool
Valid indicates whether the value is a known member of the CatalogLinkListResponseSchemaLinksIcon enum.
type CatalogLinkListResponseSchemaLinksLocale ¶
type CatalogLinkListResponseSchemaLinksLocale string
CatalogLinkListResponseSchemaLinksLocale defines model for CatalogLinkListResponseSchema.Links.Locale.
const ( CatalogLinkListResponseSchemaLinksLocaleEnUs CatalogLinkListResponseSchemaLinksLocale = "en-us" CatalogLinkListResponseSchemaLinksLocaleZhCn CatalogLinkListResponseSchemaLinksLocale = "zh-cn" )
Defines values for CatalogLinkListResponseSchemaLinksLocale.
func (CatalogLinkListResponseSchemaLinksLocale) Valid ¶
func (e CatalogLinkListResponseSchemaLinksLocale) Valid() bool
Valid indicates whether the value is a known member of the CatalogLinkListResponseSchemaLinksLocale enum.
type CatalogLinkResolveParams ¶
type CatalogLinkResolveParams struct {
Slug string `form:"slug" json:"slug"`
}
CatalogLinkResolveParams defines parameters for CatalogLinkResolve.
type CatalogLinkResolveResponse ¶
type CatalogLinkResolveResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers307 the parsed response headers for an HTTP 307 response
Headers307 *CatalogLinkResolveResponse307Headers
}
func ParseCatalogLinkResolveResponse ¶
func ParseCatalogLinkResolveResponse(rsp *http.Response) (*CatalogLinkResolveResponse, error)
ParseCatalogLinkResolveResponse parses an HTTP response from a CatalogLinkResolveWithResponse call
func (CatalogLinkResolveResponse) ContentType ¶
func (r CatalogLinkResolveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogLinkResolveResponse) GetBody ¶
func (r CatalogLinkResolveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogLinkResolveResponse) Status ¶
func (r CatalogLinkResolveResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogLinkResolveResponse) StatusCode ¶
func (r CatalogLinkResolveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogLinkResolveResponse307Headers ¶
type CatalogLinkResolveResponse307Headers struct {
Location *string
}
CatalogLinkResolveResponse307Headers the declared response headers of an HTTP 307 response for CatalogLinkResolve
type CatalogRoomsMapResponse ¶
type CatalogRoomsMapResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomMapResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseCatalogRoomsMapResponse ¶
func ParseCatalogRoomsMapResponse(rsp *http.Response) (*CatalogRoomsMapResponse, error)
ParseCatalogRoomsMapResponse parses an HTTP response from a CatalogRoomsMapWithResponse call
func (CatalogRoomsMapResponse) ContentType ¶
func (r CatalogRoomsMapResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogRoomsMapResponse) GetBody ¶
func (r CatalogRoomsMapResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogRoomsMapResponse) GetJSON200 ¶
func (r CatalogRoomsMapResponse) GetJSON200() *RoomMapResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CatalogRoomsMapResponse) GetJSON400 ¶
func (r CatalogRoomsMapResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CatalogRoomsMapResponse) Status ¶
func (r CatalogRoomsMapResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogRoomsMapResponse) StatusCode ¶
func (r CatalogRoomsMapResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogWeatherGetParams ¶
type CatalogWeatherGetParams struct {
LocationKey *CatalogWeatherGetParamsLocationKey `form:"locationKey,omitempty" json:"locationKey,omitempty"`
}
CatalogWeatherGetParams defines parameters for CatalogWeatherGet.
type CatalogWeatherGetParamsLocationKey ¶
type CatalogWeatherGetParamsLocationKey string
CatalogWeatherGetParamsLocationKey defines parameters for CatalogWeatherGet.
const ( CatalogWeatherGetParamsLocationKeyUstcGaoxin CatalogWeatherGetParamsLocationKey = "ustc-gaoxin" CatalogWeatherGetParamsLocationKeyUstcMain CatalogWeatherGetParamsLocationKey = "ustc-main" )
Defines values for CatalogWeatherGetParamsLocationKey.
func (CatalogWeatherGetParamsLocationKey) Valid ¶
func (e CatalogWeatherGetParamsLocationKey) Valid() bool
Valid indicates whether the value is a known member of the CatalogWeatherGetParamsLocationKey enum.
type CatalogWeatherGetResponse ¶
type CatalogWeatherGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WeatherSnapshotResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CatalogWeatherGetResponse503Headers
}
func ParseCatalogWeatherGetResponse ¶
func ParseCatalogWeatherGetResponse(rsp *http.Response) (*CatalogWeatherGetResponse, error)
ParseCatalogWeatherGetResponse parses an HTTP response from a CatalogWeatherGetWithResponse call
func (CatalogWeatherGetResponse) ContentType ¶
func (r CatalogWeatherGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CatalogWeatherGetResponse) GetBody ¶
func (r CatalogWeatherGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CatalogWeatherGetResponse) GetJSON200 ¶
func (r CatalogWeatherGetResponse) GetJSON200() *WeatherSnapshotResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CatalogWeatherGetResponse) GetJSON400 ¶
func (r CatalogWeatherGetResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CatalogWeatherGetResponse) GetJSON503 ¶
func (r CatalogWeatherGetResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CatalogWeatherGetResponse) Status ¶
func (r CatalogWeatherGetResponse) Status() string
Status returns HTTPResponse.Status
func (CatalogWeatherGetResponse) StatusCode ¶
func (r CatalogWeatherGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CatalogWeatherGetResponse503Headers ¶
type CatalogWeatherGetResponse503Headers struct {
RetryAfter *int
}
CatalogWeatherGetResponse503Headers the declared response headers of an HTTP 503 response for CatalogWeatherGet
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) AccountClientActivityList ¶
func (c *Client) AccountClientActivityList(ctx context.Context, params *AccountClientActivityListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountClientActivityList List activity performed by the current OAuth client for the current user
Corresponds with GET /api/account/client-activity (the `AccountClientActivityList` operationId).
func (*Client) AccountProfileGet ¶
func (c *Client) AccountProfileGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountProfileGet Get the current account profile
Corresponds with GET /api/account/profile (the `AccountProfileGet` operationId).
func (*Client) AddCommentReaction ¶
func (c *Client) AddCommentReaction(ctx context.Context, id string, body AddCommentReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddCommentReaction Add one reaction to a comment
Takes a body of the `application/json` content type.
Corresponds with POST /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
func (*Client) AddCommentReactionWithBody ¶
func (c *Client) AddCommentReactionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddCommentReactionWithBody Add one reaction to a comment
Takes any type of body and a specified content type.
Corresponds with POST /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
func (*Client) AppendCalendarSubscriptionSections ¶
func (c *Client) AppendCalendarSubscriptionSections(ctx context.Context, body AppendCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppendCalendarSubscriptionSections Append section subscriptions
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
func (*Client) AppendCalendarSubscriptionSectionsWithBody ¶
func (c *Client) AppendCalendarSubscriptionSectionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppendCalendarSubscriptionSectionsWithBody Append section subscriptions
Takes any type of body and a specified content type.
Corresponds with PATCH /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
func (*Client) BatchUpdateCalendarSubscription ¶
func (c *Client) BatchUpdateCalendarSubscription(ctx context.Context, body BatchUpdateCalendarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchUpdateCalendarSubscription Batch update calendar section subscriptions
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
func (*Client) BatchUpdateCalendarSubscriptionWithBody ¶
func (c *Client) BatchUpdateCalendarSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchUpdateCalendarSubscriptionWithBody Batch update calendar section subscriptions
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
func (*Client) CatalogBusDepartureNext ¶
func (c *Client) CatalogBusDepartureNext(ctx context.Context, params *CatalogBusDepartureNextParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogBusDepartureNext Get next shuttle bus departures for an origin and destination campus
Corresponds with GET /api/catalog/bus/next (the `CatalogBusDepartureNext` operationId).
func (*Client) CatalogBusRouteSearch ¶
func (c *Client) CatalogBusRouteSearch(ctx context.Context, params *CatalogBusRouteSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogBusRouteSearch Search shuttle bus route variants
Corresponds with GET /api/catalog/bus/routes (the `CatalogBusRouteSearch` operationId).
func (*Client) CatalogBusTimetableGet ¶
func (c *Client) CatalogBusTimetableGet(ctx context.Context, params *CatalogBusTimetableGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogBusTimetableGet Query shuttle buses
Corresponds with GET /api/catalog/bus (the `CatalogBusTimetableGet` operationId).
func (*Client) CatalogLinkList ¶
func (c *Client) CatalogLinkList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogLinkList List public campus links
Corresponds with GET /api/catalog/links (the `CatalogLinkList` operationId).
func (*Client) CatalogLinkResolve ¶
func (c *Client) CatalogLinkResolve(ctx context.Context, params *CatalogLinkResolveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogLinkResolve Resolve a public campus link and record an authenticated visit
Corresponds with GET /api/catalog/links/resolve (the `CatalogLinkResolve` operationId).
func (*Client) CatalogRoomsMap ¶
func (c *Client) CatalogRoomsMap(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogRoomsMap Look up a room's highlighted map or an available building overview
Corresponds with GET /api/catalog/rooms/{code}/map (the `CatalogRoomsMap` operationId).
func (*Client) CatalogWeatherGet ¶
func (c *Client) CatalogWeatherGet(ctx context.Context, params *CatalogWeatherGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CatalogWeatherGet Query weather for a USTC campus
Corresponds with GET /api/catalog/weather (the `CatalogWeatherGet` operationId).
func (*Client) CommunitySectionHomeworkCreate ¶
func (c *Client) CommunitySectionHomeworkCreate(ctx context.Context, body CommunitySectionHomeworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunitySectionHomeworkCreate Create one shared section homework
Takes a body of the `application/json` content type.
Corresponds with POST /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
func (*Client) CommunitySectionHomeworkCreateWithBody ¶
func (c *Client) CommunitySectionHomeworkCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunitySectionHomeworkCreateWithBody Create one shared section homework
Takes any type of body and a specified content type.
Corresponds with POST /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
func (*Client) CommunitySectionHomeworkDelete ¶
func (c *Client) CommunitySectionHomeworkDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunitySectionHomeworkDelete Soft delete a shared section homework as its unsuspended creator
Corresponds with DELETE /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkDelete` operationId).
func (*Client) CommunitySectionHomeworkList ¶
func (c *Client) CommunitySectionHomeworkList(ctx context.Context, params *CommunitySectionHomeworkListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunitySectionHomeworkList List shared section homeworks
Corresponds with GET /api/community/section-homeworks (the `CommunitySectionHomeworkList` operationId).
func (*Client) CommunitySectionHomeworkUpdate ¶
func (c *Client) CommunitySectionHomeworkUpdate(ctx context.Context, id string, body CommunitySectionHomeworkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunitySectionHomeworkUpdate Update one shared section homework
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
func (*Client) CommunitySectionHomeworkUpdateWithBody ¶
func (c *Client) CommunitySectionHomeworkUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunitySectionHomeworkUpdateWithBody Update one shared section homework
Takes any type of body and a specified content type.
Corresponds with PATCH /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
func (*Client) CommunityUserGet ¶
func (c *Client) CommunityUserGet(ctx context.Context, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
CommunityUserGet Get one public community user
Corresponds with GET /api/community/users/{identifier} (the `CommunityUserGet` operationId).
func (*Client) CompleteUpload ¶
func (c *Client) CompleteUpload(ctx context.Context, body CompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CompleteUpload Complete upload
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/uploads/complete (the `CompleteUpload` operationId).
func (*Client) CompleteUploadWithBody ¶
func (c *Client) CompleteUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CompleteUploadWithBody Complete upload
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/uploads/complete (the `CompleteUpload` operationId).
func (*Client) CreateAdminSuspension ¶
func (c *Client) CreateAdminSuspension(ctx context.Context, body CreateAdminSuspensionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAdminSuspension Create suspension for one user
Takes a body of the `application/json` content type.
Corresponds with POST /api/admin/suspensions (the `CreateAdminSuspension` operationId).
func (*Client) CreateAdminSuspensionWithBody ¶
func (c *Client) CreateAdminSuspensionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAdminSuspensionWithBody Create suspension for one user
Takes any type of body and a specified content type.
Corresponds with POST /api/admin/suspensions (the `CreateAdminSuspension` operationId).
func (*Client) CreateComment ¶
func (c *Client) CreateComment(ctx context.Context, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateComment Create one comment
Takes a body of the `application/json` content type.
Corresponds with POST /api/community/comments (the `CreateComment` operationId).
func (*Client) CreateCommentWithBody ¶
func (c *Client) CreateCommentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCommentWithBody Create one comment
Takes any type of body and a specified content type.
Corresponds with POST /api/community/comments (the `CreateComment` operationId).
func (*Client) CreateMcp ¶
func (c *Client) CreateMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMcp Send an MCP Streamable HTTP JSON-RPC message
Corresponds with POST /api/mcp (the `CreateMcp` operationId).
func (*Client) CreateTodo ¶
func (c *Client) CreateTodo(ctx context.Context, body CreateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTodo Create a todo
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/todos (the `CreateTodo` operationId).
func (*Client) CreateTodoWithBody ¶
func (c *Client) CreateTodoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTodoWithBody Create a todo
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/todos (the `CreateTodo` operationId).
func (*Client) CreateUpload ¶
func (c *Client) CreateUpload(ctx context.Context, body CreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUpload Create a signed upload URL
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/uploads (the `CreateUpload` operationId).
func (*Client) CreateUploadWithBody ¶
func (c *Client) CreateUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUploadWithBody Create a signed upload URL
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/uploads (the `CreateUpload` operationId).
func (*Client) DeleteAdminHomework ¶
func (c *Client) DeleteAdminHomework(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAdminHomework Delete one homework
Corresponds with DELETE /api/admin/homeworks/{id} (the `DeleteAdminHomework` operationId).
func (*Client) DeleteApiCommentsBatch ¶
func (c *Client) DeleteApiCommentsBatch(ctx context.Context, body DeleteApiCommentsBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiCommentsBatch Delete multiple comments owned by the current user
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
func (*Client) DeleteApiCommentsBatchWithBody ¶
func (c *Client) DeleteApiCommentsBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiCommentsBatchWithBody Delete multiple comments owned by the current user
Takes any type of body and a specified content type.
Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
func (*Client) DeleteApiMcp ¶
func (c *Client) DeleteApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiMcp Close an MCP Streamable HTTP transport session
Corresponds with DELETE /api/mcp (the `DeleteApiMcp` operationId).
func (*Client) DeleteApiTodosBatch ¶
func (c *Client) DeleteApiTodosBatch(ctx context.Context, body DeleteApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiTodosBatch Delete multiple todos by id
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
func (*Client) DeleteApiTodosBatchWithBody ¶
func (c *Client) DeleteApiTodosBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiTodosBatchWithBody Delete multiple todos by id
Takes any type of body and a specified content type.
Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
func (*Client) DeleteApiWorkspaceSubscriptions ¶
func (c *Client) DeleteApiWorkspaceSubscriptions(ctx context.Context, body DeleteApiWorkspaceSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiWorkspaceSubscriptions Remove section subscriptions
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
func (*Client) DeleteApiWorkspaceSubscriptionsWithBody ¶
func (c *Client) DeleteApiWorkspaceSubscriptionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApiWorkspaceSubscriptionsWithBody Remove section subscriptions
Takes any type of body and a specified content type.
Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
func (*Client) DeleteComment ¶
func (c *Client) DeleteComment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteComment Delete one comment
Corresponds with DELETE /api/community/comments/{id} (the `DeleteComment` operationId).
func (*Client) DeleteTodo ¶
func (c *Client) DeleteTodo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTodo Delete one todo
Corresponds with DELETE /api/workspace/todos/{id} (the `DeleteTodo` operationId).
func (*Client) DeleteUpload ¶
func (c *Client) DeleteUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteUpload Delete one upload
Corresponds with DELETE /api/workspace/uploads/{id} (the `DeleteUpload` operationId).
func (*Client) DownloadUpload ¶
func (c *Client) DownloadUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadUpload Download upload
Corresponds with GET /api/workspace/uploads/{id}/download (the `DownloadUpload` operationId).
func (*Client) GetApiAuthOauth2Token ¶
func (c *Client) GetApiAuthOauth2Token(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiAuthOauth2Token Return method guidance for OAuth token clients
Corresponds with GET /api/auth/oauth2/token (the `GetApiAuthOauth2Token` operationId).
func (*Client) GetApiAuthWellKnownOpenidConfiguration ¶
func (c *Client) GetApiAuthWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiAuthWellKnownOpenidConfiguration OpenID Connect discovery metadata for issuer `/api/auth`
Corresponds with GET /api/auth/.well-known/openid-configuration (the `GetApiAuthWellKnownOpenidConfiguration` operationId).
func (*Client) GetApiCatalogCoursesJwIdSections ¶
func (c *Client) GetApiCatalogCoursesJwIdSections(ctx context.Context, jwId int64, params *GetApiCatalogCoursesJwIdSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogCoursesJwIdSections Get complete course section history, including retired offerings
Corresponds with GET /api/catalog/courses/{jwId}/sections (the `GetApiCatalogCoursesJwIdSections` operationId).
func (*Client) GetApiCatalogTeachersIdSections ¶
func (c *Client) GetApiCatalogTeachersIdSections(ctx context.Context, id string, params *GetApiCatalogTeachersIdSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogTeachersIdSections Get complete teacher section history, including retired offerings
Corresponds with GET /api/catalog/teachers/{id}/sections (the `GetApiCatalogTeachersIdSections` operationId).
func (*Client) GetApiCatalogYoungEvents ¶
func (c *Client) GetApiCatalogYoungEvents(ctx context.Context, params *GetApiCatalogYoungEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogYoungEvents List second-classroom (Young) signup events
Corresponds with GET /api/catalog/young-events (the `GetApiCatalogYoungEvents` operationId).
func (*Client) GetApiCatalogYoungEventsImagesPath ¶
func (c *Client) GetApiCatalogYoungEventsImagesPath(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogYoungEventsImagesPath Serve a cached rich-text inline image for second-classroom (Young) events by
Corresponds with GET /api/catalog/young-events/images/{path} (the `GetApiCatalogYoungEventsImagesPath` operationId).
func (*Client) GetApiCatalogYoungEventsYoungId ¶
func (c *Client) GetApiCatalogYoungEventsYoungId(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogYoungEventsYoungId Get a second-classroom (Young) signup event
Corresponds with GET /api/catalog/young-events/{youngId} (the `GetApiCatalogYoungEventsYoungId` operationId).
func (*Client) GetApiCatalogYoungEventsYoungIdImage ¶
func (c *Client) GetApiCatalogYoungEventsYoungIdImage(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogYoungEventsYoungIdImage Redirect to the current immutable poster representation
Corresponds with GET /api/catalog/young-events/{youngId}/image (the `GetApiCatalogYoungEventsYoungIdImage` operationId).
func (*Client) GetApiCatalogYoungOrganizers ¶
func (c *Client) GetApiCatalogYoungOrganizers(ctx context.Context, params *GetApiCatalogYoungOrganizersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogYoungOrganizers List normalized Young organizers and their active, upcoming, and historical
Corresponds with GET /api/catalog/young-organizers (the `GetApiCatalogYoungOrganizers` operationId).
func (*Client) GetApiCatalogYoungOrganizersOrganizerId ¶
func (c *Client) GetApiCatalogYoungOrganizersOrganizerId(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCatalogYoungOrganizersOrganizerId Fetch one normalized Young organizer and its event groups
Corresponds with GET /api/catalog/young-organizers/{organizerId} (the `GetApiCatalogYoungOrganizersOrganizerId` operationId).
func (*Client) GetApiCommunityCommentsIdReplies ¶
func (c *Client) GetApiCommunityCommentsIdReplies(ctx context.Context, id string, params *GetApiCommunityCommentsIdRepliesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCommunityCommentsIdReplies Continue a bounded reply preview for one comment root
Corresponds with GET /api/community/comments/{id}/replies (the `GetApiCommunityCommentsIdReplies` operationId).
func (*Client) GetApiCommunitySectionHomeworksAudit ¶
func (c *Client) GetApiCommunitySectionHomeworksAudit(ctx context.Context, params *GetApiCommunitySectionHomeworksAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCommunitySectionHomeworksAudit List section homework audit history after an explicit request
Corresponds with GET /api/community/section-homeworks/audit (the `GetApiCommunitySectionHomeworksAudit` operationId).
func (*Client) GetApiCommunitySectionHomeworksId ¶
func (c *Client) GetApiCommunitySectionHomeworksId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiCommunitySectionHomeworksId Read one shared section homework with its detail relations and audit history
Corresponds with GET /api/community/section-homeworks/{id} (the `GetApiCommunitySectionHomeworksId` operationId).
func (*Client) GetApiPublications ¶
func (c *Client) GetApiPublications(ctx context.Context, params *GetApiPublicationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiPublications List public USTC news and notices
Corresponds with GET /api/publications (the `GetApiPublications` operationId).
func (*Client) GetApiPublicationsId ¶
func (c *Client) GetApiPublicationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiPublicationsId Get one public USTC news item or notice
Corresponds with GET /api/publications/{id} (the `GetApiPublicationsId` operationId).
func (*Client) GetApiPublicationsImagesHash ¶
func (c *Client) GetApiPublicationsImagesHash(ctx context.Context, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiPublicationsImagesHash Lazily fetch and cache an image referenced by a public publication's
Corresponds with GET /api/publications/images/{hash} (the `GetApiPublicationsImagesHash` operationId).
func (*Client) GetApiPublicationsObjectsKindSha256 ¶
func (c *Client) GetApiPublicationsObjectsKindSha256(ctx context.Context, kind GetApiPublicationsObjectsKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiPublicationsObjectsKindSha256 Read a verified object linked to a public publication revision
Corresponds with GET /api/publications/objects/{kind}/{sha256} (the `GetApiPublicationsObjectsKindSha256` operationId).
func (*Client) GetApiPublicationsSources ¶
func (c *Client) GetApiPublicationsSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiPublicationsSources List registered publication sources grouped by organization level
Corresponds with GET /api/publications/sources (the `GetApiPublicationsSources` operationId).
func (*Client) GetApiSearch ¶
func (c *Client) GetApiSearch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiSearch Global search across catalog and workspace entities
Corresponds with GET /api/search (the `GetApiSearch` operationId).
func (*Client) GetApiWorkspaceCalendarEvents ¶
func (c *Client) GetApiWorkspaceCalendarEvents(ctx context.Context, params *GetApiWorkspaceCalendarEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceCalendarEvents List complete personal calendar events by date range, with explicit pagination
Corresponds with GET /api/workspace/calendar/events (the `GetApiWorkspaceCalendarEvents` operationId).
func (*Client) GetApiWorkspaceOverviewActionable ¶
func (c *Client) GetApiWorkspaceOverviewActionable(ctx context.Context, params *GetApiWorkspaceOverviewActionableParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceOverviewActionable Get the complete current-user action hierarchy and pending deadlines
Corresponds with GET /api/workspace/overview/actionable (the `GetApiWorkspaceOverviewActionable` operationId).
func (*Client) GetApiWorkspaceYoungEventSubscriptions ¶
func (c *Client) GetApiWorkspaceYoungEventSubscriptions(ctx context.Context, params *GetApiWorkspaceYoungEventSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceYoungEventSubscriptions List personal young-event-subscriptions
Corresponds with GET /api/workspace/young-event-subscriptions (the `GetApiWorkspaceYoungEventSubscriptions` operationId).
func (*Client) GetApiWorkspaceYoungEventSubscriptionsYoungId ¶
func (c *Client) GetApiWorkspaceYoungEventSubscriptionsYoungId(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceYoungEventSubscriptionsYoungId Read personal activity subscription state
Corresponds with GET /api/workspace/young-event-subscriptions/{youngId} (the `GetApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
func (*Client) GetApiWorkspaceYoungNotifications ¶
func (c *Client) GetApiWorkspaceYoungNotifications(ctx context.Context, params *GetApiWorkspaceYoungNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceYoungNotifications List personal young-notifications
Corresponds with GET /api/workspace/young-notifications (the `GetApiWorkspaceYoungNotifications` operationId).
func (*Client) GetApiWorkspaceYoungOrganizerSubscriptions ¶
func (c *Client) GetApiWorkspaceYoungOrganizerSubscriptions(ctx context.Context, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceYoungOrganizerSubscriptions List personal young-organizer-subscriptions
Corresponds with GET /api/workspace/young-organizer-subscriptions (the `GetApiWorkspaceYoungOrganizerSubscriptions` operationId).
func (*Client) GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId ¶
func (c *Client) GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId Read personal organizer follow state
Corresponds with GET /api/workspace/young-organizer-subscriptions/{organizerId} (the `GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
func (*Client) GetComment ¶
func (c *Client) GetComment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetComment Get comment thread
Corresponds with GET /api/community/comments/{id} (the `GetComment` operationId).
func (*Client) GetCourse ¶
func (c *Client) GetCourse(ctx context.Context, jwId int64, params *GetCourseParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCourse Get course
Corresponds with GET /api/catalog/courses/{jwId} (the `GetCourse` operationId).
func (*Client) GetCurrentCalendarSubscription ¶
func (c *Client) GetCurrentCalendarSubscription(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCurrentCalendarSubscription Get section subscriptions
Corresponds with GET /api/workspace/subscriptions/current (the `GetCurrentCalendarSubscription` operationId).
func (*Client) GetCurrentSemester ¶
func (c *Client) GetCurrentSemester(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCurrentSemester Get current semester
Corresponds with GET /api/catalog/semesters/current (the `GetCurrentSemester` operationId).
func (*Client) GetDescription ¶
func (c *Client) GetDescription(ctx context.Context, params *GetDescriptionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDescription Get description history
Corresponds with GET /api/community/descriptions (the `GetDescription` operationId).
func (*Client) GetMetadata ¶
func (c *Client) GetMetadata(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetadata Get metadata
Corresponds with GET /api/catalog/metadata (the `GetMetadata` operationId).
func (*Client) GetOpenApiSpec ¶
func (c *Client) GetOpenApiSpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOpenApiSpec Get OpenAPI document
Corresponds with GET /api/openapi (the `GetOpenApiSpec` operationId).
func (*Client) GetSection ¶
func (c *Client) GetSection(ctx context.Context, jwId int64, params *GetSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSection Get section
Corresponds with GET /api/catalog/sections/{jwId} (the `GetSection` operationId).
func (*Client) GetSectionCalendar ¶
func (c *Client) GetSectionCalendar(ctx context.Context, jwId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSectionCalendar Generate section calendar
Corresponds with GET /api/catalog/sections/{jwId}/calendar.ics (the `GetSectionCalendar` operationId).
func (*Client) GetSectionScheduleGroups ¶
func (c *Client) GetSectionScheduleGroups(ctx context.Context, jwId int64, params *GetSectionScheduleGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSectionScheduleGroups Get schedule groups
Corresponds with GET /api/catalog/sections/{jwId}/schedule-groups (the `GetSectionScheduleGroups` operationId).
func (*Client) GetSectionSchedules ¶
func (c *Client) GetSectionSchedules(ctx context.Context, jwId int64, params *GetSectionSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSectionSchedules Get section schedules
Corresponds with GET /api/catalog/sections/{jwId}/schedules (the `GetSectionSchedules` operationId).
func (*Client) GetSectionsCalendar ¶
func (c *Client) GetSectionsCalendar(ctx context.Context, params *GetSectionsCalendarParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSectionsCalendar Generate sections calendar
Corresponds with GET /api/catalog/sections/calendar.ics (the `GetSectionsCalendar` operationId).
func (*Client) GetSubscribedHomeworks ¶
func (c *Client) GetSubscribedHomeworks(ctx context.Context, params *GetSubscribedHomeworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSubscribedHomeworks List subscribed homeworks
Corresponds with GET /api/workspace/homeworks (the `GetSubscribedHomeworks` operationId).
func (*Client) GetTeacher ¶
func (c *Client) GetTeacher(ctx context.Context, id int64, params *GetTeacherParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeacher Get teacher
Corresponds with GET /api/catalog/teachers/{id} (the `GetTeacher` operationId).
func (*Client) GetWellKnownAppleAppSiteAssociation ¶
func (c *Client) GetWellKnownAppleAppSiteAssociation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWellKnownAppleAppSiteAssociation Public Apple association for the native app's supported content routes
Corresponds with GET /.well-known/apple-app-site-association (the `GetWellKnownAppleAppSiteAssociation` operationId).
func (*Client) GetWellKnownOauthAuthorizationServerApiAuth ¶
func (c *Client) GetWellKnownOauthAuthorizationServerApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWellKnownOauthAuthorizationServerApiAuth Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
Corresponds with GET /.well-known/oauth-authorization-server/api/auth (the `GetWellKnownOauthAuthorizationServerApiAuth` operationId).
func (*Client) GetWellKnownOauthProtectedResourceApiGraphql ¶
func (c *Client) GetWellKnownOauthProtectedResourceApiGraphql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWellKnownOauthProtectedResourceApiGraphql Canonical RFC 9728 protected resource metadata for GraphQL
Corresponds with GET /.well-known/oauth-protected-resource/api/graphql (the `GetWellKnownOauthProtectedResourceApiGraphql` operationId).
func (*Client) GetWellKnownOauthProtectedResourceApiMcp ¶
func (c *Client) GetWellKnownOauthProtectedResourceApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWellKnownOauthProtectedResourceApiMcp Canonical RFC 9728 protected resource metadata for MCP
Corresponds with GET /.well-known/oauth-protected-resource/api/mcp (the `GetWellKnownOauthProtectedResourceApiMcp` operationId).
func (*Client) GetWellKnownOpenidConfigurationApiAuth ¶
func (c *Client) GetWellKnownOpenidConfigurationApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWellKnownOpenidConfigurationApiAuth RFC 8414-compatible path form for OpenID provider metadata
Corresponds with GET /.well-known/openid-configuration/api/auth (the `GetWellKnownOpenidConfigurationApiAuth` operationId).
func (*Client) ListAdminComments ¶
func (c *Client) ListAdminComments(ctx context.Context, params *ListAdminCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminComments List moderation comments
Corresponds with GET /api/admin/comments (the `ListAdminComments` operationId).
func (*Client) ListAdminDescriptions ¶
func (c *Client) ListAdminDescriptions(ctx context.Context, params *ListAdminDescriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminDescriptions List descriptions
Corresponds with GET /api/admin/descriptions (the `ListAdminDescriptions` operationId).
func (*Client) ListAdminHomeworks ¶
func (c *Client) ListAdminHomeworks(ctx context.Context, params *ListAdminHomeworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminHomeworks List moderation homeworks
Corresponds with GET /api/admin/homeworks (the `ListAdminHomeworks` operationId).
func (*Client) ListAdminSuspensions ¶
func (c *Client) ListAdminSuspensions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminSuspensions List suspensions
Corresponds with GET /api/admin/suspensions (the `ListAdminSuspensions` operationId).
func (*Client) ListAdminUsers ¶
func (c *Client) ListAdminUsers(ctx context.Context, params *ListAdminUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminUsers List users
Corresponds with GET /api/admin/users (the `ListAdminUsers` operationId).
func (*Client) ListComments ¶
func (c *Client) ListComments(ctx context.Context, params *ListCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListComments List comments
Corresponds with GET /api/community/comments (the `ListComments` operationId).
func (*Client) ListCourses ¶
func (c *Client) ListCourses(ctx context.Context, params *ListCoursesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCourses List courses
Corresponds with GET /api/catalog/courses (the `ListCourses` operationId).
func (*Client) ListHealth ¶
func (c *Client) ListHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListHealth Check process liveness
Corresponds with GET /api/health (the `ListHealth` operationId).
func (*Client) ListMcp ¶
func (c *Client) ListMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMcp Standalone GET streams are disabled for the stateless MCP transport
Corresponds with GET /api/mcp (the `ListMcp` operationId).
func (*Client) ListSchedules ¶
func (c *Client) ListSchedules(ctx context.Context, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSchedules List schedules
Corresponds with GET /api/catalog/schedules (the `ListSchedules` operationId).
func (*Client) ListSections ¶
func (c *Client) ListSections(ctx context.Context, params *ListSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSections List sections
Corresponds with GET /api/catalog/sections (the `ListSections` operationId).
func (*Client) ListSemesters ¶
func (c *Client) ListSemesters(ctx context.Context, params *ListSemestersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSemesters List semesters
Corresponds with GET /api/catalog/semesters (the `ListSemesters` operationId).
func (*Client) ListTeachers ¶
func (c *Client) ListTeachers(ctx context.Context, params *ListTeachersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTeachers List teachers
Corresponds with GET /api/catalog/teachers (the `ListTeachers` operationId).
func (*Client) ListTodos ¶
func (c *Client) ListTodos(ctx context.Context, params *ListTodosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTodos List todos
Corresponds with GET /api/workspace/todos (the `ListTodos` operationId).
func (*Client) ListUploads ¶
func (c *Client) ListUploads(ctx context.Context, params *ListUploadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListUploads List uploads
Corresponds with GET /api/workspace/uploads (the `ListUploads` operationId).
func (*Client) MatchSectionCodes ¶
func (c *Client) MatchSectionCodes(ctx context.Context, body MatchSectionCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MatchSectionCodes Match section codes
Takes a body of the `application/json` content type.
Corresponds with POST /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
func (*Client) MatchSectionCodesWithBody ¶
func (c *Client) MatchSectionCodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MatchSectionCodesWithBody Match section codes
Takes any type of body and a specified content type.
Corresponds with POST /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
func (*Client) ModerateAdminComment ¶
func (c *Client) ModerateAdminComment(ctx context.Context, id string, body ModerateAdminCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModerateAdminComment Moderate one comment
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
func (*Client) ModerateAdminCommentWithBody ¶
func (c *Client) ModerateAdminCommentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModerateAdminCommentWithBody Moderate one comment
Takes any type of body and a specified content type.
Corresponds with PATCH /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
func (*Client) OptionsApiAuthOauth2DeviceAuthorization ¶
func (c *Client) OptionsApiAuthOauth2DeviceAuthorization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsApiAuthOauth2DeviceAuthorization Return OAuth device authorization CORS preflight headers
Corresponds with OPTIONS /api/auth/oauth2/device-authorization (the `OptionsApiAuthOauth2DeviceAuthorization` operationId).
func (*Client) OptionsApiAuthWellKnownOpenidConfiguration ¶
func (c *Client) OptionsApiAuthWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsApiAuthWellKnownOpenidConfiguration OpenID Connect discovery metadata for issuer `/api/auth`
Corresponds with OPTIONS /api/auth/.well-known/openid-configuration (the `OptionsApiAuthWellKnownOpenidConfiguration` operationId).
func (*Client) OptionsApiMcp ¶
func (c *Client) OptionsApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsApiMcp Return MCP transport CORS preflight headers
Corresponds with OPTIONS /api/mcp (the `OptionsApiMcp` operationId).
func (*Client) OptionsWellKnownOauthAuthorizationServerApiAuth ¶
func (c *Client) OptionsWellKnownOauthAuthorizationServerApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsWellKnownOauthAuthorizationServerApiAuth Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
Corresponds with OPTIONS /.well-known/oauth-authorization-server/api/auth (the `OptionsWellKnownOauthAuthorizationServerApiAuth` operationId).
func (*Client) OptionsWellKnownOauthProtectedResourceApiGraphql ¶
func (c *Client) OptionsWellKnownOauthProtectedResourceApiGraphql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsWellKnownOauthProtectedResourceApiGraphql CORS preflight for GraphQL protected resource metadata
Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/graphql (the `OptionsWellKnownOauthProtectedResourceApiGraphql` operationId).
func (*Client) OptionsWellKnownOauthProtectedResourceApiMcp ¶
func (c *Client) OptionsWellKnownOauthProtectedResourceApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsWellKnownOauthProtectedResourceApiMcp Canonical RFC 9728 protected resource metadata for MCP
Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/mcp (the `OptionsWellKnownOauthProtectedResourceApiMcp` operationId).
func (*Client) OptionsWellKnownOpenidConfigurationApiAuth ¶
func (c *Client) OptionsWellKnownOpenidConfigurationApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OptionsWellKnownOpenidConfigurationApiAuth RFC 8414-compatible path form for OpenID provider metadata
Corresponds with OPTIONS /.well-known/openid-configuration/api/auth (the `OptionsWellKnownOpenidConfigurationApiAuth` operationId).
func (*Client) PatchApiTodosBatch ¶
func (c *Client) PatchApiTodosBatch(ctx context.Context, body PatchApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchApiTodosBatch Update completion state for multiple todos
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
func (*Client) PatchApiTodosBatchWithBody ¶
func (c *Client) PatchApiTodosBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchApiTodosBatchWithBody Update completion state for multiple todos
Takes any type of body and a specified content type.
Corresponds with PATCH /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
func (*Client) PatchApiWorkspaceSubscriptionsJwId ¶
func (c *Client) PatchApiWorkspaceSubscriptionsJwId(ctx context.Context, jwId int64, body PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchApiWorkspaceSubscriptionsJwId Update an existing subscription's personal kind
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
func (*Client) PatchApiWorkspaceSubscriptionsJwIdWithBody ¶
func (c *Client) PatchApiWorkspaceSubscriptionsJwIdWithBody(ctx context.Context, jwId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchApiWorkspaceSubscriptionsJwIdWithBody Update an existing subscription's personal kind
Takes any type of body and a specified content type.
Corresponds with PATCH /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
func (*Client) PostApiAuthOauth2DeviceAuthorizationWithBody ¶
func (c *Client) PostApiAuthOauth2DeviceAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiAuthOauth2DeviceAuthorizationWithBody Start OAuth 2.0 device authorization
Takes any type of body and a specified content type.
Corresponds with POST /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
func (*Client) PostApiAuthOauth2DeviceAuthorizationWithFormdataBody ¶
func (c *Client) PostApiAuthOauth2DeviceAuthorizationWithFormdataBody(ctx context.Context, body PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiAuthOauth2DeviceAuthorizationWithFormdataBody Start OAuth 2.0 device authorization
Takes a body of the `application/x-www-form-urlencoded` content type.
Corresponds with POST /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
func (*Client) PostApiAuthOauth2TokenWithBody ¶
func (c *Client) PostApiAuthOauth2TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiAuthOauth2TokenWithBody Exchange OAuth 2.0 authorization/device/refresh grants for tokens
Takes any type of body and a specified content type.
Corresponds with POST /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
func (*Client) PostApiAuthOauth2TokenWithFormdataBody ¶
func (c *Client) PostApiAuthOauth2TokenWithFormdataBody(ctx context.Context, body PostApiAuthOauth2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiAuthOauth2TokenWithFormdataBody Exchange OAuth 2.0 authorization/device/refresh grants for tokens
Takes a body of the `application/x-www-form-urlencoded` content type.
Corresponds with POST /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
func (*Client) PostApiIngestionPublicationsBatches ¶
func (c *Client) PostApiIngestionPublicationsBatches(ctx context.Context, body PostApiIngestionPublicationsBatchesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiIngestionPublicationsBatches Ingest a crawler publication batch
Takes a body of the `application/json` content type.
Corresponds with POST /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
func (*Client) PostApiIngestionPublicationsBatchesWithBody ¶
func (c *Client) PostApiIngestionPublicationsBatchesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiIngestionPublicationsBatchesWithBody Ingest a crawler publication batch
Takes any type of body and a specified content type.
Corresponds with POST /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
func (*Client) PostApiIngestionPublicationsObjectsPlan ¶
func (c *Client) PostApiIngestionPublicationsObjectsPlan(ctx context.Context, body PostApiIngestionPublicationsObjectsPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiIngestionPublicationsObjectsPlan Plan content-addressed publication object uploads
Takes a body of the `application/json` content type.
Corresponds with POST /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
func (*Client) PostApiIngestionPublicationsObjectsPlanWithBody ¶
func (c *Client) PostApiIngestionPublicationsObjectsPlanWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiIngestionPublicationsObjectsPlanWithBody Plan content-addressed publication object uploads
Takes any type of body and a specified content type.
Corresponds with POST /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
func (*Client) PostApiWorkspaceSubscriptionsImportCodes ¶
func (c *Client) PostApiWorkspaceSubscriptionsImportCodes(ctx context.Context, body PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiWorkspaceSubscriptionsImportCodes Import section subscriptions by section codes
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
func (*Client) PostApiWorkspaceSubscriptionsImportCodesWithBody ¶
func (c *Client) PostApiWorkspaceSubscriptionsImportCodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiWorkspaceSubscriptionsImportCodesWithBody Import section subscriptions by section codes
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
func (*Client) PostApiWorkspaceYoungNotificationsIdRead ¶
func (c *Client) PostApiWorkspaceYoungNotificationsIdRead(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiWorkspaceYoungNotificationsIdRead Mark a personal activity notification read
Corresponds with POST /api/workspace/young-notifications/{id}/read (the `PostApiWorkspaceYoungNotificationsIdRead` operationId).
func (*Client) PutApiHomeworksCompletions ¶
func (c *Client) PutApiHomeworksCompletions(ctx context.Context, body PutApiHomeworksCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiHomeworksCompletions Update homework completions in a batch
Takes a body of the `application/json` content type.
Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
func (*Client) PutApiHomeworksCompletionsWithBody ¶
func (c *Client) PutApiHomeworksCompletionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiHomeworksCompletionsWithBody Update homework completions in a batch
Takes any type of body and a specified content type.
Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
func (*Client) PutApiIngestionPublicationsObjectsBatchIdKindSha256 ¶
func (c *Client) PutApiIngestionPublicationsObjectsBatchIdKindSha256(ctx context.Context, batchId string, kind PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiIngestionPublicationsObjectsBatchIdKindSha256 Stream and verify one content-addressed publication object through the
Corresponds with PUT /api/ingestion/publications/objects/{batchId}/{kind}/{sha256} (the `PutApiIngestionPublicationsObjectsBatchIdKindSha256` operationId).
func (*Client) PutApiUploadsObjectWithBody ¶
func (c *Client) PutApiUploadsObjectWithBody(ctx context.Context, params *PutApiUploadsObjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiUploadsObjectWithBody Write upload object
Takes any type of body and a specified content type.
Corresponds with PUT /api/workspace/uploads/object (the `PutApiUploadsObject` operationId).
func (*Client) PutApiWorkspaceYoungEventSubscriptionsYoungId ¶
func (c *Client) PutApiWorkspaceYoungEventSubscriptionsYoungId(ctx context.Context, youngId string, body PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiWorkspaceYoungEventSubscriptionsYoungId Set personal events subscription state. This does not register attendance
Takes a body of the `application/json` content type.
Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
func (*Client) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBody ¶
func (c *Client) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBody(ctx context.Context, youngId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBody Set personal events subscription state. This does not register attendance
Takes any type of body and a specified content type.
Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
func (*Client) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId ¶
func (c *Client) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId(ctx context.Context, organizerId string, body PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId Set personal organizers subscription state. This does not register attendance
Takes a body of the `application/json` content type.
Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
func (*Client) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBody ¶
func (c *Client) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBody(ctx context.Context, organizerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBody Set personal organizers subscription state. This does not register attendance
Takes any type of body and a specified content type.
Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
func (*Client) QueryCalendarSubscriptionSections ¶
func (c *Client) QueryCalendarSubscriptionSections(ctx context.Context, body QueryCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
QueryCalendarSubscriptionSections Query sections for calendar subscription changes
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
func (*Client) QueryCalendarSubscriptionSectionsWithBody ¶
func (c *Client) QueryCalendarSubscriptionSectionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
QueryCalendarSubscriptionSectionsWithBody Query sections for calendar subscription changes
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
func (*Client) RemoveCommentReaction ¶
func (c *Client) RemoveCommentReaction(ctx context.Context, id string, params *RemoveCommentReactionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveCommentReaction Remove one reaction from a comment
Corresponds with DELETE /api/community/comments/{id}/reactions (the `RemoveCommentReaction` operationId).
func (*Client) SetHomeworkCompletion ¶
func (c *Client) SetHomeworkCompletion(ctx context.Context, id string, body SetHomeworkCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetHomeworkCompletion Update homework completion
Takes a body of the `application/json` content type.
Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
func (*Client) SetHomeworkCompletionWithBody ¶
func (c *Client) SetHomeworkCompletionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetHomeworkCompletionWithBody Update homework completion
Takes any type of body and a specified content type.
Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
func (*Client) SetLocale ¶
func (c *Client) SetLocale(ctx context.Context, body SetLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetLocale Update user locale cookie
Takes a body of the `application/json` content type.
Corresponds with POST /api/account/preferences (the `SetLocale` operationId).
func (*Client) SetLocaleWithBody ¶
func (c *Client) SetLocaleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetLocaleWithBody Update user locale cookie
Takes any type of body and a specified content type.
Corresponds with POST /api/account/preferences (the `SetLocale` operationId).
func (*Client) UpdateAdminDescription ¶
func (c *Client) UpdateAdminDescription(ctx context.Context, id string, body UpdateAdminDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdminDescription Update one description from moderation
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
func (*Client) UpdateAdminDescriptionWithBody ¶
func (c *Client) UpdateAdminDescriptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdminDescriptionWithBody Update one description from moderation
Takes any type of body and a specified content type.
Corresponds with PATCH /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
func (*Client) UpdateAdminSuspension ¶
func (c *Client) UpdateAdminSuspension(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdminSuspension Lift one suspension
Corresponds with PATCH /api/admin/suspensions/{id} (the `UpdateAdminSuspension` operationId).
func (*Client) UpdateAdminUser ¶
func (c *Client) UpdateAdminUser(ctx context.Context, id string, body UpdateAdminUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdminUser Update one user
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/admin/users/{id} (the `UpdateAdminUser` operationId).
func (*Client) UpdateAdminUserWithBody ¶
func (c *Client) UpdateAdminUserWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdminUserWithBody Update one user
Takes any type of body and a specified content type.
Corresponds with PATCH /api/admin/users/{id} (the `UpdateAdminUser` operationId).
func (*Client) UpdateComment ¶
func (c *Client) UpdateComment(ctx context.Context, id string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateComment Update one comment
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/community/comments/{id} (the `UpdateComment` operationId).
func (*Client) UpdateCommentWithBody ¶
func (c *Client) UpdateCommentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCommentWithBody Update one comment
Takes any type of body and a specified content type.
Corresponds with PATCH /api/community/comments/{id} (the `UpdateComment` operationId).
func (*Client) UpdateTodo ¶
func (c *Client) UpdateTodo(ctx context.Context, id string, body UpdateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTodo Update one todo
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/workspace/todos/{id} (the `UpdateTodo` operationId).
func (*Client) UpdateTodoWithBody ¶
func (c *Client) UpdateTodoWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTodoWithBody Update one todo
Takes any type of body and a specified content type.
Corresponds with PATCH /api/workspace/todos/{id} (the `UpdateTodo` operationId).
func (*Client) UpdateUpload ¶
func (c *Client) UpdateUpload(ctx context.Context, id string, body UpdateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUpload Rename one upload
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
func (*Client) UpdateUploadWithBody ¶
func (c *Client) UpdateUploadWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUploadWithBody Rename one upload
Takes any type of body and a specified content type.
Corresponds with PATCH /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
func (*Client) UpsertDescription ¶
func (c *Client) UpsertDescription(ctx context.Context, body UpsertDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertDescription Upsert description
Takes a body of the `application/json` content type.
Corresponds with POST /api/community/descriptions (the `UpsertDescription` operationId).
func (*Client) UpsertDescriptionWithBody ¶
func (c *Client) UpsertDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertDescriptionWithBody Upsert description
Takes any type of body and a specified content type.
Corresponds with POST /api/community/descriptions (the `UpsertDescription` operationId).
func (*Client) WorkspaceBusPreferencesGet ¶
func (c *Client) WorkspaceBusPreferencesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceBusPreferencesGet Get bus preferences
Corresponds with GET /api/workspace/bus-preferences (the `WorkspaceBusPreferencesGet` operationId).
func (*Client) WorkspaceBusPreferencesSet ¶
func (c *Client) WorkspaceBusPreferencesSet(ctx context.Context, body WorkspaceBusPreferencesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceBusPreferencesSet Update bus preferences
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
func (*Client) WorkspaceBusPreferencesSetWithBody ¶
func (c *Client) WorkspaceBusPreferencesSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceBusPreferencesSetWithBody Update bus preferences
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
func (*Client) WorkspaceCalendarFeedExport ¶
func (c *Client) WorkspaceCalendarFeedExport(ctx context.Context, credential string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceCalendarFeedExport Deliver a token-bearing personal calendar feed
Corresponds with GET /api/calendar-feeds/{credential}.ics (the `WorkspaceCalendarFeedExport` operationId).
func (*Client) WorkspaceExamList ¶
func (c *Client) WorkspaceExamList(ctx context.Context, params *WorkspaceExamListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceExamList List exams across the current user's subscribed sections and semesters
Corresponds with GET /api/workspace/exams (the `WorkspaceExamList` operationId).
func (*Client) WorkspaceLinkPinBatchSet ¶
func (c *Client) WorkspaceLinkPinBatchSet(ctx context.Context, body WorkspaceLinkPinBatchSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceLinkPinBatchSet Set multiple campus link pins
Takes a body of the `application/json` content type.
Corresponds with POST /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
func (*Client) WorkspaceLinkPinBatchSetWithBody ¶
func (c *Client) WorkspaceLinkPinBatchSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceLinkPinBatchSetWithBody Set multiple campus link pins
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
func (*Client) WorkspaceLinkPinList ¶
func (c *Client) WorkspaceLinkPinList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceLinkPinList List the current user's pinned campus links
Corresponds with GET /api/workspace/link-pins (the `WorkspaceLinkPinList` operationId).
func (*Client) WorkspaceLinkPinSetWithBody ¶
func (c *Client) WorkspaceLinkPinSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceLinkPinSetWithBody Set one campus link pin
Takes any type of body and a specified content type.
Corresponds with POST /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
func (*Client) WorkspaceLinkPinSetWithFormdataBody ¶
func (c *Client) WorkspaceLinkPinSetWithFormdataBody(ctx context.Context, body WorkspaceLinkPinSetFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceLinkPinSetWithFormdataBody Set one campus link pin
Takes a body of the `application/x-www-form-urlencoded` content type.
Corresponds with POST /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
func (*Client) WorkspaceOverviewGet ¶
func (c *Client) WorkspaceOverviewGet(ctx context.Context, params *WorkspaceOverviewGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceOverviewGet Get a compact current-user overview for lightweight clients
Corresponds with GET /api/workspace/overview (the `WorkspaceOverviewGet` operationId).
func (*Client) WorkspaceScheduleList ¶
func (c *Client) WorkspaceScheduleList(ctx context.Context, params *WorkspaceScheduleListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceScheduleList List schedules across the current user's subscribed sections
Corresponds with GET /api/workspace/schedules (the `WorkspaceScheduleList` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetWellKnownAppleAppSiteAssociation Public Apple association for the native app's supported content routes
//
// Corresponds with GET /.well-known/apple-app-site-association (the `GetWellKnownAppleAppSiteAssociation` operationId).
GetWellKnownAppleAppSiteAssociation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWellKnownOauthAuthorizationServerApiAuth Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
//
// Corresponds with GET /.well-known/oauth-authorization-server/api/auth (the `GetWellKnownOauthAuthorizationServerApiAuth` operationId).
GetWellKnownOauthAuthorizationServerApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsWellKnownOauthAuthorizationServerApiAuth Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
//
// Corresponds with OPTIONS /.well-known/oauth-authorization-server/api/auth (the `OptionsWellKnownOauthAuthorizationServerApiAuth` operationId).
OptionsWellKnownOauthAuthorizationServerApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWellKnownOauthProtectedResourceApiGraphql Canonical RFC 9728 protected resource metadata for GraphQL
//
// Corresponds with GET /.well-known/oauth-protected-resource/api/graphql (the `GetWellKnownOauthProtectedResourceApiGraphql` operationId).
GetWellKnownOauthProtectedResourceApiGraphql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsWellKnownOauthProtectedResourceApiGraphql CORS preflight for GraphQL protected resource metadata
//
// Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/graphql (the `OptionsWellKnownOauthProtectedResourceApiGraphql` operationId).
OptionsWellKnownOauthProtectedResourceApiGraphql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWellKnownOauthProtectedResourceApiMcp Canonical RFC 9728 protected resource metadata for MCP
//
// Corresponds with GET /.well-known/oauth-protected-resource/api/mcp (the `GetWellKnownOauthProtectedResourceApiMcp` operationId).
GetWellKnownOauthProtectedResourceApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsWellKnownOauthProtectedResourceApiMcp Canonical RFC 9728 protected resource metadata for MCP
//
// Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/mcp (the `OptionsWellKnownOauthProtectedResourceApiMcp` operationId).
OptionsWellKnownOauthProtectedResourceApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWellKnownOpenidConfigurationApiAuth RFC 8414-compatible path form for OpenID provider metadata
//
// Corresponds with GET /.well-known/openid-configuration/api/auth (the `GetWellKnownOpenidConfigurationApiAuth` operationId).
GetWellKnownOpenidConfigurationApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsWellKnownOpenidConfigurationApiAuth RFC 8414-compatible path form for OpenID provider metadata
//
// Corresponds with OPTIONS /.well-known/openid-configuration/api/auth (the `OptionsWellKnownOpenidConfigurationApiAuth` operationId).
OptionsWellKnownOpenidConfigurationApiAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountClientActivityList List activity performed by the current OAuth client for the current user
//
// Corresponds with GET /api/account/client-activity (the `AccountClientActivityList` operationId).
AccountClientActivityList(ctx context.Context, params *AccountClientActivityListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetLocaleWithBody Update user locale cookie
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/account/preferences (the `SetLocale` operationId).
SetLocaleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetLocale Update user locale cookie
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/account/preferences (the `SetLocale` operationId).
SetLocale(ctx context.Context, body SetLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountProfileGet Get the current account profile
//
// Corresponds with GET /api/account/profile (the `AccountProfileGet` operationId).
AccountProfileGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminComments List moderation comments
//
// Corresponds with GET /api/admin/comments (the `ListAdminComments` operationId).
ListAdminComments(ctx context.Context, params *ListAdminCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModerateAdminCommentWithBody Moderate one comment
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
ModerateAdminCommentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModerateAdminComment Moderate one comment
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
ModerateAdminComment(ctx context.Context, id string, body ModerateAdminCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminDescriptions List descriptions
//
// Corresponds with GET /api/admin/descriptions (the `ListAdminDescriptions` operationId).
ListAdminDescriptions(ctx context.Context, params *ListAdminDescriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdminDescriptionWithBody Update one description from moderation
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
UpdateAdminDescriptionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdminDescription Update one description from moderation
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
UpdateAdminDescription(ctx context.Context, id string, body UpdateAdminDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminHomeworks List moderation homeworks
//
// Corresponds with GET /api/admin/homeworks (the `ListAdminHomeworks` operationId).
ListAdminHomeworks(ctx context.Context, params *ListAdminHomeworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAdminHomework Delete one homework
//
// Corresponds with DELETE /api/admin/homeworks/{id} (the `DeleteAdminHomework` operationId).
DeleteAdminHomework(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminSuspensions List suspensions
//
// Corresponds with GET /api/admin/suspensions (the `ListAdminSuspensions` operationId).
ListAdminSuspensions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAdminSuspensionWithBody Create suspension for one user
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/admin/suspensions (the `CreateAdminSuspension` operationId).
CreateAdminSuspensionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAdminSuspension Create suspension for one user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/admin/suspensions (the `CreateAdminSuspension` operationId).
CreateAdminSuspension(ctx context.Context, body CreateAdminSuspensionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdminSuspension Lift one suspension
//
// Corresponds with PATCH /api/admin/suspensions/{id} (the `UpdateAdminSuspension` operationId).
UpdateAdminSuspension(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminUsers List users
//
// Corresponds with GET /api/admin/users (the `ListAdminUsers` operationId).
ListAdminUsers(ctx context.Context, params *ListAdminUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdminUserWithBody Update one user
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/admin/users/{id} (the `UpdateAdminUser` operationId).
UpdateAdminUserWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdminUser Update one user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/admin/users/{id} (the `UpdateAdminUser` operationId).
UpdateAdminUser(ctx context.Context, id string, body UpdateAdminUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiAuthWellKnownOpenidConfiguration OpenID Connect discovery metadata for issuer `/api/auth`
//
// Corresponds with GET /api/auth/.well-known/openid-configuration (the `GetApiAuthWellKnownOpenidConfiguration` operationId).
GetApiAuthWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsApiAuthWellKnownOpenidConfiguration OpenID Connect discovery metadata for issuer `/api/auth`
//
// Corresponds with OPTIONS /api/auth/.well-known/openid-configuration (the `OptionsApiAuthWellKnownOpenidConfiguration` operationId).
OptionsApiAuthWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsApiAuthOauth2DeviceAuthorization Return OAuth device authorization CORS preflight headers
//
// Corresponds with OPTIONS /api/auth/oauth2/device-authorization (the `OptionsApiAuthOauth2DeviceAuthorization` operationId).
OptionsApiAuthOauth2DeviceAuthorization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiAuthOauth2DeviceAuthorizationWithBody Start OAuth 2.0 device authorization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
PostApiAuthOauth2DeviceAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiAuthOauth2DeviceAuthorizationWithFormdataBody Start OAuth 2.0 device authorization
//
// Takes a body of the `application/x-www-form-urlencoded` content type.
//
// Corresponds with POST /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
PostApiAuthOauth2DeviceAuthorizationWithFormdataBody(ctx context.Context, body PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiAuthOauth2Token Return method guidance for OAuth token clients
//
// Corresponds with GET /api/auth/oauth2/token (the `GetApiAuthOauth2Token` operationId).
GetApiAuthOauth2Token(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiAuthOauth2TokenWithBody Exchange OAuth 2.0 authorization/device/refresh grants for tokens
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
PostApiAuthOauth2TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiAuthOauth2TokenWithFormdataBody Exchange OAuth 2.0 authorization/device/refresh grants for tokens
//
// Takes a body of the `application/x-www-form-urlencoded` content type.
//
// Corresponds with POST /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
PostApiAuthOauth2TokenWithFormdataBody(ctx context.Context, body PostApiAuthOauth2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceCalendarFeedExport Deliver a token-bearing personal calendar feed
//
// Corresponds with GET /api/calendar-feeds/{credential}.ics (the `WorkspaceCalendarFeedExport` operationId).
WorkspaceCalendarFeedExport(ctx context.Context, credential string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogBusTimetableGet Query shuttle buses
//
// Corresponds with GET /api/catalog/bus (the `CatalogBusTimetableGet` operationId).
CatalogBusTimetableGet(ctx context.Context, params *CatalogBusTimetableGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogBusDepartureNext Get next shuttle bus departures for an origin and destination campus
//
// Corresponds with GET /api/catalog/bus/next (the `CatalogBusDepartureNext` operationId).
CatalogBusDepartureNext(ctx context.Context, params *CatalogBusDepartureNextParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogBusRouteSearch Search shuttle bus route variants
//
// Corresponds with GET /api/catalog/bus/routes (the `CatalogBusRouteSearch` operationId).
CatalogBusRouteSearch(ctx context.Context, params *CatalogBusRouteSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCourses List courses
//
// Corresponds with GET /api/catalog/courses (the `ListCourses` operationId).
ListCourses(ctx context.Context, params *ListCoursesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCourse Get course
//
// Corresponds with GET /api/catalog/courses/{jwId} (the `GetCourse` operationId).
GetCourse(ctx context.Context, jwId int64, params *GetCourseParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogCoursesJwIdSections Get complete course section history, including retired offerings
//
// Corresponds with GET /api/catalog/courses/{jwId}/sections (the `GetApiCatalogCoursesJwIdSections` operationId).
GetApiCatalogCoursesJwIdSections(ctx context.Context, jwId int64, params *GetApiCatalogCoursesJwIdSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogLinkList List public campus links
//
// Corresponds with GET /api/catalog/links (the `CatalogLinkList` operationId).
CatalogLinkList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogLinkResolve Resolve a public campus link and record an authenticated visit
//
// Corresponds with GET /api/catalog/links/resolve (the `CatalogLinkResolve` operationId).
CatalogLinkResolve(ctx context.Context, params *CatalogLinkResolveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetadata Get metadata
//
// Corresponds with GET /api/catalog/metadata (the `GetMetadata` operationId).
GetMetadata(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogRoomsMap Look up a room's highlighted map or an available building overview
//
// Corresponds with GET /api/catalog/rooms/{code}/map (the `CatalogRoomsMap` operationId).
CatalogRoomsMap(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSchedules List schedules
//
// Corresponds with GET /api/catalog/schedules (the `ListSchedules` operationId).
ListSchedules(ctx context.Context, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSections List sections
//
// Corresponds with GET /api/catalog/sections (the `ListSections` operationId).
ListSections(ctx context.Context, params *ListSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSectionsCalendar Generate sections calendar
//
// Corresponds with GET /api/catalog/sections/calendar.ics (the `GetSectionsCalendar` operationId).
GetSectionsCalendar(ctx context.Context, params *GetSectionsCalendarParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MatchSectionCodesWithBody Match section codes
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
MatchSectionCodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MatchSectionCodes Match section codes
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
MatchSectionCodes(ctx context.Context, body MatchSectionCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSection Get section
//
// Corresponds with GET /api/catalog/sections/{jwId} (the `GetSection` operationId).
GetSection(ctx context.Context, jwId int64, params *GetSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSectionCalendar Generate section calendar
//
// Corresponds with GET /api/catalog/sections/{jwId}/calendar.ics (the `GetSectionCalendar` operationId).
GetSectionCalendar(ctx context.Context, jwId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSectionScheduleGroups Get schedule groups
//
// Corresponds with GET /api/catalog/sections/{jwId}/schedule-groups (the `GetSectionScheduleGroups` operationId).
GetSectionScheduleGroups(ctx context.Context, jwId int64, params *GetSectionScheduleGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSectionSchedules Get section schedules
//
// Corresponds with GET /api/catalog/sections/{jwId}/schedules (the `GetSectionSchedules` operationId).
GetSectionSchedules(ctx context.Context, jwId int64, params *GetSectionSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSemesters List semesters
//
// Corresponds with GET /api/catalog/semesters (the `ListSemesters` operationId).
ListSemesters(ctx context.Context, params *ListSemestersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentSemester Get current semester
//
// Corresponds with GET /api/catalog/semesters/current (the `GetCurrentSemester` operationId).
GetCurrentSemester(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTeachers List teachers
//
// Corresponds with GET /api/catalog/teachers (the `ListTeachers` operationId).
ListTeachers(ctx context.Context, params *ListTeachersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeacher Get teacher
//
// Corresponds with GET /api/catalog/teachers/{id} (the `GetTeacher` operationId).
GetTeacher(ctx context.Context, id int64, params *GetTeacherParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogTeachersIdSections Get complete teacher section history, including retired offerings
//
// Corresponds with GET /api/catalog/teachers/{id}/sections (the `GetApiCatalogTeachersIdSections` operationId).
GetApiCatalogTeachersIdSections(ctx context.Context, id string, params *GetApiCatalogTeachersIdSectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CatalogWeatherGet Query weather for a USTC campus
//
// Corresponds with GET /api/catalog/weather (the `CatalogWeatherGet` operationId).
CatalogWeatherGet(ctx context.Context, params *CatalogWeatherGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogYoungEvents List second-classroom (Young) signup events
//
// Corresponds with GET /api/catalog/young-events (the `GetApiCatalogYoungEvents` operationId).
GetApiCatalogYoungEvents(ctx context.Context, params *GetApiCatalogYoungEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogYoungEventsImagesPath Serve a cached rich-text inline image for second-classroom (Young) events by
//
// Corresponds with GET /api/catalog/young-events/images/{path} (the `GetApiCatalogYoungEventsImagesPath` operationId).
GetApiCatalogYoungEventsImagesPath(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogYoungEventsYoungId Get a second-classroom (Young) signup event
//
// Corresponds with GET /api/catalog/young-events/{youngId} (the `GetApiCatalogYoungEventsYoungId` operationId).
GetApiCatalogYoungEventsYoungId(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogYoungEventsYoungIdImage Redirect to the current immutable poster representation
//
// Corresponds with GET /api/catalog/young-events/{youngId}/image (the `GetApiCatalogYoungEventsYoungIdImage` operationId).
GetApiCatalogYoungEventsYoungIdImage(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogYoungOrganizers List normalized Young organizers and their active, upcoming, and historical
//
// Corresponds with GET /api/catalog/young-organizers (the `GetApiCatalogYoungOrganizers` operationId).
GetApiCatalogYoungOrganizers(ctx context.Context, params *GetApiCatalogYoungOrganizersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCatalogYoungOrganizersOrganizerId Fetch one normalized Young organizer and its event groups
//
// Corresponds with GET /api/catalog/young-organizers/{organizerId} (the `GetApiCatalogYoungOrganizersOrganizerId` operationId).
GetApiCatalogYoungOrganizersOrganizerId(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListComments List comments
//
// Corresponds with GET /api/community/comments (the `ListComments` operationId).
ListComments(ctx context.Context, params *ListCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCommentWithBody Create one comment
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/community/comments (the `CreateComment` operationId).
CreateCommentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateComment Create one comment
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/community/comments (the `CreateComment` operationId).
CreateComment(ctx context.Context, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiCommentsBatchWithBody Delete multiple comments owned by the current user
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
DeleteApiCommentsBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiCommentsBatch Delete multiple comments owned by the current user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
DeleteApiCommentsBatch(ctx context.Context, body DeleteApiCommentsBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteComment Delete one comment
//
// Corresponds with DELETE /api/community/comments/{id} (the `DeleteComment` operationId).
DeleteComment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetComment Get comment thread
//
// Corresponds with GET /api/community/comments/{id} (the `GetComment` operationId).
GetComment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCommentWithBody Update one comment
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/community/comments/{id} (the `UpdateComment` operationId).
UpdateCommentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateComment Update one comment
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/community/comments/{id} (the `UpdateComment` operationId).
UpdateComment(ctx context.Context, id string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveCommentReaction Remove one reaction from a comment
//
// Corresponds with DELETE /api/community/comments/{id}/reactions (the `RemoveCommentReaction` operationId).
RemoveCommentReaction(ctx context.Context, id string, params *RemoveCommentReactionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddCommentReactionWithBody Add one reaction to a comment
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
AddCommentReactionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddCommentReaction Add one reaction to a comment
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
AddCommentReaction(ctx context.Context, id string, body AddCommentReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCommunityCommentsIdReplies Continue a bounded reply preview for one comment root
//
// Corresponds with GET /api/community/comments/{id}/replies (the `GetApiCommunityCommentsIdReplies` operationId).
GetApiCommunityCommentsIdReplies(ctx context.Context, id string, params *GetApiCommunityCommentsIdRepliesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDescription Get description history
//
// Corresponds with GET /api/community/descriptions (the `GetDescription` operationId).
GetDescription(ctx context.Context, params *GetDescriptionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertDescriptionWithBody Upsert description
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/community/descriptions (the `UpsertDescription` operationId).
UpsertDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertDescription Upsert description
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/community/descriptions (the `UpsertDescription` operationId).
UpsertDescription(ctx context.Context, body UpsertDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunitySectionHomeworkList List shared section homeworks
//
// Corresponds with GET /api/community/section-homeworks (the `CommunitySectionHomeworkList` operationId).
CommunitySectionHomeworkList(ctx context.Context, params *CommunitySectionHomeworkListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunitySectionHomeworkCreateWithBody Create one shared section homework
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
CommunitySectionHomeworkCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunitySectionHomeworkCreate Create one shared section homework
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
CommunitySectionHomeworkCreate(ctx context.Context, body CommunitySectionHomeworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCommunitySectionHomeworksAudit List section homework audit history after an explicit request
//
// Corresponds with GET /api/community/section-homeworks/audit (the `GetApiCommunitySectionHomeworksAudit` operationId).
GetApiCommunitySectionHomeworksAudit(ctx context.Context, params *GetApiCommunitySectionHomeworksAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunitySectionHomeworkDelete Soft delete a shared section homework as its unsuspended creator
//
// Corresponds with DELETE /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkDelete` operationId).
CommunitySectionHomeworkDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiCommunitySectionHomeworksId Read one shared section homework with its detail relations and audit history
//
// Corresponds with GET /api/community/section-homeworks/{id} (the `GetApiCommunitySectionHomeworksId` operationId).
GetApiCommunitySectionHomeworksId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunitySectionHomeworkUpdateWithBody Update one shared section homework
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
CommunitySectionHomeworkUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunitySectionHomeworkUpdate Update one shared section homework
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
CommunitySectionHomeworkUpdate(ctx context.Context, id string, body CommunitySectionHomeworkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CommunityUserGet Get one public community user
//
// Corresponds with GET /api/community/users/{identifier} (the `CommunityUserGet` operationId).
CommunityUserGet(ctx context.Context, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListHealth Check process liveness
//
// Corresponds with GET /api/health (the `ListHealth` operationId).
ListHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiIngestionPublicationsBatchesWithBody Ingest a crawler publication batch
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
PostApiIngestionPublicationsBatchesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiIngestionPublicationsBatches Ingest a crawler publication batch
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
PostApiIngestionPublicationsBatches(ctx context.Context, body PostApiIngestionPublicationsBatchesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiIngestionPublicationsObjectsPlanWithBody Plan content-addressed publication object uploads
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
PostApiIngestionPublicationsObjectsPlanWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiIngestionPublicationsObjectsPlan Plan content-addressed publication object uploads
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
PostApiIngestionPublicationsObjectsPlan(ctx context.Context, body PostApiIngestionPublicationsObjectsPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiIngestionPublicationsObjectsBatchIdKindSha256 Stream and verify one content-addressed publication object through the
//
// Corresponds with PUT /api/ingestion/publications/objects/{batchId}/{kind}/{sha256} (the `PutApiIngestionPublicationsObjectsBatchIdKindSha256` operationId).
PutApiIngestionPublicationsObjectsBatchIdKindSha256(ctx context.Context, batchId string, kind PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiMcp Close an MCP Streamable HTTP transport session
//
// Corresponds with DELETE /api/mcp (the `DeleteApiMcp` operationId).
DeleteApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMcp Standalone GET streams are disabled for the stateless MCP transport
//
// Corresponds with GET /api/mcp (the `ListMcp` operationId).
ListMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OptionsApiMcp Return MCP transport CORS preflight headers
//
// Corresponds with OPTIONS /api/mcp (the `OptionsApiMcp` operationId).
OptionsApiMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMcp Send an MCP Streamable HTTP JSON-RPC message
//
// Corresponds with POST /api/mcp (the `CreateMcp` operationId).
CreateMcp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOpenApiSpec Get OpenAPI document
//
// Corresponds with GET /api/openapi (the `GetOpenApiSpec` operationId).
GetOpenApiSpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiPublications List public USTC news and notices
//
// Corresponds with GET /api/publications (the `GetApiPublications` operationId).
GetApiPublications(ctx context.Context, params *GetApiPublicationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiPublicationsImagesHash Lazily fetch and cache an image referenced by a public publication's
//
// Corresponds with GET /api/publications/images/{hash} (the `GetApiPublicationsImagesHash` operationId).
GetApiPublicationsImagesHash(ctx context.Context, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiPublicationsObjectsKindSha256 Read a verified object linked to a public publication revision
//
// Corresponds with GET /api/publications/objects/{kind}/{sha256} (the `GetApiPublicationsObjectsKindSha256` operationId).
GetApiPublicationsObjectsKindSha256(ctx context.Context, kind GetApiPublicationsObjectsKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiPublicationsSources List registered publication sources grouped by organization level
//
// Corresponds with GET /api/publications/sources (the `GetApiPublicationsSources` operationId).
GetApiPublicationsSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiPublicationsId Get one public USTC news item or notice
//
// Corresponds with GET /api/publications/{id} (the `GetApiPublicationsId` operationId).
GetApiPublicationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiSearch Global search across catalog and workspace entities
//
// Corresponds with GET /api/search (the `GetApiSearch` operationId).
GetApiSearch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceBusPreferencesGet Get bus preferences
//
// Corresponds with GET /api/workspace/bus-preferences (the `WorkspaceBusPreferencesGet` operationId).
WorkspaceBusPreferencesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceBusPreferencesSetWithBody Update bus preferences
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
WorkspaceBusPreferencesSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceBusPreferencesSet Update bus preferences
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
WorkspaceBusPreferencesSet(ctx context.Context, body WorkspaceBusPreferencesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceCalendarEvents List complete personal calendar events by date range, with explicit pagination
//
// Corresponds with GET /api/workspace/calendar/events (the `GetApiWorkspaceCalendarEvents` operationId).
GetApiWorkspaceCalendarEvents(ctx context.Context, params *GetApiWorkspaceCalendarEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceExamList List exams across the current user's subscribed sections and semesters
//
// Corresponds with GET /api/workspace/exams (the `WorkspaceExamList` operationId).
WorkspaceExamList(ctx context.Context, params *WorkspaceExamListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubscribedHomeworks List subscribed homeworks
//
// Corresponds with GET /api/workspace/homeworks (the `GetSubscribedHomeworks` operationId).
GetSubscribedHomeworks(ctx context.Context, params *GetSubscribedHomeworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiHomeworksCompletionsWithBody Update homework completions in a batch
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
PutApiHomeworksCompletionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiHomeworksCompletions Update homework completions in a batch
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
PutApiHomeworksCompletions(ctx context.Context, body PutApiHomeworksCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetHomeworkCompletionWithBody Update homework completion
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
SetHomeworkCompletionWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetHomeworkCompletion Update homework completion
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
SetHomeworkCompletion(ctx context.Context, id string, body SetHomeworkCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceLinkPinList List the current user's pinned campus links
//
// Corresponds with GET /api/workspace/link-pins (the `WorkspaceLinkPinList` operationId).
WorkspaceLinkPinList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceLinkPinSetWithBody Set one campus link pin
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
WorkspaceLinkPinSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceLinkPinSetWithFormdataBody Set one campus link pin
//
// Takes a body of the `application/x-www-form-urlencoded` content type.
//
// Corresponds with POST /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
WorkspaceLinkPinSetWithFormdataBody(ctx context.Context, body WorkspaceLinkPinSetFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceLinkPinBatchSetWithBody Set multiple campus link pins
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
WorkspaceLinkPinBatchSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceLinkPinBatchSet Set multiple campus link pins
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
WorkspaceLinkPinBatchSet(ctx context.Context, body WorkspaceLinkPinBatchSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceOverviewGet Get a compact current-user overview for lightweight clients
//
// Corresponds with GET /api/workspace/overview (the `WorkspaceOverviewGet` operationId).
WorkspaceOverviewGet(ctx context.Context, params *WorkspaceOverviewGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceOverviewActionable Get the complete current-user action hierarchy and pending deadlines
//
// Corresponds with GET /api/workspace/overview/actionable (the `GetApiWorkspaceOverviewActionable` operationId).
GetApiWorkspaceOverviewActionable(ctx context.Context, params *GetApiWorkspaceOverviewActionableParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceScheduleList List schedules across the current user's subscribed sections
//
// Corresponds with GET /api/workspace/schedules (the `WorkspaceScheduleList` operationId).
WorkspaceScheduleList(ctx context.Context, params *WorkspaceScheduleListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiWorkspaceSubscriptionsWithBody Remove section subscriptions
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
DeleteApiWorkspaceSubscriptionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiWorkspaceSubscriptions Remove section subscriptions
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
DeleteApiWorkspaceSubscriptions(ctx context.Context, body DeleteApiWorkspaceSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppendCalendarSubscriptionSectionsWithBody Append section subscriptions
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
AppendCalendarSubscriptionSectionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppendCalendarSubscriptionSections Append section subscriptions
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
AppendCalendarSubscriptionSections(ctx context.Context, body AppendCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchUpdateCalendarSubscriptionWithBody Batch update calendar section subscriptions
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
BatchUpdateCalendarSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchUpdateCalendarSubscription Batch update calendar section subscriptions
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
BatchUpdateCalendarSubscription(ctx context.Context, body BatchUpdateCalendarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentCalendarSubscription Get section subscriptions
//
// Corresponds with GET /api/workspace/subscriptions/current (the `GetCurrentCalendarSubscription` operationId).
GetCurrentCalendarSubscription(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiWorkspaceSubscriptionsImportCodesWithBody Import section subscriptions by section codes
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
PostApiWorkspaceSubscriptionsImportCodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiWorkspaceSubscriptionsImportCodes Import section subscriptions by section codes
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
PostApiWorkspaceSubscriptionsImportCodes(ctx context.Context, body PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueryCalendarSubscriptionSectionsWithBody Query sections for calendar subscription changes
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
QueryCalendarSubscriptionSectionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueryCalendarSubscriptionSections Query sections for calendar subscription changes
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
QueryCalendarSubscriptionSections(ctx context.Context, body QueryCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchApiWorkspaceSubscriptionsJwIdWithBody Update an existing subscription's personal kind
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
PatchApiWorkspaceSubscriptionsJwIdWithBody(ctx context.Context, jwId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchApiWorkspaceSubscriptionsJwId Update an existing subscription's personal kind
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
PatchApiWorkspaceSubscriptionsJwId(ctx context.Context, jwId int64, body PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTodos List todos
//
// Corresponds with GET /api/workspace/todos (the `ListTodos` operationId).
ListTodos(ctx context.Context, params *ListTodosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTodoWithBody Create a todo
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/todos (the `CreateTodo` operationId).
CreateTodoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTodo Create a todo
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/todos (the `CreateTodo` operationId).
CreateTodo(ctx context.Context, body CreateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiTodosBatchWithBody Delete multiple todos by id
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
DeleteApiTodosBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiTodosBatch Delete multiple todos by id
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
DeleteApiTodosBatch(ctx context.Context, body DeleteApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchApiTodosBatchWithBody Update completion state for multiple todos
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
PatchApiTodosBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchApiTodosBatch Update completion state for multiple todos
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
PatchApiTodosBatch(ctx context.Context, body PatchApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTodo Delete one todo
//
// Corresponds with DELETE /api/workspace/todos/{id} (the `DeleteTodo` operationId).
DeleteTodo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTodoWithBody Update one todo
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/workspace/todos/{id} (the `UpdateTodo` operationId).
UpdateTodoWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTodo Update one todo
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/workspace/todos/{id} (the `UpdateTodo` operationId).
UpdateTodo(ctx context.Context, id string, body UpdateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUploads List uploads
//
// Corresponds with GET /api/workspace/uploads (the `ListUploads` operationId).
ListUploads(ctx context.Context, params *ListUploadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUploadWithBody Create a signed upload URL
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/uploads (the `CreateUpload` operationId).
CreateUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUpload Create a signed upload URL
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/uploads (the `CreateUpload` operationId).
CreateUpload(ctx context.Context, body CreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompleteUploadWithBody Complete upload
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/workspace/uploads/complete (the `CompleteUpload` operationId).
CompleteUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompleteUpload Complete upload
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/workspace/uploads/complete (the `CompleteUpload` operationId).
CompleteUpload(ctx context.Context, body CompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiUploadsObjectWithBody Write upload object
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/workspace/uploads/object (the `PutApiUploadsObject` operationId).
PutApiUploadsObjectWithBody(ctx context.Context, params *PutApiUploadsObjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUpload Delete one upload
//
// Corresponds with DELETE /api/workspace/uploads/{id} (the `DeleteUpload` operationId).
DeleteUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUploadWithBody Rename one upload
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
UpdateUploadWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUpload Rename one upload
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
UpdateUpload(ctx context.Context, id string, body UpdateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadUpload Download upload
//
// Corresponds with GET /api/workspace/uploads/{id}/download (the `DownloadUpload` operationId).
DownloadUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceYoungEventSubscriptions List personal young-event-subscriptions
//
// Corresponds with GET /api/workspace/young-event-subscriptions (the `GetApiWorkspaceYoungEventSubscriptions` operationId).
GetApiWorkspaceYoungEventSubscriptions(ctx context.Context, params *GetApiWorkspaceYoungEventSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceYoungEventSubscriptionsYoungId Read personal activity subscription state
//
// Corresponds with GET /api/workspace/young-event-subscriptions/{youngId} (the `GetApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
GetApiWorkspaceYoungEventSubscriptionsYoungId(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBody Set personal events subscription state. This does not register attendance
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBody(ctx context.Context, youngId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiWorkspaceYoungEventSubscriptionsYoungId Set personal events subscription state. This does not register attendance
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
PutApiWorkspaceYoungEventSubscriptionsYoungId(ctx context.Context, youngId string, body PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceYoungNotifications List personal young-notifications
//
// Corresponds with GET /api/workspace/young-notifications (the `GetApiWorkspaceYoungNotifications` operationId).
GetApiWorkspaceYoungNotifications(ctx context.Context, params *GetApiWorkspaceYoungNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiWorkspaceYoungNotificationsIdRead Mark a personal activity notification read
//
// Corresponds with POST /api/workspace/young-notifications/{id}/read (the `PostApiWorkspaceYoungNotificationsIdRead` operationId).
PostApiWorkspaceYoungNotificationsIdRead(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceYoungOrganizerSubscriptions List personal young-organizer-subscriptions
//
// Corresponds with GET /api/workspace/young-organizer-subscriptions (the `GetApiWorkspaceYoungOrganizerSubscriptions` operationId).
GetApiWorkspaceYoungOrganizerSubscriptions(ctx context.Context, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId Read personal organizer follow state
//
// Corresponds with GET /api/workspace/young-organizer-subscriptions/{organizerId} (the `GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBody Set personal organizers subscription state. This does not register attendance
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBody(ctx context.Context, organizerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId Set personal organizers subscription state. This does not register attendance
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId(ctx context.Context, organizerId string, body PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody, 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) AccountClientActivityListWithResponse ¶
func (c *ClientWithResponses) AccountClientActivityListWithResponse(ctx context.Context, params *AccountClientActivityListParams, reqEditors ...RequestEditorFn) (*AccountClientActivityListResponse, error)
AccountClientActivityListWithResponse List activity performed by the current OAuth client for the current user
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/account/client-activity (the `AccountClientActivityList` operationId).
func (*ClientWithResponses) AccountProfileGetWithResponse ¶
func (c *ClientWithResponses) AccountProfileGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountProfileGetResponse, error)
AccountProfileGetWithResponse Get the current account profile
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/account/profile (the `AccountProfileGet` operationId).
func (*ClientWithResponses) AddCommentReactionWithBodyWithResponse ¶
func (c *ClientWithResponses) AddCommentReactionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCommentReactionResponse, error)
AddCommentReactionWithBodyWithResponse Add one reaction to a comment
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 /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
func (*ClientWithResponses) AddCommentReactionWithResponse ¶
func (c *ClientWithResponses) AddCommentReactionWithResponse(ctx context.Context, id string, body AddCommentReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCommentReactionResponse, error)
AddCommentReactionWithResponse Add one reaction to a comment
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
func (*ClientWithResponses) AppendCalendarSubscriptionSectionsWithBodyWithResponse ¶
func (c *ClientWithResponses) AppendCalendarSubscriptionSectionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppendCalendarSubscriptionSectionsResponse, error)
AppendCalendarSubscriptionSectionsWithBodyWithResponse Append section subscriptions
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 /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
func (*ClientWithResponses) AppendCalendarSubscriptionSectionsWithResponse ¶
func (c *ClientWithResponses) AppendCalendarSubscriptionSectionsWithResponse(ctx context.Context, body AppendCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendCalendarSubscriptionSectionsResponse, error)
AppendCalendarSubscriptionSectionsWithResponse Append section subscriptions
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
func (*ClientWithResponses) BatchUpdateCalendarSubscriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchUpdateCalendarSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchUpdateCalendarSubscriptionResponse, error)
BatchUpdateCalendarSubscriptionWithBodyWithResponse Batch update calendar section subscriptions
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 /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
func (*ClientWithResponses) BatchUpdateCalendarSubscriptionWithResponse ¶
func (c *ClientWithResponses) BatchUpdateCalendarSubscriptionWithResponse(ctx context.Context, body BatchUpdateCalendarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchUpdateCalendarSubscriptionResponse, error)
BatchUpdateCalendarSubscriptionWithResponse Batch update calendar section subscriptions
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
func (*ClientWithResponses) CatalogBusDepartureNextWithResponse ¶
func (c *ClientWithResponses) CatalogBusDepartureNextWithResponse(ctx context.Context, params *CatalogBusDepartureNextParams, reqEditors ...RequestEditorFn) (*CatalogBusDepartureNextResponse, error)
CatalogBusDepartureNextWithResponse Get next shuttle bus departures for an origin and destination campus
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/bus/next (the `CatalogBusDepartureNext` operationId).
func (*ClientWithResponses) CatalogBusRouteSearchWithResponse ¶
func (c *ClientWithResponses) CatalogBusRouteSearchWithResponse(ctx context.Context, params *CatalogBusRouteSearchParams, reqEditors ...RequestEditorFn) (*CatalogBusRouteSearchResponse, error)
CatalogBusRouteSearchWithResponse Search shuttle bus route variants
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/bus/routes (the `CatalogBusRouteSearch` operationId).
func (*ClientWithResponses) CatalogBusTimetableGetWithResponse ¶
func (c *ClientWithResponses) CatalogBusTimetableGetWithResponse(ctx context.Context, params *CatalogBusTimetableGetParams, reqEditors ...RequestEditorFn) (*CatalogBusTimetableGetResponse, error)
CatalogBusTimetableGetWithResponse Query shuttle buses
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/bus (the `CatalogBusTimetableGet` operationId).
func (*ClientWithResponses) CatalogLinkListWithResponse ¶
func (c *ClientWithResponses) CatalogLinkListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogLinkListResponse, error)
CatalogLinkListWithResponse List public campus links
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/links (the `CatalogLinkList` operationId).
func (*ClientWithResponses) CatalogLinkResolveWithResponse ¶
func (c *ClientWithResponses) CatalogLinkResolveWithResponse(ctx context.Context, params *CatalogLinkResolveParams, reqEditors ...RequestEditorFn) (*CatalogLinkResolveResponse, error)
CatalogLinkResolveWithResponse Resolve a public campus link and record an authenticated visit
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/links/resolve (the `CatalogLinkResolve` operationId).
func (*ClientWithResponses) CatalogRoomsMapWithResponse ¶
func (c *ClientWithResponses) CatalogRoomsMapWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*CatalogRoomsMapResponse, error)
CatalogRoomsMapWithResponse Look up a room's highlighted map or an available building overview
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/rooms/{code}/map (the `CatalogRoomsMap` operationId).
func (*ClientWithResponses) CatalogWeatherGetWithResponse ¶
func (c *ClientWithResponses) CatalogWeatherGetWithResponse(ctx context.Context, params *CatalogWeatherGetParams, reqEditors ...RequestEditorFn) (*CatalogWeatherGetResponse, error)
CatalogWeatherGetWithResponse Query weather for a USTC campus
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/weather (the `CatalogWeatherGet` operationId).
func (*ClientWithResponses) CommunitySectionHomeworkCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) CommunitySectionHomeworkCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkCreateResponse, error)
CommunitySectionHomeworkCreateWithBodyWithResponse Create one shared section homework
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 /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
func (*ClientWithResponses) CommunitySectionHomeworkCreateWithResponse ¶
func (c *ClientWithResponses) CommunitySectionHomeworkCreateWithResponse(ctx context.Context, body CommunitySectionHomeworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkCreateResponse, error)
CommunitySectionHomeworkCreateWithResponse Create one shared section homework
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
func (*ClientWithResponses) CommunitySectionHomeworkDeleteWithResponse ¶
func (c *ClientWithResponses) CommunitySectionHomeworkDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkDeleteResponse, error)
CommunitySectionHomeworkDeleteWithResponse Soft delete a shared section homework as its unsuspended creator
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkDelete` operationId).
func (*ClientWithResponses) CommunitySectionHomeworkListWithResponse ¶
func (c *ClientWithResponses) CommunitySectionHomeworkListWithResponse(ctx context.Context, params *CommunitySectionHomeworkListParams, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkListResponse, error)
CommunitySectionHomeworkListWithResponse List shared section homeworks
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/section-homeworks (the `CommunitySectionHomeworkList` operationId).
func (*ClientWithResponses) CommunitySectionHomeworkUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) CommunitySectionHomeworkUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkUpdateResponse, error)
CommunitySectionHomeworkUpdateWithBodyWithResponse Update one shared section homework
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 /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
func (*ClientWithResponses) CommunitySectionHomeworkUpdateWithResponse ¶
func (c *ClientWithResponses) CommunitySectionHomeworkUpdateWithResponse(ctx context.Context, id string, body CommunitySectionHomeworkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkUpdateResponse, error)
CommunitySectionHomeworkUpdateWithResponse Update one shared section homework
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
func (*ClientWithResponses) CommunityUserGetWithResponse ¶
func (c *ClientWithResponses) CommunityUserGetWithResponse(ctx context.Context, identifier string, reqEditors ...RequestEditorFn) (*CommunityUserGetResponse, error)
CommunityUserGetWithResponse Get one public community user
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/users/{identifier} (the `CommunityUserGet` operationId).
func (*ClientWithResponses) CompleteUploadWithBodyWithResponse ¶
func (c *ClientWithResponses) CompleteUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteUploadResponse, error)
CompleteUploadWithBodyWithResponse Complete upload
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 /api/workspace/uploads/complete (the `CompleteUpload` operationId).
func (*ClientWithResponses) CompleteUploadWithResponse ¶
func (c *ClientWithResponses) CompleteUploadWithResponse(ctx context.Context, body CompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteUploadResponse, error)
CompleteUploadWithResponse Complete upload
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/uploads/complete (the `CompleteUpload` operationId).
func (*ClientWithResponses) CreateAdminSuspensionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAdminSuspensionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAdminSuspensionResponse, error)
CreateAdminSuspensionWithBodyWithResponse Create suspension for one user
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 /api/admin/suspensions (the `CreateAdminSuspension` operationId).
func (*ClientWithResponses) CreateAdminSuspensionWithResponse ¶
func (c *ClientWithResponses) CreateAdminSuspensionWithResponse(ctx context.Context, body CreateAdminSuspensionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAdminSuspensionResponse, error)
CreateAdminSuspensionWithResponse Create suspension for one user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/admin/suspensions (the `CreateAdminSuspension` operationId).
func (*ClientWithResponses) CreateCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCommentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
CreateCommentWithBodyWithResponse Create one comment
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 /api/community/comments (the `CreateComment` operationId).
func (*ClientWithResponses) CreateCommentWithResponse ¶
func (c *ClientWithResponses) CreateCommentWithResponse(ctx context.Context, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
CreateCommentWithResponse Create one comment
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/community/comments (the `CreateComment` operationId).
func (*ClientWithResponses) CreateMcpWithResponse ¶
func (c *ClientWithResponses) CreateMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateMcpResponse, error)
CreateMcpWithResponse Send an MCP Streamable HTTP JSON-RPC message
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/mcp (the `CreateMcp` operationId).
func (*ClientWithResponses) CreateTodoWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTodoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTodoResponse, error)
CreateTodoWithBodyWithResponse Create a todo
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 /api/workspace/todos (the `CreateTodo` operationId).
func (*ClientWithResponses) CreateTodoWithResponse ¶
func (c *ClientWithResponses) CreateTodoWithResponse(ctx context.Context, body CreateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTodoResponse, error)
CreateTodoWithResponse Create a todo
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/todos (the `CreateTodo` operationId).
func (*ClientWithResponses) CreateUploadWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUploadResponse, error)
CreateUploadWithBodyWithResponse Create a signed upload URL
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 /api/workspace/uploads (the `CreateUpload` operationId).
func (*ClientWithResponses) CreateUploadWithResponse ¶
func (c *ClientWithResponses) CreateUploadWithResponse(ctx context.Context, body CreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUploadResponse, error)
CreateUploadWithResponse Create a signed upload URL
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/uploads (the `CreateUpload` operationId).
func (*ClientWithResponses) DeleteAdminHomeworkWithResponse ¶
func (c *ClientWithResponses) DeleteAdminHomeworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAdminHomeworkResponse, error)
DeleteAdminHomeworkWithResponse Delete one homework
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/admin/homeworks/{id} (the `DeleteAdminHomework` operationId).
func (*ClientWithResponses) DeleteApiCommentsBatchWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteApiCommentsBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteApiCommentsBatchResponse, error)
DeleteApiCommentsBatchWithBodyWithResponse Delete multiple comments owned by the current user
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
func (*ClientWithResponses) DeleteApiCommentsBatchWithResponse ¶
func (c *ClientWithResponses) DeleteApiCommentsBatchWithResponse(ctx context.Context, body DeleteApiCommentsBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteApiCommentsBatchResponse, error)
DeleteApiCommentsBatchWithResponse Delete multiple comments owned by the current user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
func (*ClientWithResponses) DeleteApiMcpWithResponse ¶
func (c *ClientWithResponses) DeleteApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteApiMcpResponse, error)
DeleteApiMcpWithResponse Close an MCP Streamable HTTP transport session
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/mcp (the `DeleteApiMcp` operationId).
func (*ClientWithResponses) DeleteApiTodosBatchWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteApiTodosBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteApiTodosBatchResponse, error)
DeleteApiTodosBatchWithBodyWithResponse Delete multiple todos by id
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
func (*ClientWithResponses) DeleteApiTodosBatchWithResponse ¶
func (c *ClientWithResponses) DeleteApiTodosBatchWithResponse(ctx context.Context, body DeleteApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteApiTodosBatchResponse, error)
DeleteApiTodosBatchWithResponse Delete multiple todos by id
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
func (*ClientWithResponses) DeleteApiWorkspaceSubscriptionsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteApiWorkspaceSubscriptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteApiWorkspaceSubscriptionsResponse, error)
DeleteApiWorkspaceSubscriptionsWithBodyWithResponse Remove section subscriptions
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
func (*ClientWithResponses) DeleteApiWorkspaceSubscriptionsWithResponse ¶
func (c *ClientWithResponses) DeleteApiWorkspaceSubscriptionsWithResponse(ctx context.Context, body DeleteApiWorkspaceSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteApiWorkspaceSubscriptionsResponse, error)
DeleteApiWorkspaceSubscriptionsWithResponse Remove section subscriptions
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
func (*ClientWithResponses) DeleteCommentWithResponse ¶
func (c *ClientWithResponses) DeleteCommentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCommentResponse, error)
DeleteCommentWithResponse Delete one comment
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/community/comments/{id} (the `DeleteComment` operationId).
func (*ClientWithResponses) DeleteTodoWithResponse ¶
func (c *ClientWithResponses) DeleteTodoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTodoResponse, error)
DeleteTodoWithResponse Delete one todo
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/workspace/todos/{id} (the `DeleteTodo` operationId).
func (*ClientWithResponses) DeleteUploadWithResponse ¶
func (c *ClientWithResponses) DeleteUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUploadResponse, error)
DeleteUploadWithResponse Delete one upload
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/workspace/uploads/{id} (the `DeleteUpload` operationId).
func (*ClientWithResponses) DownloadUploadWithResponse ¶
func (c *ClientWithResponses) DownloadUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadUploadResponse, error)
DownloadUploadWithResponse Download upload
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/uploads/{id}/download (the `DownloadUpload` operationId).
func (*ClientWithResponses) GetApiAuthOauth2TokenWithResponse ¶
func (c *ClientWithResponses) GetApiAuthOauth2TokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiAuthOauth2TokenResponse, error)
GetApiAuthOauth2TokenWithResponse Return method guidance for OAuth token clients
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/auth/oauth2/token (the `GetApiAuthOauth2Token` operationId).
func (*ClientWithResponses) GetApiAuthWellKnownOpenidConfigurationWithResponse ¶
func (c *ClientWithResponses) GetApiAuthWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiAuthWellKnownOpenidConfigurationResponse, error)
GetApiAuthWellKnownOpenidConfigurationWithResponse OpenID Connect discovery metadata for issuer `/api/auth`
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/auth/.well-known/openid-configuration (the `GetApiAuthWellKnownOpenidConfiguration` operationId).
func (*ClientWithResponses) GetApiCatalogCoursesJwIdSectionsWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogCoursesJwIdSectionsWithResponse(ctx context.Context, jwId int64, params *GetApiCatalogCoursesJwIdSectionsParams, reqEditors ...RequestEditorFn) (*GetApiCatalogCoursesJwIdSectionsResponse, error)
GetApiCatalogCoursesJwIdSectionsWithResponse Get complete course section history, including retired offerings
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/courses/{jwId}/sections (the `GetApiCatalogCoursesJwIdSections` operationId).
func (*ClientWithResponses) GetApiCatalogTeachersIdSectionsWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogTeachersIdSectionsWithResponse(ctx context.Context, id string, params *GetApiCatalogTeachersIdSectionsParams, reqEditors ...RequestEditorFn) (*GetApiCatalogTeachersIdSectionsResponse, error)
GetApiCatalogTeachersIdSectionsWithResponse Get complete teacher section history, including retired offerings
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/teachers/{id}/sections (the `GetApiCatalogTeachersIdSections` operationId).
func (*ClientWithResponses) GetApiCatalogYoungEventsImagesPathWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogYoungEventsImagesPathWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsImagesPathResponse, error)
GetApiCatalogYoungEventsImagesPathWithResponse Serve a cached rich-text inline image for second-classroom (Young) events by
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/young-events/images/{path} (the `GetApiCatalogYoungEventsImagesPath` operationId).
func (*ClientWithResponses) GetApiCatalogYoungEventsWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogYoungEventsWithResponse(ctx context.Context, params *GetApiCatalogYoungEventsParams, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsResponse, error)
GetApiCatalogYoungEventsWithResponse List second-classroom (Young) signup events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/young-events (the `GetApiCatalogYoungEvents` operationId).
func (*ClientWithResponses) GetApiCatalogYoungEventsYoungIdImageWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogYoungEventsYoungIdImageWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsYoungIdImageResponse, error)
GetApiCatalogYoungEventsYoungIdImageWithResponse Redirect to the current immutable poster representation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/young-events/{youngId}/image (the `GetApiCatalogYoungEventsYoungIdImage` operationId).
func (*ClientWithResponses) GetApiCatalogYoungEventsYoungIdWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogYoungEventsYoungIdWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsYoungIdResponse, error)
GetApiCatalogYoungEventsYoungIdWithResponse Get a second-classroom (Young) signup event
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/young-events/{youngId} (the `GetApiCatalogYoungEventsYoungId` operationId).
func (*ClientWithResponses) GetApiCatalogYoungOrganizersOrganizerIdWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogYoungOrganizersOrganizerIdWithResponse(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungOrganizersOrganizerIdResponse, error)
GetApiCatalogYoungOrganizersOrganizerIdWithResponse Fetch one normalized Young organizer and its event groups
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/young-organizers/{organizerId} (the `GetApiCatalogYoungOrganizersOrganizerId` operationId).
func (*ClientWithResponses) GetApiCatalogYoungOrganizersWithResponse ¶
func (c *ClientWithResponses) GetApiCatalogYoungOrganizersWithResponse(ctx context.Context, params *GetApiCatalogYoungOrganizersParams, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungOrganizersResponse, error)
GetApiCatalogYoungOrganizersWithResponse List normalized Young organizers and their active, upcoming, and historical
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/young-organizers (the `GetApiCatalogYoungOrganizers` operationId).
func (*ClientWithResponses) GetApiCommunityCommentsIdRepliesWithResponse ¶
func (c *ClientWithResponses) GetApiCommunityCommentsIdRepliesWithResponse(ctx context.Context, id string, params *GetApiCommunityCommentsIdRepliesParams, reqEditors ...RequestEditorFn) (*GetApiCommunityCommentsIdRepliesResponse, error)
GetApiCommunityCommentsIdRepliesWithResponse Continue a bounded reply preview for one comment root
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/comments/{id}/replies (the `GetApiCommunityCommentsIdReplies` operationId).
func (*ClientWithResponses) GetApiCommunitySectionHomeworksAuditWithResponse ¶
func (c *ClientWithResponses) GetApiCommunitySectionHomeworksAuditWithResponse(ctx context.Context, params *GetApiCommunitySectionHomeworksAuditParams, reqEditors ...RequestEditorFn) (*GetApiCommunitySectionHomeworksAuditResponse, error)
GetApiCommunitySectionHomeworksAuditWithResponse List section homework audit history after an explicit request
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/section-homeworks/audit (the `GetApiCommunitySectionHomeworksAudit` operationId).
func (*ClientWithResponses) GetApiCommunitySectionHomeworksIdWithResponse ¶
func (c *ClientWithResponses) GetApiCommunitySectionHomeworksIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetApiCommunitySectionHomeworksIdResponse, error)
GetApiCommunitySectionHomeworksIdWithResponse Read one shared section homework with its detail relations and audit history
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/section-homeworks/{id} (the `GetApiCommunitySectionHomeworksId` operationId).
func (*ClientWithResponses) GetApiPublicationsIdWithResponse ¶
func (c *ClientWithResponses) GetApiPublicationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetApiPublicationsIdResponse, error)
GetApiPublicationsIdWithResponse Get one public USTC news item or notice
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/publications/{id} (the `GetApiPublicationsId` operationId).
func (*ClientWithResponses) GetApiPublicationsImagesHashWithResponse ¶
func (c *ClientWithResponses) GetApiPublicationsImagesHashWithResponse(ctx context.Context, hash string, reqEditors ...RequestEditorFn) (*GetApiPublicationsImagesHashResponse, error)
GetApiPublicationsImagesHashWithResponse Lazily fetch and cache an image referenced by a public publication's
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/publications/images/{hash} (the `GetApiPublicationsImagesHash` operationId).
func (*ClientWithResponses) GetApiPublicationsObjectsKindSha256WithResponse ¶
func (c *ClientWithResponses) GetApiPublicationsObjectsKindSha256WithResponse(ctx context.Context, kind GetApiPublicationsObjectsKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*GetApiPublicationsObjectsKindSha256Response, error)
GetApiPublicationsObjectsKindSha256WithResponse Read a verified object linked to a public publication revision
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/publications/objects/{kind}/{sha256} (the `GetApiPublicationsObjectsKindSha256` operationId).
func (*ClientWithResponses) GetApiPublicationsSourcesWithResponse ¶
func (c *ClientWithResponses) GetApiPublicationsSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiPublicationsSourcesResponse, error)
GetApiPublicationsSourcesWithResponse List registered publication sources grouped by organization level
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/publications/sources (the `GetApiPublicationsSources` operationId).
func (*ClientWithResponses) GetApiPublicationsWithResponse ¶
func (c *ClientWithResponses) GetApiPublicationsWithResponse(ctx context.Context, params *GetApiPublicationsParams, reqEditors ...RequestEditorFn) (*GetApiPublicationsResponse, error)
GetApiPublicationsWithResponse List public USTC news and notices
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/publications (the `GetApiPublications` operationId).
func (*ClientWithResponses) GetApiSearchWithResponse ¶
func (c *ClientWithResponses) GetApiSearchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiSearchResponse, error)
GetApiSearchWithResponse Global search across catalog and workspace entities
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/search (the `GetApiSearch` operationId).
func (*ClientWithResponses) GetApiWorkspaceCalendarEventsWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceCalendarEventsWithResponse(ctx context.Context, params *GetApiWorkspaceCalendarEventsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceCalendarEventsResponse, error)
GetApiWorkspaceCalendarEventsWithResponse List complete personal calendar events by date range, with explicit pagination
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/calendar/events (the `GetApiWorkspaceCalendarEvents` operationId).
func (*ClientWithResponses) GetApiWorkspaceOverviewActionableWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceOverviewActionableWithResponse(ctx context.Context, params *GetApiWorkspaceOverviewActionableParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceOverviewActionableResponse, error)
GetApiWorkspaceOverviewActionableWithResponse Get the complete current-user action hierarchy and pending deadlines
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/overview/actionable (the `GetApiWorkspaceOverviewActionable` operationId).
func (*ClientWithResponses) GetApiWorkspaceYoungEventSubscriptionsWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceYoungEventSubscriptionsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungEventSubscriptionsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungEventSubscriptionsResponse, error)
GetApiWorkspaceYoungEventSubscriptionsWithResponse List personal young-event-subscriptions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/young-event-subscriptions (the `GetApiWorkspaceYoungEventSubscriptions` operationId).
func (*ClientWithResponses) GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse Read personal activity subscription state
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/young-event-subscriptions/{youngId} (the `GetApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
func (*ClientWithResponses) GetApiWorkspaceYoungNotificationsWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceYoungNotificationsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungNotificationsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungNotificationsResponse, error)
GetApiWorkspaceYoungNotificationsWithResponse List personal young-notifications
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/young-notifications (the `GetApiWorkspaceYoungNotifications` operationId).
func (*ClientWithResponses) GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse Read personal organizer follow state
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/young-organizer-subscriptions/{organizerId} (the `GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
func (*ClientWithResponses) GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse ¶
func (c *ClientWithResponses) GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungOrganizerSubscriptionsResponse, error)
GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse List personal young-organizer-subscriptions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/young-organizer-subscriptions (the `GetApiWorkspaceYoungOrganizerSubscriptions` operationId).
func (*ClientWithResponses) GetCommentWithResponse ¶
func (c *ClientWithResponses) GetCommentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCommentResponse, error)
GetCommentWithResponse Get comment thread
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/comments/{id} (the `GetComment` operationId).
func (*ClientWithResponses) GetCourseWithResponse ¶
func (c *ClientWithResponses) GetCourseWithResponse(ctx context.Context, jwId int64, params *GetCourseParams, reqEditors ...RequestEditorFn) (*GetCourseResponse, error)
GetCourseWithResponse Get course
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/courses/{jwId} (the `GetCourse` operationId).
func (*ClientWithResponses) GetCurrentCalendarSubscriptionWithResponse ¶
func (c *ClientWithResponses) GetCurrentCalendarSubscriptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentCalendarSubscriptionResponse, error)
GetCurrentCalendarSubscriptionWithResponse Get section subscriptions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/subscriptions/current (the `GetCurrentCalendarSubscription` operationId).
func (*ClientWithResponses) GetCurrentSemesterWithResponse ¶
func (c *ClientWithResponses) GetCurrentSemesterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentSemesterResponse, error)
GetCurrentSemesterWithResponse Get current semester
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/semesters/current (the `GetCurrentSemester` operationId).
func (*ClientWithResponses) GetDescriptionWithResponse ¶
func (c *ClientWithResponses) GetDescriptionWithResponse(ctx context.Context, params *GetDescriptionParams, reqEditors ...RequestEditorFn) (*GetDescriptionResponse, error)
GetDescriptionWithResponse Get description history
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/descriptions (the `GetDescription` operationId).
func (*ClientWithResponses) GetMetadataWithResponse ¶
func (c *ClientWithResponses) GetMetadataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetadataResponse, error)
GetMetadataWithResponse Get metadata
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/metadata (the `GetMetadata` operationId).
func (*ClientWithResponses) GetOpenApiSpecWithResponse ¶
func (c *ClientWithResponses) GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResponse, error)
GetOpenApiSpecWithResponse Get OpenAPI document
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/openapi (the `GetOpenApiSpec` operationId).
func (*ClientWithResponses) GetSectionCalendarWithResponse ¶
func (c *ClientWithResponses) GetSectionCalendarWithResponse(ctx context.Context, jwId int64, reqEditors ...RequestEditorFn) (*GetSectionCalendarResponse, error)
GetSectionCalendarWithResponse Generate section calendar
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/sections/{jwId}/calendar.ics (the `GetSectionCalendar` operationId).
func (*ClientWithResponses) GetSectionScheduleGroupsWithResponse ¶
func (c *ClientWithResponses) GetSectionScheduleGroupsWithResponse(ctx context.Context, jwId int64, params *GetSectionScheduleGroupsParams, reqEditors ...RequestEditorFn) (*GetSectionScheduleGroupsResponse, error)
GetSectionScheduleGroupsWithResponse Get schedule groups
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/sections/{jwId}/schedule-groups (the `GetSectionScheduleGroups` operationId).
func (*ClientWithResponses) GetSectionSchedulesWithResponse ¶
func (c *ClientWithResponses) GetSectionSchedulesWithResponse(ctx context.Context, jwId int64, params *GetSectionSchedulesParams, reqEditors ...RequestEditorFn) (*GetSectionSchedulesResponse, error)
GetSectionSchedulesWithResponse Get section schedules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/sections/{jwId}/schedules (the `GetSectionSchedules` operationId).
func (*ClientWithResponses) GetSectionWithResponse ¶
func (c *ClientWithResponses) GetSectionWithResponse(ctx context.Context, jwId int64, params *GetSectionParams, reqEditors ...RequestEditorFn) (*GetSectionResponse, error)
GetSectionWithResponse Get section
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/sections/{jwId} (the `GetSection` operationId).
func (*ClientWithResponses) GetSectionsCalendarWithResponse ¶
func (c *ClientWithResponses) GetSectionsCalendarWithResponse(ctx context.Context, params *GetSectionsCalendarParams, reqEditors ...RequestEditorFn) (*GetSectionsCalendarResponse, error)
GetSectionsCalendarWithResponse Generate sections calendar
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/sections/calendar.ics (the `GetSectionsCalendar` operationId).
func (*ClientWithResponses) GetSubscribedHomeworksWithResponse ¶
func (c *ClientWithResponses) GetSubscribedHomeworksWithResponse(ctx context.Context, params *GetSubscribedHomeworksParams, reqEditors ...RequestEditorFn) (*GetSubscribedHomeworksResponse, error)
GetSubscribedHomeworksWithResponse List subscribed homeworks
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/homeworks (the `GetSubscribedHomeworks` operationId).
func (*ClientWithResponses) GetTeacherWithResponse ¶
func (c *ClientWithResponses) GetTeacherWithResponse(ctx context.Context, id int64, params *GetTeacherParams, reqEditors ...RequestEditorFn) (*GetTeacherResponse, error)
GetTeacherWithResponse Get teacher
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/teachers/{id} (the `GetTeacher` operationId).
func (*ClientWithResponses) GetWellKnownAppleAppSiteAssociationWithResponse ¶
func (c *ClientWithResponses) GetWellKnownAppleAppSiteAssociationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownAppleAppSiteAssociationResponse, error)
GetWellKnownAppleAppSiteAssociationWithResponse Public Apple association for the native app's supported content routes
Returns a wrapper object for the known response body format(s).
Corresponds with GET /.well-known/apple-app-site-association (the `GetWellKnownAppleAppSiteAssociation` operationId).
func (*ClientWithResponses) GetWellKnownOauthAuthorizationServerApiAuthWithResponse ¶
func (c *ClientWithResponses) GetWellKnownOauthAuthorizationServerApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthAuthorizationServerApiAuthResponse, error)
GetWellKnownOauthAuthorizationServerApiAuthWithResponse Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
Returns a wrapper object for the known response body format(s).
Corresponds with GET /.well-known/oauth-authorization-server/api/auth (the `GetWellKnownOauthAuthorizationServerApiAuth` operationId).
func (*ClientWithResponses) GetWellKnownOauthProtectedResourceApiGraphqlWithResponse ¶
func (c *ClientWithResponses) GetWellKnownOauthProtectedResourceApiGraphqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthProtectedResourceApiGraphqlResponse, error)
GetWellKnownOauthProtectedResourceApiGraphqlWithResponse Canonical RFC 9728 protected resource metadata for GraphQL
Returns a wrapper object for the known response body format(s).
Corresponds with GET /.well-known/oauth-protected-resource/api/graphql (the `GetWellKnownOauthProtectedResourceApiGraphql` operationId).
func (*ClientWithResponses) GetWellKnownOauthProtectedResourceApiMcpWithResponse ¶
func (c *ClientWithResponses) GetWellKnownOauthProtectedResourceApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthProtectedResourceApiMcpResponse, error)
GetWellKnownOauthProtectedResourceApiMcpWithResponse Canonical RFC 9728 protected resource metadata for MCP
Returns a wrapper object for the known response body format(s).
Corresponds with GET /.well-known/oauth-protected-resource/api/mcp (the `GetWellKnownOauthProtectedResourceApiMcp` operationId).
func (*ClientWithResponses) GetWellKnownOpenidConfigurationApiAuthWithResponse ¶
func (c *ClientWithResponses) GetWellKnownOpenidConfigurationApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationApiAuthResponse, error)
GetWellKnownOpenidConfigurationApiAuthWithResponse RFC 8414-compatible path form for OpenID provider metadata
Returns a wrapper object for the known response body format(s).
Corresponds with GET /.well-known/openid-configuration/api/auth (the `GetWellKnownOpenidConfigurationApiAuth` operationId).
func (*ClientWithResponses) ListAdminCommentsWithResponse ¶
func (c *ClientWithResponses) ListAdminCommentsWithResponse(ctx context.Context, params *ListAdminCommentsParams, reqEditors ...RequestEditorFn) (*ListAdminCommentsResponse, error)
ListAdminCommentsWithResponse List moderation comments
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/admin/comments (the `ListAdminComments` operationId).
func (*ClientWithResponses) ListAdminDescriptionsWithResponse ¶
func (c *ClientWithResponses) ListAdminDescriptionsWithResponse(ctx context.Context, params *ListAdminDescriptionsParams, reqEditors ...RequestEditorFn) (*ListAdminDescriptionsResponse, error)
ListAdminDescriptionsWithResponse List descriptions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/admin/descriptions (the `ListAdminDescriptions` operationId).
func (*ClientWithResponses) ListAdminHomeworksWithResponse ¶
func (c *ClientWithResponses) ListAdminHomeworksWithResponse(ctx context.Context, params *ListAdminHomeworksParams, reqEditors ...RequestEditorFn) (*ListAdminHomeworksResponse, error)
ListAdminHomeworksWithResponse List moderation homeworks
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/admin/homeworks (the `ListAdminHomeworks` operationId).
func (*ClientWithResponses) ListAdminSuspensionsWithResponse ¶
func (c *ClientWithResponses) ListAdminSuspensionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAdminSuspensionsResponse, error)
ListAdminSuspensionsWithResponse List suspensions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/admin/suspensions (the `ListAdminSuspensions` operationId).
func (*ClientWithResponses) ListAdminUsersWithResponse ¶
func (c *ClientWithResponses) ListAdminUsersWithResponse(ctx context.Context, params *ListAdminUsersParams, reqEditors ...RequestEditorFn) (*ListAdminUsersResponse, error)
ListAdminUsersWithResponse List users
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/admin/users (the `ListAdminUsers` operationId).
func (*ClientWithResponses) ListCommentsWithResponse ¶
func (c *ClientWithResponses) ListCommentsWithResponse(ctx context.Context, params *ListCommentsParams, reqEditors ...RequestEditorFn) (*ListCommentsResponse, error)
ListCommentsWithResponse List comments
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/community/comments (the `ListComments` operationId).
func (*ClientWithResponses) ListCoursesWithResponse ¶
func (c *ClientWithResponses) ListCoursesWithResponse(ctx context.Context, params *ListCoursesParams, reqEditors ...RequestEditorFn) (*ListCoursesResponse, error)
ListCoursesWithResponse List courses
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/courses (the `ListCourses` operationId).
func (*ClientWithResponses) ListHealthWithResponse ¶
func (c *ClientWithResponses) ListHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListHealthResponse, error)
ListHealthWithResponse Check process liveness
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/health (the `ListHealth` operationId).
func (*ClientWithResponses) ListMcpWithResponse ¶
func (c *ClientWithResponses) ListMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMcpResponse, error)
ListMcpWithResponse Standalone GET streams are disabled for the stateless MCP transport
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/mcp (the `ListMcp` operationId).
func (*ClientWithResponses) ListSchedulesWithResponse ¶
func (c *ClientWithResponses) ListSchedulesWithResponse(ctx context.Context, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*ListSchedulesResponse, error)
ListSchedulesWithResponse List schedules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/schedules (the `ListSchedules` operationId).
func (*ClientWithResponses) ListSectionsWithResponse ¶
func (c *ClientWithResponses) ListSectionsWithResponse(ctx context.Context, params *ListSectionsParams, reqEditors ...RequestEditorFn) (*ListSectionsResponse, error)
ListSectionsWithResponse List sections
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/sections (the `ListSections` operationId).
func (*ClientWithResponses) ListSemestersWithResponse ¶
func (c *ClientWithResponses) ListSemestersWithResponse(ctx context.Context, params *ListSemestersParams, reqEditors ...RequestEditorFn) (*ListSemestersResponse, error)
ListSemestersWithResponse List semesters
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/semesters (the `ListSemesters` operationId).
func (*ClientWithResponses) ListTeachersWithResponse ¶
func (c *ClientWithResponses) ListTeachersWithResponse(ctx context.Context, params *ListTeachersParams, reqEditors ...RequestEditorFn) (*ListTeachersResponse, error)
ListTeachersWithResponse List teachers
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/catalog/teachers (the `ListTeachers` operationId).
func (*ClientWithResponses) ListTodosWithResponse ¶
func (c *ClientWithResponses) ListTodosWithResponse(ctx context.Context, params *ListTodosParams, reqEditors ...RequestEditorFn) (*ListTodosResponse, error)
ListTodosWithResponse List todos
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/todos (the `ListTodos` operationId).
func (*ClientWithResponses) ListUploadsWithResponse ¶
func (c *ClientWithResponses) ListUploadsWithResponse(ctx context.Context, params *ListUploadsParams, reqEditors ...RequestEditorFn) (*ListUploadsResponse, error)
ListUploadsWithResponse List uploads
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/uploads (the `ListUploads` operationId).
func (*ClientWithResponses) MatchSectionCodesWithBodyWithResponse ¶
func (c *ClientWithResponses) MatchSectionCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MatchSectionCodesResponse, error)
MatchSectionCodesWithBodyWithResponse Match section codes
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 /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
func (*ClientWithResponses) MatchSectionCodesWithResponse ¶
func (c *ClientWithResponses) MatchSectionCodesWithResponse(ctx context.Context, body MatchSectionCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*MatchSectionCodesResponse, error)
MatchSectionCodesWithResponse Match section codes
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
func (*ClientWithResponses) ModerateAdminCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) ModerateAdminCommentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModerateAdminCommentResponse, error)
ModerateAdminCommentWithBodyWithResponse Moderate one comment
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 /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
func (*ClientWithResponses) ModerateAdminCommentWithResponse ¶
func (c *ClientWithResponses) ModerateAdminCommentWithResponse(ctx context.Context, id string, body ModerateAdminCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*ModerateAdminCommentResponse, error)
ModerateAdminCommentWithResponse Moderate one comment
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
func (*ClientWithResponses) OptionsApiAuthOauth2DeviceAuthorizationWithResponse ¶
func (c *ClientWithResponses) OptionsApiAuthOauth2DeviceAuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiAuthOauth2DeviceAuthorizationResponse, error)
OptionsApiAuthOauth2DeviceAuthorizationWithResponse Return OAuth device authorization CORS preflight headers
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /api/auth/oauth2/device-authorization (the `OptionsApiAuthOauth2DeviceAuthorization` operationId).
func (*ClientWithResponses) OptionsApiAuthWellKnownOpenidConfigurationWithResponse ¶
func (c *ClientWithResponses) OptionsApiAuthWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiAuthWellKnownOpenidConfigurationResponse, error)
OptionsApiAuthWellKnownOpenidConfigurationWithResponse OpenID Connect discovery metadata for issuer `/api/auth`
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /api/auth/.well-known/openid-configuration (the `OptionsApiAuthWellKnownOpenidConfiguration` operationId).
func (*ClientWithResponses) OptionsApiMcpWithResponse ¶
func (c *ClientWithResponses) OptionsApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiMcpResponse, error)
OptionsApiMcpWithResponse Return MCP transport CORS preflight headers
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /api/mcp (the `OptionsApiMcp` operationId).
func (*ClientWithResponses) OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse ¶
func (c *ClientWithResponses) OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthAuthorizationServerApiAuthResponse, error)
OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /.well-known/oauth-authorization-server/api/auth (the `OptionsWellKnownOauthAuthorizationServerApiAuth` operationId).
func (*ClientWithResponses) OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse ¶
func (c *ClientWithResponses) OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthProtectedResourceApiGraphqlResponse, error)
OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse CORS preflight for GraphQL protected resource metadata
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/graphql (the `OptionsWellKnownOauthProtectedResourceApiGraphql` operationId).
func (*ClientWithResponses) OptionsWellKnownOauthProtectedResourceApiMcpWithResponse ¶
func (c *ClientWithResponses) OptionsWellKnownOauthProtectedResourceApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthProtectedResourceApiMcpResponse, error)
OptionsWellKnownOauthProtectedResourceApiMcpWithResponse Canonical RFC 9728 protected resource metadata for MCP
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/mcp (the `OptionsWellKnownOauthProtectedResourceApiMcp` operationId).
func (*ClientWithResponses) OptionsWellKnownOpenidConfigurationApiAuthWithResponse ¶
func (c *ClientWithResponses) OptionsWellKnownOpenidConfigurationApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOpenidConfigurationApiAuthResponse, error)
OptionsWellKnownOpenidConfigurationApiAuthWithResponse RFC 8414-compatible path form for OpenID provider metadata
Returns a wrapper object for the known response body format(s).
Corresponds with OPTIONS /.well-known/openid-configuration/api/auth (the `OptionsWellKnownOpenidConfigurationApiAuth` operationId).
func (*ClientWithResponses) PatchApiTodosBatchWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchApiTodosBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiTodosBatchResponse, error)
PatchApiTodosBatchWithBodyWithResponse Update completion state for multiple todos
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 /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
func (*ClientWithResponses) PatchApiTodosBatchWithResponse ¶
func (c *ClientWithResponses) PatchApiTodosBatchWithResponse(ctx context.Context, body PatchApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiTodosBatchResponse, error)
PatchApiTodosBatchWithResponse Update completion state for multiple todos
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
func (*ClientWithResponses) PatchApiWorkspaceSubscriptionsJwIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchApiWorkspaceSubscriptionsJwIdWithBodyWithResponse(ctx context.Context, jwId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
PatchApiWorkspaceSubscriptionsJwIdWithBodyWithResponse Update an existing subscription's personal kind
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 /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
func (*ClientWithResponses) PatchApiWorkspaceSubscriptionsJwIdWithResponse ¶
func (c *ClientWithResponses) PatchApiWorkspaceSubscriptionsJwIdWithResponse(ctx context.Context, jwId int64, body PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
PatchApiWorkspaceSubscriptionsJwIdWithResponse Update an existing subscription's personal kind
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
func (*ClientWithResponses) PostApiAuthOauth2DeviceAuthorizationWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiAuthOauth2DeviceAuthorizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
PostApiAuthOauth2DeviceAuthorizationWithBodyWithResponse Start OAuth 2.0 device authorization
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 /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
func (*ClientWithResponses) PostApiAuthOauth2DeviceAuthorizationWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) PostApiAuthOauth2DeviceAuthorizationWithFormdataBodyWithResponse(ctx context.Context, body PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
PostApiAuthOauth2DeviceAuthorizationWithFormdataBodyWithResponse Start OAuth 2.0 device authorization
Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
func (*ClientWithResponses) PostApiAuthOauth2TokenWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiAuthOauth2TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2TokenResponse, error)
PostApiAuthOauth2TokenWithBodyWithResponse Exchange OAuth 2.0 authorization/device/refresh grants for tokens
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 /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
func (*ClientWithResponses) PostApiAuthOauth2TokenWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) PostApiAuthOauth2TokenWithFormdataBodyWithResponse(ctx context.Context, body PostApiAuthOauth2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2TokenResponse, error)
PostApiAuthOauth2TokenWithFormdataBodyWithResponse Exchange OAuth 2.0 authorization/device/refresh grants for tokens
Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
func (*ClientWithResponses) PostApiIngestionPublicationsBatchesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiIngestionPublicationsBatchesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsBatchesResponse, error)
PostApiIngestionPublicationsBatchesWithBodyWithResponse Ingest a crawler publication batch
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 /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
func (*ClientWithResponses) PostApiIngestionPublicationsBatchesWithResponse ¶
func (c *ClientWithResponses) PostApiIngestionPublicationsBatchesWithResponse(ctx context.Context, body PostApiIngestionPublicationsBatchesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsBatchesResponse, error)
PostApiIngestionPublicationsBatchesWithResponse Ingest a crawler publication batch
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
func (*ClientWithResponses) PostApiIngestionPublicationsObjectsPlanWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiIngestionPublicationsObjectsPlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
PostApiIngestionPublicationsObjectsPlanWithBodyWithResponse Plan content-addressed publication object uploads
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 /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
func (*ClientWithResponses) PostApiIngestionPublicationsObjectsPlanWithResponse ¶
func (c *ClientWithResponses) PostApiIngestionPublicationsObjectsPlanWithResponse(ctx context.Context, body PostApiIngestionPublicationsObjectsPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
PostApiIngestionPublicationsObjectsPlanWithResponse Plan content-addressed publication object uploads
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
func (*ClientWithResponses) PostApiWorkspaceSubscriptionsImportCodesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiWorkspaceSubscriptionsImportCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
PostApiWorkspaceSubscriptionsImportCodesWithBodyWithResponse Import section subscriptions by section codes
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 /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
func (*ClientWithResponses) PostApiWorkspaceSubscriptionsImportCodesWithResponse ¶
func (c *ClientWithResponses) PostApiWorkspaceSubscriptionsImportCodesWithResponse(ctx context.Context, body PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
PostApiWorkspaceSubscriptionsImportCodesWithResponse Import section subscriptions by section codes
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
func (*ClientWithResponses) PostApiWorkspaceYoungNotificationsIdReadWithResponse ¶
func (c *ClientWithResponses) PostApiWorkspaceYoungNotificationsIdReadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostApiWorkspaceYoungNotificationsIdReadResponse, error)
PostApiWorkspaceYoungNotificationsIdReadWithResponse Mark a personal activity notification read
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/young-notifications/{id}/read (the `PostApiWorkspaceYoungNotificationsIdRead` operationId).
func (*ClientWithResponses) PutApiHomeworksCompletionsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutApiHomeworksCompletionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiHomeworksCompletionsResponse, error)
PutApiHomeworksCompletionsWithBodyWithResponse Update homework completions in a batch
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
func (*ClientWithResponses) PutApiHomeworksCompletionsWithResponse ¶
func (c *ClientWithResponses) PutApiHomeworksCompletionsWithResponse(ctx context.Context, body PutApiHomeworksCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiHomeworksCompletionsResponse, error)
PutApiHomeworksCompletionsWithResponse Update homework completions in a batch
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
func (*ClientWithResponses) PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse ¶
func (c *ClientWithResponses) PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse(ctx context.Context, batchId string, kind PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*PutApiIngestionPublicationsObjectsBatchIdKindSha256Response, error)
PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse Stream and verify one content-addressed publication object through the
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/ingestion/publications/objects/{batchId}/{kind}/{sha256} (the `PutApiIngestionPublicationsObjectsBatchIdKindSha256` operationId).
func (*ClientWithResponses) PutApiUploadsObjectWithBodyWithResponse ¶
func (c *ClientWithResponses) PutApiUploadsObjectWithBodyWithResponse(ctx context.Context, params *PutApiUploadsObjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiUploadsObjectResponse, error)
PutApiUploadsObjectWithBodyWithResponse Write upload object
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/uploads/object (the `PutApiUploadsObject` operationId).
func (*ClientWithResponses) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBodyWithResponse(ctx context.Context, youngId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBodyWithResponse Set personal events subscription state. This does not register attendance
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
func (*ClientWithResponses) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse ¶
func (c *ClientWithResponses) PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse(ctx context.Context, youngId string, body PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse Set personal events subscription state. This does not register attendance
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
func (*ClientWithResponses) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBodyWithResponse(ctx context.Context, organizerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBodyWithResponse Set personal organizers subscription state. This does not register attendance
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
func (*ClientWithResponses) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse ¶
func (c *ClientWithResponses) PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse(ctx context.Context, organizerId string, body PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse Set personal organizers subscription state. This does not register attendance
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
func (*ClientWithResponses) QueryCalendarSubscriptionSectionsWithBodyWithResponse ¶
func (c *ClientWithResponses) QueryCalendarSubscriptionSectionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryCalendarSubscriptionSectionsResponse, error)
QueryCalendarSubscriptionSectionsWithBodyWithResponse Query sections for calendar subscription changes
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 /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
func (*ClientWithResponses) QueryCalendarSubscriptionSectionsWithResponse ¶
func (c *ClientWithResponses) QueryCalendarSubscriptionSectionsWithResponse(ctx context.Context, body QueryCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryCalendarSubscriptionSectionsResponse, error)
QueryCalendarSubscriptionSectionsWithResponse Query sections for calendar subscription changes
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
func (*ClientWithResponses) RemoveCommentReactionWithResponse ¶
func (c *ClientWithResponses) RemoveCommentReactionWithResponse(ctx context.Context, id string, params *RemoveCommentReactionParams, reqEditors ...RequestEditorFn) (*RemoveCommentReactionResponse, error)
RemoveCommentReactionWithResponse Remove one reaction from a comment
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/community/comments/{id}/reactions (the `RemoveCommentReaction` operationId).
func (*ClientWithResponses) SetHomeworkCompletionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetHomeworkCompletionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetHomeworkCompletionResponse, error)
SetHomeworkCompletionWithBodyWithResponse Update homework completion
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
func (*ClientWithResponses) SetHomeworkCompletionWithResponse ¶
func (c *ClientWithResponses) SetHomeworkCompletionWithResponse(ctx context.Context, id string, body SetHomeworkCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetHomeworkCompletionResponse, error)
SetHomeworkCompletionWithResponse Update homework completion
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
func (*ClientWithResponses) SetLocaleWithBodyWithResponse ¶
func (c *ClientWithResponses) SetLocaleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLocaleResponse, error)
SetLocaleWithBodyWithResponse Update user locale cookie
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 /api/account/preferences (the `SetLocale` operationId).
func (*ClientWithResponses) SetLocaleWithResponse ¶
func (c *ClientWithResponses) SetLocaleWithResponse(ctx context.Context, body SetLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLocaleResponse, error)
SetLocaleWithResponse Update user locale cookie
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/account/preferences (the `SetLocale` operationId).
func (*ClientWithResponses) UpdateAdminDescriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAdminDescriptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminDescriptionResponse, error)
UpdateAdminDescriptionWithBodyWithResponse Update one description from moderation
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 /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
func (*ClientWithResponses) UpdateAdminDescriptionWithResponse ¶
func (c *ClientWithResponses) UpdateAdminDescriptionWithResponse(ctx context.Context, id string, body UpdateAdminDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminDescriptionResponse, error)
UpdateAdminDescriptionWithResponse Update one description from moderation
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
func (*ClientWithResponses) UpdateAdminSuspensionWithResponse ¶
func (c *ClientWithResponses) UpdateAdminSuspensionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpdateAdminSuspensionResponse, error)
UpdateAdminSuspensionWithResponse Lift one suspension
Returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/admin/suspensions/{id} (the `UpdateAdminSuspension` operationId).
func (*ClientWithResponses) UpdateAdminUserWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAdminUserWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminUserResponse, error)
UpdateAdminUserWithBodyWithResponse Update one user
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 /api/admin/users/{id} (the `UpdateAdminUser` operationId).
func (*ClientWithResponses) UpdateAdminUserWithResponse ¶
func (c *ClientWithResponses) UpdateAdminUserWithResponse(ctx context.Context, id string, body UpdateAdminUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminUserResponse, error)
UpdateAdminUserWithResponse Update one user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/admin/users/{id} (the `UpdateAdminUser` operationId).
func (*ClientWithResponses) UpdateCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCommentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)
UpdateCommentWithBodyWithResponse Update one comment
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 /api/community/comments/{id} (the `UpdateComment` operationId).
func (*ClientWithResponses) UpdateCommentWithResponse ¶
func (c *ClientWithResponses) UpdateCommentWithResponse(ctx context.Context, id string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)
UpdateCommentWithResponse Update one comment
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/community/comments/{id} (the `UpdateComment` operationId).
func (*ClientWithResponses) UpdateTodoWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateTodoWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTodoResponse, error)
UpdateTodoWithBodyWithResponse Update one todo
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 /api/workspace/todos/{id} (the `UpdateTodo` operationId).
func (*ClientWithResponses) UpdateTodoWithResponse ¶
func (c *ClientWithResponses) UpdateTodoWithResponse(ctx context.Context, id string, body UpdateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTodoResponse, error)
UpdateTodoWithResponse Update one todo
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/workspace/todos/{id} (the `UpdateTodo` operationId).
func (*ClientWithResponses) UpdateUploadWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUploadWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUploadResponse, error)
UpdateUploadWithBodyWithResponse Rename one upload
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 /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
func (*ClientWithResponses) UpdateUploadWithResponse ¶
func (c *ClientWithResponses) UpdateUploadWithResponse(ctx context.Context, id string, body UpdateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUploadResponse, error)
UpdateUploadWithResponse Rename one upload
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
func (*ClientWithResponses) UpsertDescriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertDescriptionResponse, error)
UpsertDescriptionWithBodyWithResponse Upsert description
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 /api/community/descriptions (the `UpsertDescription` operationId).
func (*ClientWithResponses) UpsertDescriptionWithResponse ¶
func (c *ClientWithResponses) UpsertDescriptionWithResponse(ctx context.Context, body UpsertDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertDescriptionResponse, error)
UpsertDescriptionWithResponse Upsert description
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/community/descriptions (the `UpsertDescription` operationId).
func (*ClientWithResponses) WorkspaceBusPreferencesGetWithResponse ¶
func (c *ClientWithResponses) WorkspaceBusPreferencesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesGetResponse, error)
WorkspaceBusPreferencesGetWithResponse Get bus preferences
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/bus-preferences (the `WorkspaceBusPreferencesGet` operationId).
func (*ClientWithResponses) WorkspaceBusPreferencesSetWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceBusPreferencesSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesSetResponse, error)
WorkspaceBusPreferencesSetWithBodyWithResponse Update bus preferences
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 /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
func (*ClientWithResponses) WorkspaceBusPreferencesSetWithResponse ¶
func (c *ClientWithResponses) WorkspaceBusPreferencesSetWithResponse(ctx context.Context, body WorkspaceBusPreferencesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesSetResponse, error)
WorkspaceBusPreferencesSetWithResponse Update bus preferences
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
func (*ClientWithResponses) WorkspaceCalendarFeedExportWithResponse ¶
func (c *ClientWithResponses) WorkspaceCalendarFeedExportWithResponse(ctx context.Context, credential string, reqEditors ...RequestEditorFn) (*WorkspaceCalendarFeedExportResponse, error)
WorkspaceCalendarFeedExportWithResponse Deliver a token-bearing personal calendar feed
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/calendar-feeds/{credential}.ics (the `WorkspaceCalendarFeedExport` operationId).
func (*ClientWithResponses) WorkspaceExamListWithResponse ¶
func (c *ClientWithResponses) WorkspaceExamListWithResponse(ctx context.Context, params *WorkspaceExamListParams, reqEditors ...RequestEditorFn) (*WorkspaceExamListResponse, error)
WorkspaceExamListWithResponse List exams across the current user's subscribed sections and semesters
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/exams (the `WorkspaceExamList` operationId).
func (*ClientWithResponses) WorkspaceLinkPinBatchSetWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceLinkPinBatchSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinBatchSetResponse, error)
WorkspaceLinkPinBatchSetWithBodyWithResponse Set multiple campus link pins
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 /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
func (*ClientWithResponses) WorkspaceLinkPinBatchSetWithResponse ¶
func (c *ClientWithResponses) WorkspaceLinkPinBatchSetWithResponse(ctx context.Context, body WorkspaceLinkPinBatchSetJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinBatchSetResponse, error)
WorkspaceLinkPinBatchSetWithResponse Set multiple campus link pins
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
func (*ClientWithResponses) WorkspaceLinkPinListWithResponse ¶
func (c *ClientWithResponses) WorkspaceLinkPinListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinListResponse, error)
WorkspaceLinkPinListWithResponse List the current user's pinned campus links
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/link-pins (the `WorkspaceLinkPinList` operationId).
func (*ClientWithResponses) WorkspaceLinkPinSetWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceLinkPinSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinSetResponse, error)
WorkspaceLinkPinSetWithBodyWithResponse Set one campus link pin
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 /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
func (*ClientWithResponses) WorkspaceLinkPinSetWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceLinkPinSetWithFormdataBodyWithResponse(ctx context.Context, body WorkspaceLinkPinSetFormdataRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinSetResponse, error)
WorkspaceLinkPinSetWithFormdataBodyWithResponse Set one campus link pin
Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
func (*ClientWithResponses) WorkspaceOverviewGetWithResponse ¶
func (c *ClientWithResponses) WorkspaceOverviewGetWithResponse(ctx context.Context, params *WorkspaceOverviewGetParams, reqEditors ...RequestEditorFn) (*WorkspaceOverviewGetResponse, error)
WorkspaceOverviewGetWithResponse Get a compact current-user overview for lightweight clients
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/overview (the `WorkspaceOverviewGet` operationId).
func (*ClientWithResponses) WorkspaceScheduleListWithResponse ¶
func (c *ClientWithResponses) WorkspaceScheduleListWithResponse(ctx context.Context, params *WorkspaceScheduleListParams, reqEditors ...RequestEditorFn) (*WorkspaceScheduleListResponse, error)
WorkspaceScheduleListWithResponse List schedules across the current user's subscribed sections
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/workspace/schedules (the `WorkspaceScheduleList` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetWellKnownAppleAppSiteAssociationWithResponse Public Apple association for the native app's supported content routes
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /.well-known/apple-app-site-association (the `GetWellKnownAppleAppSiteAssociation` operationId).
GetWellKnownAppleAppSiteAssociationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownAppleAppSiteAssociationResponse, error)
// GetWellKnownOauthAuthorizationServerApiAuthWithResponse Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /.well-known/oauth-authorization-server/api/auth (the `GetWellKnownOauthAuthorizationServerApiAuth` operationId).
GetWellKnownOauthAuthorizationServerApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthAuthorizationServerApiAuthResponse, error)
// OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse Canonical RFC 8414 authorization server metadata for issuer `/api/auth`
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /.well-known/oauth-authorization-server/api/auth (the `OptionsWellKnownOauthAuthorizationServerApiAuth` operationId).
OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthAuthorizationServerApiAuthResponse, error)
// GetWellKnownOauthProtectedResourceApiGraphqlWithResponse Canonical RFC 9728 protected resource metadata for GraphQL
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /.well-known/oauth-protected-resource/api/graphql (the `GetWellKnownOauthProtectedResourceApiGraphql` operationId).
GetWellKnownOauthProtectedResourceApiGraphqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthProtectedResourceApiGraphqlResponse, error)
// OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse CORS preflight for GraphQL protected resource metadata
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/graphql (the `OptionsWellKnownOauthProtectedResourceApiGraphql` operationId).
OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthProtectedResourceApiGraphqlResponse, error)
// GetWellKnownOauthProtectedResourceApiMcpWithResponse Canonical RFC 9728 protected resource metadata for MCP
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /.well-known/oauth-protected-resource/api/mcp (the `GetWellKnownOauthProtectedResourceApiMcp` operationId).
GetWellKnownOauthProtectedResourceApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOauthProtectedResourceApiMcpResponse, error)
// OptionsWellKnownOauthProtectedResourceApiMcpWithResponse Canonical RFC 9728 protected resource metadata for MCP
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /.well-known/oauth-protected-resource/api/mcp (the `OptionsWellKnownOauthProtectedResourceApiMcp` operationId).
OptionsWellKnownOauthProtectedResourceApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOauthProtectedResourceApiMcpResponse, error)
// GetWellKnownOpenidConfigurationApiAuthWithResponse RFC 8414-compatible path form for OpenID provider metadata
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /.well-known/openid-configuration/api/auth (the `GetWellKnownOpenidConfigurationApiAuth` operationId).
GetWellKnownOpenidConfigurationApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationApiAuthResponse, error)
// OptionsWellKnownOpenidConfigurationApiAuthWithResponse RFC 8414-compatible path form for OpenID provider metadata
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /.well-known/openid-configuration/api/auth (the `OptionsWellKnownOpenidConfigurationApiAuth` operationId).
OptionsWellKnownOpenidConfigurationApiAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsWellKnownOpenidConfigurationApiAuthResponse, error)
// AccountClientActivityListWithResponse List activity performed by the current OAuth client for the current user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/account/client-activity (the `AccountClientActivityList` operationId).
AccountClientActivityListWithResponse(ctx context.Context, params *AccountClientActivityListParams, reqEditors ...RequestEditorFn) (*AccountClientActivityListResponse, error)
// SetLocaleWithBodyWithResponse Update user locale cookie
//
// 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 /api/account/preferences (the `SetLocale` operationId).
SetLocaleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLocaleResponse, error)
// SetLocaleWithResponse Update user locale cookie
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/account/preferences (the `SetLocale` operationId).
SetLocaleWithResponse(ctx context.Context, body SetLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLocaleResponse, error)
// AccountProfileGetWithResponse Get the current account profile
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/account/profile (the `AccountProfileGet` operationId).
AccountProfileGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountProfileGetResponse, error)
// ListAdminCommentsWithResponse List moderation comments
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/admin/comments (the `ListAdminComments` operationId).
ListAdminCommentsWithResponse(ctx context.Context, params *ListAdminCommentsParams, reqEditors ...RequestEditorFn) (*ListAdminCommentsResponse, error)
// ModerateAdminCommentWithBodyWithResponse Moderate one comment
//
// 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 /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
ModerateAdminCommentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModerateAdminCommentResponse, error)
// ModerateAdminCommentWithResponse Moderate one comment
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/admin/comments/{id} (the `ModerateAdminComment` operationId).
ModerateAdminCommentWithResponse(ctx context.Context, id string, body ModerateAdminCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*ModerateAdminCommentResponse, error)
// ListAdminDescriptionsWithResponse List descriptions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/admin/descriptions (the `ListAdminDescriptions` operationId).
ListAdminDescriptionsWithResponse(ctx context.Context, params *ListAdminDescriptionsParams, reqEditors ...RequestEditorFn) (*ListAdminDescriptionsResponse, error)
// UpdateAdminDescriptionWithBodyWithResponse Update one description from moderation
//
// 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 /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
UpdateAdminDescriptionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminDescriptionResponse, error)
// UpdateAdminDescriptionWithResponse Update one description from moderation
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/admin/descriptions/{id} (the `UpdateAdminDescription` operationId).
UpdateAdminDescriptionWithResponse(ctx context.Context, id string, body UpdateAdminDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminDescriptionResponse, error)
// ListAdminHomeworksWithResponse List moderation homeworks
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/admin/homeworks (the `ListAdminHomeworks` operationId).
ListAdminHomeworksWithResponse(ctx context.Context, params *ListAdminHomeworksParams, reqEditors ...RequestEditorFn) (*ListAdminHomeworksResponse, error)
// DeleteAdminHomeworkWithResponse Delete one homework
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/admin/homeworks/{id} (the `DeleteAdminHomework` operationId).
DeleteAdminHomeworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAdminHomeworkResponse, error)
// ListAdminSuspensionsWithResponse List suspensions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/admin/suspensions (the `ListAdminSuspensions` operationId).
ListAdminSuspensionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAdminSuspensionsResponse, error)
// CreateAdminSuspensionWithBodyWithResponse Create suspension for one user
//
// 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 /api/admin/suspensions (the `CreateAdminSuspension` operationId).
CreateAdminSuspensionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAdminSuspensionResponse, error)
// CreateAdminSuspensionWithResponse Create suspension for one user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/admin/suspensions (the `CreateAdminSuspension` operationId).
CreateAdminSuspensionWithResponse(ctx context.Context, body CreateAdminSuspensionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAdminSuspensionResponse, error)
// UpdateAdminSuspensionWithResponse Lift one suspension
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/admin/suspensions/{id} (the `UpdateAdminSuspension` operationId).
UpdateAdminSuspensionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpdateAdminSuspensionResponse, error)
// ListAdminUsersWithResponse List users
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/admin/users (the `ListAdminUsers` operationId).
ListAdminUsersWithResponse(ctx context.Context, params *ListAdminUsersParams, reqEditors ...RequestEditorFn) (*ListAdminUsersResponse, error)
// UpdateAdminUserWithBodyWithResponse Update one user
//
// 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 /api/admin/users/{id} (the `UpdateAdminUser` operationId).
UpdateAdminUserWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminUserResponse, error)
// UpdateAdminUserWithResponse Update one user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/admin/users/{id} (the `UpdateAdminUser` operationId).
UpdateAdminUserWithResponse(ctx context.Context, id string, body UpdateAdminUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminUserResponse, error)
// GetApiAuthWellKnownOpenidConfigurationWithResponse OpenID Connect discovery metadata for issuer `/api/auth`
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/auth/.well-known/openid-configuration (the `GetApiAuthWellKnownOpenidConfiguration` operationId).
GetApiAuthWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiAuthWellKnownOpenidConfigurationResponse, error)
// OptionsApiAuthWellKnownOpenidConfigurationWithResponse OpenID Connect discovery metadata for issuer `/api/auth`
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /api/auth/.well-known/openid-configuration (the `OptionsApiAuthWellKnownOpenidConfiguration` operationId).
OptionsApiAuthWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiAuthWellKnownOpenidConfigurationResponse, error)
// OptionsApiAuthOauth2DeviceAuthorizationWithResponse Return OAuth device authorization CORS preflight headers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /api/auth/oauth2/device-authorization (the `OptionsApiAuthOauth2DeviceAuthorization` operationId).
OptionsApiAuthOauth2DeviceAuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiAuthOauth2DeviceAuthorizationResponse, error)
// PostApiAuthOauth2DeviceAuthorizationWithBodyWithResponse Start OAuth 2.0 device authorization
//
// 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 /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
PostApiAuthOauth2DeviceAuthorizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
// PostApiAuthOauth2DeviceAuthorizationWithFormdataBodyWithResponse Start OAuth 2.0 device authorization
//
// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/auth/oauth2/device-authorization (the `PostApiAuthOauth2DeviceAuthorization` operationId).
PostApiAuthOauth2DeviceAuthorizationWithFormdataBodyWithResponse(ctx context.Context, body PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
// GetApiAuthOauth2TokenWithResponse Return method guidance for OAuth token clients
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/auth/oauth2/token (the `GetApiAuthOauth2Token` operationId).
GetApiAuthOauth2TokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiAuthOauth2TokenResponse, error)
// PostApiAuthOauth2TokenWithBodyWithResponse Exchange OAuth 2.0 authorization/device/refresh grants for tokens
//
// 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 /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
PostApiAuthOauth2TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2TokenResponse, error)
// PostApiAuthOauth2TokenWithFormdataBodyWithResponse Exchange OAuth 2.0 authorization/device/refresh grants for tokens
//
// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/auth/oauth2/token (the `PostApiAuthOauth2Token` operationId).
PostApiAuthOauth2TokenWithFormdataBodyWithResponse(ctx context.Context, body PostApiAuthOauth2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostApiAuthOauth2TokenResponse, error)
// WorkspaceCalendarFeedExportWithResponse Deliver a token-bearing personal calendar feed
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/calendar-feeds/{credential}.ics (the `WorkspaceCalendarFeedExport` operationId).
WorkspaceCalendarFeedExportWithResponse(ctx context.Context, credential string, reqEditors ...RequestEditorFn) (*WorkspaceCalendarFeedExportResponse, error)
// CatalogBusTimetableGetWithResponse Query shuttle buses
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/bus (the `CatalogBusTimetableGet` operationId).
CatalogBusTimetableGetWithResponse(ctx context.Context, params *CatalogBusTimetableGetParams, reqEditors ...RequestEditorFn) (*CatalogBusTimetableGetResponse, error)
// CatalogBusDepartureNextWithResponse Get next shuttle bus departures for an origin and destination campus
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/bus/next (the `CatalogBusDepartureNext` operationId).
CatalogBusDepartureNextWithResponse(ctx context.Context, params *CatalogBusDepartureNextParams, reqEditors ...RequestEditorFn) (*CatalogBusDepartureNextResponse, error)
// CatalogBusRouteSearchWithResponse Search shuttle bus route variants
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/bus/routes (the `CatalogBusRouteSearch` operationId).
CatalogBusRouteSearchWithResponse(ctx context.Context, params *CatalogBusRouteSearchParams, reqEditors ...RequestEditorFn) (*CatalogBusRouteSearchResponse, error)
// ListCoursesWithResponse List courses
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/courses (the `ListCourses` operationId).
ListCoursesWithResponse(ctx context.Context, params *ListCoursesParams, reqEditors ...RequestEditorFn) (*ListCoursesResponse, error)
// GetCourseWithResponse Get course
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/courses/{jwId} (the `GetCourse` operationId).
GetCourseWithResponse(ctx context.Context, jwId int64, params *GetCourseParams, reqEditors ...RequestEditorFn) (*GetCourseResponse, error)
// GetApiCatalogCoursesJwIdSectionsWithResponse Get complete course section history, including retired offerings
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/courses/{jwId}/sections (the `GetApiCatalogCoursesJwIdSections` operationId).
GetApiCatalogCoursesJwIdSectionsWithResponse(ctx context.Context, jwId int64, params *GetApiCatalogCoursesJwIdSectionsParams, reqEditors ...RequestEditorFn) (*GetApiCatalogCoursesJwIdSectionsResponse, error)
// CatalogLinkListWithResponse List public campus links
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/links (the `CatalogLinkList` operationId).
CatalogLinkListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CatalogLinkListResponse, error)
// CatalogLinkResolveWithResponse Resolve a public campus link and record an authenticated visit
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/links/resolve (the `CatalogLinkResolve` operationId).
CatalogLinkResolveWithResponse(ctx context.Context, params *CatalogLinkResolveParams, reqEditors ...RequestEditorFn) (*CatalogLinkResolveResponse, error)
// GetMetadataWithResponse Get metadata
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/metadata (the `GetMetadata` operationId).
GetMetadataWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetadataResponse, error)
// CatalogRoomsMapWithResponse Look up a room's highlighted map or an available building overview
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/rooms/{code}/map (the `CatalogRoomsMap` operationId).
CatalogRoomsMapWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*CatalogRoomsMapResponse, error)
// ListSchedulesWithResponse List schedules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/schedules (the `ListSchedules` operationId).
ListSchedulesWithResponse(ctx context.Context, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*ListSchedulesResponse, error)
// ListSectionsWithResponse List sections
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/sections (the `ListSections` operationId).
ListSectionsWithResponse(ctx context.Context, params *ListSectionsParams, reqEditors ...RequestEditorFn) (*ListSectionsResponse, error)
// GetSectionsCalendarWithResponse Generate sections calendar
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/sections/calendar.ics (the `GetSectionsCalendar` operationId).
GetSectionsCalendarWithResponse(ctx context.Context, params *GetSectionsCalendarParams, reqEditors ...RequestEditorFn) (*GetSectionsCalendarResponse, error)
// MatchSectionCodesWithBodyWithResponse Match section codes
//
// 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 /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
MatchSectionCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MatchSectionCodesResponse, error)
// MatchSectionCodesWithResponse Match section codes
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/catalog/sections/match-codes (the `MatchSectionCodes` operationId).
MatchSectionCodesWithResponse(ctx context.Context, body MatchSectionCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*MatchSectionCodesResponse, error)
// GetSectionWithResponse Get section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/sections/{jwId} (the `GetSection` operationId).
GetSectionWithResponse(ctx context.Context, jwId int64, params *GetSectionParams, reqEditors ...RequestEditorFn) (*GetSectionResponse, error)
// GetSectionCalendarWithResponse Generate section calendar
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/sections/{jwId}/calendar.ics (the `GetSectionCalendar` operationId).
GetSectionCalendarWithResponse(ctx context.Context, jwId int64, reqEditors ...RequestEditorFn) (*GetSectionCalendarResponse, error)
// GetSectionScheduleGroupsWithResponse Get schedule groups
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/sections/{jwId}/schedule-groups (the `GetSectionScheduleGroups` operationId).
GetSectionScheduleGroupsWithResponse(ctx context.Context, jwId int64, params *GetSectionScheduleGroupsParams, reqEditors ...RequestEditorFn) (*GetSectionScheduleGroupsResponse, error)
// GetSectionSchedulesWithResponse Get section schedules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/sections/{jwId}/schedules (the `GetSectionSchedules` operationId).
GetSectionSchedulesWithResponse(ctx context.Context, jwId int64, params *GetSectionSchedulesParams, reqEditors ...RequestEditorFn) (*GetSectionSchedulesResponse, error)
// ListSemestersWithResponse List semesters
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/semesters (the `ListSemesters` operationId).
ListSemestersWithResponse(ctx context.Context, params *ListSemestersParams, reqEditors ...RequestEditorFn) (*ListSemestersResponse, error)
// GetCurrentSemesterWithResponse Get current semester
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/semesters/current (the `GetCurrentSemester` operationId).
GetCurrentSemesterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentSemesterResponse, error)
// ListTeachersWithResponse List teachers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/teachers (the `ListTeachers` operationId).
ListTeachersWithResponse(ctx context.Context, params *ListTeachersParams, reqEditors ...RequestEditorFn) (*ListTeachersResponse, error)
// GetTeacherWithResponse Get teacher
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/teachers/{id} (the `GetTeacher` operationId).
GetTeacherWithResponse(ctx context.Context, id int64, params *GetTeacherParams, reqEditors ...RequestEditorFn) (*GetTeacherResponse, error)
// GetApiCatalogTeachersIdSectionsWithResponse Get complete teacher section history, including retired offerings
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/teachers/{id}/sections (the `GetApiCatalogTeachersIdSections` operationId).
GetApiCatalogTeachersIdSectionsWithResponse(ctx context.Context, id string, params *GetApiCatalogTeachersIdSectionsParams, reqEditors ...RequestEditorFn) (*GetApiCatalogTeachersIdSectionsResponse, error)
// CatalogWeatherGetWithResponse Query weather for a USTC campus
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/weather (the `CatalogWeatherGet` operationId).
CatalogWeatherGetWithResponse(ctx context.Context, params *CatalogWeatherGetParams, reqEditors ...RequestEditorFn) (*CatalogWeatherGetResponse, error)
// GetApiCatalogYoungEventsWithResponse List second-classroom (Young) signup events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/young-events (the `GetApiCatalogYoungEvents` operationId).
GetApiCatalogYoungEventsWithResponse(ctx context.Context, params *GetApiCatalogYoungEventsParams, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsResponse, error)
// GetApiCatalogYoungEventsImagesPathWithResponse Serve a cached rich-text inline image for second-classroom (Young) events by
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/young-events/images/{path} (the `GetApiCatalogYoungEventsImagesPath` operationId).
GetApiCatalogYoungEventsImagesPathWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsImagesPathResponse, error)
// GetApiCatalogYoungEventsYoungIdWithResponse Get a second-classroom (Young) signup event
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/young-events/{youngId} (the `GetApiCatalogYoungEventsYoungId` operationId).
GetApiCatalogYoungEventsYoungIdWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsYoungIdResponse, error)
// GetApiCatalogYoungEventsYoungIdImageWithResponse Redirect to the current immutable poster representation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/young-events/{youngId}/image (the `GetApiCatalogYoungEventsYoungIdImage` operationId).
GetApiCatalogYoungEventsYoungIdImageWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungEventsYoungIdImageResponse, error)
// GetApiCatalogYoungOrganizersWithResponse List normalized Young organizers and their active, upcoming, and historical
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/young-organizers (the `GetApiCatalogYoungOrganizers` operationId).
GetApiCatalogYoungOrganizersWithResponse(ctx context.Context, params *GetApiCatalogYoungOrganizersParams, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungOrganizersResponse, error)
// GetApiCatalogYoungOrganizersOrganizerIdWithResponse Fetch one normalized Young organizer and its event groups
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/catalog/young-organizers/{organizerId} (the `GetApiCatalogYoungOrganizersOrganizerId` operationId).
GetApiCatalogYoungOrganizersOrganizerIdWithResponse(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*GetApiCatalogYoungOrganizersOrganizerIdResponse, error)
// ListCommentsWithResponse List comments
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/comments (the `ListComments` operationId).
ListCommentsWithResponse(ctx context.Context, params *ListCommentsParams, reqEditors ...RequestEditorFn) (*ListCommentsResponse, error)
// CreateCommentWithBodyWithResponse Create one comment
//
// 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 /api/community/comments (the `CreateComment` operationId).
CreateCommentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
// CreateCommentWithResponse Create one comment
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/community/comments (the `CreateComment` operationId).
CreateCommentWithResponse(ctx context.Context, body CreateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCommentResponse, error)
// DeleteApiCommentsBatchWithBodyWithResponse Delete multiple comments owned by the current user
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
DeleteApiCommentsBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteApiCommentsBatchResponse, error)
// DeleteApiCommentsBatchWithResponse Delete multiple comments owned by the current user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/community/comments/batch (the `DeleteApiCommentsBatch` operationId).
DeleteApiCommentsBatchWithResponse(ctx context.Context, body DeleteApiCommentsBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteApiCommentsBatchResponse, error)
// DeleteCommentWithResponse Delete one comment
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/community/comments/{id} (the `DeleteComment` operationId).
DeleteCommentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteCommentResponse, error)
// GetCommentWithResponse Get comment thread
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/comments/{id} (the `GetComment` operationId).
GetCommentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCommentResponse, error)
// UpdateCommentWithBodyWithResponse Update one comment
//
// 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 /api/community/comments/{id} (the `UpdateComment` operationId).
UpdateCommentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)
// UpdateCommentWithResponse Update one comment
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/community/comments/{id} (the `UpdateComment` operationId).
UpdateCommentWithResponse(ctx context.Context, id string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)
// RemoveCommentReactionWithResponse Remove one reaction from a comment
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/community/comments/{id}/reactions (the `RemoveCommentReaction` operationId).
RemoveCommentReactionWithResponse(ctx context.Context, id string, params *RemoveCommentReactionParams, reqEditors ...RequestEditorFn) (*RemoveCommentReactionResponse, error)
// AddCommentReactionWithBodyWithResponse Add one reaction to a comment
//
// 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 /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
AddCommentReactionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCommentReactionResponse, error)
// AddCommentReactionWithResponse Add one reaction to a comment
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/community/comments/{id}/reactions (the `AddCommentReaction` operationId).
AddCommentReactionWithResponse(ctx context.Context, id string, body AddCommentReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCommentReactionResponse, error)
// GetApiCommunityCommentsIdRepliesWithResponse Continue a bounded reply preview for one comment root
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/comments/{id}/replies (the `GetApiCommunityCommentsIdReplies` operationId).
GetApiCommunityCommentsIdRepliesWithResponse(ctx context.Context, id string, params *GetApiCommunityCommentsIdRepliesParams, reqEditors ...RequestEditorFn) (*GetApiCommunityCommentsIdRepliesResponse, error)
// GetDescriptionWithResponse Get description history
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/descriptions (the `GetDescription` operationId).
GetDescriptionWithResponse(ctx context.Context, params *GetDescriptionParams, reqEditors ...RequestEditorFn) (*GetDescriptionResponse, error)
// UpsertDescriptionWithBodyWithResponse Upsert description
//
// 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 /api/community/descriptions (the `UpsertDescription` operationId).
UpsertDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertDescriptionResponse, error)
// UpsertDescriptionWithResponse Upsert description
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/community/descriptions (the `UpsertDescription` operationId).
UpsertDescriptionWithResponse(ctx context.Context, body UpsertDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertDescriptionResponse, error)
// CommunitySectionHomeworkListWithResponse List shared section homeworks
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/section-homeworks (the `CommunitySectionHomeworkList` operationId).
CommunitySectionHomeworkListWithResponse(ctx context.Context, params *CommunitySectionHomeworkListParams, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkListResponse, error)
// CommunitySectionHomeworkCreateWithBodyWithResponse Create one shared section homework
//
// 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 /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
CommunitySectionHomeworkCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkCreateResponse, error)
// CommunitySectionHomeworkCreateWithResponse Create one shared section homework
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/community/section-homeworks (the `CommunitySectionHomeworkCreate` operationId).
CommunitySectionHomeworkCreateWithResponse(ctx context.Context, body CommunitySectionHomeworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkCreateResponse, error)
// GetApiCommunitySectionHomeworksAuditWithResponse List section homework audit history after an explicit request
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/section-homeworks/audit (the `GetApiCommunitySectionHomeworksAudit` operationId).
GetApiCommunitySectionHomeworksAuditWithResponse(ctx context.Context, params *GetApiCommunitySectionHomeworksAuditParams, reqEditors ...RequestEditorFn) (*GetApiCommunitySectionHomeworksAuditResponse, error)
// CommunitySectionHomeworkDeleteWithResponse Soft delete a shared section homework as its unsuspended creator
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkDelete` operationId).
CommunitySectionHomeworkDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkDeleteResponse, error)
// GetApiCommunitySectionHomeworksIdWithResponse Read one shared section homework with its detail relations and audit history
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/section-homeworks/{id} (the `GetApiCommunitySectionHomeworksId` operationId).
GetApiCommunitySectionHomeworksIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetApiCommunitySectionHomeworksIdResponse, error)
// CommunitySectionHomeworkUpdateWithBodyWithResponse Update one shared section homework
//
// 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 /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
CommunitySectionHomeworkUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkUpdateResponse, error)
// CommunitySectionHomeworkUpdateWithResponse Update one shared section homework
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/community/section-homeworks/{id} (the `CommunitySectionHomeworkUpdate` operationId).
CommunitySectionHomeworkUpdateWithResponse(ctx context.Context, id string, body CommunitySectionHomeworkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CommunitySectionHomeworkUpdateResponse, error)
// CommunityUserGetWithResponse Get one public community user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/community/users/{identifier} (the `CommunityUserGet` operationId).
CommunityUserGetWithResponse(ctx context.Context, identifier string, reqEditors ...RequestEditorFn) (*CommunityUserGetResponse, error)
// ListHealthWithResponse Check process liveness
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/health (the `ListHealth` operationId).
ListHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListHealthResponse, error)
// PostApiIngestionPublicationsBatchesWithBodyWithResponse Ingest a crawler publication batch
//
// 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 /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
PostApiIngestionPublicationsBatchesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsBatchesResponse, error)
// PostApiIngestionPublicationsBatchesWithResponse Ingest a crawler publication batch
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/ingestion/publications/batches (the `PostApiIngestionPublicationsBatches` operationId).
PostApiIngestionPublicationsBatchesWithResponse(ctx context.Context, body PostApiIngestionPublicationsBatchesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsBatchesResponse, error)
// PostApiIngestionPublicationsObjectsPlanWithBodyWithResponse Plan content-addressed publication object uploads
//
// 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 /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
PostApiIngestionPublicationsObjectsPlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
// PostApiIngestionPublicationsObjectsPlanWithResponse Plan content-addressed publication object uploads
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/ingestion/publications/objects/plan (the `PostApiIngestionPublicationsObjectsPlan` operationId).
PostApiIngestionPublicationsObjectsPlanWithResponse(ctx context.Context, body PostApiIngestionPublicationsObjectsPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
// PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse Stream and verify one content-addressed publication object through the
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/ingestion/publications/objects/{batchId}/{kind}/{sha256} (the `PutApiIngestionPublicationsObjectsBatchIdKindSha256` operationId).
PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse(ctx context.Context, batchId string, kind PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*PutApiIngestionPublicationsObjectsBatchIdKindSha256Response, error)
// DeleteApiMcpWithResponse Close an MCP Streamable HTTP transport session
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/mcp (the `DeleteApiMcp` operationId).
DeleteApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteApiMcpResponse, error)
// ListMcpWithResponse Standalone GET streams are disabled for the stateless MCP transport
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/mcp (the `ListMcp` operationId).
ListMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMcpResponse, error)
// OptionsApiMcpWithResponse Return MCP transport CORS preflight headers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with OPTIONS /api/mcp (the `OptionsApiMcp` operationId).
OptionsApiMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OptionsApiMcpResponse, error)
// CreateMcpWithResponse Send an MCP Streamable HTTP JSON-RPC message
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/mcp (the `CreateMcp` operationId).
CreateMcpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateMcpResponse, error)
// GetOpenApiSpecWithResponse Get OpenAPI document
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/openapi (the `GetOpenApiSpec` operationId).
GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResponse, error)
// GetApiPublicationsWithResponse List public USTC news and notices
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/publications (the `GetApiPublications` operationId).
GetApiPublicationsWithResponse(ctx context.Context, params *GetApiPublicationsParams, reqEditors ...RequestEditorFn) (*GetApiPublicationsResponse, error)
// GetApiPublicationsImagesHashWithResponse Lazily fetch and cache an image referenced by a public publication's
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/publications/images/{hash} (the `GetApiPublicationsImagesHash` operationId).
GetApiPublicationsImagesHashWithResponse(ctx context.Context, hash string, reqEditors ...RequestEditorFn) (*GetApiPublicationsImagesHashResponse, error)
// GetApiPublicationsObjectsKindSha256WithResponse Read a verified object linked to a public publication revision
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/publications/objects/{kind}/{sha256} (the `GetApiPublicationsObjectsKindSha256` operationId).
GetApiPublicationsObjectsKindSha256WithResponse(ctx context.Context, kind GetApiPublicationsObjectsKindSha256ParamsKind, sha256 string, reqEditors ...RequestEditorFn) (*GetApiPublicationsObjectsKindSha256Response, error)
// GetApiPublicationsSourcesWithResponse List registered publication sources grouped by organization level
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/publications/sources (the `GetApiPublicationsSources` operationId).
GetApiPublicationsSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiPublicationsSourcesResponse, error)
// GetApiPublicationsIdWithResponse Get one public USTC news item or notice
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/publications/{id} (the `GetApiPublicationsId` operationId).
GetApiPublicationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetApiPublicationsIdResponse, error)
// GetApiSearchWithResponse Global search across catalog and workspace entities
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/search (the `GetApiSearch` operationId).
GetApiSearchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiSearchResponse, error)
// WorkspaceBusPreferencesGetWithResponse Get bus preferences
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/bus-preferences (the `WorkspaceBusPreferencesGet` operationId).
WorkspaceBusPreferencesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesGetResponse, error)
// WorkspaceBusPreferencesSetWithBodyWithResponse Update bus preferences
//
// 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 /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
WorkspaceBusPreferencesSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesSetResponse, error)
// WorkspaceBusPreferencesSetWithResponse Update bus preferences
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/bus-preferences (the `WorkspaceBusPreferencesSet` operationId).
WorkspaceBusPreferencesSetWithResponse(ctx context.Context, body WorkspaceBusPreferencesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceBusPreferencesSetResponse, error)
// GetApiWorkspaceCalendarEventsWithResponse List complete personal calendar events by date range, with explicit pagination
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/calendar/events (the `GetApiWorkspaceCalendarEvents` operationId).
GetApiWorkspaceCalendarEventsWithResponse(ctx context.Context, params *GetApiWorkspaceCalendarEventsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceCalendarEventsResponse, error)
// WorkspaceExamListWithResponse List exams across the current user's subscribed sections and semesters
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/exams (the `WorkspaceExamList` operationId).
WorkspaceExamListWithResponse(ctx context.Context, params *WorkspaceExamListParams, reqEditors ...RequestEditorFn) (*WorkspaceExamListResponse, error)
// GetSubscribedHomeworksWithResponse List subscribed homeworks
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/homeworks (the `GetSubscribedHomeworks` operationId).
GetSubscribedHomeworksWithResponse(ctx context.Context, params *GetSubscribedHomeworksParams, reqEditors ...RequestEditorFn) (*GetSubscribedHomeworksResponse, error)
// PutApiHomeworksCompletionsWithBodyWithResponse Update homework completions in a batch
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
PutApiHomeworksCompletionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiHomeworksCompletionsResponse, error)
// PutApiHomeworksCompletionsWithResponse Update homework completions in a batch
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/homeworks/completions (the `PutApiHomeworksCompletions` operationId).
PutApiHomeworksCompletionsWithResponse(ctx context.Context, body PutApiHomeworksCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiHomeworksCompletionsResponse, error)
// SetHomeworkCompletionWithBodyWithResponse Update homework completion
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
SetHomeworkCompletionWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetHomeworkCompletionResponse, error)
// SetHomeworkCompletionWithResponse Update homework completion
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/homeworks/{id}/completion (the `SetHomeworkCompletion` operationId).
SetHomeworkCompletionWithResponse(ctx context.Context, id string, body SetHomeworkCompletionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetHomeworkCompletionResponse, error)
// WorkspaceLinkPinListWithResponse List the current user's pinned campus links
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/link-pins (the `WorkspaceLinkPinList` operationId).
WorkspaceLinkPinListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinListResponse, error)
// WorkspaceLinkPinSetWithBodyWithResponse Set one campus link pin
//
// 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 /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
WorkspaceLinkPinSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinSetResponse, error)
// WorkspaceLinkPinSetWithFormdataBodyWithResponse Set one campus link pin
//
// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/link-pins (the `WorkspaceLinkPinSet` operationId).
WorkspaceLinkPinSetWithFormdataBodyWithResponse(ctx context.Context, body WorkspaceLinkPinSetFormdataRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinSetResponse, error)
// WorkspaceLinkPinBatchSetWithBodyWithResponse Set multiple campus link pins
//
// 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 /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
WorkspaceLinkPinBatchSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinBatchSetResponse, error)
// WorkspaceLinkPinBatchSetWithResponse Set multiple campus link pins
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/link-pins/batch (the `WorkspaceLinkPinBatchSet` operationId).
WorkspaceLinkPinBatchSetWithResponse(ctx context.Context, body WorkspaceLinkPinBatchSetJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceLinkPinBatchSetResponse, error)
// WorkspaceOverviewGetWithResponse Get a compact current-user overview for lightweight clients
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/overview (the `WorkspaceOverviewGet` operationId).
WorkspaceOverviewGetWithResponse(ctx context.Context, params *WorkspaceOverviewGetParams, reqEditors ...RequestEditorFn) (*WorkspaceOverviewGetResponse, error)
// GetApiWorkspaceOverviewActionableWithResponse Get the complete current-user action hierarchy and pending deadlines
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/overview/actionable (the `GetApiWorkspaceOverviewActionable` operationId).
GetApiWorkspaceOverviewActionableWithResponse(ctx context.Context, params *GetApiWorkspaceOverviewActionableParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceOverviewActionableResponse, error)
// WorkspaceScheduleListWithResponse List schedules across the current user's subscribed sections
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/schedules (the `WorkspaceScheduleList` operationId).
WorkspaceScheduleListWithResponse(ctx context.Context, params *WorkspaceScheduleListParams, reqEditors ...RequestEditorFn) (*WorkspaceScheduleListResponse, error)
// DeleteApiWorkspaceSubscriptionsWithBodyWithResponse Remove section subscriptions
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
DeleteApiWorkspaceSubscriptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteApiWorkspaceSubscriptionsResponse, error)
// DeleteApiWorkspaceSubscriptionsWithResponse Remove section subscriptions
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/workspace/subscriptions (the `DeleteApiWorkspaceSubscriptions` operationId).
DeleteApiWorkspaceSubscriptionsWithResponse(ctx context.Context, body DeleteApiWorkspaceSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteApiWorkspaceSubscriptionsResponse, error)
// AppendCalendarSubscriptionSectionsWithBodyWithResponse Append section subscriptions
//
// 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 /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
AppendCalendarSubscriptionSectionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppendCalendarSubscriptionSectionsResponse, error)
// AppendCalendarSubscriptionSectionsWithResponse Append section subscriptions
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/workspace/subscriptions (the `AppendCalendarSubscriptionSections` operationId).
AppendCalendarSubscriptionSectionsWithResponse(ctx context.Context, body AppendCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendCalendarSubscriptionSectionsResponse, error)
// BatchUpdateCalendarSubscriptionWithBodyWithResponse Batch update calendar section subscriptions
//
// 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 /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
BatchUpdateCalendarSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchUpdateCalendarSubscriptionResponse, error)
// BatchUpdateCalendarSubscriptionWithResponse Batch update calendar section subscriptions
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/subscriptions/batch (the `BatchUpdateCalendarSubscription` operationId).
BatchUpdateCalendarSubscriptionWithResponse(ctx context.Context, body BatchUpdateCalendarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchUpdateCalendarSubscriptionResponse, error)
// GetCurrentCalendarSubscriptionWithResponse Get section subscriptions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/subscriptions/current (the `GetCurrentCalendarSubscription` operationId).
GetCurrentCalendarSubscriptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentCalendarSubscriptionResponse, error)
// PostApiWorkspaceSubscriptionsImportCodesWithBodyWithResponse Import section subscriptions by section codes
//
// 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 /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
PostApiWorkspaceSubscriptionsImportCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
// PostApiWorkspaceSubscriptionsImportCodesWithResponse Import section subscriptions by section codes
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/subscriptions/import-codes (the `PostApiWorkspaceSubscriptionsImportCodes` operationId).
PostApiWorkspaceSubscriptionsImportCodesWithResponse(ctx context.Context, body PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
// QueryCalendarSubscriptionSectionsWithBodyWithResponse Query sections for calendar subscription changes
//
// 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 /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
QueryCalendarSubscriptionSectionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryCalendarSubscriptionSectionsResponse, error)
// QueryCalendarSubscriptionSectionsWithResponse Query sections for calendar subscription changes
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/subscriptions/query (the `QueryCalendarSubscriptionSections` operationId).
QueryCalendarSubscriptionSectionsWithResponse(ctx context.Context, body QueryCalendarSubscriptionSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryCalendarSubscriptionSectionsResponse, error)
// PatchApiWorkspaceSubscriptionsJwIdWithBodyWithResponse Update an existing subscription's personal kind
//
// 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 /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
PatchApiWorkspaceSubscriptionsJwIdWithBodyWithResponse(ctx context.Context, jwId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
// PatchApiWorkspaceSubscriptionsJwIdWithResponse Update an existing subscription's personal kind
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/workspace/subscriptions/{jwId} (the `PatchApiWorkspaceSubscriptionsJwId` operationId).
PatchApiWorkspaceSubscriptionsJwIdWithResponse(ctx context.Context, jwId int64, body PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
// ListTodosWithResponse List todos
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/todos (the `ListTodos` operationId).
ListTodosWithResponse(ctx context.Context, params *ListTodosParams, reqEditors ...RequestEditorFn) (*ListTodosResponse, error)
// CreateTodoWithBodyWithResponse Create a todo
//
// 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 /api/workspace/todos (the `CreateTodo` operationId).
CreateTodoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTodoResponse, error)
// CreateTodoWithResponse Create a todo
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/todos (the `CreateTodo` operationId).
CreateTodoWithResponse(ctx context.Context, body CreateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTodoResponse, error)
// DeleteApiTodosBatchWithBodyWithResponse Delete multiple todos by id
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
DeleteApiTodosBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteApiTodosBatchResponse, error)
// DeleteApiTodosBatchWithResponse Delete multiple todos by id
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/workspace/todos/batch (the `DeleteApiTodosBatch` operationId).
DeleteApiTodosBatchWithResponse(ctx context.Context, body DeleteApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteApiTodosBatchResponse, error)
// PatchApiTodosBatchWithBodyWithResponse Update completion state for multiple todos
//
// 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 /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
PatchApiTodosBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiTodosBatchResponse, error)
// PatchApiTodosBatchWithResponse Update completion state for multiple todos
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/workspace/todos/batch (the `PatchApiTodosBatch` operationId).
PatchApiTodosBatchWithResponse(ctx context.Context, body PatchApiTodosBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiTodosBatchResponse, error)
// DeleteTodoWithResponse Delete one todo
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/workspace/todos/{id} (the `DeleteTodo` operationId).
DeleteTodoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTodoResponse, error)
// UpdateTodoWithBodyWithResponse Update one todo
//
// 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 /api/workspace/todos/{id} (the `UpdateTodo` operationId).
UpdateTodoWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTodoResponse, error)
// UpdateTodoWithResponse Update one todo
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/workspace/todos/{id} (the `UpdateTodo` operationId).
UpdateTodoWithResponse(ctx context.Context, id string, body UpdateTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTodoResponse, error)
// ListUploadsWithResponse List uploads
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/uploads (the `ListUploads` operationId).
ListUploadsWithResponse(ctx context.Context, params *ListUploadsParams, reqEditors ...RequestEditorFn) (*ListUploadsResponse, error)
// CreateUploadWithBodyWithResponse Create a signed upload URL
//
// 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 /api/workspace/uploads (the `CreateUpload` operationId).
CreateUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUploadResponse, error)
// CreateUploadWithResponse Create a signed upload URL
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/uploads (the `CreateUpload` operationId).
CreateUploadWithResponse(ctx context.Context, body CreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUploadResponse, error)
// CompleteUploadWithBodyWithResponse Complete upload
//
// 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 /api/workspace/uploads/complete (the `CompleteUpload` operationId).
CompleteUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteUploadResponse, error)
// CompleteUploadWithResponse Complete upload
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/uploads/complete (the `CompleteUpload` operationId).
CompleteUploadWithResponse(ctx context.Context, body CompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteUploadResponse, error)
// PutApiUploadsObjectWithBodyWithResponse Write upload object
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/uploads/object (the `PutApiUploadsObject` operationId).
PutApiUploadsObjectWithBodyWithResponse(ctx context.Context, params *PutApiUploadsObjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiUploadsObjectResponse, error)
// DeleteUploadWithResponse Delete one upload
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/workspace/uploads/{id} (the `DeleteUpload` operationId).
DeleteUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUploadResponse, error)
// UpdateUploadWithBodyWithResponse Rename one upload
//
// 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 /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
UpdateUploadWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUploadResponse, error)
// UpdateUploadWithResponse Rename one upload
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/workspace/uploads/{id} (the `UpdateUpload` operationId).
UpdateUploadWithResponse(ctx context.Context, id string, body UpdateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUploadResponse, error)
// DownloadUploadWithResponse Download upload
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/uploads/{id}/download (the `DownloadUpload` operationId).
DownloadUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadUploadResponse, error)
// GetApiWorkspaceYoungEventSubscriptionsWithResponse List personal young-event-subscriptions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/young-event-subscriptions (the `GetApiWorkspaceYoungEventSubscriptions` operationId).
GetApiWorkspaceYoungEventSubscriptionsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungEventSubscriptionsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungEventSubscriptionsResponse, error)
// GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse Read personal activity subscription state
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/young-event-subscriptions/{youngId} (the `GetApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse(ctx context.Context, youngId string, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
// PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBodyWithResponse Set personal events subscription state. This does not register attendance
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
PutApiWorkspaceYoungEventSubscriptionsYoungIdWithBodyWithResponse(ctx context.Context, youngId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
// PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse Set personal events subscription state. This does not register attendance
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/young-event-subscriptions/{youngId} (the `PutApiWorkspaceYoungEventSubscriptionsYoungId` operationId).
PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse(ctx context.Context, youngId string, body PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
// GetApiWorkspaceYoungNotificationsWithResponse List personal young-notifications
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/young-notifications (the `GetApiWorkspaceYoungNotifications` operationId).
GetApiWorkspaceYoungNotificationsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungNotificationsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungNotificationsResponse, error)
// PostApiWorkspaceYoungNotificationsIdReadWithResponse Mark a personal activity notification read
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/workspace/young-notifications/{id}/read (the `PostApiWorkspaceYoungNotificationsIdRead` operationId).
PostApiWorkspaceYoungNotificationsIdReadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostApiWorkspaceYoungNotificationsIdReadResponse, error)
// GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse List personal young-organizer-subscriptions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/young-organizer-subscriptions (the `GetApiWorkspaceYoungOrganizerSubscriptions` operationId).
GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse(ctx context.Context, params *GetApiWorkspaceYoungOrganizerSubscriptionsParams, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungOrganizerSubscriptionsResponse, error)
// GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse Read personal organizer follow state
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/workspace/young-organizer-subscriptions/{organizerId} (the `GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse(ctx context.Context, organizerId string, reqEditors ...RequestEditorFn) (*GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
// PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBodyWithResponse Set personal organizers subscription state. This does not register attendance
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithBodyWithResponse(ctx context.Context, organizerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
// PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse Set personal organizers subscription state. This does not register attendance
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/workspace/young-organizer-subscriptions/{organizerId} (the `PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId` operationId).
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse(ctx context.Context, organizerId string, body PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CommentBatchDeleteRequestSchema ¶
type CommentBatchDeleteRequestSchema struct {
Ids []string `json:"ids"`
}
CommentBatchDeleteRequestSchema defines model for commentBatchDeleteRequestSchema.
type CommentBatchDeleteResponseSchema ¶
type CommentBatchDeleteResponseSchema struct {
Results []CommentBatchDeleteResponseSchema_Results_Item `json:"results"`
}
CommentBatchDeleteResponseSchema defines model for commentBatchDeleteResponseSchema.
type CommentBatchDeleteResponseSchemaResults0 ¶
type CommentBatchDeleteResponseSchemaResults0 struct {
Id string `json:"id"`
Success CommentBatchDeleteResponseSchemaResults0Success `json:"success"`
}
CommentBatchDeleteResponseSchemaResults0 defines model for CommentBatchDeleteResponseSchema.Results.0.
type CommentBatchDeleteResponseSchemaResults0Success ¶
type CommentBatchDeleteResponseSchemaResults0Success bool
CommentBatchDeleteResponseSchemaResults0Success defines model for CommentBatchDeleteResponseSchema.Results.0.Success.
const (
CommentBatchDeleteResponseSchemaResults0SuccessTrue CommentBatchDeleteResponseSchemaResults0Success = true
)
Defines values for CommentBatchDeleteResponseSchemaResults0Success.
func (CommentBatchDeleteResponseSchemaResults0Success) Valid ¶
func (e CommentBatchDeleteResponseSchemaResults0Success) Valid() bool
Valid indicates whether the value is a known member of the CommentBatchDeleteResponseSchemaResults0Success enum.
type CommentBatchDeleteResponseSchemaResults1 ¶
type CommentBatchDeleteResponseSchemaResults1 struct {
Error struct {
Code CommentBatchDeleteResponseSchemaResults1ErrorCode `json:"code"`
Message string `json:"message"`
} `json:"error"`
Id string `json:"id"`
Success CommentBatchDeleteResponseSchemaResults1Success `json:"success"`
}
CommentBatchDeleteResponseSchemaResults1 defines model for CommentBatchDeleteResponseSchema.Results.1.
type CommentBatchDeleteResponseSchemaResults1ErrorCode ¶
type CommentBatchDeleteResponseSchemaResults1ErrorCode string
CommentBatchDeleteResponseSchemaResults1ErrorCode defines model for CommentBatchDeleteResponseSchema.Results.1.Error.Code.
const ( CommentBatchDeleteResponseSchemaResults1ErrorCodeForbidden CommentBatchDeleteResponseSchemaResults1ErrorCode = "forbidden" CommentBatchDeleteResponseSchemaResults1ErrorCodeLocked CommentBatchDeleteResponseSchemaResults1ErrorCode = "locked" CommentBatchDeleteResponseSchemaResults1ErrorCodeNotFound CommentBatchDeleteResponseSchemaResults1ErrorCode = "not_found" CommentBatchDeleteResponseSchemaResults1ErrorCodeSuspended CommentBatchDeleteResponseSchemaResults1ErrorCode = "suspended" )
Defines values for CommentBatchDeleteResponseSchemaResults1ErrorCode.
func (CommentBatchDeleteResponseSchemaResults1ErrorCode) Valid ¶
func (e CommentBatchDeleteResponseSchemaResults1ErrorCode) Valid() bool
Valid indicates whether the value is a known member of the CommentBatchDeleteResponseSchemaResults1ErrorCode enum.
type CommentBatchDeleteResponseSchemaResults1Success ¶
type CommentBatchDeleteResponseSchemaResults1Success bool
CommentBatchDeleteResponseSchemaResults1Success defines model for CommentBatchDeleteResponseSchema.Results.1.Success.
const (
CommentBatchDeleteResponseSchemaResults1SuccessFalse CommentBatchDeleteResponseSchemaResults1Success = false
)
Defines values for CommentBatchDeleteResponseSchemaResults1Success.
func (CommentBatchDeleteResponseSchemaResults1Success) Valid ¶
func (e CommentBatchDeleteResponseSchemaResults1Success) Valid() bool
Valid indicates whether the value is a known member of the CommentBatchDeleteResponseSchemaResults1Success enum.
type CommentBatchDeleteResponseSchema_Results_Item ¶
type CommentBatchDeleteResponseSchema_Results_Item struct {
// contains filtered or unexported fields
}
CommentBatchDeleteResponseSchema_Results_Item defines model for commentBatchDeleteResponseSchema.results.Item.
func (CommentBatchDeleteResponseSchema_Results_Item) AsCommentBatchDeleteResponseSchemaResults0 ¶
func (t CommentBatchDeleteResponseSchema_Results_Item) AsCommentBatchDeleteResponseSchemaResults0() (CommentBatchDeleteResponseSchemaResults0, error)
AsCommentBatchDeleteResponseSchemaResults0 returns the union data inside the CommentBatchDeleteResponseSchema_Results_Item as a CommentBatchDeleteResponseSchemaResults0
func (CommentBatchDeleteResponseSchema_Results_Item) AsCommentBatchDeleteResponseSchemaResults1 ¶
func (t CommentBatchDeleteResponseSchema_Results_Item) AsCommentBatchDeleteResponseSchemaResults1() (CommentBatchDeleteResponseSchemaResults1, error)
AsCommentBatchDeleteResponseSchemaResults1 returns the union data inside the CommentBatchDeleteResponseSchema_Results_Item as a CommentBatchDeleteResponseSchemaResults1
func (*CommentBatchDeleteResponseSchema_Results_Item) FromCommentBatchDeleteResponseSchemaResults0 ¶
func (t *CommentBatchDeleteResponseSchema_Results_Item) FromCommentBatchDeleteResponseSchemaResults0(v CommentBatchDeleteResponseSchemaResults0) error
FromCommentBatchDeleteResponseSchemaResults0 overwrites any union data inside the CommentBatchDeleteResponseSchema_Results_Item as the provided CommentBatchDeleteResponseSchemaResults0
func (*CommentBatchDeleteResponseSchema_Results_Item) FromCommentBatchDeleteResponseSchemaResults1 ¶
func (t *CommentBatchDeleteResponseSchema_Results_Item) FromCommentBatchDeleteResponseSchemaResults1(v CommentBatchDeleteResponseSchemaResults1) error
FromCommentBatchDeleteResponseSchemaResults1 overwrites any union data inside the CommentBatchDeleteResponseSchema_Results_Item as the provided CommentBatchDeleteResponseSchemaResults1
func (CommentBatchDeleteResponseSchema_Results_Item) MarshalJSON ¶
func (t CommentBatchDeleteResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
func (*CommentBatchDeleteResponseSchema_Results_Item) MergeCommentBatchDeleteResponseSchemaResults0 ¶
func (t *CommentBatchDeleteResponseSchema_Results_Item) MergeCommentBatchDeleteResponseSchemaResults0(v CommentBatchDeleteResponseSchemaResults0) error
MergeCommentBatchDeleteResponseSchemaResults0 performs a merge with any union data inside the CommentBatchDeleteResponseSchema_Results_Item, using the provided CommentBatchDeleteResponseSchemaResults0
func (*CommentBatchDeleteResponseSchema_Results_Item) MergeCommentBatchDeleteResponseSchemaResults1 ¶
func (t *CommentBatchDeleteResponseSchema_Results_Item) MergeCommentBatchDeleteResponseSchemaResults1(v CommentBatchDeleteResponseSchemaResults1) error
MergeCommentBatchDeleteResponseSchemaResults1 performs a merge with any union data inside the CommentBatchDeleteResponseSchema_Results_Item, using the provided CommentBatchDeleteResponseSchemaResults1
func (*CommentBatchDeleteResponseSchema_Results_Item) UnmarshalJSON ¶
func (t *CommentBatchDeleteResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
type CommentCreateRequestSchema ¶
type CommentCreateRequestSchema struct {
AttachmentIds *[]string `json:"attachmentIds,omitempty"`
Body string `json:"body"`
CourseJwId *CommentCreateRequestSchema_CourseJwId `json:"courseJwId,omitempty"`
HomeworkId *string `json:"homeworkId,omitempty"`
IsAnonymous *bool `json:"isAnonymous,omitempty"`
ParentId *string `json:"parentId,omitempty"`
SectionId *CommentCreateRequestSchema_SectionId `json:"sectionId,omitempty"`
SectionJwId *CommentCreateRequestSchema_SectionJwId `json:"sectionJwId,omitempty"`
SectionTeacherId *CommentCreateRequestSchema_SectionTeacherId `json:"sectionTeacherId,omitempty"`
TargetId *CommentCreateRequestSchema_TargetId `json:"targetId,omitempty"`
TargetType CommentCreateRequestSchemaTargetType `json:"targetType"`
TeacherId *CommentCreateRequestSchema_TeacherId `json:"teacherId,omitempty"`
Visibility *CommentCreateRequestSchemaVisibility `json:"visibility,omitempty"`
YoungId *string `json:"youngId,omitempty"`
}
CommentCreateRequestSchema defines model for commentCreateRequestSchema.
type CommentCreateRequestSchemaCourseJwId0 ¶
type CommentCreateRequestSchemaCourseJwId0 = int64
CommentCreateRequestSchemaCourseJwId0 defines model for CommentCreateRequestSchema.CourseJwId.0.
type CommentCreateRequestSchemaCourseJwId1 ¶
type CommentCreateRequestSchemaCourseJwId1 = int
CommentCreateRequestSchemaCourseJwId1 defines model for CommentCreateRequestSchema.CourseJwId.1.
type CommentCreateRequestSchemaSectionId0 ¶
type CommentCreateRequestSchemaSectionId0 = string
CommentCreateRequestSchemaSectionId0 defines model for CommentCreateRequestSchema.SectionId.0.
type CommentCreateRequestSchemaSectionId1 ¶
type CommentCreateRequestSchemaSectionId1 = float32
CommentCreateRequestSchemaSectionId1 defines model for CommentCreateRequestSchema.SectionId.1.
type CommentCreateRequestSchemaSectionJwId0 ¶
type CommentCreateRequestSchemaSectionJwId0 = int64
CommentCreateRequestSchemaSectionJwId0 defines model for CommentCreateRequestSchema.SectionJwId.0.
type CommentCreateRequestSchemaSectionJwId1 ¶
type CommentCreateRequestSchemaSectionJwId1 = int
CommentCreateRequestSchemaSectionJwId1 defines model for CommentCreateRequestSchema.SectionJwId.1.
type CommentCreateRequestSchemaSectionTeacherId0 ¶
type CommentCreateRequestSchemaSectionTeacherId0 = int64
CommentCreateRequestSchemaSectionTeacherId0 defines model for CommentCreateRequestSchema.SectionTeacherId.0.
type CommentCreateRequestSchemaSectionTeacherId1 ¶
type CommentCreateRequestSchemaSectionTeacherId1 = int
CommentCreateRequestSchemaSectionTeacherId1 defines model for CommentCreateRequestSchema.SectionTeacherId.1.
type CommentCreateRequestSchemaTargetId0 ¶
type CommentCreateRequestSchemaTargetId0 = string
CommentCreateRequestSchemaTargetId0 defines model for CommentCreateRequestSchema.TargetId.0.
type CommentCreateRequestSchemaTargetId1 ¶
type CommentCreateRequestSchemaTargetId1 = float32
CommentCreateRequestSchemaTargetId1 defines model for CommentCreateRequestSchema.TargetId.1.
type CommentCreateRequestSchemaTargetType ¶
type CommentCreateRequestSchemaTargetType string
CommentCreateRequestSchemaTargetType defines model for CommentCreateRequestSchema.TargetType.
const ( CommentCreateRequestSchemaTargetTypeCourse CommentCreateRequestSchemaTargetType = "course" CommentCreateRequestSchemaTargetTypeHomework CommentCreateRequestSchemaTargetType = "homework" CommentCreateRequestSchemaTargetTypeSection CommentCreateRequestSchemaTargetType = "section" CommentCreateRequestSchemaTargetTypeSectionTeacher CommentCreateRequestSchemaTargetType = "section-teacher" CommentCreateRequestSchemaTargetTypeTeacher CommentCreateRequestSchemaTargetType = "teacher" CommentCreateRequestSchemaTargetTypeYoungEvent CommentCreateRequestSchemaTargetType = "young-event" )
Defines values for CommentCreateRequestSchemaTargetType.
func (CommentCreateRequestSchemaTargetType) Valid ¶
func (e CommentCreateRequestSchemaTargetType) Valid() bool
Valid indicates whether the value is a known member of the CommentCreateRequestSchemaTargetType enum.
type CommentCreateRequestSchemaTeacherId0 ¶
type CommentCreateRequestSchemaTeacherId0 = string
CommentCreateRequestSchemaTeacherId0 defines model for CommentCreateRequestSchema.TeacherId.0.
type CommentCreateRequestSchemaTeacherId1 ¶
type CommentCreateRequestSchemaTeacherId1 = float32
CommentCreateRequestSchemaTeacherId1 defines model for CommentCreateRequestSchema.TeacherId.1.
type CommentCreateRequestSchemaVisibility ¶
type CommentCreateRequestSchemaVisibility string
CommentCreateRequestSchemaVisibility defines model for CommentCreateRequestSchema.Visibility.
const ( CommentCreateRequestSchemaVisibilityLoggedInOnly CommentCreateRequestSchemaVisibility = "logged_in_only" CommentCreateRequestSchemaVisibilityPublic CommentCreateRequestSchemaVisibility = "public" )
Defines values for CommentCreateRequestSchemaVisibility.
func (CommentCreateRequestSchemaVisibility) Valid ¶
func (e CommentCreateRequestSchemaVisibility) Valid() bool
Valid indicates whether the value is a known member of the CommentCreateRequestSchemaVisibility enum.
type CommentCreateRequestSchema_CourseJwId ¶
type CommentCreateRequestSchema_CourseJwId struct {
// contains filtered or unexported fields
}
CommentCreateRequestSchema_CourseJwId defines model for CommentCreateRequestSchema.CourseJwId.
func (CommentCreateRequestSchema_CourseJwId) AsCommentCreateRequestSchemaCourseJwId0 ¶
func (t CommentCreateRequestSchema_CourseJwId) AsCommentCreateRequestSchemaCourseJwId0() (CommentCreateRequestSchemaCourseJwId0, error)
AsCommentCreateRequestSchemaCourseJwId0 returns the union data inside the CommentCreateRequestSchema_CourseJwId as a CommentCreateRequestSchemaCourseJwId0
func (CommentCreateRequestSchema_CourseJwId) AsCommentCreateRequestSchemaCourseJwId1 ¶
func (t CommentCreateRequestSchema_CourseJwId) AsCommentCreateRequestSchemaCourseJwId1() (CommentCreateRequestSchemaCourseJwId1, error)
AsCommentCreateRequestSchemaCourseJwId1 returns the union data inside the CommentCreateRequestSchema_CourseJwId as a CommentCreateRequestSchemaCourseJwId1
func (*CommentCreateRequestSchema_CourseJwId) FromCommentCreateRequestSchemaCourseJwId0 ¶
func (t *CommentCreateRequestSchema_CourseJwId) FromCommentCreateRequestSchemaCourseJwId0(v CommentCreateRequestSchemaCourseJwId0) error
FromCommentCreateRequestSchemaCourseJwId0 overwrites any union data inside the CommentCreateRequestSchema_CourseJwId as the provided CommentCreateRequestSchemaCourseJwId0
func (*CommentCreateRequestSchema_CourseJwId) FromCommentCreateRequestSchemaCourseJwId1 ¶
func (t *CommentCreateRequestSchema_CourseJwId) FromCommentCreateRequestSchemaCourseJwId1(v CommentCreateRequestSchemaCourseJwId1) error
FromCommentCreateRequestSchemaCourseJwId1 overwrites any union data inside the CommentCreateRequestSchema_CourseJwId as the provided CommentCreateRequestSchemaCourseJwId1
func (CommentCreateRequestSchema_CourseJwId) MarshalJSON ¶
func (t CommentCreateRequestSchema_CourseJwId) MarshalJSON() ([]byte, error)
func (*CommentCreateRequestSchema_CourseJwId) MergeCommentCreateRequestSchemaCourseJwId0 ¶
func (t *CommentCreateRequestSchema_CourseJwId) MergeCommentCreateRequestSchemaCourseJwId0(v CommentCreateRequestSchemaCourseJwId0) error
MergeCommentCreateRequestSchemaCourseJwId0 performs a merge with any union data inside the CommentCreateRequestSchema_CourseJwId, using the provided CommentCreateRequestSchemaCourseJwId0
func (*CommentCreateRequestSchema_CourseJwId) MergeCommentCreateRequestSchemaCourseJwId1 ¶
func (t *CommentCreateRequestSchema_CourseJwId) MergeCommentCreateRequestSchemaCourseJwId1(v CommentCreateRequestSchemaCourseJwId1) error
MergeCommentCreateRequestSchemaCourseJwId1 performs a merge with any union data inside the CommentCreateRequestSchema_CourseJwId, using the provided CommentCreateRequestSchemaCourseJwId1
func (*CommentCreateRequestSchema_CourseJwId) UnmarshalJSON ¶
func (t *CommentCreateRequestSchema_CourseJwId) UnmarshalJSON(b []byte) error
type CommentCreateRequestSchema_SectionId ¶
type CommentCreateRequestSchema_SectionId struct {
// contains filtered or unexported fields
}
CommentCreateRequestSchema_SectionId defines model for CommentCreateRequestSchema.SectionId.
func (CommentCreateRequestSchema_SectionId) AsCommentCreateRequestSchemaSectionId0 ¶
func (t CommentCreateRequestSchema_SectionId) AsCommentCreateRequestSchemaSectionId0() (CommentCreateRequestSchemaSectionId0, error)
AsCommentCreateRequestSchemaSectionId0 returns the union data inside the CommentCreateRequestSchema_SectionId as a CommentCreateRequestSchemaSectionId0
func (CommentCreateRequestSchema_SectionId) AsCommentCreateRequestSchemaSectionId1 ¶
func (t CommentCreateRequestSchema_SectionId) AsCommentCreateRequestSchemaSectionId1() (CommentCreateRequestSchemaSectionId1, error)
AsCommentCreateRequestSchemaSectionId1 returns the union data inside the CommentCreateRequestSchema_SectionId as a CommentCreateRequestSchemaSectionId1
func (*CommentCreateRequestSchema_SectionId) FromCommentCreateRequestSchemaSectionId0 ¶
func (t *CommentCreateRequestSchema_SectionId) FromCommentCreateRequestSchemaSectionId0(v CommentCreateRequestSchemaSectionId0) error
FromCommentCreateRequestSchemaSectionId0 overwrites any union data inside the CommentCreateRequestSchema_SectionId as the provided CommentCreateRequestSchemaSectionId0
func (*CommentCreateRequestSchema_SectionId) FromCommentCreateRequestSchemaSectionId1 ¶
func (t *CommentCreateRequestSchema_SectionId) FromCommentCreateRequestSchemaSectionId1(v CommentCreateRequestSchemaSectionId1) error
FromCommentCreateRequestSchemaSectionId1 overwrites any union data inside the CommentCreateRequestSchema_SectionId as the provided CommentCreateRequestSchemaSectionId1
func (CommentCreateRequestSchema_SectionId) MarshalJSON ¶
func (t CommentCreateRequestSchema_SectionId) MarshalJSON() ([]byte, error)
func (*CommentCreateRequestSchema_SectionId) MergeCommentCreateRequestSchemaSectionId0 ¶
func (t *CommentCreateRequestSchema_SectionId) MergeCommentCreateRequestSchemaSectionId0(v CommentCreateRequestSchemaSectionId0) error
MergeCommentCreateRequestSchemaSectionId0 performs a merge with any union data inside the CommentCreateRequestSchema_SectionId, using the provided CommentCreateRequestSchemaSectionId0
func (*CommentCreateRequestSchema_SectionId) MergeCommentCreateRequestSchemaSectionId1 ¶
func (t *CommentCreateRequestSchema_SectionId) MergeCommentCreateRequestSchemaSectionId1(v CommentCreateRequestSchemaSectionId1) error
MergeCommentCreateRequestSchemaSectionId1 performs a merge with any union data inside the CommentCreateRequestSchema_SectionId, using the provided CommentCreateRequestSchemaSectionId1
func (*CommentCreateRequestSchema_SectionId) UnmarshalJSON ¶
func (t *CommentCreateRequestSchema_SectionId) UnmarshalJSON(b []byte) error
type CommentCreateRequestSchema_SectionJwId ¶
type CommentCreateRequestSchema_SectionJwId struct {
// contains filtered or unexported fields
}
CommentCreateRequestSchema_SectionJwId defines model for CommentCreateRequestSchema.SectionJwId.
func (CommentCreateRequestSchema_SectionJwId) AsCommentCreateRequestSchemaSectionJwId0 ¶
func (t CommentCreateRequestSchema_SectionJwId) AsCommentCreateRequestSchemaSectionJwId0() (CommentCreateRequestSchemaSectionJwId0, error)
AsCommentCreateRequestSchemaSectionJwId0 returns the union data inside the CommentCreateRequestSchema_SectionJwId as a CommentCreateRequestSchemaSectionJwId0
func (CommentCreateRequestSchema_SectionJwId) AsCommentCreateRequestSchemaSectionJwId1 ¶
func (t CommentCreateRequestSchema_SectionJwId) AsCommentCreateRequestSchemaSectionJwId1() (CommentCreateRequestSchemaSectionJwId1, error)
AsCommentCreateRequestSchemaSectionJwId1 returns the union data inside the CommentCreateRequestSchema_SectionJwId as a CommentCreateRequestSchemaSectionJwId1
func (*CommentCreateRequestSchema_SectionJwId) FromCommentCreateRequestSchemaSectionJwId0 ¶
func (t *CommentCreateRequestSchema_SectionJwId) FromCommentCreateRequestSchemaSectionJwId0(v CommentCreateRequestSchemaSectionJwId0) error
FromCommentCreateRequestSchemaSectionJwId0 overwrites any union data inside the CommentCreateRequestSchema_SectionJwId as the provided CommentCreateRequestSchemaSectionJwId0
func (*CommentCreateRequestSchema_SectionJwId) FromCommentCreateRequestSchemaSectionJwId1 ¶
func (t *CommentCreateRequestSchema_SectionJwId) FromCommentCreateRequestSchemaSectionJwId1(v CommentCreateRequestSchemaSectionJwId1) error
FromCommentCreateRequestSchemaSectionJwId1 overwrites any union data inside the CommentCreateRequestSchema_SectionJwId as the provided CommentCreateRequestSchemaSectionJwId1
func (CommentCreateRequestSchema_SectionJwId) MarshalJSON ¶
func (t CommentCreateRequestSchema_SectionJwId) MarshalJSON() ([]byte, error)
func (*CommentCreateRequestSchema_SectionJwId) MergeCommentCreateRequestSchemaSectionJwId0 ¶
func (t *CommentCreateRequestSchema_SectionJwId) MergeCommentCreateRequestSchemaSectionJwId0(v CommentCreateRequestSchemaSectionJwId0) error
MergeCommentCreateRequestSchemaSectionJwId0 performs a merge with any union data inside the CommentCreateRequestSchema_SectionJwId, using the provided CommentCreateRequestSchemaSectionJwId0
func (*CommentCreateRequestSchema_SectionJwId) MergeCommentCreateRequestSchemaSectionJwId1 ¶
func (t *CommentCreateRequestSchema_SectionJwId) MergeCommentCreateRequestSchemaSectionJwId1(v CommentCreateRequestSchemaSectionJwId1) error
MergeCommentCreateRequestSchemaSectionJwId1 performs a merge with any union data inside the CommentCreateRequestSchema_SectionJwId, using the provided CommentCreateRequestSchemaSectionJwId1
func (*CommentCreateRequestSchema_SectionJwId) UnmarshalJSON ¶
func (t *CommentCreateRequestSchema_SectionJwId) UnmarshalJSON(b []byte) error
type CommentCreateRequestSchema_SectionTeacherId ¶
type CommentCreateRequestSchema_SectionTeacherId struct {
// contains filtered or unexported fields
}
CommentCreateRequestSchema_SectionTeacherId defines model for CommentCreateRequestSchema.SectionTeacherId.
func (CommentCreateRequestSchema_SectionTeacherId) AsCommentCreateRequestSchemaSectionTeacherId0 ¶
func (t CommentCreateRequestSchema_SectionTeacherId) AsCommentCreateRequestSchemaSectionTeacherId0() (CommentCreateRequestSchemaSectionTeacherId0, error)
AsCommentCreateRequestSchemaSectionTeacherId0 returns the union data inside the CommentCreateRequestSchema_SectionTeacherId as a CommentCreateRequestSchemaSectionTeacherId0
func (CommentCreateRequestSchema_SectionTeacherId) AsCommentCreateRequestSchemaSectionTeacherId1 ¶
func (t CommentCreateRequestSchema_SectionTeacherId) AsCommentCreateRequestSchemaSectionTeacherId1() (CommentCreateRequestSchemaSectionTeacherId1, error)
AsCommentCreateRequestSchemaSectionTeacherId1 returns the union data inside the CommentCreateRequestSchema_SectionTeacherId as a CommentCreateRequestSchemaSectionTeacherId1
func (*CommentCreateRequestSchema_SectionTeacherId) FromCommentCreateRequestSchemaSectionTeacherId0 ¶
func (t *CommentCreateRequestSchema_SectionTeacherId) FromCommentCreateRequestSchemaSectionTeacherId0(v CommentCreateRequestSchemaSectionTeacherId0) error
FromCommentCreateRequestSchemaSectionTeacherId0 overwrites any union data inside the CommentCreateRequestSchema_SectionTeacherId as the provided CommentCreateRequestSchemaSectionTeacherId0
func (*CommentCreateRequestSchema_SectionTeacherId) FromCommentCreateRequestSchemaSectionTeacherId1 ¶
func (t *CommentCreateRequestSchema_SectionTeacherId) FromCommentCreateRequestSchemaSectionTeacherId1(v CommentCreateRequestSchemaSectionTeacherId1) error
FromCommentCreateRequestSchemaSectionTeacherId1 overwrites any union data inside the CommentCreateRequestSchema_SectionTeacherId as the provided CommentCreateRequestSchemaSectionTeacherId1
func (CommentCreateRequestSchema_SectionTeacherId) MarshalJSON ¶
func (t CommentCreateRequestSchema_SectionTeacherId) MarshalJSON() ([]byte, error)
func (*CommentCreateRequestSchema_SectionTeacherId) MergeCommentCreateRequestSchemaSectionTeacherId0 ¶
func (t *CommentCreateRequestSchema_SectionTeacherId) MergeCommentCreateRequestSchemaSectionTeacherId0(v CommentCreateRequestSchemaSectionTeacherId0) error
MergeCommentCreateRequestSchemaSectionTeacherId0 performs a merge with any union data inside the CommentCreateRequestSchema_SectionTeacherId, using the provided CommentCreateRequestSchemaSectionTeacherId0
func (*CommentCreateRequestSchema_SectionTeacherId) MergeCommentCreateRequestSchemaSectionTeacherId1 ¶
func (t *CommentCreateRequestSchema_SectionTeacherId) MergeCommentCreateRequestSchemaSectionTeacherId1(v CommentCreateRequestSchemaSectionTeacherId1) error
MergeCommentCreateRequestSchemaSectionTeacherId1 performs a merge with any union data inside the CommentCreateRequestSchema_SectionTeacherId, using the provided CommentCreateRequestSchemaSectionTeacherId1
func (*CommentCreateRequestSchema_SectionTeacherId) UnmarshalJSON ¶
func (t *CommentCreateRequestSchema_SectionTeacherId) UnmarshalJSON(b []byte) error
type CommentCreateRequestSchema_TargetId ¶
type CommentCreateRequestSchema_TargetId struct {
// contains filtered or unexported fields
}
CommentCreateRequestSchema_TargetId defines model for CommentCreateRequestSchema.TargetId.
func (CommentCreateRequestSchema_TargetId) AsCommentCreateRequestSchemaTargetId0 ¶
func (t CommentCreateRequestSchema_TargetId) AsCommentCreateRequestSchemaTargetId0() (CommentCreateRequestSchemaTargetId0, error)
AsCommentCreateRequestSchemaTargetId0 returns the union data inside the CommentCreateRequestSchema_TargetId as a CommentCreateRequestSchemaTargetId0
func (CommentCreateRequestSchema_TargetId) AsCommentCreateRequestSchemaTargetId1 ¶
func (t CommentCreateRequestSchema_TargetId) AsCommentCreateRequestSchemaTargetId1() (CommentCreateRequestSchemaTargetId1, error)
AsCommentCreateRequestSchemaTargetId1 returns the union data inside the CommentCreateRequestSchema_TargetId as a CommentCreateRequestSchemaTargetId1
func (*CommentCreateRequestSchema_TargetId) FromCommentCreateRequestSchemaTargetId0 ¶
func (t *CommentCreateRequestSchema_TargetId) FromCommentCreateRequestSchemaTargetId0(v CommentCreateRequestSchemaTargetId0) error
FromCommentCreateRequestSchemaTargetId0 overwrites any union data inside the CommentCreateRequestSchema_TargetId as the provided CommentCreateRequestSchemaTargetId0
func (*CommentCreateRequestSchema_TargetId) FromCommentCreateRequestSchemaTargetId1 ¶
func (t *CommentCreateRequestSchema_TargetId) FromCommentCreateRequestSchemaTargetId1(v CommentCreateRequestSchemaTargetId1) error
FromCommentCreateRequestSchemaTargetId1 overwrites any union data inside the CommentCreateRequestSchema_TargetId as the provided CommentCreateRequestSchemaTargetId1
func (CommentCreateRequestSchema_TargetId) MarshalJSON ¶
func (t CommentCreateRequestSchema_TargetId) MarshalJSON() ([]byte, error)
func (*CommentCreateRequestSchema_TargetId) MergeCommentCreateRequestSchemaTargetId0 ¶
func (t *CommentCreateRequestSchema_TargetId) MergeCommentCreateRequestSchemaTargetId0(v CommentCreateRequestSchemaTargetId0) error
MergeCommentCreateRequestSchemaTargetId0 performs a merge with any union data inside the CommentCreateRequestSchema_TargetId, using the provided CommentCreateRequestSchemaTargetId0
func (*CommentCreateRequestSchema_TargetId) MergeCommentCreateRequestSchemaTargetId1 ¶
func (t *CommentCreateRequestSchema_TargetId) MergeCommentCreateRequestSchemaTargetId1(v CommentCreateRequestSchemaTargetId1) error
MergeCommentCreateRequestSchemaTargetId1 performs a merge with any union data inside the CommentCreateRequestSchema_TargetId, using the provided CommentCreateRequestSchemaTargetId1
func (*CommentCreateRequestSchema_TargetId) UnmarshalJSON ¶
func (t *CommentCreateRequestSchema_TargetId) UnmarshalJSON(b []byte) error
type CommentCreateRequestSchema_TeacherId ¶
type CommentCreateRequestSchema_TeacherId struct {
// contains filtered or unexported fields
}
CommentCreateRequestSchema_TeacherId defines model for CommentCreateRequestSchema.TeacherId.
func (CommentCreateRequestSchema_TeacherId) AsCommentCreateRequestSchemaTeacherId0 ¶
func (t CommentCreateRequestSchema_TeacherId) AsCommentCreateRequestSchemaTeacherId0() (CommentCreateRequestSchemaTeacherId0, error)
AsCommentCreateRequestSchemaTeacherId0 returns the union data inside the CommentCreateRequestSchema_TeacherId as a CommentCreateRequestSchemaTeacherId0
func (CommentCreateRequestSchema_TeacherId) AsCommentCreateRequestSchemaTeacherId1 ¶
func (t CommentCreateRequestSchema_TeacherId) AsCommentCreateRequestSchemaTeacherId1() (CommentCreateRequestSchemaTeacherId1, error)
AsCommentCreateRequestSchemaTeacherId1 returns the union data inside the CommentCreateRequestSchema_TeacherId as a CommentCreateRequestSchemaTeacherId1
func (*CommentCreateRequestSchema_TeacherId) FromCommentCreateRequestSchemaTeacherId0 ¶
func (t *CommentCreateRequestSchema_TeacherId) FromCommentCreateRequestSchemaTeacherId0(v CommentCreateRequestSchemaTeacherId0) error
FromCommentCreateRequestSchemaTeacherId0 overwrites any union data inside the CommentCreateRequestSchema_TeacherId as the provided CommentCreateRequestSchemaTeacherId0
func (*CommentCreateRequestSchema_TeacherId) FromCommentCreateRequestSchemaTeacherId1 ¶
func (t *CommentCreateRequestSchema_TeacherId) FromCommentCreateRequestSchemaTeacherId1(v CommentCreateRequestSchemaTeacherId1) error
FromCommentCreateRequestSchemaTeacherId1 overwrites any union data inside the CommentCreateRequestSchema_TeacherId as the provided CommentCreateRequestSchemaTeacherId1
func (CommentCreateRequestSchema_TeacherId) MarshalJSON ¶
func (t CommentCreateRequestSchema_TeacherId) MarshalJSON() ([]byte, error)
func (*CommentCreateRequestSchema_TeacherId) MergeCommentCreateRequestSchemaTeacherId0 ¶
func (t *CommentCreateRequestSchema_TeacherId) MergeCommentCreateRequestSchemaTeacherId0(v CommentCreateRequestSchemaTeacherId0) error
MergeCommentCreateRequestSchemaTeacherId0 performs a merge with any union data inside the CommentCreateRequestSchema_TeacherId, using the provided CommentCreateRequestSchemaTeacherId0
func (*CommentCreateRequestSchema_TeacherId) MergeCommentCreateRequestSchemaTeacherId1 ¶
func (t *CommentCreateRequestSchema_TeacherId) MergeCommentCreateRequestSchemaTeacherId1(v CommentCreateRequestSchemaTeacherId1) error
MergeCommentCreateRequestSchemaTeacherId1 performs a merge with any union data inside the CommentCreateRequestSchema_TeacherId, using the provided CommentCreateRequestSchemaTeacherId1
func (*CommentCreateRequestSchema_TeacherId) UnmarshalJSON ¶
func (t *CommentCreateRequestSchema_TeacherId) UnmarshalJSON(b []byte) error
type CommentReactionRequestSchema ¶
type CommentReactionRequestSchema struct {
Type CommentReactionRequestSchemaType `json:"type"`
}
CommentReactionRequestSchema defines model for commentReactionRequestSchema.
type CommentReactionRequestSchemaType ¶
type CommentReactionRequestSchemaType string
CommentReactionRequestSchemaType defines model for CommentReactionRequestSchema.Type.
const ( CommentReactionRequestSchemaTypeConfused CommentReactionRequestSchemaType = "confused" CommentReactionRequestSchemaTypeDownvote CommentReactionRequestSchemaType = "downvote" CommentReactionRequestSchemaTypeEyes CommentReactionRequestSchemaType = "eyes" CommentReactionRequestSchemaTypeHeart CommentReactionRequestSchemaType = "heart" CommentReactionRequestSchemaTypeHooray CommentReactionRequestSchemaType = "hooray" CommentReactionRequestSchemaTypeLaugh CommentReactionRequestSchemaType = "laugh" CommentReactionRequestSchemaTypeRocket CommentReactionRequestSchemaType = "rocket" CommentReactionRequestSchemaTypeUpvote CommentReactionRequestSchemaType = "upvote" )
Defines values for CommentReactionRequestSchemaType.
func (CommentReactionRequestSchemaType) Valid ¶
func (e CommentReactionRequestSchemaType) Valid() bool
Valid indicates whether the value is a known member of the CommentReactionRequestSchemaType enum.
type CommentRepliesResponseSchema ¶
type CommentRepliesResponseSchema struct {
NextCursor *string `json:"nextCursor"`
RootId string `json:"rootId"`
Thread []UnderscoreUnderscoreSchema8 `json:"thread"`
Viewer struct {
Image *string `json:"image"`
IsAdmin bool `json:"isAdmin"`
IsAuthenticated bool `json:"isAuthenticated"`
IsSuspended bool `json:"isSuspended"`
Name *string `json:"name"`
SuspensionExpiresAt *time.Time `json:"suspensionExpiresAt"`
SuspensionReason *string `json:"suspensionReason"`
UserId *string `json:"userId"`
} `json:"viewer"`
}
CommentRepliesResponseSchema defines model for commentRepliesResponseSchema.
type CommentThreadResponseSchema ¶
type CommentThreadResponseSchema struct {
FocusId string `json:"focusId"`
HiddenCount int `json:"hiddenCount"`
Target struct {
CourseId *int `json:"courseId"`
CourseJwId *int `json:"courseJwId"`
CourseName *string `json:"courseName"`
HomeworkId *string `json:"homeworkId"`
HomeworkSectionCode *string `json:"homeworkSectionCode"`
HomeworkSectionJwId *int `json:"homeworkSectionJwId"`
HomeworkTitle *string `json:"homeworkTitle"`
SectionCode *string `json:"sectionCode"`
SectionId *int `json:"sectionId"`
SectionJwId *int `json:"sectionJwId"`
SectionTeacherCourseJwId *int `json:"sectionTeacherCourseJwId"`
SectionTeacherCourseName *string `json:"sectionTeacherCourseName"`
SectionTeacherId *int `json:"sectionTeacherId"`
SectionTeacherSectionCode *string `json:"sectionTeacherSectionCode"`
SectionTeacherSectionId *int `json:"sectionTeacherSectionId"`
SectionTeacherSectionJwId *int `json:"sectionTeacherSectionJwId"`
SectionTeacherTeacherId *int `json:"sectionTeacherTeacherId"`
SectionTeacherTeacherName *string `json:"sectionTeacherTeacherName"`
TeacherId *int `json:"teacherId"`
TeacherName *string `json:"teacherName"`
YoungEventId *int `json:"youngEventId"`
YoungEventName *string `json:"youngEventName"`
YoungId *string `json:"youngId"`
} `json:"target"`
Thread []UnderscoreUnderscoreSchema8 `json:"thread"`
Viewer struct {
Image *string `json:"image"`
IsAdmin bool `json:"isAdmin"`
IsAuthenticated bool `json:"isAuthenticated"`
IsSuspended bool `json:"isSuspended"`
Name *string `json:"name"`
SuspensionExpiresAt *time.Time `json:"suspensionExpiresAt"`
SuspensionReason *string `json:"suspensionReason"`
UserId *string `json:"userId"`
} `json:"viewer"`
}
CommentThreadResponseSchema defines model for commentThreadResponseSchema.
type CommentUpdateRequestSchema ¶
type CommentUpdateRequestSchema struct {
AttachmentIds *[]string `json:"attachmentIds,omitempty"`
Body string `json:"body"`
IsAnonymous *bool `json:"isAnonymous,omitempty"`
Visibility *CommentUpdateRequestSchemaVisibility `json:"visibility,omitempty"`
}
CommentUpdateRequestSchema defines model for commentUpdateRequestSchema.
type CommentUpdateRequestSchemaVisibility ¶
type CommentUpdateRequestSchemaVisibility string
CommentUpdateRequestSchemaVisibility defines model for CommentUpdateRequestSchema.Visibility.
const ( CommentUpdateRequestSchemaVisibilityLoggedInOnly CommentUpdateRequestSchemaVisibility = "logged_in_only" CommentUpdateRequestSchemaVisibilityPublic CommentUpdateRequestSchemaVisibility = "public" )
Defines values for CommentUpdateRequestSchemaVisibility.
func (CommentUpdateRequestSchemaVisibility) Valid ¶
func (e CommentUpdateRequestSchemaVisibility) Valid() bool
Valid indicates whether the value is a known member of the CommentUpdateRequestSchemaVisibility enum.
type CommentUpdateResponseSchema ¶
type CommentUpdateResponseSchema struct {
Comment UnderscoreUnderscoreSchema8 `json:"comment"`
Success bool `json:"success"`
}
CommentUpdateResponseSchema defines model for commentUpdateResponseSchema.
type CommentsListResponseSchema ¶
type CommentsListResponseSchema struct {
Data []UnderscoreUnderscoreSchema8 `json:"data"`
Meta struct {
HiddenCount int `json:"hiddenCount"`
Target struct {
CourseId *int `json:"courseId"`
CourseJwId *int `json:"courseJwId"`
CourseName *string `json:"courseName"`
HomeworkId *string `json:"homeworkId"`
HomeworkSectionCode *string `json:"homeworkSectionCode"`
HomeworkSectionJwId *int `json:"homeworkSectionJwId"`
HomeworkTitle *string `json:"homeworkTitle"`
SectionCode *string `json:"sectionCode"`
SectionId *int `json:"sectionId"`
SectionJwId *int `json:"sectionJwId"`
SectionTeacherCourseJwId *int `json:"sectionTeacherCourseJwId"`
SectionTeacherCourseName *string `json:"sectionTeacherCourseName"`
SectionTeacherId *int `json:"sectionTeacherId"`
SectionTeacherSectionCode *string `json:"sectionTeacherSectionCode"`
SectionTeacherSectionId *int `json:"sectionTeacherSectionId"`
SectionTeacherSectionJwId *int `json:"sectionTeacherSectionJwId"`
SectionTeacherTeacherId *int `json:"sectionTeacherTeacherId"`
SectionTeacherTeacherName *string `json:"sectionTeacherTeacherName"`
TargetId CommentsListResponseSchema_Meta_Target_TargetId `json:"targetId"`
TeacherId *int `json:"teacherId"`
TeacherName *string `json:"teacherName"`
Type string `json:"type"`
YoungEventId *int `json:"youngEventId"`
YoungEventName *string `json:"youngEventName"`
YoungId *string `json:"youngId"`
} `json:"target"`
Viewer struct {
Image *string `json:"image"`
IsAdmin bool `json:"isAdmin"`
IsAuthenticated bool `json:"isAuthenticated"`
IsSuspended bool `json:"isSuspended"`
Name *string `json:"name"`
SuspensionExpiresAt *time.Time `json:"suspensionExpiresAt"`
SuspensionReason *string `json:"suspensionReason"`
UserId *string `json:"userId"`
} `json:"viewer"`
} `json:"meta"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
CommentsListResponseSchema defines model for commentsListResponseSchema.
type CommentsListResponseSchemaMetaTargetTargetId0 ¶
type CommentsListResponseSchemaMetaTargetTargetId0 = int
CommentsListResponseSchemaMetaTargetTargetId0 defines model for CommentsListResponseSchema.Meta.Target.TargetId.0.
type CommentsListResponseSchemaMetaTargetTargetId1 ¶
type CommentsListResponseSchemaMetaTargetTargetId1 = string
CommentsListResponseSchemaMetaTargetTargetId1 defines model for CommentsListResponseSchema.Meta.Target.TargetId.1.
type CommentsListResponseSchemaMetaTargetTargetId2 ¶
type CommentsListResponseSchemaMetaTargetTargetId2 string
CommentsListResponseSchemaMetaTargetTargetId2 defines model for CommentsListResponseSchema.Meta.Target.TargetId.2.
const (
CommentsListResponseSchemaMetaTargetTargetId2LessThannil CommentsListResponseSchemaMetaTargetTargetId2 = "<nil>"
)
Defines values for CommentsListResponseSchemaMetaTargetTargetId2.
func (CommentsListResponseSchemaMetaTargetTargetId2) Valid ¶
func (e CommentsListResponseSchemaMetaTargetTargetId2) Valid() bool
Valid indicates whether the value is a known member of the CommentsListResponseSchemaMetaTargetTargetId2 enum.
type CommentsListResponseSchema_Meta_Target_TargetId ¶
type CommentsListResponseSchema_Meta_Target_TargetId struct {
// contains filtered or unexported fields
}
CommentsListResponseSchema_Meta_Target_TargetId defines model for CommentsListResponseSchema.Meta.Target.TargetId.
func (CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId0 ¶
func (t CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId0() (CommentsListResponseSchemaMetaTargetTargetId0, error)
AsCommentsListResponseSchemaMetaTargetTargetId0 returns the union data inside the CommentsListResponseSchema_Meta_Target_TargetId as a CommentsListResponseSchemaMetaTargetTargetId0
func (CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId1 ¶
func (t CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId1() (CommentsListResponseSchemaMetaTargetTargetId1, error)
AsCommentsListResponseSchemaMetaTargetTargetId1 returns the union data inside the CommentsListResponseSchema_Meta_Target_TargetId as a CommentsListResponseSchemaMetaTargetTargetId1
func (CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId2 ¶
func (t CommentsListResponseSchema_Meta_Target_TargetId) AsCommentsListResponseSchemaMetaTargetTargetId2() (CommentsListResponseSchemaMetaTargetTargetId2, error)
AsCommentsListResponseSchemaMetaTargetTargetId2 returns the union data inside the CommentsListResponseSchema_Meta_Target_TargetId as a CommentsListResponseSchemaMetaTargetTargetId2
func (*CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId0 ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId0(v CommentsListResponseSchemaMetaTargetTargetId0) error
FromCommentsListResponseSchemaMetaTargetTargetId0 overwrites any union data inside the CommentsListResponseSchema_Meta_Target_TargetId as the provided CommentsListResponseSchemaMetaTargetTargetId0
func (*CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId1 ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId1(v CommentsListResponseSchemaMetaTargetTargetId1) error
FromCommentsListResponseSchemaMetaTargetTargetId1 overwrites any union data inside the CommentsListResponseSchema_Meta_Target_TargetId as the provided CommentsListResponseSchemaMetaTargetTargetId1
func (*CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId2 ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) FromCommentsListResponseSchemaMetaTargetTargetId2(v CommentsListResponseSchemaMetaTargetTargetId2) error
FromCommentsListResponseSchemaMetaTargetTargetId2 overwrites any union data inside the CommentsListResponseSchema_Meta_Target_TargetId as the provided CommentsListResponseSchemaMetaTargetTargetId2
func (CommentsListResponseSchema_Meta_Target_TargetId) MarshalJSON ¶
func (t CommentsListResponseSchema_Meta_Target_TargetId) MarshalJSON() ([]byte, error)
func (*CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId0 ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId0(v CommentsListResponseSchemaMetaTargetTargetId0) error
MergeCommentsListResponseSchemaMetaTargetTargetId0 performs a merge with any union data inside the CommentsListResponseSchema_Meta_Target_TargetId, using the provided CommentsListResponseSchemaMetaTargetTargetId0
func (*CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId1 ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId1(v CommentsListResponseSchemaMetaTargetTargetId1) error
MergeCommentsListResponseSchemaMetaTargetTargetId1 performs a merge with any union data inside the CommentsListResponseSchema_Meta_Target_TargetId, using the provided CommentsListResponseSchemaMetaTargetTargetId1
func (*CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId2 ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) MergeCommentsListResponseSchemaMetaTargetTargetId2(v CommentsListResponseSchemaMetaTargetTargetId2) error
MergeCommentsListResponseSchemaMetaTargetTargetId2 performs a merge with any union data inside the CommentsListResponseSchema_Meta_Target_TargetId, using the provided CommentsListResponseSchemaMetaTargetTargetId2
func (*CommentsListResponseSchema_Meta_Target_TargetId) UnmarshalJSON ¶
func (t *CommentsListResponseSchema_Meta_Target_TargetId) UnmarshalJSON(b []byte) error
type CommunitySectionHomeworkCreateJSONRequestBody ¶
type CommunitySectionHomeworkCreateJSONRequestBody = HomeworkCreateRequestSchema
CommunitySectionHomeworkCreateJSONRequestBody defines body for CommunitySectionHomeworkCreate for application/json ContentType.
type CommunitySectionHomeworkCreateResponse ¶
type CommunitySectionHomeworkCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *HomeworkCreateResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CommunitySectionHomeworkCreateResponse201Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CommunitySectionHomeworkCreateResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CommunitySectionHomeworkCreateResponse503Headers
}
func ParseCommunitySectionHomeworkCreateResponse ¶
func ParseCommunitySectionHomeworkCreateResponse(rsp *http.Response) (*CommunitySectionHomeworkCreateResponse, error)
ParseCommunitySectionHomeworkCreateResponse parses an HTTP response from a CommunitySectionHomeworkCreateWithResponse call
func (CommunitySectionHomeworkCreateResponse) ContentType ¶
func (r CommunitySectionHomeworkCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CommunitySectionHomeworkCreateResponse) GetBody ¶
func (r CommunitySectionHomeworkCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CommunitySectionHomeworkCreateResponse) GetJSON201 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON201() *HomeworkCreateResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CommunitySectionHomeworkCreateResponse) GetJSON400 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CommunitySectionHomeworkCreateResponse) GetJSON401 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CommunitySectionHomeworkCreateResponse) GetJSON403 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CommunitySectionHomeworkCreateResponse) GetJSON404 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CommunitySectionHomeworkCreateResponse) GetJSON429 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CommunitySectionHomeworkCreateResponse) GetJSON503 ¶
func (r CommunitySectionHomeworkCreateResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CommunitySectionHomeworkCreateResponse) Status ¶
func (r CommunitySectionHomeworkCreateResponse) Status() string
Status returns HTTPResponse.Status
func (CommunitySectionHomeworkCreateResponse) StatusCode ¶
func (r CommunitySectionHomeworkCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommunitySectionHomeworkCreateResponse201Headers ¶
type CommunitySectionHomeworkCreateResponse201Headers struct {
Location *string
}
CommunitySectionHomeworkCreateResponse201Headers the declared response headers of an HTTP 201 response for CommunitySectionHomeworkCreate
type CommunitySectionHomeworkCreateResponse429Headers ¶
type CommunitySectionHomeworkCreateResponse429Headers struct {
RetryAfter *int
}
CommunitySectionHomeworkCreateResponse429Headers the declared response headers of an HTTP 429 response for CommunitySectionHomeworkCreate
type CommunitySectionHomeworkCreateResponse503Headers ¶
type CommunitySectionHomeworkCreateResponse503Headers struct {
RetryAfter *int
}
CommunitySectionHomeworkCreateResponse503Headers the declared response headers of an HTTP 503 response for CommunitySectionHomeworkCreate
type CommunitySectionHomeworkDeleteResponse ¶
type CommunitySectionHomeworkDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CommunitySectionHomeworkDeleteResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CommunitySectionHomeworkDeleteResponse503Headers
}
func ParseCommunitySectionHomeworkDeleteResponse ¶
func ParseCommunitySectionHomeworkDeleteResponse(rsp *http.Response) (*CommunitySectionHomeworkDeleteResponse, error)
ParseCommunitySectionHomeworkDeleteResponse parses an HTTP response from a CommunitySectionHomeworkDeleteWithResponse call
func (CommunitySectionHomeworkDeleteResponse) ContentType ¶
func (r CommunitySectionHomeworkDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CommunitySectionHomeworkDeleteResponse) GetBody ¶
func (r CommunitySectionHomeworkDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CommunitySectionHomeworkDeleteResponse) GetJSON200 ¶
func (r CommunitySectionHomeworkDeleteResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CommunitySectionHomeworkDeleteResponse) GetJSON401 ¶
func (r CommunitySectionHomeworkDeleteResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CommunitySectionHomeworkDeleteResponse) GetJSON403 ¶
func (r CommunitySectionHomeworkDeleteResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CommunitySectionHomeworkDeleteResponse) GetJSON404 ¶
func (r CommunitySectionHomeworkDeleteResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CommunitySectionHomeworkDeleteResponse) GetJSON429 ¶
func (r CommunitySectionHomeworkDeleteResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CommunitySectionHomeworkDeleteResponse) GetJSON503 ¶
func (r CommunitySectionHomeworkDeleteResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CommunitySectionHomeworkDeleteResponse) Status ¶
func (r CommunitySectionHomeworkDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CommunitySectionHomeworkDeleteResponse) StatusCode ¶
func (r CommunitySectionHomeworkDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommunitySectionHomeworkDeleteResponse429Headers ¶
type CommunitySectionHomeworkDeleteResponse429Headers struct {
RetryAfter *int
}
CommunitySectionHomeworkDeleteResponse429Headers the declared response headers of an HTTP 429 response for CommunitySectionHomeworkDelete
type CommunitySectionHomeworkDeleteResponse503Headers ¶
type CommunitySectionHomeworkDeleteResponse503Headers struct {
RetryAfter *int
}
CommunitySectionHomeworkDeleteResponse503Headers the declared response headers of an HTTP 503 response for CommunitySectionHomeworkDelete
type CommunitySectionHomeworkListParams ¶
type CommunitySectionHomeworkListParams struct {
SectionId *int64 `form:"sectionId,omitempty" json:"sectionId,omitempty"`
SectionIds *string `form:"sectionIds,omitempty" json:"sectionIds,omitempty"`
SectionJwId *int64 `form:"sectionJwId,omitempty" json:"sectionJwId,omitempty"`
IncludeDeleted *CommunitySectionHomeworkListParamsIncludeDeleted `form:"includeDeleted,omitempty" json:"includeDeleted,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
CommunitySectionHomeworkListParams defines parameters for CommunitySectionHomeworkList.
type CommunitySectionHomeworkListParamsIncludeDeleted ¶
type CommunitySectionHomeworkListParamsIncludeDeleted string
CommunitySectionHomeworkListParamsIncludeDeleted defines parameters for CommunitySectionHomeworkList.
const ( CommunitySectionHomeworkListParamsIncludeDeletedFalse CommunitySectionHomeworkListParamsIncludeDeleted = "false" CommunitySectionHomeworkListParamsIncludeDeletedTrue CommunitySectionHomeworkListParamsIncludeDeleted = "true" )
Defines values for CommunitySectionHomeworkListParamsIncludeDeleted.
func (CommunitySectionHomeworkListParamsIncludeDeleted) Valid ¶
func (e CommunitySectionHomeworkListParamsIncludeDeleted) Valid() bool
Valid indicates whether the value is a known member of the CommunitySectionHomeworkListParamsIncludeDeleted enum.
type CommunitySectionHomeworkListResponse ¶
type CommunitySectionHomeworkListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HomeworksListResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseCommunitySectionHomeworkListResponse ¶
func ParseCommunitySectionHomeworkListResponse(rsp *http.Response) (*CommunitySectionHomeworkListResponse, error)
ParseCommunitySectionHomeworkListResponse parses an HTTP response from a CommunitySectionHomeworkListWithResponse call
func (CommunitySectionHomeworkListResponse) ContentType ¶
func (r CommunitySectionHomeworkListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CommunitySectionHomeworkListResponse) GetBody ¶
func (r CommunitySectionHomeworkListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CommunitySectionHomeworkListResponse) GetJSON200 ¶
func (r CommunitySectionHomeworkListResponse) GetJSON200() *HomeworksListResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CommunitySectionHomeworkListResponse) GetJSON400 ¶
func (r CommunitySectionHomeworkListResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CommunitySectionHomeworkListResponse) GetJSON401 ¶
func (r CommunitySectionHomeworkListResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CommunitySectionHomeworkListResponse) GetJSON404 ¶
func (r CommunitySectionHomeworkListResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CommunitySectionHomeworkListResponse) Status ¶
func (r CommunitySectionHomeworkListResponse) Status() string
Status returns HTTPResponse.Status
func (CommunitySectionHomeworkListResponse) StatusCode ¶
func (r CommunitySectionHomeworkListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommunitySectionHomeworkUpdateJSONRequestBody ¶
type CommunitySectionHomeworkUpdateJSONRequestBody = HomeworkUpdateRequestSchema
CommunitySectionHomeworkUpdateJSONRequestBody defines body for CommunitySectionHomeworkUpdate for application/json ContentType.
type CommunitySectionHomeworkUpdateResponse ¶
type CommunitySectionHomeworkUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HomeworkUpdateResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CommunitySectionHomeworkUpdateResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CommunitySectionHomeworkUpdateResponse503Headers
}
func ParseCommunitySectionHomeworkUpdateResponse ¶
func ParseCommunitySectionHomeworkUpdateResponse(rsp *http.Response) (*CommunitySectionHomeworkUpdateResponse, error)
ParseCommunitySectionHomeworkUpdateResponse parses an HTTP response from a CommunitySectionHomeworkUpdateWithResponse call
func (CommunitySectionHomeworkUpdateResponse) ContentType ¶
func (r CommunitySectionHomeworkUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CommunitySectionHomeworkUpdateResponse) GetBody ¶
func (r CommunitySectionHomeworkUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CommunitySectionHomeworkUpdateResponse) GetJSON200 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON200() *HomeworkUpdateResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) GetJSON400 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) GetJSON401 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) GetJSON403 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) GetJSON404 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) GetJSON429 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) GetJSON503 ¶
func (r CommunitySectionHomeworkUpdateResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CommunitySectionHomeworkUpdateResponse) Status ¶
func (r CommunitySectionHomeworkUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (CommunitySectionHomeworkUpdateResponse) StatusCode ¶
func (r CommunitySectionHomeworkUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommunitySectionHomeworkUpdateResponse429Headers ¶
type CommunitySectionHomeworkUpdateResponse429Headers struct {
RetryAfter *int
}
CommunitySectionHomeworkUpdateResponse429Headers the declared response headers of an HTTP 429 response for CommunitySectionHomeworkUpdate
type CommunitySectionHomeworkUpdateResponse503Headers ¶
type CommunitySectionHomeworkUpdateResponse503Headers struct {
RetryAfter *int
}
CommunitySectionHomeworkUpdateResponse503Headers the declared response headers of an HTTP 503 response for CommunitySectionHomeworkUpdate
type CommunityUserGetResponse ¶
type CommunityUserGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicUserProfileResponseSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseCommunityUserGetResponse ¶
func ParseCommunityUserGetResponse(rsp *http.Response) (*CommunityUserGetResponse, error)
ParseCommunityUserGetResponse parses an HTTP response from a CommunityUserGetWithResponse call
func (CommunityUserGetResponse) ContentType ¶
func (r CommunityUserGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CommunityUserGetResponse) GetBody ¶
func (r CommunityUserGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CommunityUserGetResponse) GetJSON200 ¶
func (r CommunityUserGetResponse) GetJSON200() *PublicUserProfileResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CommunityUserGetResponse) GetJSON404 ¶
func (r CommunityUserGetResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CommunityUserGetResponse) Status ¶
func (r CommunityUserGetResponse) Status() string
Status returns HTTPResponse.Status
func (CommunityUserGetResponse) StatusCode ¶
func (r CommunityUserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompactOverviewResponseSchema ¶
type CompactOverviewResponseSchema struct {
Anchor struct {
AtTime time.Time `json:"atTime"`
HomeworkWindowDays int `json:"homeworkWindowDays"`
HomeworkWindowEnd time.Time `json:"homeworkWindowEnd"`
Limit int `json:"limit"`
TodayStart time.Time `json:"todayStart"`
TomorrowStart time.Time `json:"tomorrowStart"`
} `json:"anchor"`
Counts struct {
DueSoonHomeworks int `json:"dueSoonHomeworks"`
PendingHomeworks int `json:"pendingHomeworks"`
TodaySchedules int `json:"todaySchedules"`
Todos struct {
Completed int `json:"completed"`
Incomplete int `json:"incomplete"`
Overdue int `json:"overdue"`
} `json:"todos"`
UpcomingExams int `json:"upcomingExams"`
} `json:"counts"`
DueTodos struct {
Items []struct {
CreatedAt time.Time `json:"createdAt"`
DueAt time.Time `json:"dueAt"`
Id string `json:"id"`
Priority CompactOverviewResponseSchemaDueTodosItemsPriority `json:"priority"`
Title string `json:"title"`
} `json:"items"`
Total int `json:"total"`
} `json:"dueTodos"`
Exams struct {
Items []struct {
AdminClassNames *string `json:"adminClassNames"`
EndTime *int `json:"endTime"`
ExamBatch *struct {
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"examBatch"`
ExamBatchId *int `json:"examBatchId"`
ExamDate *time.Time `json:"examDate"`
ExamMode *string `json:"examMode"`
ExamRooms []struct {
Count int `json:"count"`
ExamId int `json:"examId"`
Id int `json:"id"`
Room string `json:"room"`
} `json:"examRooms"`
ExamTakeCount *int `json:"examTakeCount"`
ExamType *int `json:"examType"`
Grades *string `json:"grades"`
Id int `json:"id"`
JwId int `json:"jwId"`
Monitors *[]struct {
JwId int `json:"jwId"`
NameCn *string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"monitors"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
StartTime *int `json:"startTime"`
} `json:"items"`
Total int `json:"total"`
} `json:"exams"`
Homeworks struct {
Items []struct {
CommentCount int `json:"commentCount"`
Completion *struct {
CompletedAt time.Time `json:"completedAt"`
} `json:"completion"`
CompletionRequired bool `json:"completionRequired"`
CreatedAt time.Time `json:"createdAt"`
CreatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"createdBy"`
CreatedById *string `json:"createdById"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"deletedBy"`
DeletedById *string `json:"deletedById"`
Description *struct {
Content string `json:"content"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedById *string `json:"lastEditedById"`
SectionId *int `json:"sectionId"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"description"`
Id string `json:"id"`
IsMajor bool `json:"isMajor"`
PublishedAt *time.Time `json:"publishedAt"`
RequiresTeam bool `json:"requiresTeam"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
SubmissionStartAt *time.Time `json:"submissionStartAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"updatedBy"`
UpdatedById *string `json:"updatedById"`
} `json:"items"`
Total int `json:"total"`
} `json:"homeworks"`
Schedules struct {
Items []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
Room *struct {
Building *struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"building"`
BuildingId *int `json:"buildingId"`
Code string `json:"code"`
Floor *int `json:"floor"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Remark *string `json:"remark"`
RoomType *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"roomType"`
RoomTypeId *int `json:"roomTypeId"`
Seats int `json:"seats"`
SeatsForSection int `json:"seatsForSection"`
Virtual bool `json:"virtual"`
} `json:"room"`
RoomId *int `json:"roomId"`
ScheduleGroup struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
} `json:"scheduleGroup"`
ScheduleGroupId int `json:"scheduleGroupId"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
TeacherParticipations []struct {
ExerciseClass *bool `json:"exerciseClass"`
Periods *float32 `json:"periods"`
Teacher struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teacher"`
} `json:"teacherParticipations"`
Teachers []struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
} `json:"items"`
Total int `json:"total"`
} `json:"schedules"`
Todos struct {
Counts struct {
Completed int `json:"completed"`
Incomplete int `json:"incomplete"`
Overdue int `json:"overdue"`
} `json:"counts"`
Items []struct {
Completed bool `json:"completed"`
Content *string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
DueAt *time.Time `json:"dueAt"`
Id string `json:"id"`
Priority CompactOverviewResponseSchemaTodosItemsPriority `json:"priority"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"items"`
} `json:"todos"`
User struct {
Image *string `json:"image"`
IsAdmin bool `json:"isAdmin"`
Name *string `json:"name"`
UserId *string `json:"userId"`
} `json:"user"`
}
CompactOverviewResponseSchema defines model for compactOverviewResponseSchema.
type CompactOverviewResponseSchemaDueTodosItemsPriority ¶
type CompactOverviewResponseSchemaDueTodosItemsPriority string
CompactOverviewResponseSchemaDueTodosItemsPriority defines model for CompactOverviewResponseSchema.DueTodos.Items.Priority.
const ( CompactOverviewResponseSchemaDueTodosItemsPriorityHigh CompactOverviewResponseSchemaDueTodosItemsPriority = "high" CompactOverviewResponseSchemaDueTodosItemsPriorityLow CompactOverviewResponseSchemaDueTodosItemsPriority = "low" CompactOverviewResponseSchemaDueTodosItemsPriorityMedium CompactOverviewResponseSchemaDueTodosItemsPriority = "medium" )
Defines values for CompactOverviewResponseSchemaDueTodosItemsPriority.
func (CompactOverviewResponseSchemaDueTodosItemsPriority) Valid ¶
func (e CompactOverviewResponseSchemaDueTodosItemsPriority) Valid() bool
Valid indicates whether the value is a known member of the CompactOverviewResponseSchemaDueTodosItemsPriority enum.
type CompactOverviewResponseSchemaTodosItemsPriority ¶
type CompactOverviewResponseSchemaTodosItemsPriority string
CompactOverviewResponseSchemaTodosItemsPriority defines model for CompactOverviewResponseSchema.Todos.Items.Priority.
const ( CompactOverviewResponseSchemaTodosItemsPriorityHigh CompactOverviewResponseSchemaTodosItemsPriority = "high" CompactOverviewResponseSchemaTodosItemsPriorityLow CompactOverviewResponseSchemaTodosItemsPriority = "low" CompactOverviewResponseSchemaTodosItemsPriorityMedium CompactOverviewResponseSchemaTodosItemsPriority = "medium" )
Defines values for CompactOverviewResponseSchemaTodosItemsPriority.
func (CompactOverviewResponseSchemaTodosItemsPriority) Valid ¶
func (e CompactOverviewResponseSchemaTodosItemsPriority) Valid() bool
Valid indicates whether the value is a known member of the CompactOverviewResponseSchemaTodosItemsPriority enum.
type CompleteUploadJSONRequestBody ¶
type CompleteUploadJSONRequestBody = UploadCompleteRequestSchema
CompleteUploadJSONRequestBody defines body for CompleteUpload for application/json ContentType.
type CompleteUploadResponse ¶
type CompleteUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UploadCompleteResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CompleteUploadResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CompleteUploadResponse503Headers
}
func ParseCompleteUploadResponse ¶
func ParseCompleteUploadResponse(rsp *http.Response) (*CompleteUploadResponse, error)
ParseCompleteUploadResponse parses an HTTP response from a CompleteUploadWithResponse call
func (CompleteUploadResponse) ContentType ¶
func (r CompleteUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CompleteUploadResponse) GetBody ¶
func (r CompleteUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CompleteUploadResponse) GetJSON200 ¶
func (r CompleteUploadResponse) GetJSON200() *UploadCompleteResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CompleteUploadResponse) GetJSON400 ¶
func (r CompleteUploadResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CompleteUploadResponse) GetJSON401 ¶
func (r CompleteUploadResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CompleteUploadResponse) GetJSON403 ¶
func (r CompleteUploadResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CompleteUploadResponse) GetJSON429 ¶
func (r CompleteUploadResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CompleteUploadResponse) GetJSON503 ¶
func (r CompleteUploadResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CompleteUploadResponse) Status ¶
func (r CompleteUploadResponse) Status() string
Status returns HTTPResponse.Status
func (CompleteUploadResponse) StatusCode ¶
func (r CompleteUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompleteUploadResponse429Headers ¶
type CompleteUploadResponse429Headers struct {
RetryAfter *int
}
CompleteUploadResponse429Headers the declared response headers of an HTTP 429 response for CompleteUpload
type CompleteUploadResponse503Headers ¶
type CompleteUploadResponse503Headers struct {
RetryAfter *int
}
CompleteUploadResponse503Headers the declared response headers of an HTTP 503 response for CompleteUpload
type CourseDetailSchema ¶
type CourseDetailSchema struct {
UnderscoreCount struct {
Sections int `json:"sections"`
} `json:"_count"`
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
}
CourseDetailSchema defines model for courseDetailSchema.
type CreateAdminSuspensionJSONRequestBody ¶
type CreateAdminSuspensionJSONRequestBody = AdminCreateSuspensionRequestSchema
CreateAdminSuspensionJSONRequestBody defines body for CreateAdminSuspension for application/json ContentType.
type CreateAdminSuspensionResponse ¶
type CreateAdminSuspensionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AdminSuspensionResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateAdminSuspensionResponse201Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CreateAdminSuspensionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateAdminSuspensionResponse503Headers
}
func ParseCreateAdminSuspensionResponse ¶
func ParseCreateAdminSuspensionResponse(rsp *http.Response) (*CreateAdminSuspensionResponse, error)
ParseCreateAdminSuspensionResponse parses an HTTP response from a CreateAdminSuspensionWithResponse call
func (CreateAdminSuspensionResponse) ContentType ¶
func (r CreateAdminSuspensionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAdminSuspensionResponse) GetBody ¶
func (r CreateAdminSuspensionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAdminSuspensionResponse) GetJSON201 ¶
func (r CreateAdminSuspensionResponse) GetJSON201() *AdminSuspensionResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateAdminSuspensionResponse) GetJSON400 ¶
func (r CreateAdminSuspensionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateAdminSuspensionResponse) GetJSON401 ¶
func (r CreateAdminSuspensionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateAdminSuspensionResponse) GetJSON403 ¶
func (r CreateAdminSuspensionResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateAdminSuspensionResponse) GetJSON404 ¶
func (r CreateAdminSuspensionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateAdminSuspensionResponse) GetJSON429 ¶
func (r CreateAdminSuspensionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateAdminSuspensionResponse) GetJSON503 ¶
func (r CreateAdminSuspensionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateAdminSuspensionResponse) Status ¶
func (r CreateAdminSuspensionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAdminSuspensionResponse) StatusCode ¶
func (r CreateAdminSuspensionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAdminSuspensionResponse201Headers ¶
type CreateAdminSuspensionResponse201Headers struct {
Location *string
}
CreateAdminSuspensionResponse201Headers the declared response headers of an HTTP 201 response for CreateAdminSuspension
type CreateAdminSuspensionResponse429Headers ¶
type CreateAdminSuspensionResponse429Headers struct {
RetryAfter *int
}
CreateAdminSuspensionResponse429Headers the declared response headers of an HTTP 429 response for CreateAdminSuspension
type CreateAdminSuspensionResponse503Headers ¶
type CreateAdminSuspensionResponse503Headers struct {
RetryAfter *int
}
CreateAdminSuspensionResponse503Headers the declared response headers of an HTTP 503 response for CreateAdminSuspension
type CreateCommentJSONRequestBody ¶
type CreateCommentJSONRequestBody = CommentCreateRequestSchema
CreateCommentJSONRequestBody defines body for CreateComment for application/json ContentType.
type CreateCommentResponse ¶
type CreateCommentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *IdResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateCommentResponse201Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CreateCommentResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateCommentResponse503Headers
}
func ParseCreateCommentResponse ¶
func ParseCreateCommentResponse(rsp *http.Response) (*CreateCommentResponse, error)
ParseCreateCommentResponse parses an HTTP response from a CreateCommentWithResponse call
func (CreateCommentResponse) ContentType ¶
func (r CreateCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCommentResponse) GetBody ¶
func (r CreateCommentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCommentResponse) GetJSON201 ¶
func (r CreateCommentResponse) GetJSON201() *IdResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateCommentResponse) GetJSON400 ¶
func (r CreateCommentResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateCommentResponse) GetJSON401 ¶
func (r CreateCommentResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateCommentResponse) GetJSON403 ¶
func (r CreateCommentResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateCommentResponse) GetJSON404 ¶
func (r CreateCommentResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateCommentResponse) GetJSON429 ¶
func (r CreateCommentResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateCommentResponse) GetJSON503 ¶
func (r CreateCommentResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateCommentResponse) Status ¶
func (r CreateCommentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCommentResponse) StatusCode ¶
func (r CreateCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCommentResponse201Headers ¶
type CreateCommentResponse201Headers struct {
Location *string
}
CreateCommentResponse201Headers the declared response headers of an HTTP 201 response for CreateComment
type CreateCommentResponse429Headers ¶
type CreateCommentResponse429Headers struct {
RetryAfter *int
}
CreateCommentResponse429Headers the declared response headers of an HTTP 429 response for CreateComment
type CreateCommentResponse503Headers ¶
type CreateCommentResponse503Headers struct {
RetryAfter *int
}
CreateCommentResponse503Headers the declared response headers of an HTTP 503 response for CreateComment
type CreateMcpResponse ¶
type CreateMcpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CreateMcpResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateMcpResponse503Headers
}
func ParseCreateMcpResponse ¶
func ParseCreateMcpResponse(rsp *http.Response) (*CreateMcpResponse, error)
ParseCreateMcpResponse parses an HTTP response from a CreateMcpWithResponse call
func (CreateMcpResponse) ContentType ¶
func (r CreateMcpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMcpResponse) GetBody ¶
func (r CreateMcpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMcpResponse) GetJSON401 ¶
func (r CreateMcpResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateMcpResponse) GetJSON403 ¶
func (r CreateMcpResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateMcpResponse) GetJSON429 ¶
func (r CreateMcpResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateMcpResponse) GetJSON503 ¶
func (r CreateMcpResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateMcpResponse) Status ¶
func (r CreateMcpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMcpResponse) StatusCode ¶
func (r CreateMcpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMcpResponse429Headers ¶
type CreateMcpResponse429Headers struct {
RetryAfter *int
}
CreateMcpResponse429Headers the declared response headers of an HTTP 429 response for CreateMcp
type CreateMcpResponse503Headers ¶
type CreateMcpResponse503Headers struct {
RetryAfter *int
}
CreateMcpResponse503Headers the declared response headers of an HTTP 503 response for CreateMcp
type CreateTodoJSONRequestBody ¶
type CreateTodoJSONRequestBody = TodoCreateRequestSchema
CreateTodoJSONRequestBody defines body for CreateTodo for application/json ContentType.
type CreateTodoResponse ¶
type CreateTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *IdResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateTodoResponse201Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CreateTodoResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateTodoResponse503Headers
}
func ParseCreateTodoResponse ¶
func ParseCreateTodoResponse(rsp *http.Response) (*CreateTodoResponse, error)
ParseCreateTodoResponse parses an HTTP response from a CreateTodoWithResponse call
func (CreateTodoResponse) ContentType ¶
func (r CreateTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTodoResponse) GetBody ¶
func (r CreateTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateTodoResponse) GetJSON201 ¶
func (r CreateTodoResponse) GetJSON201() *IdResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateTodoResponse) GetJSON400 ¶
func (r CreateTodoResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateTodoResponse) GetJSON401 ¶
func (r CreateTodoResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateTodoResponse) GetJSON429 ¶
func (r CreateTodoResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateTodoResponse) GetJSON503 ¶
func (r CreateTodoResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateTodoResponse) Status ¶
func (r CreateTodoResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTodoResponse) StatusCode ¶
func (r CreateTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTodoResponse201Headers ¶
type CreateTodoResponse201Headers struct {
Location *string
}
CreateTodoResponse201Headers the declared response headers of an HTTP 201 response for CreateTodo
type CreateTodoResponse429Headers ¶
type CreateTodoResponse429Headers struct {
RetryAfter *int
}
CreateTodoResponse429Headers the declared response headers of an HTTP 429 response for CreateTodo
type CreateTodoResponse503Headers ¶
type CreateTodoResponse503Headers struct {
RetryAfter *int
}
CreateTodoResponse503Headers the declared response headers of an HTTP 503 response for CreateTodo
type CreateUploadJSONRequestBody ¶
type CreateUploadJSONRequestBody = UploadCreateRequestSchema
CreateUploadJSONRequestBody defines body for CreateUpload for application/json ContentType.
type CreateUploadResponse ¶
type CreateUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UploadCreateResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *CreateUploadResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *CreateUploadResponse503Headers
}
func ParseCreateUploadResponse ¶
func ParseCreateUploadResponse(rsp *http.Response) (*CreateUploadResponse, error)
ParseCreateUploadResponse parses an HTTP response from a CreateUploadWithResponse call
func (CreateUploadResponse) ContentType ¶
func (r CreateUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUploadResponse) GetBody ¶
func (r CreateUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateUploadResponse) GetJSON200 ¶
func (r CreateUploadResponse) GetJSON200() *UploadCreateResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateUploadResponse) GetJSON400 ¶
func (r CreateUploadResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateUploadResponse) GetJSON401 ¶
func (r CreateUploadResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateUploadResponse) GetJSON403 ¶
func (r CreateUploadResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateUploadResponse) GetJSON413 ¶
func (r CreateUploadResponse) GetJSON413() *OpenApiErrorSchema
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (CreateUploadResponse) GetJSON429 ¶
func (r CreateUploadResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateUploadResponse) GetJSON503 ¶
func (r CreateUploadResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateUploadResponse) Status ¶
func (r CreateUploadResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUploadResponse) StatusCode ¶
func (r CreateUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUploadResponse429Headers ¶
type CreateUploadResponse429Headers struct {
RetryAfter *int
}
CreateUploadResponse429Headers the declared response headers of an HTTP 429 response for CreateUpload
type CreateUploadResponse503Headers ¶
type CreateUploadResponse503Headers struct {
RetryAfter *int
}
CreateUploadResponse503Headers the declared response headers of an HTTP 503 response for CreateUpload
type CurrentCalendarSubscriptionResponseSchema ¶
type CurrentCalendarSubscriptionResponseSchema struct {
Subscription *struct {
// CalendarPath Private calendar feed path. Populated only for OAuth tokens with workspace.calendar-feed:read.
CalendarPath *string `json:"calendarPath"`
// CalendarUrl Private calendar feed URL. Populated only for OAuth tokens with workspace.calendar-feed:read.
CalendarUrl *string `json:"calendarUrl"`
Note string `json:"note"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
Kind CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind `json:"kind"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
UserId string `json:"userId"`
} `json:"subscription"`
}
CurrentCalendarSubscriptionResponseSchema defines model for currentCalendarSubscriptionResponseSchema.
type CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind ¶
type CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind string
CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind defines model for CurrentCalendarSubscriptionResponseSchema.Subscription.Sections.Kind.
const ( CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKindAuditor CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind = "auditor" CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKindRegular CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind = "regular" CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKindTeachingAssistant CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind = "teaching_assistant" )
Defines values for CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind.
func (CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind) Valid ¶
func (e CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind) Valid() bool
Valid indicates whether the value is a known member of the CurrentCalendarSubscriptionResponseSchemaSubscriptionSectionsKind enum.
type DeleteAdminHomeworkResponse ¶
type DeleteAdminHomeworkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteAdminHomeworkResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteAdminHomeworkResponse503Headers
}
func ParseDeleteAdminHomeworkResponse ¶
func ParseDeleteAdminHomeworkResponse(rsp *http.Response) (*DeleteAdminHomeworkResponse, error)
ParseDeleteAdminHomeworkResponse parses an HTTP response from a DeleteAdminHomeworkWithResponse call
func (DeleteAdminHomeworkResponse) ContentType ¶
func (r DeleteAdminHomeworkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAdminHomeworkResponse) GetBody ¶
func (r DeleteAdminHomeworkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAdminHomeworkResponse) GetJSON200 ¶
func (r DeleteAdminHomeworkResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteAdminHomeworkResponse) GetJSON401 ¶
func (r DeleteAdminHomeworkResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteAdminHomeworkResponse) GetJSON403 ¶
func (r DeleteAdminHomeworkResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteAdminHomeworkResponse) GetJSON404 ¶
func (r DeleteAdminHomeworkResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteAdminHomeworkResponse) GetJSON429 ¶
func (r DeleteAdminHomeworkResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteAdminHomeworkResponse) GetJSON503 ¶
func (r DeleteAdminHomeworkResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteAdminHomeworkResponse) Status ¶
func (r DeleteAdminHomeworkResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdminHomeworkResponse) StatusCode ¶
func (r DeleteAdminHomeworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAdminHomeworkResponse429Headers ¶
type DeleteAdminHomeworkResponse429Headers struct {
RetryAfter *int
}
DeleteAdminHomeworkResponse429Headers the declared response headers of an HTTP 429 response for DeleteAdminHomework
type DeleteAdminHomeworkResponse503Headers ¶
type DeleteAdminHomeworkResponse503Headers struct {
RetryAfter *int
}
DeleteAdminHomeworkResponse503Headers the declared response headers of an HTTP 503 response for DeleteAdminHomework
type DeleteApiCommentsBatchJSONRequestBody ¶
type DeleteApiCommentsBatchJSONRequestBody = CommentBatchDeleteRequestSchema
DeleteApiCommentsBatchJSONRequestBody defines body for DeleteApiCommentsBatch for application/json ContentType.
type DeleteApiCommentsBatchResponse ¶
type DeleteApiCommentsBatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CommentBatchDeleteResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteApiCommentsBatchResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteApiCommentsBatchResponse503Headers
}
func ParseDeleteApiCommentsBatchResponse ¶
func ParseDeleteApiCommentsBatchResponse(rsp *http.Response) (*DeleteApiCommentsBatchResponse, error)
ParseDeleteApiCommentsBatchResponse parses an HTTP response from a DeleteApiCommentsBatchWithResponse call
func (DeleteApiCommentsBatchResponse) ContentType ¶
func (r DeleteApiCommentsBatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteApiCommentsBatchResponse) GetBody ¶
func (r DeleteApiCommentsBatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteApiCommentsBatchResponse) GetJSON200 ¶
func (r DeleteApiCommentsBatchResponse) GetJSON200() *CommentBatchDeleteResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteApiCommentsBatchResponse) GetJSON400 ¶
func (r DeleteApiCommentsBatchResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteApiCommentsBatchResponse) GetJSON401 ¶
func (r DeleteApiCommentsBatchResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteApiCommentsBatchResponse) GetJSON403 ¶
func (r DeleteApiCommentsBatchResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteApiCommentsBatchResponse) GetJSON429 ¶
func (r DeleteApiCommentsBatchResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteApiCommentsBatchResponse) GetJSON503 ¶
func (r DeleteApiCommentsBatchResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteApiCommentsBatchResponse) Status ¶
func (r DeleteApiCommentsBatchResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiCommentsBatchResponse) StatusCode ¶
func (r DeleteApiCommentsBatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiCommentsBatchResponse429Headers ¶
type DeleteApiCommentsBatchResponse429Headers struct {
RetryAfter *int
}
DeleteApiCommentsBatchResponse429Headers the declared response headers of an HTTP 429 response for DeleteApiCommentsBatch
type DeleteApiCommentsBatchResponse503Headers ¶
type DeleteApiCommentsBatchResponse503Headers struct {
RetryAfter *int
}
DeleteApiCommentsBatchResponse503Headers the declared response headers of an HTTP 503 response for DeleteApiCommentsBatch
type DeleteApiMcpResponse ¶
type DeleteApiMcpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
}
func ParseDeleteApiMcpResponse ¶
func ParseDeleteApiMcpResponse(rsp *http.Response) (*DeleteApiMcpResponse, error)
ParseDeleteApiMcpResponse parses an HTTP response from a DeleteApiMcpWithResponse call
func (DeleteApiMcpResponse) ContentType ¶
func (r DeleteApiMcpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteApiMcpResponse) GetBody ¶
func (r DeleteApiMcpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteApiMcpResponse) GetJSON401 ¶
func (r DeleteApiMcpResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteApiMcpResponse) GetJSON403 ¶
func (r DeleteApiMcpResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteApiMcpResponse) Status ¶
func (r DeleteApiMcpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiMcpResponse) StatusCode ¶
func (r DeleteApiMcpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiTodosBatchJSONRequestBody ¶
type DeleteApiTodosBatchJSONRequestBody = TodoBatchDeleteRequestSchema
DeleteApiTodosBatchJSONRequestBody defines body for DeleteApiTodosBatch for application/json ContentType.
type DeleteApiTodosBatchResponse ¶
type DeleteApiTodosBatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TodoBatchDeleteResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteApiTodosBatchResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteApiTodosBatchResponse503Headers
}
func ParseDeleteApiTodosBatchResponse ¶
func ParseDeleteApiTodosBatchResponse(rsp *http.Response) (*DeleteApiTodosBatchResponse, error)
ParseDeleteApiTodosBatchResponse parses an HTTP response from a DeleteApiTodosBatchWithResponse call
func (DeleteApiTodosBatchResponse) ContentType ¶
func (r DeleteApiTodosBatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteApiTodosBatchResponse) GetBody ¶
func (r DeleteApiTodosBatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteApiTodosBatchResponse) GetJSON200 ¶
func (r DeleteApiTodosBatchResponse) GetJSON200() *TodoBatchDeleteResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteApiTodosBatchResponse) GetJSON400 ¶
func (r DeleteApiTodosBatchResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteApiTodosBatchResponse) GetJSON401 ¶
func (r DeleteApiTodosBatchResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteApiTodosBatchResponse) GetJSON429 ¶
func (r DeleteApiTodosBatchResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteApiTodosBatchResponse) GetJSON503 ¶
func (r DeleteApiTodosBatchResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteApiTodosBatchResponse) Status ¶
func (r DeleteApiTodosBatchResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiTodosBatchResponse) StatusCode ¶
func (r DeleteApiTodosBatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiTodosBatchResponse429Headers ¶
type DeleteApiTodosBatchResponse429Headers struct {
RetryAfter *int
}
DeleteApiTodosBatchResponse429Headers the declared response headers of an HTTP 429 response for DeleteApiTodosBatch
type DeleteApiTodosBatchResponse503Headers ¶
type DeleteApiTodosBatchResponse503Headers struct {
RetryAfter *int
}
DeleteApiTodosBatchResponse503Headers the declared response headers of an HTTP 503 response for DeleteApiTodosBatch
type DeleteApiWorkspaceSubscriptionsJSONRequestBody ¶
type DeleteApiWorkspaceSubscriptionsJSONRequestBody = CalendarSubscriptionRemoveRequestSchema
DeleteApiWorkspaceSubscriptionsJSONRequestBody defines body for DeleteApiWorkspaceSubscriptions for application/json ContentType.
type DeleteApiWorkspaceSubscriptionsResponse ¶
type DeleteApiWorkspaceSubscriptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CalendarSubscriptionRemoveResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteApiWorkspaceSubscriptionsResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteApiWorkspaceSubscriptionsResponse503Headers
}
func ParseDeleteApiWorkspaceSubscriptionsResponse ¶
func ParseDeleteApiWorkspaceSubscriptionsResponse(rsp *http.Response) (*DeleteApiWorkspaceSubscriptionsResponse, error)
ParseDeleteApiWorkspaceSubscriptionsResponse parses an HTTP response from a DeleteApiWorkspaceSubscriptionsWithResponse call
func (DeleteApiWorkspaceSubscriptionsResponse) ContentType ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteApiWorkspaceSubscriptionsResponse) GetBody ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteApiWorkspaceSubscriptionsResponse) GetJSON200 ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON200() *CalendarSubscriptionRemoveResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteApiWorkspaceSubscriptionsResponse) GetJSON400 ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteApiWorkspaceSubscriptionsResponse) GetJSON401 ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteApiWorkspaceSubscriptionsResponse) GetJSON404 ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteApiWorkspaceSubscriptionsResponse) GetJSON429 ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteApiWorkspaceSubscriptionsResponse) GetJSON503 ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteApiWorkspaceSubscriptionsResponse) Status ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiWorkspaceSubscriptionsResponse) StatusCode ¶
func (r DeleteApiWorkspaceSubscriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiWorkspaceSubscriptionsResponse429Headers ¶
type DeleteApiWorkspaceSubscriptionsResponse429Headers struct {
RetryAfter *int
}
DeleteApiWorkspaceSubscriptionsResponse429Headers the declared response headers of an HTTP 429 response for DeleteApiWorkspaceSubscriptions
type DeleteApiWorkspaceSubscriptionsResponse503Headers ¶
type DeleteApiWorkspaceSubscriptionsResponse503Headers struct {
RetryAfter *int
}
DeleteApiWorkspaceSubscriptionsResponse503Headers the declared response headers of an HTTP 503 response for DeleteApiWorkspaceSubscriptions
type DeleteCommentResponse ¶
type DeleteCommentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteCommentResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteCommentResponse503Headers
}
func ParseDeleteCommentResponse ¶
func ParseDeleteCommentResponse(rsp *http.Response) (*DeleteCommentResponse, error)
ParseDeleteCommentResponse parses an HTTP response from a DeleteCommentWithResponse call
func (DeleteCommentResponse) ContentType ¶
func (r DeleteCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCommentResponse) GetBody ¶
func (r DeleteCommentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCommentResponse) GetJSON200 ¶
func (r DeleteCommentResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteCommentResponse) GetJSON401 ¶
func (r DeleteCommentResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteCommentResponse) GetJSON403 ¶
func (r DeleteCommentResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteCommentResponse) GetJSON404 ¶
func (r DeleteCommentResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteCommentResponse) GetJSON429 ¶
func (r DeleteCommentResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteCommentResponse) GetJSON503 ¶
func (r DeleteCommentResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteCommentResponse) Status ¶
func (r DeleteCommentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCommentResponse) StatusCode ¶
func (r DeleteCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCommentResponse429Headers ¶
type DeleteCommentResponse429Headers struct {
RetryAfter *int
}
DeleteCommentResponse429Headers the declared response headers of an HTTP 429 response for DeleteComment
type DeleteCommentResponse503Headers ¶
type DeleteCommentResponse503Headers struct {
RetryAfter *int
}
DeleteCommentResponse503Headers the declared response headers of an HTTP 503 response for DeleteComment
type DeleteTodoResponse ¶
type DeleteTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteTodoResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteTodoResponse503Headers
}
func ParseDeleteTodoResponse ¶
func ParseDeleteTodoResponse(rsp *http.Response) (*DeleteTodoResponse, error)
ParseDeleteTodoResponse parses an HTTP response from a DeleteTodoWithResponse call
func (DeleteTodoResponse) ContentType ¶
func (r DeleteTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTodoResponse) GetBody ¶
func (r DeleteTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTodoResponse) GetJSON200 ¶
func (r DeleteTodoResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteTodoResponse) GetJSON401 ¶
func (r DeleteTodoResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteTodoResponse) GetJSON403 ¶
func (r DeleteTodoResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteTodoResponse) GetJSON404 ¶
func (r DeleteTodoResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteTodoResponse) GetJSON429 ¶
func (r DeleteTodoResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteTodoResponse) GetJSON503 ¶
func (r DeleteTodoResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteTodoResponse) Status ¶
func (r DeleteTodoResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTodoResponse) StatusCode ¶
func (r DeleteTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTodoResponse429Headers ¶
type DeleteTodoResponse429Headers struct {
RetryAfter *int
}
DeleteTodoResponse429Headers the declared response headers of an HTTP 429 response for DeleteTodo
type DeleteTodoResponse503Headers ¶
type DeleteTodoResponse503Headers struct {
RetryAfter *int
}
DeleteTodoResponse503Headers the declared response headers of an HTTP 503 response for DeleteTodo
type DeleteUploadResponse ¶
type DeleteUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UploadDeleteResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *DeleteUploadResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DeleteUploadResponse503Headers
}
func ParseDeleteUploadResponse ¶
func ParseDeleteUploadResponse(rsp *http.Response) (*DeleteUploadResponse, error)
ParseDeleteUploadResponse parses an HTTP response from a DeleteUploadWithResponse call
func (DeleteUploadResponse) ContentType ¶
func (r DeleteUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUploadResponse) GetBody ¶
func (r DeleteUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteUploadResponse) GetJSON200 ¶
func (r DeleteUploadResponse) GetJSON200() *UploadDeleteResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteUploadResponse) GetJSON401 ¶
func (r DeleteUploadResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteUploadResponse) GetJSON403 ¶
func (r DeleteUploadResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteUploadResponse) GetJSON404 ¶
func (r DeleteUploadResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteUploadResponse) GetJSON429 ¶
func (r DeleteUploadResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (DeleteUploadResponse) GetJSON502 ¶
func (r DeleteUploadResponse) GetJSON502() *OpenApiErrorSchema
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (DeleteUploadResponse) GetJSON503 ¶
func (r DeleteUploadResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteUploadResponse) Status ¶
func (r DeleteUploadResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUploadResponse) StatusCode ¶
func (r DeleteUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUploadResponse429Headers ¶
type DeleteUploadResponse429Headers struct {
RetryAfter *int
}
DeleteUploadResponse429Headers the declared response headers of an HTTP 429 response for DeleteUpload
type DeleteUploadResponse503Headers ¶
type DeleteUploadResponse503Headers struct {
RetryAfter *int
}
DeleteUploadResponse503Headers the declared response headers of an HTTP 503 response for DeleteUpload
type DescriptionUpsertRequestSchema ¶
type DescriptionUpsertRequestSchema struct {
Content string `json:"content"`
CourseJwId *DescriptionUpsertRequestSchema_CourseJwId `json:"courseJwId,omitempty"`
HomeworkId *string `json:"homeworkId,omitempty"`
SectionJwId *DescriptionUpsertRequestSchema_SectionJwId `json:"sectionJwId,omitempty"`
TargetId *DescriptionUpsertRequestSchema_TargetId `json:"targetId,omitempty"`
TargetType DescriptionUpsertRequestSchemaTargetType `json:"targetType"`
TeacherId *DescriptionUpsertRequestSchema_TeacherId `json:"teacherId,omitempty"`
// contains filtered or unexported fields
}
DescriptionUpsertRequestSchema defines model for descriptionUpsertRequestSchema.
func (DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema0 ¶
func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema0() (DescriptionUpsertRequestSchema0, error)
AsDescriptionUpsertRequestSchema0 returns the union data inside the DescriptionUpsertRequestSchema as a DescriptionUpsertRequestSchema0
func (DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema1 ¶
func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema1() (DescriptionUpsertRequestSchema1, error)
AsDescriptionUpsertRequestSchema1 returns the union data inside the DescriptionUpsertRequestSchema as a DescriptionUpsertRequestSchema1
func (DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema2 ¶
func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema2() (DescriptionUpsertRequestSchema2, error)
AsDescriptionUpsertRequestSchema2 returns the union data inside the DescriptionUpsertRequestSchema as a DescriptionUpsertRequestSchema2
func (DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema3 ¶
func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema3() (DescriptionUpsertRequestSchema3, error)
AsDescriptionUpsertRequestSchema3 returns the union data inside the DescriptionUpsertRequestSchema as a DescriptionUpsertRequestSchema3
func (DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema4 ¶
func (t DescriptionUpsertRequestSchema) AsDescriptionUpsertRequestSchema4() (DescriptionUpsertRequestSchema4, error)
AsDescriptionUpsertRequestSchema4 returns the union data inside the DescriptionUpsertRequestSchema as a DescriptionUpsertRequestSchema4
func (*DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema0 ¶
func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema0(v DescriptionUpsertRequestSchema0) error
FromDescriptionUpsertRequestSchema0 overwrites any union data inside the DescriptionUpsertRequestSchema as the provided DescriptionUpsertRequestSchema0
func (*DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema1 ¶
func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema1(v DescriptionUpsertRequestSchema1) error
FromDescriptionUpsertRequestSchema1 overwrites any union data inside the DescriptionUpsertRequestSchema as the provided DescriptionUpsertRequestSchema1
func (*DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema2 ¶
func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema2(v DescriptionUpsertRequestSchema2) error
FromDescriptionUpsertRequestSchema2 overwrites any union data inside the DescriptionUpsertRequestSchema as the provided DescriptionUpsertRequestSchema2
func (*DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema3 ¶
func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema3(v DescriptionUpsertRequestSchema3) error
FromDescriptionUpsertRequestSchema3 overwrites any union data inside the DescriptionUpsertRequestSchema as the provided DescriptionUpsertRequestSchema3
func (*DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema4 ¶
func (t *DescriptionUpsertRequestSchema) FromDescriptionUpsertRequestSchema4(v DescriptionUpsertRequestSchema4) error
FromDescriptionUpsertRequestSchema4 overwrites any union data inside the DescriptionUpsertRequestSchema as the provided DescriptionUpsertRequestSchema4
func (DescriptionUpsertRequestSchema) MarshalJSON ¶
func (t DescriptionUpsertRequestSchema) MarshalJSON() ([]byte, error)
func (*DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema0 ¶
func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema0(v DescriptionUpsertRequestSchema0) error
MergeDescriptionUpsertRequestSchema0 performs a merge with any union data inside the DescriptionUpsertRequestSchema, using the provided DescriptionUpsertRequestSchema0
func (*DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema1 ¶
func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema1(v DescriptionUpsertRequestSchema1) error
MergeDescriptionUpsertRequestSchema1 performs a merge with any union data inside the DescriptionUpsertRequestSchema, using the provided DescriptionUpsertRequestSchema1
func (*DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema2 ¶
func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema2(v DescriptionUpsertRequestSchema2) error
MergeDescriptionUpsertRequestSchema2 performs a merge with any union data inside the DescriptionUpsertRequestSchema, using the provided DescriptionUpsertRequestSchema2
func (*DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema3 ¶
func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema3(v DescriptionUpsertRequestSchema3) error
MergeDescriptionUpsertRequestSchema3 performs a merge with any union data inside the DescriptionUpsertRequestSchema, using the provided DescriptionUpsertRequestSchema3
func (*DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema4 ¶
func (t *DescriptionUpsertRequestSchema) MergeDescriptionUpsertRequestSchema4(v DescriptionUpsertRequestSchema4) error
MergeDescriptionUpsertRequestSchema4 performs a merge with any union data inside the DescriptionUpsertRequestSchema, using the provided DescriptionUpsertRequestSchema4
func (*DescriptionUpsertRequestSchema) UnmarshalJSON ¶
func (t *DescriptionUpsertRequestSchema) UnmarshalJSON(b []byte) error
type DescriptionUpsertRequestSchema0 ¶
type DescriptionUpsertRequestSchema0 = interface{}
DescriptionUpsertRequestSchema0 defines model for DescriptionUpsertRequestSchema.0.
type DescriptionUpsertRequestSchema1 ¶
type DescriptionUpsertRequestSchema1 struct {
TargetType *DescriptionUpsertRequestSchema1TargetType `json:"targetType,omitempty"`
}
DescriptionUpsertRequestSchema1 defines model for DescriptionUpsertRequestSchema.1.
type DescriptionUpsertRequestSchema1TargetType ¶
type DescriptionUpsertRequestSchema1TargetType string
DescriptionUpsertRequestSchema1TargetType defines model for DescriptionUpsertRequestSchema.1.TargetType.
const (
DescriptionUpsertRequestSchema1TargetTypeSection DescriptionUpsertRequestSchema1TargetType = "section"
)
Defines values for DescriptionUpsertRequestSchema1TargetType.
func (DescriptionUpsertRequestSchema1TargetType) Valid ¶
func (e DescriptionUpsertRequestSchema1TargetType) Valid() bool
Valid indicates whether the value is a known member of the DescriptionUpsertRequestSchema1TargetType enum.
type DescriptionUpsertRequestSchema2 ¶
type DescriptionUpsertRequestSchema2 struct {
TargetType *DescriptionUpsertRequestSchema2TargetType `json:"targetType,omitempty"`
}
DescriptionUpsertRequestSchema2 defines model for DescriptionUpsertRequestSchema.2.
type DescriptionUpsertRequestSchema2TargetType ¶
type DescriptionUpsertRequestSchema2TargetType string
DescriptionUpsertRequestSchema2TargetType defines model for DescriptionUpsertRequestSchema.2.TargetType.
const (
DescriptionUpsertRequestSchema2TargetTypeCourse DescriptionUpsertRequestSchema2TargetType = "course"
)
Defines values for DescriptionUpsertRequestSchema2TargetType.
func (DescriptionUpsertRequestSchema2TargetType) Valid ¶
func (e DescriptionUpsertRequestSchema2TargetType) Valid() bool
Valid indicates whether the value is a known member of the DescriptionUpsertRequestSchema2TargetType enum.
type DescriptionUpsertRequestSchema3 ¶
type DescriptionUpsertRequestSchema3 struct {
TargetType *DescriptionUpsertRequestSchema3TargetType `json:"targetType,omitempty"`
}
DescriptionUpsertRequestSchema3 defines model for DescriptionUpsertRequestSchema.3.
type DescriptionUpsertRequestSchema3TargetType ¶
type DescriptionUpsertRequestSchema3TargetType string
DescriptionUpsertRequestSchema3TargetType defines model for DescriptionUpsertRequestSchema.3.TargetType.
const (
DescriptionUpsertRequestSchema3TargetTypeTeacher DescriptionUpsertRequestSchema3TargetType = "teacher"
)
Defines values for DescriptionUpsertRequestSchema3TargetType.
func (DescriptionUpsertRequestSchema3TargetType) Valid ¶
func (e DescriptionUpsertRequestSchema3TargetType) Valid() bool
Valid indicates whether the value is a known member of the DescriptionUpsertRequestSchema3TargetType enum.
type DescriptionUpsertRequestSchema4 ¶
type DescriptionUpsertRequestSchema4 struct {
TargetType *DescriptionUpsertRequestSchema4TargetType `json:"targetType,omitempty"`
}
DescriptionUpsertRequestSchema4 defines model for DescriptionUpsertRequestSchema.4.
type DescriptionUpsertRequestSchema4TargetType ¶
type DescriptionUpsertRequestSchema4TargetType string
DescriptionUpsertRequestSchema4TargetType defines model for DescriptionUpsertRequestSchema.4.TargetType.
const (
DescriptionUpsertRequestSchema4TargetTypeHomework DescriptionUpsertRequestSchema4TargetType = "homework"
)
Defines values for DescriptionUpsertRequestSchema4TargetType.
func (DescriptionUpsertRequestSchema4TargetType) Valid ¶
func (e DescriptionUpsertRequestSchema4TargetType) Valid() bool
Valid indicates whether the value is a known member of the DescriptionUpsertRequestSchema4TargetType enum.
type DescriptionUpsertRequestSchemaCourseJwId0 ¶
type DescriptionUpsertRequestSchemaCourseJwId0 = string
DescriptionUpsertRequestSchemaCourseJwId0 defines model for DescriptionUpsertRequestSchema.CourseJwId.0.
type DescriptionUpsertRequestSchemaCourseJwId1 ¶
type DescriptionUpsertRequestSchemaCourseJwId1 = float32
DescriptionUpsertRequestSchemaCourseJwId1 defines model for DescriptionUpsertRequestSchema.CourseJwId.1.
type DescriptionUpsertRequestSchemaSectionJwId0 ¶
type DescriptionUpsertRequestSchemaSectionJwId0 = string
DescriptionUpsertRequestSchemaSectionJwId0 defines model for DescriptionUpsertRequestSchema.SectionJwId.0.
type DescriptionUpsertRequestSchemaSectionJwId1 ¶
type DescriptionUpsertRequestSchemaSectionJwId1 = float32
DescriptionUpsertRequestSchemaSectionJwId1 defines model for DescriptionUpsertRequestSchema.SectionJwId.1.
type DescriptionUpsertRequestSchemaTargetId0 ¶
type DescriptionUpsertRequestSchemaTargetId0 = string
DescriptionUpsertRequestSchemaTargetId0 defines model for DescriptionUpsertRequestSchema.TargetId.0.
type DescriptionUpsertRequestSchemaTargetId1 ¶
type DescriptionUpsertRequestSchemaTargetId1 = float32
DescriptionUpsertRequestSchemaTargetId1 defines model for DescriptionUpsertRequestSchema.TargetId.1.
type DescriptionUpsertRequestSchemaTargetType ¶
type DescriptionUpsertRequestSchemaTargetType string
DescriptionUpsertRequestSchemaTargetType defines model for DescriptionUpsertRequestSchema.TargetType.
const ( DescriptionUpsertRequestSchemaTargetTypeCourse DescriptionUpsertRequestSchemaTargetType = "course" DescriptionUpsertRequestSchemaTargetTypeHomework DescriptionUpsertRequestSchemaTargetType = "homework" DescriptionUpsertRequestSchemaTargetTypeSection DescriptionUpsertRequestSchemaTargetType = "section" DescriptionUpsertRequestSchemaTargetTypeTeacher DescriptionUpsertRequestSchemaTargetType = "teacher" )
Defines values for DescriptionUpsertRequestSchemaTargetType.
func (DescriptionUpsertRequestSchemaTargetType) Valid ¶
func (e DescriptionUpsertRequestSchemaTargetType) Valid() bool
Valid indicates whether the value is a known member of the DescriptionUpsertRequestSchemaTargetType enum.
type DescriptionUpsertRequestSchemaTeacherId0 ¶
type DescriptionUpsertRequestSchemaTeacherId0 = string
DescriptionUpsertRequestSchemaTeacherId0 defines model for DescriptionUpsertRequestSchema.TeacherId.0.
type DescriptionUpsertRequestSchemaTeacherId1 ¶
type DescriptionUpsertRequestSchemaTeacherId1 = float32
DescriptionUpsertRequestSchemaTeacherId1 defines model for DescriptionUpsertRequestSchema.TeacherId.1.
type DescriptionUpsertRequestSchema_CourseJwId ¶
type DescriptionUpsertRequestSchema_CourseJwId struct {
// contains filtered or unexported fields
}
DescriptionUpsertRequestSchema_CourseJwId defines model for DescriptionUpsertRequestSchema.CourseJwId.
func (DescriptionUpsertRequestSchema_CourseJwId) AsDescriptionUpsertRequestSchemaCourseJwId0 ¶
func (t DescriptionUpsertRequestSchema_CourseJwId) AsDescriptionUpsertRequestSchemaCourseJwId0() (DescriptionUpsertRequestSchemaCourseJwId0, error)
AsDescriptionUpsertRequestSchemaCourseJwId0 returns the union data inside the DescriptionUpsertRequestSchema_CourseJwId as a DescriptionUpsertRequestSchemaCourseJwId0
func (DescriptionUpsertRequestSchema_CourseJwId) AsDescriptionUpsertRequestSchemaCourseJwId1 ¶
func (t DescriptionUpsertRequestSchema_CourseJwId) AsDescriptionUpsertRequestSchemaCourseJwId1() (DescriptionUpsertRequestSchemaCourseJwId1, error)
AsDescriptionUpsertRequestSchemaCourseJwId1 returns the union data inside the DescriptionUpsertRequestSchema_CourseJwId as a DescriptionUpsertRequestSchemaCourseJwId1
func (*DescriptionUpsertRequestSchema_CourseJwId) FromDescriptionUpsertRequestSchemaCourseJwId0 ¶
func (t *DescriptionUpsertRequestSchema_CourseJwId) FromDescriptionUpsertRequestSchemaCourseJwId0(v DescriptionUpsertRequestSchemaCourseJwId0) error
FromDescriptionUpsertRequestSchemaCourseJwId0 overwrites any union data inside the DescriptionUpsertRequestSchema_CourseJwId as the provided DescriptionUpsertRequestSchemaCourseJwId0
func (*DescriptionUpsertRequestSchema_CourseJwId) FromDescriptionUpsertRequestSchemaCourseJwId1 ¶
func (t *DescriptionUpsertRequestSchema_CourseJwId) FromDescriptionUpsertRequestSchemaCourseJwId1(v DescriptionUpsertRequestSchemaCourseJwId1) error
FromDescriptionUpsertRequestSchemaCourseJwId1 overwrites any union data inside the DescriptionUpsertRequestSchema_CourseJwId as the provided DescriptionUpsertRequestSchemaCourseJwId1
func (DescriptionUpsertRequestSchema_CourseJwId) MarshalJSON ¶
func (t DescriptionUpsertRequestSchema_CourseJwId) MarshalJSON() ([]byte, error)
func (*DescriptionUpsertRequestSchema_CourseJwId) MergeDescriptionUpsertRequestSchemaCourseJwId0 ¶
func (t *DescriptionUpsertRequestSchema_CourseJwId) MergeDescriptionUpsertRequestSchemaCourseJwId0(v DescriptionUpsertRequestSchemaCourseJwId0) error
MergeDescriptionUpsertRequestSchemaCourseJwId0 performs a merge with any union data inside the DescriptionUpsertRequestSchema_CourseJwId, using the provided DescriptionUpsertRequestSchemaCourseJwId0
func (*DescriptionUpsertRequestSchema_CourseJwId) MergeDescriptionUpsertRequestSchemaCourseJwId1 ¶
func (t *DescriptionUpsertRequestSchema_CourseJwId) MergeDescriptionUpsertRequestSchemaCourseJwId1(v DescriptionUpsertRequestSchemaCourseJwId1) error
MergeDescriptionUpsertRequestSchemaCourseJwId1 performs a merge with any union data inside the DescriptionUpsertRequestSchema_CourseJwId, using the provided DescriptionUpsertRequestSchemaCourseJwId1
func (*DescriptionUpsertRequestSchema_CourseJwId) UnmarshalJSON ¶
func (t *DescriptionUpsertRequestSchema_CourseJwId) UnmarshalJSON(b []byte) error
type DescriptionUpsertRequestSchema_SectionJwId ¶
type DescriptionUpsertRequestSchema_SectionJwId struct {
// contains filtered or unexported fields
}
DescriptionUpsertRequestSchema_SectionJwId defines model for DescriptionUpsertRequestSchema.SectionJwId.
func (DescriptionUpsertRequestSchema_SectionJwId) AsDescriptionUpsertRequestSchemaSectionJwId0 ¶
func (t DescriptionUpsertRequestSchema_SectionJwId) AsDescriptionUpsertRequestSchemaSectionJwId0() (DescriptionUpsertRequestSchemaSectionJwId0, error)
AsDescriptionUpsertRequestSchemaSectionJwId0 returns the union data inside the DescriptionUpsertRequestSchema_SectionJwId as a DescriptionUpsertRequestSchemaSectionJwId0
func (DescriptionUpsertRequestSchema_SectionJwId) AsDescriptionUpsertRequestSchemaSectionJwId1 ¶
func (t DescriptionUpsertRequestSchema_SectionJwId) AsDescriptionUpsertRequestSchemaSectionJwId1() (DescriptionUpsertRequestSchemaSectionJwId1, error)
AsDescriptionUpsertRequestSchemaSectionJwId1 returns the union data inside the DescriptionUpsertRequestSchema_SectionJwId as a DescriptionUpsertRequestSchemaSectionJwId1
func (*DescriptionUpsertRequestSchema_SectionJwId) FromDescriptionUpsertRequestSchemaSectionJwId0 ¶
func (t *DescriptionUpsertRequestSchema_SectionJwId) FromDescriptionUpsertRequestSchemaSectionJwId0(v DescriptionUpsertRequestSchemaSectionJwId0) error
FromDescriptionUpsertRequestSchemaSectionJwId0 overwrites any union data inside the DescriptionUpsertRequestSchema_SectionJwId as the provided DescriptionUpsertRequestSchemaSectionJwId0
func (*DescriptionUpsertRequestSchema_SectionJwId) FromDescriptionUpsertRequestSchemaSectionJwId1 ¶
func (t *DescriptionUpsertRequestSchema_SectionJwId) FromDescriptionUpsertRequestSchemaSectionJwId1(v DescriptionUpsertRequestSchemaSectionJwId1) error
FromDescriptionUpsertRequestSchemaSectionJwId1 overwrites any union data inside the DescriptionUpsertRequestSchema_SectionJwId as the provided DescriptionUpsertRequestSchemaSectionJwId1
func (DescriptionUpsertRequestSchema_SectionJwId) MarshalJSON ¶
func (t DescriptionUpsertRequestSchema_SectionJwId) MarshalJSON() ([]byte, error)
func (*DescriptionUpsertRequestSchema_SectionJwId) MergeDescriptionUpsertRequestSchemaSectionJwId0 ¶
func (t *DescriptionUpsertRequestSchema_SectionJwId) MergeDescriptionUpsertRequestSchemaSectionJwId0(v DescriptionUpsertRequestSchemaSectionJwId0) error
MergeDescriptionUpsertRequestSchemaSectionJwId0 performs a merge with any union data inside the DescriptionUpsertRequestSchema_SectionJwId, using the provided DescriptionUpsertRequestSchemaSectionJwId0
func (*DescriptionUpsertRequestSchema_SectionJwId) MergeDescriptionUpsertRequestSchemaSectionJwId1 ¶
func (t *DescriptionUpsertRequestSchema_SectionJwId) MergeDescriptionUpsertRequestSchemaSectionJwId1(v DescriptionUpsertRequestSchemaSectionJwId1) error
MergeDescriptionUpsertRequestSchemaSectionJwId1 performs a merge with any union data inside the DescriptionUpsertRequestSchema_SectionJwId, using the provided DescriptionUpsertRequestSchemaSectionJwId1
func (*DescriptionUpsertRequestSchema_SectionJwId) UnmarshalJSON ¶
func (t *DescriptionUpsertRequestSchema_SectionJwId) UnmarshalJSON(b []byte) error
type DescriptionUpsertRequestSchema_TargetId ¶
type DescriptionUpsertRequestSchema_TargetId struct {
// contains filtered or unexported fields
}
DescriptionUpsertRequestSchema_TargetId defines model for DescriptionUpsertRequestSchema.TargetId.
func (DescriptionUpsertRequestSchema_TargetId) AsDescriptionUpsertRequestSchemaTargetId0 ¶
func (t DescriptionUpsertRequestSchema_TargetId) AsDescriptionUpsertRequestSchemaTargetId0() (DescriptionUpsertRequestSchemaTargetId0, error)
AsDescriptionUpsertRequestSchemaTargetId0 returns the union data inside the DescriptionUpsertRequestSchema_TargetId as a DescriptionUpsertRequestSchemaTargetId0
func (DescriptionUpsertRequestSchema_TargetId) AsDescriptionUpsertRequestSchemaTargetId1 ¶
func (t DescriptionUpsertRequestSchema_TargetId) AsDescriptionUpsertRequestSchemaTargetId1() (DescriptionUpsertRequestSchemaTargetId1, error)
AsDescriptionUpsertRequestSchemaTargetId1 returns the union data inside the DescriptionUpsertRequestSchema_TargetId as a DescriptionUpsertRequestSchemaTargetId1
func (*DescriptionUpsertRequestSchema_TargetId) FromDescriptionUpsertRequestSchemaTargetId0 ¶
func (t *DescriptionUpsertRequestSchema_TargetId) FromDescriptionUpsertRequestSchemaTargetId0(v DescriptionUpsertRequestSchemaTargetId0) error
FromDescriptionUpsertRequestSchemaTargetId0 overwrites any union data inside the DescriptionUpsertRequestSchema_TargetId as the provided DescriptionUpsertRequestSchemaTargetId0
func (*DescriptionUpsertRequestSchema_TargetId) FromDescriptionUpsertRequestSchemaTargetId1 ¶
func (t *DescriptionUpsertRequestSchema_TargetId) FromDescriptionUpsertRequestSchemaTargetId1(v DescriptionUpsertRequestSchemaTargetId1) error
FromDescriptionUpsertRequestSchemaTargetId1 overwrites any union data inside the DescriptionUpsertRequestSchema_TargetId as the provided DescriptionUpsertRequestSchemaTargetId1
func (DescriptionUpsertRequestSchema_TargetId) MarshalJSON ¶
func (t DescriptionUpsertRequestSchema_TargetId) MarshalJSON() ([]byte, error)
func (*DescriptionUpsertRequestSchema_TargetId) MergeDescriptionUpsertRequestSchemaTargetId0 ¶
func (t *DescriptionUpsertRequestSchema_TargetId) MergeDescriptionUpsertRequestSchemaTargetId0(v DescriptionUpsertRequestSchemaTargetId0) error
MergeDescriptionUpsertRequestSchemaTargetId0 performs a merge with any union data inside the DescriptionUpsertRequestSchema_TargetId, using the provided DescriptionUpsertRequestSchemaTargetId0
func (*DescriptionUpsertRequestSchema_TargetId) MergeDescriptionUpsertRequestSchemaTargetId1 ¶
func (t *DescriptionUpsertRequestSchema_TargetId) MergeDescriptionUpsertRequestSchemaTargetId1(v DescriptionUpsertRequestSchemaTargetId1) error
MergeDescriptionUpsertRequestSchemaTargetId1 performs a merge with any union data inside the DescriptionUpsertRequestSchema_TargetId, using the provided DescriptionUpsertRequestSchemaTargetId1
func (*DescriptionUpsertRequestSchema_TargetId) UnmarshalJSON ¶
func (t *DescriptionUpsertRequestSchema_TargetId) UnmarshalJSON(b []byte) error
type DescriptionUpsertRequestSchema_TeacherId ¶
type DescriptionUpsertRequestSchema_TeacherId struct {
// contains filtered or unexported fields
}
DescriptionUpsertRequestSchema_TeacherId defines model for DescriptionUpsertRequestSchema.TeacherId.
func (DescriptionUpsertRequestSchema_TeacherId) AsDescriptionUpsertRequestSchemaTeacherId0 ¶
func (t DescriptionUpsertRequestSchema_TeacherId) AsDescriptionUpsertRequestSchemaTeacherId0() (DescriptionUpsertRequestSchemaTeacherId0, error)
AsDescriptionUpsertRequestSchemaTeacherId0 returns the union data inside the DescriptionUpsertRequestSchema_TeacherId as a DescriptionUpsertRequestSchemaTeacherId0
func (DescriptionUpsertRequestSchema_TeacherId) AsDescriptionUpsertRequestSchemaTeacherId1 ¶
func (t DescriptionUpsertRequestSchema_TeacherId) AsDescriptionUpsertRequestSchemaTeacherId1() (DescriptionUpsertRequestSchemaTeacherId1, error)
AsDescriptionUpsertRequestSchemaTeacherId1 returns the union data inside the DescriptionUpsertRequestSchema_TeacherId as a DescriptionUpsertRequestSchemaTeacherId1
func (*DescriptionUpsertRequestSchema_TeacherId) FromDescriptionUpsertRequestSchemaTeacherId0 ¶
func (t *DescriptionUpsertRequestSchema_TeacherId) FromDescriptionUpsertRequestSchemaTeacherId0(v DescriptionUpsertRequestSchemaTeacherId0) error
FromDescriptionUpsertRequestSchemaTeacherId0 overwrites any union data inside the DescriptionUpsertRequestSchema_TeacherId as the provided DescriptionUpsertRequestSchemaTeacherId0
func (*DescriptionUpsertRequestSchema_TeacherId) FromDescriptionUpsertRequestSchemaTeacherId1 ¶
func (t *DescriptionUpsertRequestSchema_TeacherId) FromDescriptionUpsertRequestSchemaTeacherId1(v DescriptionUpsertRequestSchemaTeacherId1) error
FromDescriptionUpsertRequestSchemaTeacherId1 overwrites any union data inside the DescriptionUpsertRequestSchema_TeacherId as the provided DescriptionUpsertRequestSchemaTeacherId1
func (DescriptionUpsertRequestSchema_TeacherId) MarshalJSON ¶
func (t DescriptionUpsertRequestSchema_TeacherId) MarshalJSON() ([]byte, error)
func (*DescriptionUpsertRequestSchema_TeacherId) MergeDescriptionUpsertRequestSchemaTeacherId0 ¶
func (t *DescriptionUpsertRequestSchema_TeacherId) MergeDescriptionUpsertRequestSchemaTeacherId0(v DescriptionUpsertRequestSchemaTeacherId0) error
MergeDescriptionUpsertRequestSchemaTeacherId0 performs a merge with any union data inside the DescriptionUpsertRequestSchema_TeacherId, using the provided DescriptionUpsertRequestSchemaTeacherId0
func (*DescriptionUpsertRequestSchema_TeacherId) MergeDescriptionUpsertRequestSchemaTeacherId1 ¶
func (t *DescriptionUpsertRequestSchema_TeacherId) MergeDescriptionUpsertRequestSchemaTeacherId1(v DescriptionUpsertRequestSchemaTeacherId1) error
MergeDescriptionUpsertRequestSchemaTeacherId1 performs a merge with any union data inside the DescriptionUpsertRequestSchema_TeacherId, using the provided DescriptionUpsertRequestSchemaTeacherId1
func (*DescriptionUpsertRequestSchema_TeacherId) UnmarshalJSON ¶
func (t *DescriptionUpsertRequestSchema_TeacherId) UnmarshalJSON(b []byte) error
type DescriptionUpsertResponseSchema ¶
DescriptionUpsertResponseSchema defines model for descriptionUpsertResponseSchema.
type DescriptionsResponseSchema ¶
type DescriptionsResponseSchema struct {
Description struct {
Content string `json:"content"`
Id *string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"lastEditedBy"`
RenderedHtml string `json:"renderedHtml"`
UpdatedAt *time.Time `json:"updatedAt"`
} `json:"description"`
History []struct {
CreatedAt time.Time `json:"createdAt"`
Editor *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"editor"`
Id string `json:"id"`
NextContent string `json:"nextContent"`
PreviousContent *string `json:"previousContent"`
} `json:"history"`
Viewer struct {
Image *string `json:"image"`
IsAdmin bool `json:"isAdmin"`
IsAuthenticated bool `json:"isAuthenticated"`
IsSuspended bool `json:"isSuspended"`
Name *string `json:"name"`
SuspensionExpiresAt *time.Time `json:"suspensionExpiresAt"`
SuspensionReason *string `json:"suspensionReason"`
UserId *string `json:"userId"`
} `json:"viewer"`
}
DescriptionsResponseSchema defines model for descriptionsResponseSchema.
type DownloadUploadResponse ¶
type DownloadUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseDownloadUploadResponse ¶
func ParseDownloadUploadResponse(rsp *http.Response) (*DownloadUploadResponse, error)
ParseDownloadUploadResponse parses an HTTP response from a DownloadUploadWithResponse call
func (DownloadUploadResponse) ContentType ¶
func (r DownloadUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadUploadResponse) GetBody ¶
func (r DownloadUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadUploadResponse) GetJSON401 ¶
func (r DownloadUploadResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DownloadUploadResponse) GetJSON404 ¶
func (r DownloadUploadResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DownloadUploadResponse) Status ¶
func (r DownloadUploadResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadUploadResponse) StatusCode ¶
func (r DownloadUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiAuthOauth2TokenResponse ¶
type GetApiAuthOauth2TokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *OauthErrorResponseSchema
}
func ParseGetApiAuthOauth2TokenResponse ¶
func ParseGetApiAuthOauth2TokenResponse(rsp *http.Response) (*GetApiAuthOauth2TokenResponse, error)
ParseGetApiAuthOauth2TokenResponse parses an HTTP response from a GetApiAuthOauth2TokenWithResponse call
func (GetApiAuthOauth2TokenResponse) ContentType ¶
func (r GetApiAuthOauth2TokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiAuthOauth2TokenResponse) GetBody ¶
func (r GetApiAuthOauth2TokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiAuthOauth2TokenResponse) GetJSON405 ¶
func (r GetApiAuthOauth2TokenResponse) GetJSON405() *OauthErrorResponseSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (GetApiAuthOauth2TokenResponse) Status ¶
func (r GetApiAuthOauth2TokenResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiAuthOauth2TokenResponse) StatusCode ¶
func (r GetApiAuthOauth2TokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiAuthWellKnownOpenidConfigurationResponse ¶
type GetApiAuthWellKnownOpenidConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseGetApiAuthWellKnownOpenidConfigurationResponse ¶
func ParseGetApiAuthWellKnownOpenidConfigurationResponse(rsp *http.Response) (*GetApiAuthWellKnownOpenidConfigurationResponse, error)
ParseGetApiAuthWellKnownOpenidConfigurationResponse parses an HTTP response from a GetApiAuthWellKnownOpenidConfigurationWithResponse call
func (GetApiAuthWellKnownOpenidConfigurationResponse) ContentType ¶
func (r GetApiAuthWellKnownOpenidConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiAuthWellKnownOpenidConfigurationResponse) GetBody ¶
func (r GetApiAuthWellKnownOpenidConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiAuthWellKnownOpenidConfigurationResponse) Status ¶
func (r GetApiAuthWellKnownOpenidConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiAuthWellKnownOpenidConfigurationResponse) StatusCode ¶
func (r GetApiAuthWellKnownOpenidConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogCoursesJwIdSectionsParams ¶
type GetApiCatalogCoursesJwIdSectionsParams struct {
Locale *GetApiCatalogCoursesJwIdSectionsParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetApiCatalogCoursesJwIdSectionsParams defines parameters for GetApiCatalogCoursesJwIdSections.
type GetApiCatalogCoursesJwIdSectionsParamsLocale ¶
type GetApiCatalogCoursesJwIdSectionsParamsLocale string
GetApiCatalogCoursesJwIdSectionsParamsLocale defines parameters for GetApiCatalogCoursesJwIdSections.
const ( GetApiCatalogCoursesJwIdSectionsParamsLocaleEnUs GetApiCatalogCoursesJwIdSectionsParamsLocale = "en-us" GetApiCatalogCoursesJwIdSectionsParamsLocaleZhCn GetApiCatalogCoursesJwIdSectionsParamsLocale = "zh-cn" )
Defines values for GetApiCatalogCoursesJwIdSectionsParamsLocale.
func (GetApiCatalogCoursesJwIdSectionsParamsLocale) Valid ¶
func (e GetApiCatalogCoursesJwIdSectionsParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetApiCatalogCoursesJwIdSectionsParamsLocale enum.
type GetApiCatalogCoursesJwIdSectionsResponse ¶
type GetApiCatalogCoursesJwIdSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedSectionHistoryResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCatalogCoursesJwIdSectionsResponse ¶
func ParseGetApiCatalogCoursesJwIdSectionsResponse(rsp *http.Response) (*GetApiCatalogCoursesJwIdSectionsResponse, error)
ParseGetApiCatalogCoursesJwIdSectionsResponse parses an HTTP response from a GetApiCatalogCoursesJwIdSectionsWithResponse call
func (GetApiCatalogCoursesJwIdSectionsResponse) ContentType ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogCoursesJwIdSectionsResponse) GetBody ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogCoursesJwIdSectionsResponse) GetJSON200 ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) GetJSON200() *PaginatedSectionHistoryResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCatalogCoursesJwIdSectionsResponse) GetJSON400 ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogCoursesJwIdSectionsResponse) GetJSON404 ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCatalogCoursesJwIdSectionsResponse) Status ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogCoursesJwIdSectionsResponse) StatusCode ¶
func (r GetApiCatalogCoursesJwIdSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogTeachersIdSectionsParams ¶
type GetApiCatalogTeachersIdSectionsParams struct {
Locale *GetApiCatalogTeachersIdSectionsParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetApiCatalogTeachersIdSectionsParams defines parameters for GetApiCatalogTeachersIdSections.
type GetApiCatalogTeachersIdSectionsParamsLocale ¶
type GetApiCatalogTeachersIdSectionsParamsLocale string
GetApiCatalogTeachersIdSectionsParamsLocale defines parameters for GetApiCatalogTeachersIdSections.
const ( GetApiCatalogTeachersIdSectionsParamsLocaleEnUs GetApiCatalogTeachersIdSectionsParamsLocale = "en-us" GetApiCatalogTeachersIdSectionsParamsLocaleZhCn GetApiCatalogTeachersIdSectionsParamsLocale = "zh-cn" )
Defines values for GetApiCatalogTeachersIdSectionsParamsLocale.
func (GetApiCatalogTeachersIdSectionsParamsLocale) Valid ¶
func (e GetApiCatalogTeachersIdSectionsParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetApiCatalogTeachersIdSectionsParamsLocale enum.
type GetApiCatalogTeachersIdSectionsResponse ¶
type GetApiCatalogTeachersIdSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedSectionHistoryResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCatalogTeachersIdSectionsResponse ¶
func ParseGetApiCatalogTeachersIdSectionsResponse(rsp *http.Response) (*GetApiCatalogTeachersIdSectionsResponse, error)
ParseGetApiCatalogTeachersIdSectionsResponse parses an HTTP response from a GetApiCatalogTeachersIdSectionsWithResponse call
func (GetApiCatalogTeachersIdSectionsResponse) ContentType ¶
func (r GetApiCatalogTeachersIdSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogTeachersIdSectionsResponse) GetBody ¶
func (r GetApiCatalogTeachersIdSectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogTeachersIdSectionsResponse) GetJSON200 ¶
func (r GetApiCatalogTeachersIdSectionsResponse) GetJSON200() *PaginatedSectionHistoryResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCatalogTeachersIdSectionsResponse) GetJSON400 ¶
func (r GetApiCatalogTeachersIdSectionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogTeachersIdSectionsResponse) GetJSON404 ¶
func (r GetApiCatalogTeachersIdSectionsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCatalogTeachersIdSectionsResponse) Status ¶
func (r GetApiCatalogTeachersIdSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogTeachersIdSectionsResponse) StatusCode ¶
func (r GetApiCatalogTeachersIdSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogYoungEventsImagesPathResponse ¶
type GetApiCatalogYoungEventsImagesPathResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *GetApiCatalogYoungEventsImagesPathResponse503Headers
}
func ParseGetApiCatalogYoungEventsImagesPathResponse ¶
func ParseGetApiCatalogYoungEventsImagesPathResponse(rsp *http.Response) (*GetApiCatalogYoungEventsImagesPathResponse, error)
ParseGetApiCatalogYoungEventsImagesPathResponse parses an HTTP response from a GetApiCatalogYoungEventsImagesPathWithResponse call
func (GetApiCatalogYoungEventsImagesPathResponse) ContentType ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogYoungEventsImagesPathResponse) GetBody ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogYoungEventsImagesPathResponse) GetJSON404 ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCatalogYoungEventsImagesPathResponse) GetJSON502 ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) GetJSON502() *OpenApiErrorSchema
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetApiCatalogYoungEventsImagesPathResponse) GetJSON503 ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetApiCatalogYoungEventsImagesPathResponse) Status ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogYoungEventsImagesPathResponse) StatusCode ¶
func (r GetApiCatalogYoungEventsImagesPathResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogYoungEventsImagesPathResponse503Headers ¶
type GetApiCatalogYoungEventsImagesPathResponse503Headers struct {
RetryAfter *int
}
GetApiCatalogYoungEventsImagesPathResponse503Headers the declared response headers of an HTTP 503 response for GetApiCatalogYoungEventsImagesPath
type GetApiCatalogYoungEventsParams ¶
type GetApiCatalogYoungEventsParams struct {
// DateUnknown Filter activities missing the selected time basis start; incompatible with date bounds.
DateUnknown *GetApiCatalogYoungEventsParamsDateUnknown `form:"dateUnknown,omitempty" json:"dateUnknown,omitempty"`
// Active Filter by source-active list membership, independently of the current signup window.
Active *GetApiCatalogYoungEventsParamsActive `form:"active,omitempty" json:"active,omitempty"`
// Category Exact category filter, e.g. 单次项目 or 系列项目.
Category *string `form:"category,omitempty" json:"category,omitempty"`
// Module Exact second-classroom module filter, e.g. 德/智/体/美/劳.
Module *string `form:"module,omitempty" json:"module,omitempty"`
// ActivityLevel Exact activity-level filter, e.g. 院级 or 校级.
ActivityLevel *string `form:"activityLevel,omitempty" json:"activityLevel,omitempty"`
// Search Case-insensitive substring match on the event name.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// OrganizerId Stable local Young organizer ID.
OrganizerId *string `form:"organizerId,omitempty" json:"organizerId,omitempty"`
// DateFrom Inclusive Shanghai date/time range start.
DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
// DateTo Inclusive Shanghai date/time range end.
DateTo *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
// TimeBasis Date fields to use for range overlap filtering.
TimeBasis *GetApiCatalogYoungEventsParamsTimeBasis `form:"timeBasis,omitempty" json:"timeBasis,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetApiCatalogYoungEventsParams defines parameters for GetApiCatalogYoungEvents.
type GetApiCatalogYoungEventsParamsActive ¶
type GetApiCatalogYoungEventsParamsActive string
GetApiCatalogYoungEventsParamsActive defines parameters for GetApiCatalogYoungEvents.
const ( GetApiCatalogYoungEventsParamsActiveFalse GetApiCatalogYoungEventsParamsActive = "false" GetApiCatalogYoungEventsParamsActiveTrue GetApiCatalogYoungEventsParamsActive = "true" )
Defines values for GetApiCatalogYoungEventsParamsActive.
func (GetApiCatalogYoungEventsParamsActive) Valid ¶
func (e GetApiCatalogYoungEventsParamsActive) Valid() bool
Valid indicates whether the value is a known member of the GetApiCatalogYoungEventsParamsActive enum.
type GetApiCatalogYoungEventsParamsDateUnknown ¶
type GetApiCatalogYoungEventsParamsDateUnknown string
GetApiCatalogYoungEventsParamsDateUnknown defines parameters for GetApiCatalogYoungEvents.
const ( GetApiCatalogYoungEventsParamsDateUnknownFalse GetApiCatalogYoungEventsParamsDateUnknown = "false" GetApiCatalogYoungEventsParamsDateUnknownTrue GetApiCatalogYoungEventsParamsDateUnknown = "true" )
Defines values for GetApiCatalogYoungEventsParamsDateUnknown.
func (GetApiCatalogYoungEventsParamsDateUnknown) Valid ¶
func (e GetApiCatalogYoungEventsParamsDateUnknown) Valid() bool
Valid indicates whether the value is a known member of the GetApiCatalogYoungEventsParamsDateUnknown enum.
type GetApiCatalogYoungEventsParamsTimeBasis ¶
type GetApiCatalogYoungEventsParamsTimeBasis string
GetApiCatalogYoungEventsParamsTimeBasis defines parameters for GetApiCatalogYoungEvents.
const ( Activity GetApiCatalogYoungEventsParamsTimeBasis = "activity" Registration GetApiCatalogYoungEventsParamsTimeBasis = "registration" )
Defines values for GetApiCatalogYoungEventsParamsTimeBasis.
func (GetApiCatalogYoungEventsParamsTimeBasis) Valid ¶
func (e GetApiCatalogYoungEventsParamsTimeBasis) Valid() bool
Valid indicates whether the value is a known member of the GetApiCatalogYoungEventsParamsTimeBasis enum.
type GetApiCatalogYoungEventsResponse ¶
type GetApiCatalogYoungEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedYoungEventResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseGetApiCatalogYoungEventsResponse ¶
func ParseGetApiCatalogYoungEventsResponse(rsp *http.Response) (*GetApiCatalogYoungEventsResponse, error)
ParseGetApiCatalogYoungEventsResponse parses an HTTP response from a GetApiCatalogYoungEventsWithResponse call
func (GetApiCatalogYoungEventsResponse) ContentType ¶
func (r GetApiCatalogYoungEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogYoungEventsResponse) GetBody ¶
func (r GetApiCatalogYoungEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogYoungEventsResponse) GetJSON200 ¶
func (r GetApiCatalogYoungEventsResponse) GetJSON200() *PaginatedYoungEventResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCatalogYoungEventsResponse) GetJSON400 ¶
func (r GetApiCatalogYoungEventsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogYoungEventsResponse) Status ¶
func (r GetApiCatalogYoungEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogYoungEventsResponse) StatusCode ¶
func (r GetApiCatalogYoungEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogYoungEventsYoungIdImageResponse ¶
type GetApiCatalogYoungEventsYoungIdImageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCatalogYoungEventsYoungIdImageResponse ¶
func ParseGetApiCatalogYoungEventsYoungIdImageResponse(rsp *http.Response) (*GetApiCatalogYoungEventsYoungIdImageResponse, error)
ParseGetApiCatalogYoungEventsYoungIdImageResponse parses an HTTP response from a GetApiCatalogYoungEventsYoungIdImageWithResponse call
func (GetApiCatalogYoungEventsYoungIdImageResponse) ContentType ¶
func (r GetApiCatalogYoungEventsYoungIdImageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogYoungEventsYoungIdImageResponse) GetBody ¶
func (r GetApiCatalogYoungEventsYoungIdImageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogYoungEventsYoungIdImageResponse) GetJSON400 ¶
func (r GetApiCatalogYoungEventsYoungIdImageResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogYoungEventsYoungIdImageResponse) GetJSON404 ¶
func (r GetApiCatalogYoungEventsYoungIdImageResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCatalogYoungEventsYoungIdImageResponse) Status ¶
func (r GetApiCatalogYoungEventsYoungIdImageResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogYoungEventsYoungIdImageResponse) StatusCode ¶
func (r GetApiCatalogYoungEventsYoungIdImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogYoungEventsYoungIdResponse ¶
type GetApiCatalogYoungEventsYoungIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungEventDetailSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCatalogYoungEventsYoungIdResponse ¶
func ParseGetApiCatalogYoungEventsYoungIdResponse(rsp *http.Response) (*GetApiCatalogYoungEventsYoungIdResponse, error)
ParseGetApiCatalogYoungEventsYoungIdResponse parses an HTTP response from a GetApiCatalogYoungEventsYoungIdWithResponse call
func (GetApiCatalogYoungEventsYoungIdResponse) ContentType ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogYoungEventsYoungIdResponse) GetBody ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogYoungEventsYoungIdResponse) GetJSON200 ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) GetJSON200() *YoungEventDetailSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCatalogYoungEventsYoungIdResponse) GetJSON400 ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogYoungEventsYoungIdResponse) GetJSON404 ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCatalogYoungEventsYoungIdResponse) Status ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogYoungEventsYoungIdResponse) StatusCode ¶
func (r GetApiCatalogYoungEventsYoungIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogYoungOrganizersOrganizerIdResponse ¶
type GetApiCatalogYoungOrganizersOrganizerIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungOrganizerSummarySchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCatalogYoungOrganizersOrganizerIdResponse ¶
func ParseGetApiCatalogYoungOrganizersOrganizerIdResponse(rsp *http.Response) (*GetApiCatalogYoungOrganizersOrganizerIdResponse, error)
ParseGetApiCatalogYoungOrganizersOrganizerIdResponse parses an HTTP response from a GetApiCatalogYoungOrganizersOrganizerIdWithResponse call
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) ContentType ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) GetBody ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON200 ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON200() *YoungOrganizerSummarySchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON400 ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON404 ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) Status ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogYoungOrganizersOrganizerIdResponse) StatusCode ¶
func (r GetApiCatalogYoungOrganizersOrganizerIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCatalogYoungOrganizersParams ¶
type GetApiCatalogYoungOrganizersParams struct {
Search *string `form:"search,omitempty" json:"search,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetApiCatalogYoungOrganizersParams defines parameters for GetApiCatalogYoungOrganizers.
type GetApiCatalogYoungOrganizersResponse ¶
type GetApiCatalogYoungOrganizersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedYoungOrganizerResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseGetApiCatalogYoungOrganizersResponse ¶
func ParseGetApiCatalogYoungOrganizersResponse(rsp *http.Response) (*GetApiCatalogYoungOrganizersResponse, error)
ParseGetApiCatalogYoungOrganizersResponse parses an HTTP response from a GetApiCatalogYoungOrganizersWithResponse call
func (GetApiCatalogYoungOrganizersResponse) ContentType ¶
func (r GetApiCatalogYoungOrganizersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCatalogYoungOrganizersResponse) GetBody ¶
func (r GetApiCatalogYoungOrganizersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCatalogYoungOrganizersResponse) GetJSON200 ¶
func (r GetApiCatalogYoungOrganizersResponse) GetJSON200() *PaginatedYoungOrganizerResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCatalogYoungOrganizersResponse) GetJSON400 ¶
func (r GetApiCatalogYoungOrganizersResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCatalogYoungOrganizersResponse) Status ¶
func (r GetApiCatalogYoungOrganizersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCatalogYoungOrganizersResponse) StatusCode ¶
func (r GetApiCatalogYoungOrganizersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCommunityCommentsIdRepliesParams ¶
type GetApiCommunityCommentsIdRepliesParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetApiCommunityCommentsIdRepliesParams defines parameters for GetApiCommunityCommentsIdReplies.
type GetApiCommunityCommentsIdRepliesResponse ¶
type GetApiCommunityCommentsIdRepliesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CommentRepliesResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCommunityCommentsIdRepliesResponse ¶
func ParseGetApiCommunityCommentsIdRepliesResponse(rsp *http.Response) (*GetApiCommunityCommentsIdRepliesResponse, error)
ParseGetApiCommunityCommentsIdRepliesResponse parses an HTTP response from a GetApiCommunityCommentsIdRepliesWithResponse call
func (GetApiCommunityCommentsIdRepliesResponse) ContentType ¶
func (r GetApiCommunityCommentsIdRepliesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCommunityCommentsIdRepliesResponse) GetBody ¶
func (r GetApiCommunityCommentsIdRepliesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCommunityCommentsIdRepliesResponse) GetJSON200 ¶
func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON200() *CommentRepliesResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCommunityCommentsIdRepliesResponse) GetJSON400 ¶
func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCommunityCommentsIdRepliesResponse) GetJSON401 ¶
func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiCommunityCommentsIdRepliesResponse) GetJSON403 ¶
func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetApiCommunityCommentsIdRepliesResponse) GetJSON404 ¶
func (r GetApiCommunityCommentsIdRepliesResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCommunityCommentsIdRepliesResponse) Status ¶
func (r GetApiCommunityCommentsIdRepliesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCommunityCommentsIdRepliesResponse) StatusCode ¶
func (r GetApiCommunityCommentsIdRepliesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCommunitySectionHomeworksAuditParams ¶
type GetApiCommunitySectionHomeworksAuditParams struct {
SectionId *int64 `form:"sectionId,omitempty" json:"sectionId,omitempty"`
SectionIds *string `form:"sectionIds,omitempty" json:"sectionIds,omitempty"`
SectionJwId *int64 `form:"sectionJwId,omitempty" json:"sectionJwId,omitempty"`
}
GetApiCommunitySectionHomeworksAuditParams defines parameters for GetApiCommunitySectionHomeworksAudit.
type GetApiCommunitySectionHomeworksAuditResponse ¶
type GetApiCommunitySectionHomeworksAuditResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HomeworkAuditListResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCommunitySectionHomeworksAuditResponse ¶
func ParseGetApiCommunitySectionHomeworksAuditResponse(rsp *http.Response) (*GetApiCommunitySectionHomeworksAuditResponse, error)
ParseGetApiCommunitySectionHomeworksAuditResponse parses an HTTP response from a GetApiCommunitySectionHomeworksAuditWithResponse call
func (GetApiCommunitySectionHomeworksAuditResponse) ContentType ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCommunitySectionHomeworksAuditResponse) GetBody ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCommunitySectionHomeworksAuditResponse) GetJSON200 ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) GetJSON200() *HomeworkAuditListResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCommunitySectionHomeworksAuditResponse) GetJSON400 ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCommunitySectionHomeworksAuditResponse) GetJSON404 ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCommunitySectionHomeworksAuditResponse) Status ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCommunitySectionHomeworksAuditResponse) StatusCode ¶
func (r GetApiCommunitySectionHomeworksAuditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiCommunitySectionHomeworksIdResponse ¶
type GetApiCommunitySectionHomeworksIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HomeworkDetailResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiCommunitySectionHomeworksIdResponse ¶
func ParseGetApiCommunitySectionHomeworksIdResponse(rsp *http.Response) (*GetApiCommunitySectionHomeworksIdResponse, error)
ParseGetApiCommunitySectionHomeworksIdResponse parses an HTTP response from a GetApiCommunitySectionHomeworksIdWithResponse call
func (GetApiCommunitySectionHomeworksIdResponse) ContentType ¶
func (r GetApiCommunitySectionHomeworksIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiCommunitySectionHomeworksIdResponse) GetBody ¶
func (r GetApiCommunitySectionHomeworksIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiCommunitySectionHomeworksIdResponse) GetJSON200 ¶
func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON200() *HomeworkDetailResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiCommunitySectionHomeworksIdResponse) GetJSON400 ¶
func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiCommunitySectionHomeworksIdResponse) GetJSON401 ¶
func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiCommunitySectionHomeworksIdResponse) GetJSON404 ¶
func (r GetApiCommunitySectionHomeworksIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiCommunitySectionHomeworksIdResponse) Status ¶
func (r GetApiCommunitySectionHomeworksIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiCommunitySectionHomeworksIdResponse) StatusCode ¶
func (r GetApiCommunitySectionHomeworksIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiPublicationsIdResponse ¶
type GetApiPublicationsIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPublicationDetailSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetApiPublicationsIdResponse ¶
func ParseGetApiPublicationsIdResponse(rsp *http.Response) (*GetApiPublicationsIdResponse, error)
ParseGetApiPublicationsIdResponse parses an HTTP response from a GetApiPublicationsIdWithResponse call
func (GetApiPublicationsIdResponse) ContentType ¶
func (r GetApiPublicationsIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiPublicationsIdResponse) GetBody ¶
func (r GetApiPublicationsIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiPublicationsIdResponse) GetJSON200 ¶
func (r GetApiPublicationsIdResponse) GetJSON200() *PublicPublicationDetailSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiPublicationsIdResponse) GetJSON400 ¶
func (r GetApiPublicationsIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiPublicationsIdResponse) GetJSON404 ¶
func (r GetApiPublicationsIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiPublicationsIdResponse) Status ¶
func (r GetApiPublicationsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiPublicationsIdResponse) StatusCode ¶
func (r GetApiPublicationsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiPublicationsImagesHashResponse ¶
type GetApiPublicationsImagesHashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *GetApiPublicationsImagesHashResponse503Headers
}
func ParseGetApiPublicationsImagesHashResponse ¶
func ParseGetApiPublicationsImagesHashResponse(rsp *http.Response) (*GetApiPublicationsImagesHashResponse, error)
ParseGetApiPublicationsImagesHashResponse parses an HTTP response from a GetApiPublicationsImagesHashWithResponse call
func (GetApiPublicationsImagesHashResponse) ContentType ¶
func (r GetApiPublicationsImagesHashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiPublicationsImagesHashResponse) GetBody ¶
func (r GetApiPublicationsImagesHashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiPublicationsImagesHashResponse) GetJSON400 ¶
func (r GetApiPublicationsImagesHashResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiPublicationsImagesHashResponse) GetJSON404 ¶
func (r GetApiPublicationsImagesHashResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiPublicationsImagesHashResponse) GetJSON502 ¶
func (r GetApiPublicationsImagesHashResponse) GetJSON502() *OpenApiErrorSchema
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetApiPublicationsImagesHashResponse) GetJSON503 ¶
func (r GetApiPublicationsImagesHashResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetApiPublicationsImagesHashResponse) Status ¶
func (r GetApiPublicationsImagesHashResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiPublicationsImagesHashResponse) StatusCode ¶
func (r GetApiPublicationsImagesHashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiPublicationsImagesHashResponse503Headers ¶
type GetApiPublicationsImagesHashResponse503Headers struct {
RetryAfter *int
}
GetApiPublicationsImagesHashResponse503Headers the declared response headers of an HTTP 503 response for GetApiPublicationsImagesHash
type GetApiPublicationsObjectsKindSha256ParamsKind ¶
type GetApiPublicationsObjectsKindSha256ParamsKind string
GetApiPublicationsObjectsKindSha256ParamsKind defines parameters for GetApiPublicationsObjectsKindSha256.
const ( GetApiPublicationsObjectsKindSha256ParamsKindAsset GetApiPublicationsObjectsKindSha256ParamsKind = "asset" GetApiPublicationsObjectsKindSha256ParamsKindBodyHtml GetApiPublicationsObjectsKindSha256ParamsKind = "body_html" GetApiPublicationsObjectsKindSha256ParamsKindBodyMarkdown GetApiPublicationsObjectsKindSha256ParamsKind = "body_markdown" GetApiPublicationsObjectsKindSha256ParamsKindMedia GetApiPublicationsObjectsKindSha256ParamsKind = "media" GetApiPublicationsObjectsKindSha256ParamsKindRawPage GetApiPublicationsObjectsKindSha256ParamsKind = "raw_page" )
Defines values for GetApiPublicationsObjectsKindSha256ParamsKind.
func (GetApiPublicationsObjectsKindSha256ParamsKind) Valid ¶
func (e GetApiPublicationsObjectsKindSha256ParamsKind) Valid() bool
Valid indicates whether the value is a known member of the GetApiPublicationsObjectsKindSha256ParamsKind enum.
type GetApiPublicationsObjectsKindSha256Response ¶
type GetApiPublicationsObjectsKindSha256Response struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *GetApiPublicationsObjectsKindSha256Response503Headers
}
func ParseGetApiPublicationsObjectsKindSha256Response ¶
func ParseGetApiPublicationsObjectsKindSha256Response(rsp *http.Response) (*GetApiPublicationsObjectsKindSha256Response, error)
ParseGetApiPublicationsObjectsKindSha256Response parses an HTTP response from a GetApiPublicationsObjectsKindSha256WithResponse call
func (GetApiPublicationsObjectsKindSha256Response) ContentType ¶
func (r GetApiPublicationsObjectsKindSha256Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiPublicationsObjectsKindSha256Response) GetBody ¶
func (r GetApiPublicationsObjectsKindSha256Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiPublicationsObjectsKindSha256Response) GetJSON400 ¶
func (r GetApiPublicationsObjectsKindSha256Response) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiPublicationsObjectsKindSha256Response) GetJSON404 ¶
func (r GetApiPublicationsObjectsKindSha256Response) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetApiPublicationsObjectsKindSha256Response) GetJSON503 ¶
func (r GetApiPublicationsObjectsKindSha256Response) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetApiPublicationsObjectsKindSha256Response) Status ¶
func (r GetApiPublicationsObjectsKindSha256Response) Status() string
Status returns HTTPResponse.Status
func (GetApiPublicationsObjectsKindSha256Response) StatusCode ¶
func (r GetApiPublicationsObjectsKindSha256Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiPublicationsObjectsKindSha256Response503Headers ¶
type GetApiPublicationsObjectsKindSha256Response503Headers struct {
RetryAfter *int
}
GetApiPublicationsObjectsKindSha256Response503Headers the declared response headers of an HTTP 503 response for GetApiPublicationsObjectsKindSha256
type GetApiPublicationsParams ¶
type GetApiPublicationsParams struct {
Type *GetApiPublicationsParamsType `form:"type,omitempty" json:"type,omitempty"`
Source *string `form:"source,omitempty" json:"source,omitempty"`
OrganizationLevel *string `form:"organizationLevel,omitempty" json:"organizationLevel,omitempty"`
Query *string `form:"query,omitempty" json:"query,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
Fold *GetApiPublicationsParamsFold `form:"fold,omitempty" json:"fold,omitempty"`
}
GetApiPublicationsParams defines parameters for GetApiPublications.
type GetApiPublicationsParamsFold ¶
type GetApiPublicationsParamsFold string
GetApiPublicationsParamsFold defines parameters for GetApiPublications.
const (
GetApiPublicationsParamsFoldN1 GetApiPublicationsParamsFold = "1"
)
Defines values for GetApiPublicationsParamsFold.
func (GetApiPublicationsParamsFold) Valid ¶
func (e GetApiPublicationsParamsFold) Valid() bool
Valid indicates whether the value is a known member of the GetApiPublicationsParamsFold enum.
type GetApiPublicationsParamsType ¶
type GetApiPublicationsParamsType string
GetApiPublicationsParamsType defines parameters for GetApiPublications.
const ( GetApiPublicationsParamsTypeNews GetApiPublicationsParamsType = "news" GetApiPublicationsParamsTypeNotice GetApiPublicationsParamsType = "notice" )
Defines values for GetApiPublicationsParamsType.
func (GetApiPublicationsParamsType) Valid ¶
func (e GetApiPublicationsParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetApiPublicationsParamsType enum.
type GetApiPublicationsResponse ¶
type GetApiPublicationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPublicationsResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseGetApiPublicationsResponse ¶
func ParseGetApiPublicationsResponse(rsp *http.Response) (*GetApiPublicationsResponse, error)
ParseGetApiPublicationsResponse parses an HTTP response from a GetApiPublicationsWithResponse call
func (GetApiPublicationsResponse) ContentType ¶
func (r GetApiPublicationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiPublicationsResponse) GetBody ¶
func (r GetApiPublicationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiPublicationsResponse) GetJSON200 ¶
func (r GetApiPublicationsResponse) GetJSON200() *PublicPublicationsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiPublicationsResponse) GetJSON400 ¶
func (r GetApiPublicationsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiPublicationsResponse) Status ¶
func (r GetApiPublicationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiPublicationsResponse) StatusCode ¶
func (r GetApiPublicationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiPublicationsSourcesResponse ¶
type GetApiPublicationsSourcesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPublicationSourceDirectoryResponseSchema
}
func ParseGetApiPublicationsSourcesResponse ¶
func ParseGetApiPublicationsSourcesResponse(rsp *http.Response) (*GetApiPublicationsSourcesResponse, error)
ParseGetApiPublicationsSourcesResponse parses an HTTP response from a GetApiPublicationsSourcesWithResponse call
func (GetApiPublicationsSourcesResponse) ContentType ¶
func (r GetApiPublicationsSourcesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiPublicationsSourcesResponse) GetBody ¶
func (r GetApiPublicationsSourcesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiPublicationsSourcesResponse) GetJSON200 ¶
func (r GetApiPublicationsSourcesResponse) GetJSON200() *PublicPublicationSourceDirectoryResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiPublicationsSourcesResponse) Status ¶
func (r GetApiPublicationsSourcesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiPublicationsSourcesResponse) StatusCode ¶
func (r GetApiPublicationsSourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiSearchResponse ¶
type GetApiSearchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseGetApiSearchResponse ¶
func ParseGetApiSearchResponse(rsp *http.Response) (*GetApiSearchResponse, error)
ParseGetApiSearchResponse parses an HTTP response from a GetApiSearchWithResponse call
func (GetApiSearchResponse) ContentType ¶
func (r GetApiSearchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiSearchResponse) GetBody ¶
func (r GetApiSearchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiSearchResponse) GetJSON400 ¶
func (r GetApiSearchResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiSearchResponse) Status ¶
func (r GetApiSearchResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiSearchResponse) StatusCode ¶
func (r GetApiSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceCalendarEventsParams ¶
type GetApiWorkspaceCalendarEventsParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
DateTo *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
}
GetApiWorkspaceCalendarEventsParams defines parameters for GetApiWorkspaceCalendarEvents.
type GetApiWorkspaceCalendarEventsResponse ¶
type GetApiWorkspaceCalendarEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PersonalCalendarPageSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceCalendarEventsResponse ¶
func ParseGetApiWorkspaceCalendarEventsResponse(rsp *http.Response) (*GetApiWorkspaceCalendarEventsResponse, error)
ParseGetApiWorkspaceCalendarEventsResponse parses an HTTP response from a GetApiWorkspaceCalendarEventsWithResponse call
func (GetApiWorkspaceCalendarEventsResponse) ContentType ¶
func (r GetApiWorkspaceCalendarEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceCalendarEventsResponse) GetBody ¶
func (r GetApiWorkspaceCalendarEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceCalendarEventsResponse) GetJSON200 ¶
func (r GetApiWorkspaceCalendarEventsResponse) GetJSON200() *PersonalCalendarPageSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceCalendarEventsResponse) GetJSON400 ¶
func (r GetApiWorkspaceCalendarEventsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiWorkspaceCalendarEventsResponse) GetJSON401 ¶
func (r GetApiWorkspaceCalendarEventsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceCalendarEventsResponse) Status ¶
func (r GetApiWorkspaceCalendarEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceCalendarEventsResponse) StatusCode ¶
func (r GetApiWorkspaceCalendarEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceOverviewActionableParams ¶
type GetApiWorkspaceOverviewActionableParams struct {
AtTime *string `form:"atTime,omitempty" json:"atTime,omitempty"`
Locale *GetApiWorkspaceOverviewActionableParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
GetApiWorkspaceOverviewActionableParams defines parameters for GetApiWorkspaceOverviewActionable.
type GetApiWorkspaceOverviewActionableParamsLocale ¶
type GetApiWorkspaceOverviewActionableParamsLocale string
GetApiWorkspaceOverviewActionableParamsLocale defines parameters for GetApiWorkspaceOverviewActionable.
const ( GetApiWorkspaceOverviewActionableParamsLocaleEnUs GetApiWorkspaceOverviewActionableParamsLocale = "en-us" GetApiWorkspaceOverviewActionableParamsLocaleZhCn GetApiWorkspaceOverviewActionableParamsLocale = "zh-cn" )
Defines values for GetApiWorkspaceOverviewActionableParamsLocale.
func (GetApiWorkspaceOverviewActionableParamsLocale) Valid ¶
func (e GetApiWorkspaceOverviewActionableParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetApiWorkspaceOverviewActionableParamsLocale enum.
type GetApiWorkspaceOverviewActionableResponse ¶
type GetApiWorkspaceOverviewActionableResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActionableOverviewResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceOverviewActionableResponse ¶
func ParseGetApiWorkspaceOverviewActionableResponse(rsp *http.Response) (*GetApiWorkspaceOverviewActionableResponse, error)
ParseGetApiWorkspaceOverviewActionableResponse parses an HTTP response from a GetApiWorkspaceOverviewActionableWithResponse call
func (GetApiWorkspaceOverviewActionableResponse) ContentType ¶
func (r GetApiWorkspaceOverviewActionableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceOverviewActionableResponse) GetBody ¶
func (r GetApiWorkspaceOverviewActionableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceOverviewActionableResponse) GetJSON200 ¶
func (r GetApiWorkspaceOverviewActionableResponse) GetJSON200() *ActionableOverviewResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceOverviewActionableResponse) GetJSON400 ¶
func (r GetApiWorkspaceOverviewActionableResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiWorkspaceOverviewActionableResponse) GetJSON401 ¶
func (r GetApiWorkspaceOverviewActionableResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceOverviewActionableResponse) Status ¶
func (r GetApiWorkspaceOverviewActionableResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceOverviewActionableResponse) StatusCode ¶
func (r GetApiWorkspaceOverviewActionableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceYoungEventSubscriptionsParams ¶
type GetApiWorkspaceYoungEventSubscriptionsParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
Unread *GetApiWorkspaceYoungEventSubscriptionsParamsUnread `form:"unread,omitempty" json:"unread,omitempty"`
}
GetApiWorkspaceYoungEventSubscriptionsParams defines parameters for GetApiWorkspaceYoungEventSubscriptions.
type GetApiWorkspaceYoungEventSubscriptionsParamsUnread ¶
type GetApiWorkspaceYoungEventSubscriptionsParamsUnread string
GetApiWorkspaceYoungEventSubscriptionsParamsUnread defines parameters for GetApiWorkspaceYoungEventSubscriptions.
const ( GetApiWorkspaceYoungEventSubscriptionsParamsUnreadFalse GetApiWorkspaceYoungEventSubscriptionsParamsUnread = "false" GetApiWorkspaceYoungEventSubscriptionsParamsUnreadTrue GetApiWorkspaceYoungEventSubscriptionsParamsUnread = "true" )
Defines values for GetApiWorkspaceYoungEventSubscriptionsParamsUnread.
func (GetApiWorkspaceYoungEventSubscriptionsParamsUnread) Valid ¶
func (e GetApiWorkspaceYoungEventSubscriptionsParamsUnread) Valid() bool
Valid indicates whether the value is a known member of the GetApiWorkspaceYoungEventSubscriptionsParamsUnread enum.
type GetApiWorkspaceYoungEventSubscriptionsResponse ¶
type GetApiWorkspaceYoungEventSubscriptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungEventSubscriptionListSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceYoungEventSubscriptionsResponse ¶
func ParseGetApiWorkspaceYoungEventSubscriptionsResponse(rsp *http.Response) (*GetApiWorkspaceYoungEventSubscriptionsResponse, error)
ParseGetApiWorkspaceYoungEventSubscriptionsResponse parses an HTTP response from a GetApiWorkspaceYoungEventSubscriptionsWithResponse call
func (GetApiWorkspaceYoungEventSubscriptionsResponse) ContentType ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceYoungEventSubscriptionsResponse) GetBody ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON200 ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON200() *YoungEventSubscriptionListSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON400 ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON401 ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceYoungEventSubscriptionsResponse) Status ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceYoungEventSubscriptionsResponse) StatusCode ¶
func (r GetApiWorkspaceYoungEventSubscriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse ¶
type GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungEventSubscriptionStateSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceYoungEventSubscriptionsYoungIdResponse ¶
func ParseGetApiWorkspaceYoungEventSubscriptionsYoungIdResponse(rsp *http.Response) (*GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
ParseGetApiWorkspaceYoungEventSubscriptionsYoungIdResponse parses an HTTP response from a GetApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse call
func (GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) ContentType ¶
func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetBody ¶
func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON200 ¶
func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON200() *YoungEventSubscriptionStateSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON401 ¶
func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) Status ¶
func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) StatusCode ¶
func (r GetApiWorkspaceYoungEventSubscriptionsYoungIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceYoungNotificationsParams ¶
type GetApiWorkspaceYoungNotificationsParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
Unread *GetApiWorkspaceYoungNotificationsParamsUnread `form:"unread,omitempty" json:"unread,omitempty"`
}
GetApiWorkspaceYoungNotificationsParams defines parameters for GetApiWorkspaceYoungNotifications.
type GetApiWorkspaceYoungNotificationsParamsUnread ¶
type GetApiWorkspaceYoungNotificationsParamsUnread string
GetApiWorkspaceYoungNotificationsParamsUnread defines parameters for GetApiWorkspaceYoungNotifications.
const ( GetApiWorkspaceYoungNotificationsParamsUnreadFalse GetApiWorkspaceYoungNotificationsParamsUnread = "false" GetApiWorkspaceYoungNotificationsParamsUnreadTrue GetApiWorkspaceYoungNotificationsParamsUnread = "true" )
Defines values for GetApiWorkspaceYoungNotificationsParamsUnread.
func (GetApiWorkspaceYoungNotificationsParamsUnread) Valid ¶
func (e GetApiWorkspaceYoungNotificationsParamsUnread) Valid() bool
Valid indicates whether the value is a known member of the GetApiWorkspaceYoungNotificationsParamsUnread enum.
type GetApiWorkspaceYoungNotificationsResponse ¶
type GetApiWorkspaceYoungNotificationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungNotificationListSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceYoungNotificationsResponse ¶
func ParseGetApiWorkspaceYoungNotificationsResponse(rsp *http.Response) (*GetApiWorkspaceYoungNotificationsResponse, error)
ParseGetApiWorkspaceYoungNotificationsResponse parses an HTTP response from a GetApiWorkspaceYoungNotificationsWithResponse call
func (GetApiWorkspaceYoungNotificationsResponse) ContentType ¶
func (r GetApiWorkspaceYoungNotificationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceYoungNotificationsResponse) GetBody ¶
func (r GetApiWorkspaceYoungNotificationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceYoungNotificationsResponse) GetJSON200 ¶
func (r GetApiWorkspaceYoungNotificationsResponse) GetJSON200() *YoungNotificationListSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceYoungNotificationsResponse) GetJSON400 ¶
func (r GetApiWorkspaceYoungNotificationsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiWorkspaceYoungNotificationsResponse) GetJSON401 ¶
func (r GetApiWorkspaceYoungNotificationsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceYoungNotificationsResponse) Status ¶
func (r GetApiWorkspaceYoungNotificationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceYoungNotificationsResponse) StatusCode ¶
func (r GetApiWorkspaceYoungNotificationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse ¶
type GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungOrganizerSubscriptionStateSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse ¶
func ParseGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse(rsp *http.Response) (*GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
ParseGetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse parses an HTTP response from a GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse call
func (GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) ContentType ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetBody ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON200 ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON200() *YoungOrganizerSubscriptionStateSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON401 ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) Status ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) StatusCode ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiWorkspaceYoungOrganizerSubscriptionsParams ¶
type GetApiWorkspaceYoungOrganizerSubscriptionsParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
Unread *GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread `form:"unread,omitempty" json:"unread,omitempty"`
}
GetApiWorkspaceYoungOrganizerSubscriptionsParams defines parameters for GetApiWorkspaceYoungOrganizerSubscriptions.
type GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread ¶
type GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread string
GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread defines parameters for GetApiWorkspaceYoungOrganizerSubscriptions.
const ( GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnreadFalse GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread = "false" GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnreadTrue GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread = "true" )
Defines values for GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread.
func (GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread) Valid ¶
func (e GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread) Valid() bool
Valid indicates whether the value is a known member of the GetApiWorkspaceYoungOrganizerSubscriptionsParamsUnread enum.
type GetApiWorkspaceYoungOrganizerSubscriptionsResponse ¶
type GetApiWorkspaceYoungOrganizerSubscriptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungOrganizerSubscriptionListSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetApiWorkspaceYoungOrganizerSubscriptionsResponse ¶
func ParseGetApiWorkspaceYoungOrganizerSubscriptionsResponse(rsp *http.Response) (*GetApiWorkspaceYoungOrganizerSubscriptionsResponse, error)
ParseGetApiWorkspaceYoungOrganizerSubscriptionsResponse parses an HTTP response from a GetApiWorkspaceYoungOrganizerSubscriptionsWithResponse call
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) ContentType ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetBody ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON200 ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON200() *YoungOrganizerSubscriptionListSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON400 ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON401 ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) Status ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiWorkspaceYoungOrganizerSubscriptionsResponse) StatusCode ¶
func (r GetApiWorkspaceYoungOrganizerSubscriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCommentResponse ¶
type GetCommentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CommentThreadResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetCommentResponse ¶
func ParseGetCommentResponse(rsp *http.Response) (*GetCommentResponse, error)
ParseGetCommentResponse parses an HTTP response from a GetCommentWithResponse call
func (GetCommentResponse) ContentType ¶
func (r GetCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCommentResponse) GetBody ¶
func (r GetCommentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCommentResponse) GetJSON200 ¶
func (r GetCommentResponse) GetJSON200() *CommentThreadResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCommentResponse) GetJSON401 ¶
func (r GetCommentResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCommentResponse) GetJSON403 ¶
func (r GetCommentResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetCommentResponse) GetJSON404 ¶
func (r GetCommentResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCommentResponse) Status ¶
func (r GetCommentResponse) Status() string
Status returns HTTPResponse.Status
func (GetCommentResponse) StatusCode ¶
func (r GetCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCourseParams ¶
type GetCourseParams struct {
Locale *GetCourseParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
GetCourseParams defines parameters for GetCourse.
type GetCourseParamsLocale ¶
type GetCourseParamsLocale string
GetCourseParamsLocale defines parameters for GetCourse.
const ( GetCourseParamsLocaleEnUs GetCourseParamsLocale = "en-us" GetCourseParamsLocaleZhCn GetCourseParamsLocale = "zh-cn" )
Defines values for GetCourseParamsLocale.
func (GetCourseParamsLocale) Valid ¶
func (e GetCourseParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetCourseParamsLocale enum.
type GetCourseResponse ¶
type GetCourseResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CourseDetailSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetCourseResponse ¶
func ParseGetCourseResponse(rsp *http.Response) (*GetCourseResponse, error)
ParseGetCourseResponse parses an HTTP response from a GetCourseWithResponse call
func (GetCourseResponse) ContentType ¶
func (r GetCourseResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCourseResponse) GetBody ¶
func (r GetCourseResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCourseResponse) GetJSON200 ¶
func (r GetCourseResponse) GetJSON200() *CourseDetailSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCourseResponse) GetJSON400 ¶
func (r GetCourseResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCourseResponse) GetJSON404 ¶
func (r GetCourseResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCourseResponse) Status ¶
func (r GetCourseResponse) Status() string
Status returns HTTPResponse.Status
func (GetCourseResponse) StatusCode ¶
func (r GetCourseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentCalendarSubscriptionResponse ¶
type GetCurrentCalendarSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CurrentCalendarSubscriptionResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetCurrentCalendarSubscriptionResponse ¶
func ParseGetCurrentCalendarSubscriptionResponse(rsp *http.Response) (*GetCurrentCalendarSubscriptionResponse, error)
ParseGetCurrentCalendarSubscriptionResponse parses an HTTP response from a GetCurrentCalendarSubscriptionWithResponse call
func (GetCurrentCalendarSubscriptionResponse) ContentType ¶
func (r GetCurrentCalendarSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCurrentCalendarSubscriptionResponse) GetBody ¶
func (r GetCurrentCalendarSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCurrentCalendarSubscriptionResponse) GetJSON200 ¶
func (r GetCurrentCalendarSubscriptionResponse) GetJSON200() *CurrentCalendarSubscriptionResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCurrentCalendarSubscriptionResponse) GetJSON401 ¶
func (r GetCurrentCalendarSubscriptionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCurrentCalendarSubscriptionResponse) Status ¶
func (r GetCurrentCalendarSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentCalendarSubscriptionResponse) StatusCode ¶
func (r GetCurrentCalendarSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentSemesterResponse ¶
type GetCurrentSemesterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SemesterSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetCurrentSemesterResponse ¶
func ParseGetCurrentSemesterResponse(rsp *http.Response) (*GetCurrentSemesterResponse, error)
ParseGetCurrentSemesterResponse parses an HTTP response from a GetCurrentSemesterWithResponse call
func (GetCurrentSemesterResponse) ContentType ¶
func (r GetCurrentSemesterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCurrentSemesterResponse) GetBody ¶
func (r GetCurrentSemesterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCurrentSemesterResponse) GetJSON200 ¶
func (r GetCurrentSemesterResponse) GetJSON200() *SemesterSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCurrentSemesterResponse) GetJSON404 ¶
func (r GetCurrentSemesterResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCurrentSemesterResponse) Status ¶
func (r GetCurrentSemesterResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentSemesterResponse) StatusCode ¶
func (r GetCurrentSemesterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDescriptionParams ¶
type GetDescriptionParams struct {
TargetType GetDescriptionParamsTargetType `form:"targetType" json:"targetType"`
TargetId *string `form:"targetId,omitempty" json:"targetId,omitempty"`
SectionJwId *int64 `form:"sectionJwId,omitempty" json:"sectionJwId,omitempty"`
CourseJwId *int64 `form:"courseJwId,omitempty" json:"courseJwId,omitempty"`
TeacherId *int64 `form:"teacherId,omitempty" json:"teacherId,omitempty"`
HomeworkId *string `form:"homeworkId,omitempty" json:"homeworkId,omitempty"`
}
GetDescriptionParams defines parameters for GetDescription.
type GetDescriptionParamsTargetType ¶
type GetDescriptionParamsTargetType string
GetDescriptionParamsTargetType defines parameters for GetDescription.
const ( GetDescriptionParamsTargetTypeCourse GetDescriptionParamsTargetType = "course" GetDescriptionParamsTargetTypeHomework GetDescriptionParamsTargetType = "homework" GetDescriptionParamsTargetTypeSection GetDescriptionParamsTargetType = "section" GetDescriptionParamsTargetTypeTeacher GetDescriptionParamsTargetType = "teacher" )
Defines values for GetDescriptionParamsTargetType.
func (GetDescriptionParamsTargetType) Valid ¶
func (e GetDescriptionParamsTargetType) Valid() bool
Valid indicates whether the value is a known member of the GetDescriptionParamsTargetType enum.
type GetDescriptionResponse ¶
type GetDescriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DescriptionsResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetDescriptionResponse ¶
func ParseGetDescriptionResponse(rsp *http.Response) (*GetDescriptionResponse, error)
ParseGetDescriptionResponse parses an HTTP response from a GetDescriptionWithResponse call
func (GetDescriptionResponse) ContentType ¶
func (r GetDescriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDescriptionResponse) GetBody ¶
func (r GetDescriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDescriptionResponse) GetJSON200 ¶
func (r GetDescriptionResponse) GetJSON200() *DescriptionsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDescriptionResponse) GetJSON400 ¶
func (r GetDescriptionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDescriptionResponse) GetJSON401 ¶
func (r GetDescriptionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDescriptionResponse) GetJSON404 ¶
func (r GetDescriptionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDescriptionResponse) Status ¶
func (r GetDescriptionResponse) Status() string
Status returns HTTPResponse.Status
func (GetDescriptionResponse) StatusCode ¶
func (r GetDescriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetadataResponse ¶
type GetMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MetadataResponseSchema
}
func ParseGetMetadataResponse ¶
func ParseGetMetadataResponse(rsp *http.Response) (*GetMetadataResponse, error)
ParseGetMetadataResponse parses an HTTP response from a GetMetadataWithResponse call
func (GetMetadataResponse) ContentType ¶
func (r GetMetadataResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetadataResponse) GetBody ¶
func (r GetMetadataResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetadataResponse) GetJSON200 ¶
func (r GetMetadataResponse) GetJSON200() *MetadataResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetadataResponse) Status ¶
func (r GetMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataResponse) StatusCode ¶
func (r GetMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOpenApiSpecResponse ¶
type GetOpenApiSpecResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OpenApiDocumentResponseSchema
}
func ParseGetOpenApiSpecResponse ¶
func ParseGetOpenApiSpecResponse(rsp *http.Response) (*GetOpenApiSpecResponse, error)
ParseGetOpenApiSpecResponse parses an HTTP response from a GetOpenApiSpecWithResponse call
func (GetOpenApiSpecResponse) ContentType ¶
func (r GetOpenApiSpecResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOpenApiSpecResponse) GetBody ¶
func (r GetOpenApiSpecResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOpenApiSpecResponse) GetJSON200 ¶
func (r GetOpenApiSpecResponse) GetJSON200() *OpenApiDocumentResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOpenApiSpecResponse) Status ¶
func (r GetOpenApiSpecResponse) Status() string
Status returns HTTPResponse.Status
func (GetOpenApiSpecResponse) StatusCode ¶
func (r GetOpenApiSpecResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSectionCalendarResponse ¶
type GetSectionCalendarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetSectionCalendarResponse ¶
func ParseGetSectionCalendarResponse(rsp *http.Response) (*GetSectionCalendarResponse, error)
ParseGetSectionCalendarResponse parses an HTTP response from a GetSectionCalendarWithResponse call
func (GetSectionCalendarResponse) ContentType ¶
func (r GetSectionCalendarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSectionCalendarResponse) GetBody ¶
func (r GetSectionCalendarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSectionCalendarResponse) GetJSON404 ¶
func (r GetSectionCalendarResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSectionCalendarResponse) Status ¶
func (r GetSectionCalendarResponse) Status() string
Status returns HTTPResponse.Status
func (GetSectionCalendarResponse) StatusCode ¶
func (r GetSectionCalendarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSectionParams ¶
type GetSectionParams struct {
Locale *GetSectionParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
IncludeExams *GetSectionParamsIncludeExams `form:"includeExams,omitempty" json:"includeExams,omitempty"`
IncludeSchedules *GetSectionParamsIncludeSchedules `form:"includeSchedules,omitempty" json:"includeSchedules,omitempty"`
IncludeTeacherDepartments *GetSectionParamsIncludeTeacherDepartments `form:"includeTeacherDepartments,omitempty" json:"includeTeacherDepartments,omitempty"`
}
GetSectionParams defines parameters for GetSection.
type GetSectionParamsIncludeExams ¶
type GetSectionParamsIncludeExams string
GetSectionParamsIncludeExams defines parameters for GetSection.
const ( GetSectionParamsIncludeExamsFalse GetSectionParamsIncludeExams = "false" GetSectionParamsIncludeExamsTrue GetSectionParamsIncludeExams = "true" )
Defines values for GetSectionParamsIncludeExams.
func (GetSectionParamsIncludeExams) Valid ¶
func (e GetSectionParamsIncludeExams) Valid() bool
Valid indicates whether the value is a known member of the GetSectionParamsIncludeExams enum.
type GetSectionParamsIncludeSchedules ¶
type GetSectionParamsIncludeSchedules string
GetSectionParamsIncludeSchedules defines parameters for GetSection.
const ( GetSectionParamsIncludeSchedulesFalse GetSectionParamsIncludeSchedules = "false" GetSectionParamsIncludeSchedulesTrue GetSectionParamsIncludeSchedules = "true" )
Defines values for GetSectionParamsIncludeSchedules.
func (GetSectionParamsIncludeSchedules) Valid ¶
func (e GetSectionParamsIncludeSchedules) Valid() bool
Valid indicates whether the value is a known member of the GetSectionParamsIncludeSchedules enum.
type GetSectionParamsIncludeTeacherDepartments ¶
type GetSectionParamsIncludeTeacherDepartments string
GetSectionParamsIncludeTeacherDepartments defines parameters for GetSection.
const ( GetSectionParamsIncludeTeacherDepartmentsFalse GetSectionParamsIncludeTeacherDepartments = "false" GetSectionParamsIncludeTeacherDepartmentsTrue GetSectionParamsIncludeTeacherDepartments = "true" )
Defines values for GetSectionParamsIncludeTeacherDepartments.
func (GetSectionParamsIncludeTeacherDepartments) Valid ¶
func (e GetSectionParamsIncludeTeacherDepartments) Valid() bool
Valid indicates whether the value is a known member of the GetSectionParamsIncludeTeacherDepartments enum.
type GetSectionParamsLocale ¶
type GetSectionParamsLocale string
GetSectionParamsLocale defines parameters for GetSection.
const ( GetSectionParamsLocaleEnUs GetSectionParamsLocale = "en-us" GetSectionParamsLocaleZhCn GetSectionParamsLocale = "zh-cn" )
Defines values for GetSectionParamsLocale.
func (GetSectionParamsLocale) Valid ¶
func (e GetSectionParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetSectionParamsLocale enum.
type GetSectionResponse ¶
type GetSectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SectionDetailSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetSectionResponse ¶
func ParseGetSectionResponse(rsp *http.Response) (*GetSectionResponse, error)
ParseGetSectionResponse parses an HTTP response from a GetSectionWithResponse call
func (GetSectionResponse) ContentType ¶
func (r GetSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSectionResponse) GetBody ¶
func (r GetSectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSectionResponse) GetJSON200 ¶
func (r GetSectionResponse) GetJSON200() *SectionDetailSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSectionResponse) GetJSON400 ¶
func (r GetSectionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSectionResponse) GetJSON404 ¶
func (r GetSectionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSectionResponse) Status ¶
func (r GetSectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetSectionResponse) StatusCode ¶
func (r GetSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSectionScheduleGroupsParams ¶
type GetSectionScheduleGroupsParams struct {
Locale *GetSectionScheduleGroupsParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
GetSectionScheduleGroupsParams defines parameters for GetSectionScheduleGroups.
type GetSectionScheduleGroupsParamsLocale ¶
type GetSectionScheduleGroupsParamsLocale string
GetSectionScheduleGroupsParamsLocale defines parameters for GetSectionScheduleGroups.
const ( GetSectionScheduleGroupsParamsLocaleEnUs GetSectionScheduleGroupsParamsLocale = "en-us" GetSectionScheduleGroupsParamsLocaleZhCn GetSectionScheduleGroupsParamsLocale = "zh-cn" )
Defines values for GetSectionScheduleGroupsParamsLocale.
func (GetSectionScheduleGroupsParamsLocale) Valid ¶
func (e GetSectionScheduleGroupsParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetSectionScheduleGroupsParamsLocale enum.
type GetSectionScheduleGroupsResponse ¶
type GetSectionScheduleGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ScheduleGroupsResponseSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetSectionScheduleGroupsResponse ¶
func ParseGetSectionScheduleGroupsResponse(rsp *http.Response) (*GetSectionScheduleGroupsResponse, error)
ParseGetSectionScheduleGroupsResponse parses an HTTP response from a GetSectionScheduleGroupsWithResponse call
func (GetSectionScheduleGroupsResponse) ContentType ¶
func (r GetSectionScheduleGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSectionScheduleGroupsResponse) GetBody ¶
func (r GetSectionScheduleGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSectionScheduleGroupsResponse) GetJSON200 ¶
func (r GetSectionScheduleGroupsResponse) GetJSON200() *ScheduleGroupsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSectionScheduleGroupsResponse) GetJSON404 ¶
func (r GetSectionScheduleGroupsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSectionScheduleGroupsResponse) Status ¶
func (r GetSectionScheduleGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSectionScheduleGroupsResponse) StatusCode ¶
func (r GetSectionScheduleGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSectionSchedulesParams ¶
type GetSectionSchedulesParams struct {
Locale *GetSectionSchedulesParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
DateTo *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
// Limit Legacy array mode only; defaults to 200 when page and pageSize are omitted.
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetSectionSchedulesParams defines parameters for GetSectionSchedules.
type GetSectionSchedulesParamsLocale ¶
type GetSectionSchedulesParamsLocale string
GetSectionSchedulesParamsLocale defines parameters for GetSectionSchedules.
const ( GetSectionSchedulesParamsLocaleEnUs GetSectionSchedulesParamsLocale = "en-us" GetSectionSchedulesParamsLocaleZhCn GetSectionSchedulesParamsLocale = "zh-cn" )
Defines values for GetSectionSchedulesParamsLocale.
func (GetSectionSchedulesParamsLocale) Valid ¶
func (e GetSectionSchedulesParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetSectionSchedulesParamsLocale enum.
type GetSectionSchedulesResponse ¶
type GetSectionSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SectionSchedulesReadResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetSectionSchedulesResponse ¶
func ParseGetSectionSchedulesResponse(rsp *http.Response) (*GetSectionSchedulesResponse, error)
ParseGetSectionSchedulesResponse parses an HTTP response from a GetSectionSchedulesWithResponse call
func (GetSectionSchedulesResponse) ContentType ¶
func (r GetSectionSchedulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSectionSchedulesResponse) GetBody ¶
func (r GetSectionSchedulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSectionSchedulesResponse) GetJSON200 ¶
func (r GetSectionSchedulesResponse) GetJSON200() *SectionSchedulesReadResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSectionSchedulesResponse) GetJSON400 ¶
func (r GetSectionSchedulesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSectionSchedulesResponse) GetJSON404 ¶
func (r GetSectionSchedulesResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSectionSchedulesResponse) Status ¶
func (r GetSectionSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSectionSchedulesResponse) StatusCode ¶
func (r GetSectionSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSectionsCalendarParams ¶
type GetSectionsCalendarParams struct {
// SectionIds Comma-separated positive Section database IDs; at most 50 unique IDs.
SectionIds string `form:"sectionIds" json:"sectionIds"`
}
GetSectionsCalendarParams defines parameters for GetSectionsCalendar.
type GetSectionsCalendarResponse ¶
type GetSectionsCalendarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseGetSectionsCalendarResponse ¶
func ParseGetSectionsCalendarResponse(rsp *http.Response) (*GetSectionsCalendarResponse, error)
ParseGetSectionsCalendarResponse parses an HTTP response from a GetSectionsCalendarWithResponse call
func (GetSectionsCalendarResponse) ContentType ¶
func (r GetSectionsCalendarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSectionsCalendarResponse) GetBody ¶
func (r GetSectionsCalendarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSectionsCalendarResponse) GetJSON400 ¶
func (r GetSectionsCalendarResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSectionsCalendarResponse) Status ¶
func (r GetSectionsCalendarResponse) Status() string
Status returns HTTPResponse.Status
func (GetSectionsCalendarResponse) StatusCode ¶
func (r GetSectionsCalendarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubscribedHomeworksParams ¶
type GetSubscribedHomeworksParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetSubscribedHomeworksParams defines parameters for GetSubscribedHomeworks.
type GetSubscribedHomeworksResponse ¶
type GetSubscribedHomeworksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscribedHomeworksResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseGetSubscribedHomeworksResponse ¶
func ParseGetSubscribedHomeworksResponse(rsp *http.Response) (*GetSubscribedHomeworksResponse, error)
ParseGetSubscribedHomeworksResponse parses an HTTP response from a GetSubscribedHomeworksWithResponse call
func (GetSubscribedHomeworksResponse) ContentType ¶
func (r GetSubscribedHomeworksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubscribedHomeworksResponse) GetBody ¶
func (r GetSubscribedHomeworksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSubscribedHomeworksResponse) GetJSON200 ¶
func (r GetSubscribedHomeworksResponse) GetJSON200() *SubscribedHomeworksResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSubscribedHomeworksResponse) GetJSON400 ¶
func (r GetSubscribedHomeworksResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSubscribedHomeworksResponse) GetJSON401 ¶
func (r GetSubscribedHomeworksResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSubscribedHomeworksResponse) Status ¶
func (r GetSubscribedHomeworksResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubscribedHomeworksResponse) StatusCode ¶
func (r GetSubscribedHomeworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeacherParams ¶
type GetTeacherParams struct {
Locale *GetTeacherParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
GetTeacherParams defines parameters for GetTeacher.
type GetTeacherParamsLocale ¶
type GetTeacherParamsLocale string
GetTeacherParamsLocale defines parameters for GetTeacher.
const ( GetTeacherParamsLocaleEnUs GetTeacherParamsLocale = "en-us" GetTeacherParamsLocaleZhCn GetTeacherParamsLocale = "zh-cn" )
Defines values for GetTeacherParamsLocale.
func (GetTeacherParamsLocale) Valid ¶
func (e GetTeacherParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the GetTeacherParamsLocale enum.
type GetTeacherResponse ¶
type GetTeacherResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeacherDetailSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseGetTeacherResponse ¶
func ParseGetTeacherResponse(rsp *http.Response) (*GetTeacherResponse, error)
ParseGetTeacherResponse parses an HTTP response from a GetTeacherWithResponse call
func (GetTeacherResponse) ContentType ¶
func (r GetTeacherResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeacherResponse) GetBody ¶
func (r GetTeacherResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeacherResponse) GetJSON200 ¶
func (r GetTeacherResponse) GetJSON200() *TeacherDetailSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeacherResponse) GetJSON400 ¶
func (r GetTeacherResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetTeacherResponse) GetJSON404 ¶
func (r GetTeacherResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTeacherResponse) Status ¶
func (r GetTeacherResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeacherResponse) StatusCode ¶
func (r GetTeacherResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownAppleAppSiteAssociationResponse ¶
type GetWellKnownAppleAppSiteAssociationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppleAppSiteAssociationResponseSchema
}
func ParseGetWellKnownAppleAppSiteAssociationResponse ¶
func ParseGetWellKnownAppleAppSiteAssociationResponse(rsp *http.Response) (*GetWellKnownAppleAppSiteAssociationResponse, error)
ParseGetWellKnownAppleAppSiteAssociationResponse parses an HTTP response from a GetWellKnownAppleAppSiteAssociationWithResponse call
func (GetWellKnownAppleAppSiteAssociationResponse) ContentType ¶
func (r GetWellKnownAppleAppSiteAssociationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWellKnownAppleAppSiteAssociationResponse) GetBody ¶
func (r GetWellKnownAppleAppSiteAssociationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownAppleAppSiteAssociationResponse) GetJSON200 ¶
func (r GetWellKnownAppleAppSiteAssociationResponse) GetJSON200() *AppleAppSiteAssociationResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWellKnownAppleAppSiteAssociationResponse) Status ¶
func (r GetWellKnownAppleAppSiteAssociationResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownAppleAppSiteAssociationResponse) StatusCode ¶
func (r GetWellKnownAppleAppSiteAssociationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownOauthAuthorizationServerApiAuthResponse ¶
type GetWellKnownOauthAuthorizationServerApiAuthResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseGetWellKnownOauthAuthorizationServerApiAuthResponse ¶
func ParseGetWellKnownOauthAuthorizationServerApiAuthResponse(rsp *http.Response) (*GetWellKnownOauthAuthorizationServerApiAuthResponse, error)
ParseGetWellKnownOauthAuthorizationServerApiAuthResponse parses an HTTP response from a GetWellKnownOauthAuthorizationServerApiAuthWithResponse call
func (GetWellKnownOauthAuthorizationServerApiAuthResponse) ContentType ¶
func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWellKnownOauthAuthorizationServerApiAuthResponse) GetBody ¶
func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownOauthAuthorizationServerApiAuthResponse) Status ¶
func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownOauthAuthorizationServerApiAuthResponse) StatusCode ¶
func (r GetWellKnownOauthAuthorizationServerApiAuthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownOauthProtectedResourceApiGraphqlResponse ¶
type GetWellKnownOauthProtectedResourceApiGraphqlResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseGetWellKnownOauthProtectedResourceApiGraphqlResponse ¶
func ParseGetWellKnownOauthProtectedResourceApiGraphqlResponse(rsp *http.Response) (*GetWellKnownOauthProtectedResourceApiGraphqlResponse, error)
ParseGetWellKnownOauthProtectedResourceApiGraphqlResponse parses an HTTP response from a GetWellKnownOauthProtectedResourceApiGraphqlWithResponse call
func (GetWellKnownOauthProtectedResourceApiGraphqlResponse) ContentType ¶
func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWellKnownOauthProtectedResourceApiGraphqlResponse) GetBody ¶
func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownOauthProtectedResourceApiGraphqlResponse) Status ¶
func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownOauthProtectedResourceApiGraphqlResponse) StatusCode ¶
func (r GetWellKnownOauthProtectedResourceApiGraphqlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownOauthProtectedResourceApiMcpResponse ¶
type GetWellKnownOauthProtectedResourceApiMcpResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseGetWellKnownOauthProtectedResourceApiMcpResponse ¶
func ParseGetWellKnownOauthProtectedResourceApiMcpResponse(rsp *http.Response) (*GetWellKnownOauthProtectedResourceApiMcpResponse, error)
ParseGetWellKnownOauthProtectedResourceApiMcpResponse parses an HTTP response from a GetWellKnownOauthProtectedResourceApiMcpWithResponse call
func (GetWellKnownOauthProtectedResourceApiMcpResponse) ContentType ¶
func (r GetWellKnownOauthProtectedResourceApiMcpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWellKnownOauthProtectedResourceApiMcpResponse) GetBody ¶
func (r GetWellKnownOauthProtectedResourceApiMcpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownOauthProtectedResourceApiMcpResponse) Status ¶
func (r GetWellKnownOauthProtectedResourceApiMcpResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownOauthProtectedResourceApiMcpResponse) StatusCode ¶
func (r GetWellKnownOauthProtectedResourceApiMcpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownOpenidConfigurationApiAuthResponse ¶
type GetWellKnownOpenidConfigurationApiAuthResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseGetWellKnownOpenidConfigurationApiAuthResponse ¶
func ParseGetWellKnownOpenidConfigurationApiAuthResponse(rsp *http.Response) (*GetWellKnownOpenidConfigurationApiAuthResponse, error)
ParseGetWellKnownOpenidConfigurationApiAuthResponse parses an HTTP response from a GetWellKnownOpenidConfigurationApiAuthWithResponse call
func (GetWellKnownOpenidConfigurationApiAuthResponse) ContentType ¶
func (r GetWellKnownOpenidConfigurationApiAuthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWellKnownOpenidConfigurationApiAuthResponse) GetBody ¶
func (r GetWellKnownOpenidConfigurationApiAuthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownOpenidConfigurationApiAuthResponse) Status ¶
func (r GetWellKnownOpenidConfigurationApiAuthResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownOpenidConfigurationApiAuthResponse) StatusCode ¶
func (r GetWellKnownOpenidConfigurationApiAuthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HomeworkAuditListResponseSchema ¶
type HomeworkAuditListResponseSchema struct {
AuditLogs []struct {
Action HomeworkAuditListResponseSchemaAuditLogsAction `json:"action"`
Actor *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"actor"`
ActorId *string `json:"actorId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
SectionId int `json:"sectionId"`
TitleSnapshot *string `json:"titleSnapshot"`
} `json:"auditLogs"`
}
HomeworkAuditListResponseSchema defines model for homeworkAuditListResponseSchema.
type HomeworkAuditListResponseSchemaAuditLogsAction ¶
type HomeworkAuditListResponseSchemaAuditLogsAction string
HomeworkAuditListResponseSchemaAuditLogsAction defines model for HomeworkAuditListResponseSchema.AuditLogs.Action.
const ( HomeworkAuditListResponseSchemaAuditLogsActionCreated HomeworkAuditListResponseSchemaAuditLogsAction = "created" HomeworkAuditListResponseSchemaAuditLogsActionDeleted HomeworkAuditListResponseSchemaAuditLogsAction = "deleted" HomeworkAuditListResponseSchemaAuditLogsActionUpdated HomeworkAuditListResponseSchemaAuditLogsAction = "updated" )
Defines values for HomeworkAuditListResponseSchemaAuditLogsAction.
func (HomeworkAuditListResponseSchemaAuditLogsAction) Valid ¶
func (e HomeworkAuditListResponseSchemaAuditLogsAction) Valid() bool
Valid indicates whether the value is a known member of the HomeworkAuditListResponseSchemaAuditLogsAction enum.
type HomeworkCompletionBatchRequestSchema ¶
type HomeworkCompletionBatchRequestSchema struct {
Items []struct {
Completed bool `json:"completed"`
HomeworkId string `json:"homeworkId"`
} `json:"items"`
}
HomeworkCompletionBatchRequestSchema defines model for homeworkCompletionBatchRequestSchema.
type HomeworkCompletionBatchResponseSchema ¶
type HomeworkCompletionBatchResponseSchema struct {
Results []HomeworkCompletionBatchResponseSchema_Results_Item `json:"results"`
}
HomeworkCompletionBatchResponseSchema defines model for homeworkCompletionBatchResponseSchema.
type HomeworkCompletionBatchResponseSchemaResults0 ¶
type HomeworkCompletionBatchResponseSchemaResults0 struct {
Completed bool `json:"completed"`
CompletedAt *time.Time `json:"completedAt"`
HomeworkId string `json:"homeworkId"`
Success HomeworkCompletionBatchResponseSchemaResults0Success `json:"success"`
}
HomeworkCompletionBatchResponseSchemaResults0 defines model for HomeworkCompletionBatchResponseSchema.Results.0.
type HomeworkCompletionBatchResponseSchemaResults0Success ¶
type HomeworkCompletionBatchResponseSchemaResults0Success bool
HomeworkCompletionBatchResponseSchemaResults0Success defines model for HomeworkCompletionBatchResponseSchema.Results.0.Success.
const (
HomeworkCompletionBatchResponseSchemaResults0SuccessTrue HomeworkCompletionBatchResponseSchemaResults0Success = true
)
Defines values for HomeworkCompletionBatchResponseSchemaResults0Success.
func (HomeworkCompletionBatchResponseSchemaResults0Success) Valid ¶
func (e HomeworkCompletionBatchResponseSchemaResults0Success) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCompletionBatchResponseSchemaResults0Success enum.
type HomeworkCompletionBatchResponseSchemaResults1 ¶
type HomeworkCompletionBatchResponseSchemaResults1 struct {
Completed bool `json:"completed"`
Error struct {
Code HomeworkCompletionBatchResponseSchemaResults1ErrorCode `json:"code"`
Message string `json:"message"`
} `json:"error"`
HomeworkId string `json:"homeworkId"`
Success HomeworkCompletionBatchResponseSchemaResults1Success `json:"success"`
}
HomeworkCompletionBatchResponseSchemaResults1 defines model for HomeworkCompletionBatchResponseSchema.Results.1.
type HomeworkCompletionBatchResponseSchemaResults1ErrorCode ¶
type HomeworkCompletionBatchResponseSchemaResults1ErrorCode string
HomeworkCompletionBatchResponseSchemaResults1ErrorCode defines model for HomeworkCompletionBatchResponseSchema.Results.1.Error.Code.
const ( HomeworkCompletionBatchResponseSchemaResults1ErrorCodeDeleted HomeworkCompletionBatchResponseSchemaResults1ErrorCode = "deleted" HomeworkCompletionBatchResponseSchemaResults1ErrorCodeNotFound HomeworkCompletionBatchResponseSchemaResults1ErrorCode = "not_found" )
Defines values for HomeworkCompletionBatchResponseSchemaResults1ErrorCode.
func (HomeworkCompletionBatchResponseSchemaResults1ErrorCode) Valid ¶
func (e HomeworkCompletionBatchResponseSchemaResults1ErrorCode) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCompletionBatchResponseSchemaResults1ErrorCode enum.
type HomeworkCompletionBatchResponseSchemaResults1Success ¶
type HomeworkCompletionBatchResponseSchemaResults1Success bool
HomeworkCompletionBatchResponseSchemaResults1Success defines model for HomeworkCompletionBatchResponseSchema.Results.1.Success.
const (
HomeworkCompletionBatchResponseSchemaResults1SuccessFalse HomeworkCompletionBatchResponseSchemaResults1Success = false
)
Defines values for HomeworkCompletionBatchResponseSchemaResults1Success.
func (HomeworkCompletionBatchResponseSchemaResults1Success) Valid ¶
func (e HomeworkCompletionBatchResponseSchemaResults1Success) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCompletionBatchResponseSchemaResults1Success enum.
type HomeworkCompletionBatchResponseSchema_Results_Item ¶
type HomeworkCompletionBatchResponseSchema_Results_Item struct {
// contains filtered or unexported fields
}
HomeworkCompletionBatchResponseSchema_Results_Item defines model for homeworkCompletionBatchResponseSchema.results.Item.
func (HomeworkCompletionBatchResponseSchema_Results_Item) AsHomeworkCompletionBatchResponseSchemaResults0 ¶
func (t HomeworkCompletionBatchResponseSchema_Results_Item) AsHomeworkCompletionBatchResponseSchemaResults0() (HomeworkCompletionBatchResponseSchemaResults0, error)
AsHomeworkCompletionBatchResponseSchemaResults0 returns the union data inside the HomeworkCompletionBatchResponseSchema_Results_Item as a HomeworkCompletionBatchResponseSchemaResults0
func (HomeworkCompletionBatchResponseSchema_Results_Item) AsHomeworkCompletionBatchResponseSchemaResults1 ¶
func (t HomeworkCompletionBatchResponseSchema_Results_Item) AsHomeworkCompletionBatchResponseSchemaResults1() (HomeworkCompletionBatchResponseSchemaResults1, error)
AsHomeworkCompletionBatchResponseSchemaResults1 returns the union data inside the HomeworkCompletionBatchResponseSchema_Results_Item as a HomeworkCompletionBatchResponseSchemaResults1
func (*HomeworkCompletionBatchResponseSchema_Results_Item) FromHomeworkCompletionBatchResponseSchemaResults0 ¶
func (t *HomeworkCompletionBatchResponseSchema_Results_Item) FromHomeworkCompletionBatchResponseSchemaResults0(v HomeworkCompletionBatchResponseSchemaResults0) error
FromHomeworkCompletionBatchResponseSchemaResults0 overwrites any union data inside the HomeworkCompletionBatchResponseSchema_Results_Item as the provided HomeworkCompletionBatchResponseSchemaResults0
func (*HomeworkCompletionBatchResponseSchema_Results_Item) FromHomeworkCompletionBatchResponseSchemaResults1 ¶
func (t *HomeworkCompletionBatchResponseSchema_Results_Item) FromHomeworkCompletionBatchResponseSchemaResults1(v HomeworkCompletionBatchResponseSchemaResults1) error
FromHomeworkCompletionBatchResponseSchemaResults1 overwrites any union data inside the HomeworkCompletionBatchResponseSchema_Results_Item as the provided HomeworkCompletionBatchResponseSchemaResults1
func (HomeworkCompletionBatchResponseSchema_Results_Item) MarshalJSON ¶
func (t HomeworkCompletionBatchResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
func (*HomeworkCompletionBatchResponseSchema_Results_Item) MergeHomeworkCompletionBatchResponseSchemaResults0 ¶
func (t *HomeworkCompletionBatchResponseSchema_Results_Item) MergeHomeworkCompletionBatchResponseSchemaResults0(v HomeworkCompletionBatchResponseSchemaResults0) error
MergeHomeworkCompletionBatchResponseSchemaResults0 performs a merge with any union data inside the HomeworkCompletionBatchResponseSchema_Results_Item, using the provided HomeworkCompletionBatchResponseSchemaResults0
func (*HomeworkCompletionBatchResponseSchema_Results_Item) MergeHomeworkCompletionBatchResponseSchemaResults1 ¶
func (t *HomeworkCompletionBatchResponseSchema_Results_Item) MergeHomeworkCompletionBatchResponseSchemaResults1(v HomeworkCompletionBatchResponseSchemaResults1) error
MergeHomeworkCompletionBatchResponseSchemaResults1 performs a merge with any union data inside the HomeworkCompletionBatchResponseSchema_Results_Item, using the provided HomeworkCompletionBatchResponseSchemaResults1
func (*HomeworkCompletionBatchResponseSchema_Results_Item) UnmarshalJSON ¶
func (t *HomeworkCompletionBatchResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
type HomeworkCompletionRequestSchema ¶
type HomeworkCompletionRequestSchema struct {
Completed bool `json:"completed"`
}
HomeworkCompletionRequestSchema defines model for homeworkCompletionRequestSchema.
type HomeworkCompletionResponseSchema ¶
type HomeworkCompletionResponseSchema struct {
Completed bool `json:"completed"`
CompletedAt *time.Time `json:"completedAt"`
}
HomeworkCompletionResponseSchema defines model for homeworkCompletionResponseSchema.
type HomeworkCreateRequestSchema ¶
type HomeworkCreateRequestSchema struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema defines model for homeworkCreateRequestSchema.
func (HomeworkCreateRequestSchema) AsHomeworkCreateRequestSchema0 ¶
func (t HomeworkCreateRequestSchema) AsHomeworkCreateRequestSchema0() (HomeworkCreateRequestSchema0, error)
AsHomeworkCreateRequestSchema0 returns the union data inside the HomeworkCreateRequestSchema as a HomeworkCreateRequestSchema0
func (HomeworkCreateRequestSchema) AsHomeworkCreateRequestSchema1 ¶
func (t HomeworkCreateRequestSchema) AsHomeworkCreateRequestSchema1() (HomeworkCreateRequestSchema1, error)
AsHomeworkCreateRequestSchema1 returns the union data inside the HomeworkCreateRequestSchema as a HomeworkCreateRequestSchema1
func (*HomeworkCreateRequestSchema) FromHomeworkCreateRequestSchema0 ¶
func (t *HomeworkCreateRequestSchema) FromHomeworkCreateRequestSchema0(v HomeworkCreateRequestSchema0) error
FromHomeworkCreateRequestSchema0 overwrites any union data inside the HomeworkCreateRequestSchema as the provided HomeworkCreateRequestSchema0
func (*HomeworkCreateRequestSchema) FromHomeworkCreateRequestSchema1 ¶
func (t *HomeworkCreateRequestSchema) FromHomeworkCreateRequestSchema1(v HomeworkCreateRequestSchema1) error
FromHomeworkCreateRequestSchema1 overwrites any union data inside the HomeworkCreateRequestSchema as the provided HomeworkCreateRequestSchema1
func (HomeworkCreateRequestSchema) MarshalJSON ¶
func (t HomeworkCreateRequestSchema) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema) MergeHomeworkCreateRequestSchema0 ¶
func (t *HomeworkCreateRequestSchema) MergeHomeworkCreateRequestSchema0(v HomeworkCreateRequestSchema0) error
MergeHomeworkCreateRequestSchema0 performs a merge with any union data inside the HomeworkCreateRequestSchema, using the provided HomeworkCreateRequestSchema0
func (*HomeworkCreateRequestSchema) MergeHomeworkCreateRequestSchema1 ¶
func (t *HomeworkCreateRequestSchema) MergeHomeworkCreateRequestSchema1(v HomeworkCreateRequestSchema1) error
MergeHomeworkCreateRequestSchema1 performs a merge with any union data inside the HomeworkCreateRequestSchema, using the provided HomeworkCreateRequestSchema1
func (*HomeworkCreateRequestSchema) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema0 ¶
type HomeworkCreateRequestSchema0 struct {
Description *string `json:"description,omitempty"`
IsMajor *bool `json:"isMajor,omitempty"`
PublishedAt *HomeworkCreateRequestSchema_0_PublishedAt `json:"publishedAt,omitempty"`
RequiresTeam *bool `json:"requiresTeam,omitempty"`
SectionId HomeworkCreateRequestSchema_0_SectionId `json:"sectionId"`
SectionJwId *HomeworkCreateRequestSchema_0_SectionJwId `json:"sectionJwId,omitempty"`
SubmissionDueAt *HomeworkCreateRequestSchema_0_SubmissionDueAt `json:"submissionDueAt,omitempty"`
SubmissionStartAt *HomeworkCreateRequestSchema_0_SubmissionStartAt `json:"submissionStartAt,omitempty"`
Title string `json:"title"`
}
HomeworkCreateRequestSchema0 defines model for HomeworkCreateRequestSchema.0.
type HomeworkCreateRequestSchema0PublishedAt0 ¶
type HomeworkCreateRequestSchema0PublishedAt0 = string
HomeworkCreateRequestSchema0PublishedAt0 defines model for HomeworkCreateRequestSchema.0.PublishedAt.0.
type HomeworkCreateRequestSchema0PublishedAt1 ¶
type HomeworkCreateRequestSchema0PublishedAt1 string
HomeworkCreateRequestSchema0PublishedAt1 defines model for HomeworkCreateRequestSchema.0.PublishedAt.1.
const (
HomeworkCreateRequestSchema0PublishedAt1LessThannil HomeworkCreateRequestSchema0PublishedAt1 = "<nil>"
)
Defines values for HomeworkCreateRequestSchema0PublishedAt1.
func (HomeworkCreateRequestSchema0PublishedAt1) Valid ¶
func (e HomeworkCreateRequestSchema0PublishedAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCreateRequestSchema0PublishedAt1 enum.
type HomeworkCreateRequestSchema0SectionId0 ¶
type HomeworkCreateRequestSchema0SectionId0 = string
HomeworkCreateRequestSchema0SectionId0 defines model for HomeworkCreateRequestSchema.0.SectionId.0.
type HomeworkCreateRequestSchema0SectionId1 ¶
type HomeworkCreateRequestSchema0SectionId1 = float32
HomeworkCreateRequestSchema0SectionId1 defines model for HomeworkCreateRequestSchema.0.SectionId.1.
type HomeworkCreateRequestSchema0SectionJwId0 ¶
type HomeworkCreateRequestSchema0SectionJwId0 = string
HomeworkCreateRequestSchema0SectionJwId0 defines model for HomeworkCreateRequestSchema.0.SectionJwId.0.
type HomeworkCreateRequestSchema0SectionJwId1 ¶
type HomeworkCreateRequestSchema0SectionJwId1 = float32
HomeworkCreateRequestSchema0SectionJwId1 defines model for HomeworkCreateRequestSchema.0.SectionJwId.1.
type HomeworkCreateRequestSchema0SubmissionDueAt0 ¶
type HomeworkCreateRequestSchema0SubmissionDueAt0 = string
HomeworkCreateRequestSchema0SubmissionDueAt0 defines model for HomeworkCreateRequestSchema.0.SubmissionDueAt.0.
type HomeworkCreateRequestSchema0SubmissionDueAt1 ¶
type HomeworkCreateRequestSchema0SubmissionDueAt1 string
HomeworkCreateRequestSchema0SubmissionDueAt1 defines model for HomeworkCreateRequestSchema.0.SubmissionDueAt.1.
const (
HomeworkCreateRequestSchema0SubmissionDueAt1LessThannil HomeworkCreateRequestSchema0SubmissionDueAt1 = "<nil>"
)
Defines values for HomeworkCreateRequestSchema0SubmissionDueAt1.
func (HomeworkCreateRequestSchema0SubmissionDueAt1) Valid ¶
func (e HomeworkCreateRequestSchema0SubmissionDueAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCreateRequestSchema0SubmissionDueAt1 enum.
type HomeworkCreateRequestSchema0SubmissionStartAt0 ¶
type HomeworkCreateRequestSchema0SubmissionStartAt0 = string
HomeworkCreateRequestSchema0SubmissionStartAt0 defines model for HomeworkCreateRequestSchema.0.SubmissionStartAt.0.
type HomeworkCreateRequestSchema0SubmissionStartAt1 ¶
type HomeworkCreateRequestSchema0SubmissionStartAt1 string
HomeworkCreateRequestSchema0SubmissionStartAt1 defines model for HomeworkCreateRequestSchema.0.SubmissionStartAt.1.
const (
HomeworkCreateRequestSchema0SubmissionStartAt1LessThannil HomeworkCreateRequestSchema0SubmissionStartAt1 = "<nil>"
)
Defines values for HomeworkCreateRequestSchema0SubmissionStartAt1.
func (HomeworkCreateRequestSchema0SubmissionStartAt1) Valid ¶
func (e HomeworkCreateRequestSchema0SubmissionStartAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCreateRequestSchema0SubmissionStartAt1 enum.
type HomeworkCreateRequestSchema1 ¶
type HomeworkCreateRequestSchema1 struct {
Description *string `json:"description,omitempty"`
IsMajor *bool `json:"isMajor,omitempty"`
PublishedAt *HomeworkCreateRequestSchema_1_PublishedAt `json:"publishedAt,omitempty"`
RequiresTeam *bool `json:"requiresTeam,omitempty"`
SectionId *HomeworkCreateRequestSchema_1_SectionId `json:"sectionId,omitempty"`
SectionJwId HomeworkCreateRequestSchema_1_SectionJwId `json:"sectionJwId"`
SubmissionDueAt *HomeworkCreateRequestSchema_1_SubmissionDueAt `json:"submissionDueAt,omitempty"`
SubmissionStartAt *HomeworkCreateRequestSchema_1_SubmissionStartAt `json:"submissionStartAt,omitempty"`
Title string `json:"title"`
}
HomeworkCreateRequestSchema1 defines model for HomeworkCreateRequestSchema.1.
type HomeworkCreateRequestSchema1PublishedAt0 ¶
type HomeworkCreateRequestSchema1PublishedAt0 = string
HomeworkCreateRequestSchema1PublishedAt0 defines model for HomeworkCreateRequestSchema.1.PublishedAt.0.
type HomeworkCreateRequestSchema1PublishedAt1 ¶
type HomeworkCreateRequestSchema1PublishedAt1 string
HomeworkCreateRequestSchema1PublishedAt1 defines model for HomeworkCreateRequestSchema.1.PublishedAt.1.
const (
HomeworkCreateRequestSchema1PublishedAt1LessThannil HomeworkCreateRequestSchema1PublishedAt1 = "<nil>"
)
Defines values for HomeworkCreateRequestSchema1PublishedAt1.
func (HomeworkCreateRequestSchema1PublishedAt1) Valid ¶
func (e HomeworkCreateRequestSchema1PublishedAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCreateRequestSchema1PublishedAt1 enum.
type HomeworkCreateRequestSchema1SectionId0 ¶
type HomeworkCreateRequestSchema1SectionId0 = string
HomeworkCreateRequestSchema1SectionId0 defines model for HomeworkCreateRequestSchema.1.SectionId.0.
type HomeworkCreateRequestSchema1SectionId1 ¶
type HomeworkCreateRequestSchema1SectionId1 = float32
HomeworkCreateRequestSchema1SectionId1 defines model for HomeworkCreateRequestSchema.1.SectionId.1.
type HomeworkCreateRequestSchema1SectionJwId0 ¶
type HomeworkCreateRequestSchema1SectionJwId0 = string
HomeworkCreateRequestSchema1SectionJwId0 defines model for HomeworkCreateRequestSchema.1.SectionJwId.0.
type HomeworkCreateRequestSchema1SectionJwId1 ¶
type HomeworkCreateRequestSchema1SectionJwId1 = float32
HomeworkCreateRequestSchema1SectionJwId1 defines model for HomeworkCreateRequestSchema.1.SectionJwId.1.
type HomeworkCreateRequestSchema1SubmissionDueAt0 ¶
type HomeworkCreateRequestSchema1SubmissionDueAt0 = string
HomeworkCreateRequestSchema1SubmissionDueAt0 defines model for HomeworkCreateRequestSchema.1.SubmissionDueAt.0.
type HomeworkCreateRequestSchema1SubmissionDueAt1 ¶
type HomeworkCreateRequestSchema1SubmissionDueAt1 string
HomeworkCreateRequestSchema1SubmissionDueAt1 defines model for HomeworkCreateRequestSchema.1.SubmissionDueAt.1.
const (
HomeworkCreateRequestSchema1SubmissionDueAt1LessThannil HomeworkCreateRequestSchema1SubmissionDueAt1 = "<nil>"
)
Defines values for HomeworkCreateRequestSchema1SubmissionDueAt1.
func (HomeworkCreateRequestSchema1SubmissionDueAt1) Valid ¶
func (e HomeworkCreateRequestSchema1SubmissionDueAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCreateRequestSchema1SubmissionDueAt1 enum.
type HomeworkCreateRequestSchema1SubmissionStartAt0 ¶
type HomeworkCreateRequestSchema1SubmissionStartAt0 = string
HomeworkCreateRequestSchema1SubmissionStartAt0 defines model for HomeworkCreateRequestSchema.1.SubmissionStartAt.0.
type HomeworkCreateRequestSchema1SubmissionStartAt1 ¶
type HomeworkCreateRequestSchema1SubmissionStartAt1 string
HomeworkCreateRequestSchema1SubmissionStartAt1 defines model for HomeworkCreateRequestSchema.1.SubmissionStartAt.1.
const (
HomeworkCreateRequestSchema1SubmissionStartAt1LessThannil HomeworkCreateRequestSchema1SubmissionStartAt1 = "<nil>"
)
Defines values for HomeworkCreateRequestSchema1SubmissionStartAt1.
func (HomeworkCreateRequestSchema1SubmissionStartAt1) Valid ¶
func (e HomeworkCreateRequestSchema1SubmissionStartAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkCreateRequestSchema1SubmissionStartAt1 enum.
type HomeworkCreateRequestSchema_0_PublishedAt ¶
type HomeworkCreateRequestSchema_0_PublishedAt struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_0_PublishedAt defines model for HomeworkCreateRequestSchema.0.PublishedAt.
func (HomeworkCreateRequestSchema_0_PublishedAt) AsHomeworkCreateRequestSchema0PublishedAt0 ¶
func (t HomeworkCreateRequestSchema_0_PublishedAt) AsHomeworkCreateRequestSchema0PublishedAt0() (HomeworkCreateRequestSchema0PublishedAt0, error)
AsHomeworkCreateRequestSchema0PublishedAt0 returns the union data inside the HomeworkCreateRequestSchema_0_PublishedAt as a HomeworkCreateRequestSchema0PublishedAt0
func (HomeworkCreateRequestSchema_0_PublishedAt) AsHomeworkCreateRequestSchema0PublishedAt1 ¶
func (t HomeworkCreateRequestSchema_0_PublishedAt) AsHomeworkCreateRequestSchema0PublishedAt1() (HomeworkCreateRequestSchema0PublishedAt1, error)
AsHomeworkCreateRequestSchema0PublishedAt1 returns the union data inside the HomeworkCreateRequestSchema_0_PublishedAt as a HomeworkCreateRequestSchema0PublishedAt1
func (*HomeworkCreateRequestSchema_0_PublishedAt) FromHomeworkCreateRequestSchema0PublishedAt0 ¶
func (t *HomeworkCreateRequestSchema_0_PublishedAt) FromHomeworkCreateRequestSchema0PublishedAt0(v HomeworkCreateRequestSchema0PublishedAt0) error
FromHomeworkCreateRequestSchema0PublishedAt0 overwrites any union data inside the HomeworkCreateRequestSchema_0_PublishedAt as the provided HomeworkCreateRequestSchema0PublishedAt0
func (*HomeworkCreateRequestSchema_0_PublishedAt) FromHomeworkCreateRequestSchema0PublishedAt1 ¶
func (t *HomeworkCreateRequestSchema_0_PublishedAt) FromHomeworkCreateRequestSchema0PublishedAt1(v HomeworkCreateRequestSchema0PublishedAt1) error
FromHomeworkCreateRequestSchema0PublishedAt1 overwrites any union data inside the HomeworkCreateRequestSchema_0_PublishedAt as the provided HomeworkCreateRequestSchema0PublishedAt1
func (HomeworkCreateRequestSchema_0_PublishedAt) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_0_PublishedAt) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_0_PublishedAt) MergeHomeworkCreateRequestSchema0PublishedAt0 ¶
func (t *HomeworkCreateRequestSchema_0_PublishedAt) MergeHomeworkCreateRequestSchema0PublishedAt0(v HomeworkCreateRequestSchema0PublishedAt0) error
MergeHomeworkCreateRequestSchema0PublishedAt0 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_PublishedAt, using the provided HomeworkCreateRequestSchema0PublishedAt0
func (*HomeworkCreateRequestSchema_0_PublishedAt) MergeHomeworkCreateRequestSchema0PublishedAt1 ¶
func (t *HomeworkCreateRequestSchema_0_PublishedAt) MergeHomeworkCreateRequestSchema0PublishedAt1(v HomeworkCreateRequestSchema0PublishedAt1) error
MergeHomeworkCreateRequestSchema0PublishedAt1 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_PublishedAt, using the provided HomeworkCreateRequestSchema0PublishedAt1
func (*HomeworkCreateRequestSchema_0_PublishedAt) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_0_PublishedAt) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_0_SectionId ¶
type HomeworkCreateRequestSchema_0_SectionId struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_0_SectionId defines model for HomeworkCreateRequestSchema.0.SectionId.
func (HomeworkCreateRequestSchema_0_SectionId) AsHomeworkCreateRequestSchema0SectionId0 ¶
func (t HomeworkCreateRequestSchema_0_SectionId) AsHomeworkCreateRequestSchema0SectionId0() (HomeworkCreateRequestSchema0SectionId0, error)
AsHomeworkCreateRequestSchema0SectionId0 returns the union data inside the HomeworkCreateRequestSchema_0_SectionId as a HomeworkCreateRequestSchema0SectionId0
func (HomeworkCreateRequestSchema_0_SectionId) AsHomeworkCreateRequestSchema0SectionId1 ¶
func (t HomeworkCreateRequestSchema_0_SectionId) AsHomeworkCreateRequestSchema0SectionId1() (HomeworkCreateRequestSchema0SectionId1, error)
AsHomeworkCreateRequestSchema0SectionId1 returns the union data inside the HomeworkCreateRequestSchema_0_SectionId as a HomeworkCreateRequestSchema0SectionId1
func (*HomeworkCreateRequestSchema_0_SectionId) FromHomeworkCreateRequestSchema0SectionId0 ¶
func (t *HomeworkCreateRequestSchema_0_SectionId) FromHomeworkCreateRequestSchema0SectionId0(v HomeworkCreateRequestSchema0SectionId0) error
FromHomeworkCreateRequestSchema0SectionId0 overwrites any union data inside the HomeworkCreateRequestSchema_0_SectionId as the provided HomeworkCreateRequestSchema0SectionId0
func (*HomeworkCreateRequestSchema_0_SectionId) FromHomeworkCreateRequestSchema0SectionId1 ¶
func (t *HomeworkCreateRequestSchema_0_SectionId) FromHomeworkCreateRequestSchema0SectionId1(v HomeworkCreateRequestSchema0SectionId1) error
FromHomeworkCreateRequestSchema0SectionId1 overwrites any union data inside the HomeworkCreateRequestSchema_0_SectionId as the provided HomeworkCreateRequestSchema0SectionId1
func (HomeworkCreateRequestSchema_0_SectionId) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_0_SectionId) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_0_SectionId) MergeHomeworkCreateRequestSchema0SectionId0 ¶
func (t *HomeworkCreateRequestSchema_0_SectionId) MergeHomeworkCreateRequestSchema0SectionId0(v HomeworkCreateRequestSchema0SectionId0) error
MergeHomeworkCreateRequestSchema0SectionId0 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SectionId, using the provided HomeworkCreateRequestSchema0SectionId0
func (*HomeworkCreateRequestSchema_0_SectionId) MergeHomeworkCreateRequestSchema0SectionId1 ¶
func (t *HomeworkCreateRequestSchema_0_SectionId) MergeHomeworkCreateRequestSchema0SectionId1(v HomeworkCreateRequestSchema0SectionId1) error
MergeHomeworkCreateRequestSchema0SectionId1 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SectionId, using the provided HomeworkCreateRequestSchema0SectionId1
func (*HomeworkCreateRequestSchema_0_SectionId) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_0_SectionId) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_0_SectionJwId ¶
type HomeworkCreateRequestSchema_0_SectionJwId struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_0_SectionJwId defines model for HomeworkCreateRequestSchema.0.SectionJwId.
func (HomeworkCreateRequestSchema_0_SectionJwId) AsHomeworkCreateRequestSchema0SectionJwId0 ¶
func (t HomeworkCreateRequestSchema_0_SectionJwId) AsHomeworkCreateRequestSchema0SectionJwId0() (HomeworkCreateRequestSchema0SectionJwId0, error)
AsHomeworkCreateRequestSchema0SectionJwId0 returns the union data inside the HomeworkCreateRequestSchema_0_SectionJwId as a HomeworkCreateRequestSchema0SectionJwId0
func (HomeworkCreateRequestSchema_0_SectionJwId) AsHomeworkCreateRequestSchema0SectionJwId1 ¶
func (t HomeworkCreateRequestSchema_0_SectionJwId) AsHomeworkCreateRequestSchema0SectionJwId1() (HomeworkCreateRequestSchema0SectionJwId1, error)
AsHomeworkCreateRequestSchema0SectionJwId1 returns the union data inside the HomeworkCreateRequestSchema_0_SectionJwId as a HomeworkCreateRequestSchema0SectionJwId1
func (*HomeworkCreateRequestSchema_0_SectionJwId) FromHomeworkCreateRequestSchema0SectionJwId0 ¶
func (t *HomeworkCreateRequestSchema_0_SectionJwId) FromHomeworkCreateRequestSchema0SectionJwId0(v HomeworkCreateRequestSchema0SectionJwId0) error
FromHomeworkCreateRequestSchema0SectionJwId0 overwrites any union data inside the HomeworkCreateRequestSchema_0_SectionJwId as the provided HomeworkCreateRequestSchema0SectionJwId0
func (*HomeworkCreateRequestSchema_0_SectionJwId) FromHomeworkCreateRequestSchema0SectionJwId1 ¶
func (t *HomeworkCreateRequestSchema_0_SectionJwId) FromHomeworkCreateRequestSchema0SectionJwId1(v HomeworkCreateRequestSchema0SectionJwId1) error
FromHomeworkCreateRequestSchema0SectionJwId1 overwrites any union data inside the HomeworkCreateRequestSchema_0_SectionJwId as the provided HomeworkCreateRequestSchema0SectionJwId1
func (HomeworkCreateRequestSchema_0_SectionJwId) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_0_SectionJwId) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_0_SectionJwId) MergeHomeworkCreateRequestSchema0SectionJwId0 ¶
func (t *HomeworkCreateRequestSchema_0_SectionJwId) MergeHomeworkCreateRequestSchema0SectionJwId0(v HomeworkCreateRequestSchema0SectionJwId0) error
MergeHomeworkCreateRequestSchema0SectionJwId0 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SectionJwId, using the provided HomeworkCreateRequestSchema0SectionJwId0
func (*HomeworkCreateRequestSchema_0_SectionJwId) MergeHomeworkCreateRequestSchema0SectionJwId1 ¶
func (t *HomeworkCreateRequestSchema_0_SectionJwId) MergeHomeworkCreateRequestSchema0SectionJwId1(v HomeworkCreateRequestSchema0SectionJwId1) error
MergeHomeworkCreateRequestSchema0SectionJwId1 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SectionJwId, using the provided HomeworkCreateRequestSchema0SectionJwId1
func (*HomeworkCreateRequestSchema_0_SectionJwId) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_0_SectionJwId) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_0_SubmissionDueAt ¶
type HomeworkCreateRequestSchema_0_SubmissionDueAt struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_0_SubmissionDueAt defines model for HomeworkCreateRequestSchema.0.SubmissionDueAt.
func (HomeworkCreateRequestSchema_0_SubmissionDueAt) AsHomeworkCreateRequestSchema0SubmissionDueAt0 ¶
func (t HomeworkCreateRequestSchema_0_SubmissionDueAt) AsHomeworkCreateRequestSchema0SubmissionDueAt0() (HomeworkCreateRequestSchema0SubmissionDueAt0, error)
AsHomeworkCreateRequestSchema0SubmissionDueAt0 returns the union data inside the HomeworkCreateRequestSchema_0_SubmissionDueAt as a HomeworkCreateRequestSchema0SubmissionDueAt0
func (HomeworkCreateRequestSchema_0_SubmissionDueAt) AsHomeworkCreateRequestSchema0SubmissionDueAt1 ¶
func (t HomeworkCreateRequestSchema_0_SubmissionDueAt) AsHomeworkCreateRequestSchema0SubmissionDueAt1() (HomeworkCreateRequestSchema0SubmissionDueAt1, error)
AsHomeworkCreateRequestSchema0SubmissionDueAt1 returns the union data inside the HomeworkCreateRequestSchema_0_SubmissionDueAt as a HomeworkCreateRequestSchema0SubmissionDueAt1
func (*HomeworkCreateRequestSchema_0_SubmissionDueAt) FromHomeworkCreateRequestSchema0SubmissionDueAt0 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) FromHomeworkCreateRequestSchema0SubmissionDueAt0(v HomeworkCreateRequestSchema0SubmissionDueAt0) error
FromHomeworkCreateRequestSchema0SubmissionDueAt0 overwrites any union data inside the HomeworkCreateRequestSchema_0_SubmissionDueAt as the provided HomeworkCreateRequestSchema0SubmissionDueAt0
func (*HomeworkCreateRequestSchema_0_SubmissionDueAt) FromHomeworkCreateRequestSchema0SubmissionDueAt1 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) FromHomeworkCreateRequestSchema0SubmissionDueAt1(v HomeworkCreateRequestSchema0SubmissionDueAt1) error
FromHomeworkCreateRequestSchema0SubmissionDueAt1 overwrites any union data inside the HomeworkCreateRequestSchema_0_SubmissionDueAt as the provided HomeworkCreateRequestSchema0SubmissionDueAt1
func (HomeworkCreateRequestSchema_0_SubmissionDueAt) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_0_SubmissionDueAt) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_0_SubmissionDueAt) MergeHomeworkCreateRequestSchema0SubmissionDueAt0 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) MergeHomeworkCreateRequestSchema0SubmissionDueAt0(v HomeworkCreateRequestSchema0SubmissionDueAt0) error
MergeHomeworkCreateRequestSchema0SubmissionDueAt0 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SubmissionDueAt, using the provided HomeworkCreateRequestSchema0SubmissionDueAt0
func (*HomeworkCreateRequestSchema_0_SubmissionDueAt) MergeHomeworkCreateRequestSchema0SubmissionDueAt1 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) MergeHomeworkCreateRequestSchema0SubmissionDueAt1(v HomeworkCreateRequestSchema0SubmissionDueAt1) error
MergeHomeworkCreateRequestSchema0SubmissionDueAt1 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SubmissionDueAt, using the provided HomeworkCreateRequestSchema0SubmissionDueAt1
func (*HomeworkCreateRequestSchema_0_SubmissionDueAt) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionDueAt) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_0_SubmissionStartAt ¶
type HomeworkCreateRequestSchema_0_SubmissionStartAt struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_0_SubmissionStartAt defines model for HomeworkCreateRequestSchema.0.SubmissionStartAt.
func (HomeworkCreateRequestSchema_0_SubmissionStartAt) AsHomeworkCreateRequestSchema0SubmissionStartAt0 ¶
func (t HomeworkCreateRequestSchema_0_SubmissionStartAt) AsHomeworkCreateRequestSchema0SubmissionStartAt0() (HomeworkCreateRequestSchema0SubmissionStartAt0, error)
AsHomeworkCreateRequestSchema0SubmissionStartAt0 returns the union data inside the HomeworkCreateRequestSchema_0_SubmissionStartAt as a HomeworkCreateRequestSchema0SubmissionStartAt0
func (HomeworkCreateRequestSchema_0_SubmissionStartAt) AsHomeworkCreateRequestSchema0SubmissionStartAt1 ¶
func (t HomeworkCreateRequestSchema_0_SubmissionStartAt) AsHomeworkCreateRequestSchema0SubmissionStartAt1() (HomeworkCreateRequestSchema0SubmissionStartAt1, error)
AsHomeworkCreateRequestSchema0SubmissionStartAt1 returns the union data inside the HomeworkCreateRequestSchema_0_SubmissionStartAt as a HomeworkCreateRequestSchema0SubmissionStartAt1
func (*HomeworkCreateRequestSchema_0_SubmissionStartAt) FromHomeworkCreateRequestSchema0SubmissionStartAt0 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) FromHomeworkCreateRequestSchema0SubmissionStartAt0(v HomeworkCreateRequestSchema0SubmissionStartAt0) error
FromHomeworkCreateRequestSchema0SubmissionStartAt0 overwrites any union data inside the HomeworkCreateRequestSchema_0_SubmissionStartAt as the provided HomeworkCreateRequestSchema0SubmissionStartAt0
func (*HomeworkCreateRequestSchema_0_SubmissionStartAt) FromHomeworkCreateRequestSchema0SubmissionStartAt1 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) FromHomeworkCreateRequestSchema0SubmissionStartAt1(v HomeworkCreateRequestSchema0SubmissionStartAt1) error
FromHomeworkCreateRequestSchema0SubmissionStartAt1 overwrites any union data inside the HomeworkCreateRequestSchema_0_SubmissionStartAt as the provided HomeworkCreateRequestSchema0SubmissionStartAt1
func (HomeworkCreateRequestSchema_0_SubmissionStartAt) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_0_SubmissionStartAt) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_0_SubmissionStartAt) MergeHomeworkCreateRequestSchema0SubmissionStartAt0 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) MergeHomeworkCreateRequestSchema0SubmissionStartAt0(v HomeworkCreateRequestSchema0SubmissionStartAt0) error
MergeHomeworkCreateRequestSchema0SubmissionStartAt0 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SubmissionStartAt, using the provided HomeworkCreateRequestSchema0SubmissionStartAt0
func (*HomeworkCreateRequestSchema_0_SubmissionStartAt) MergeHomeworkCreateRequestSchema0SubmissionStartAt1 ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) MergeHomeworkCreateRequestSchema0SubmissionStartAt1(v HomeworkCreateRequestSchema0SubmissionStartAt1) error
MergeHomeworkCreateRequestSchema0SubmissionStartAt1 performs a merge with any union data inside the HomeworkCreateRequestSchema_0_SubmissionStartAt, using the provided HomeworkCreateRequestSchema0SubmissionStartAt1
func (*HomeworkCreateRequestSchema_0_SubmissionStartAt) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_0_SubmissionStartAt) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_1_PublishedAt ¶
type HomeworkCreateRequestSchema_1_PublishedAt struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_1_PublishedAt defines model for HomeworkCreateRequestSchema.1.PublishedAt.
func (HomeworkCreateRequestSchema_1_PublishedAt) AsHomeworkCreateRequestSchema1PublishedAt0 ¶
func (t HomeworkCreateRequestSchema_1_PublishedAt) AsHomeworkCreateRequestSchema1PublishedAt0() (HomeworkCreateRequestSchema1PublishedAt0, error)
AsHomeworkCreateRequestSchema1PublishedAt0 returns the union data inside the HomeworkCreateRequestSchema_1_PublishedAt as a HomeworkCreateRequestSchema1PublishedAt0
func (HomeworkCreateRequestSchema_1_PublishedAt) AsHomeworkCreateRequestSchema1PublishedAt1 ¶
func (t HomeworkCreateRequestSchema_1_PublishedAt) AsHomeworkCreateRequestSchema1PublishedAt1() (HomeworkCreateRequestSchema1PublishedAt1, error)
AsHomeworkCreateRequestSchema1PublishedAt1 returns the union data inside the HomeworkCreateRequestSchema_1_PublishedAt as a HomeworkCreateRequestSchema1PublishedAt1
func (*HomeworkCreateRequestSchema_1_PublishedAt) FromHomeworkCreateRequestSchema1PublishedAt0 ¶
func (t *HomeworkCreateRequestSchema_1_PublishedAt) FromHomeworkCreateRequestSchema1PublishedAt0(v HomeworkCreateRequestSchema1PublishedAt0) error
FromHomeworkCreateRequestSchema1PublishedAt0 overwrites any union data inside the HomeworkCreateRequestSchema_1_PublishedAt as the provided HomeworkCreateRequestSchema1PublishedAt0
func (*HomeworkCreateRequestSchema_1_PublishedAt) FromHomeworkCreateRequestSchema1PublishedAt1 ¶
func (t *HomeworkCreateRequestSchema_1_PublishedAt) FromHomeworkCreateRequestSchema1PublishedAt1(v HomeworkCreateRequestSchema1PublishedAt1) error
FromHomeworkCreateRequestSchema1PublishedAt1 overwrites any union data inside the HomeworkCreateRequestSchema_1_PublishedAt as the provided HomeworkCreateRequestSchema1PublishedAt1
func (HomeworkCreateRequestSchema_1_PublishedAt) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_1_PublishedAt) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_1_PublishedAt) MergeHomeworkCreateRequestSchema1PublishedAt0 ¶
func (t *HomeworkCreateRequestSchema_1_PublishedAt) MergeHomeworkCreateRequestSchema1PublishedAt0(v HomeworkCreateRequestSchema1PublishedAt0) error
MergeHomeworkCreateRequestSchema1PublishedAt0 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_PublishedAt, using the provided HomeworkCreateRequestSchema1PublishedAt0
func (*HomeworkCreateRequestSchema_1_PublishedAt) MergeHomeworkCreateRequestSchema1PublishedAt1 ¶
func (t *HomeworkCreateRequestSchema_1_PublishedAt) MergeHomeworkCreateRequestSchema1PublishedAt1(v HomeworkCreateRequestSchema1PublishedAt1) error
MergeHomeworkCreateRequestSchema1PublishedAt1 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_PublishedAt, using the provided HomeworkCreateRequestSchema1PublishedAt1
func (*HomeworkCreateRequestSchema_1_PublishedAt) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_1_PublishedAt) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_1_SectionId ¶
type HomeworkCreateRequestSchema_1_SectionId struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_1_SectionId defines model for HomeworkCreateRequestSchema.1.SectionId.
func (HomeworkCreateRequestSchema_1_SectionId) AsHomeworkCreateRequestSchema1SectionId0 ¶
func (t HomeworkCreateRequestSchema_1_SectionId) AsHomeworkCreateRequestSchema1SectionId0() (HomeworkCreateRequestSchema1SectionId0, error)
AsHomeworkCreateRequestSchema1SectionId0 returns the union data inside the HomeworkCreateRequestSchema_1_SectionId as a HomeworkCreateRequestSchema1SectionId0
func (HomeworkCreateRequestSchema_1_SectionId) AsHomeworkCreateRequestSchema1SectionId1 ¶
func (t HomeworkCreateRequestSchema_1_SectionId) AsHomeworkCreateRequestSchema1SectionId1() (HomeworkCreateRequestSchema1SectionId1, error)
AsHomeworkCreateRequestSchema1SectionId1 returns the union data inside the HomeworkCreateRequestSchema_1_SectionId as a HomeworkCreateRequestSchema1SectionId1
func (*HomeworkCreateRequestSchema_1_SectionId) FromHomeworkCreateRequestSchema1SectionId0 ¶
func (t *HomeworkCreateRequestSchema_1_SectionId) FromHomeworkCreateRequestSchema1SectionId0(v HomeworkCreateRequestSchema1SectionId0) error
FromHomeworkCreateRequestSchema1SectionId0 overwrites any union data inside the HomeworkCreateRequestSchema_1_SectionId as the provided HomeworkCreateRequestSchema1SectionId0
func (*HomeworkCreateRequestSchema_1_SectionId) FromHomeworkCreateRequestSchema1SectionId1 ¶
func (t *HomeworkCreateRequestSchema_1_SectionId) FromHomeworkCreateRequestSchema1SectionId1(v HomeworkCreateRequestSchema1SectionId1) error
FromHomeworkCreateRequestSchema1SectionId1 overwrites any union data inside the HomeworkCreateRequestSchema_1_SectionId as the provided HomeworkCreateRequestSchema1SectionId1
func (HomeworkCreateRequestSchema_1_SectionId) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_1_SectionId) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_1_SectionId) MergeHomeworkCreateRequestSchema1SectionId0 ¶
func (t *HomeworkCreateRequestSchema_1_SectionId) MergeHomeworkCreateRequestSchema1SectionId0(v HomeworkCreateRequestSchema1SectionId0) error
MergeHomeworkCreateRequestSchema1SectionId0 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SectionId, using the provided HomeworkCreateRequestSchema1SectionId0
func (*HomeworkCreateRequestSchema_1_SectionId) MergeHomeworkCreateRequestSchema1SectionId1 ¶
func (t *HomeworkCreateRequestSchema_1_SectionId) MergeHomeworkCreateRequestSchema1SectionId1(v HomeworkCreateRequestSchema1SectionId1) error
MergeHomeworkCreateRequestSchema1SectionId1 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SectionId, using the provided HomeworkCreateRequestSchema1SectionId1
func (*HomeworkCreateRequestSchema_1_SectionId) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_1_SectionId) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_1_SectionJwId ¶
type HomeworkCreateRequestSchema_1_SectionJwId struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_1_SectionJwId defines model for HomeworkCreateRequestSchema.1.SectionJwId.
func (HomeworkCreateRequestSchema_1_SectionJwId) AsHomeworkCreateRequestSchema1SectionJwId0 ¶
func (t HomeworkCreateRequestSchema_1_SectionJwId) AsHomeworkCreateRequestSchema1SectionJwId0() (HomeworkCreateRequestSchema1SectionJwId0, error)
AsHomeworkCreateRequestSchema1SectionJwId0 returns the union data inside the HomeworkCreateRequestSchema_1_SectionJwId as a HomeworkCreateRequestSchema1SectionJwId0
func (HomeworkCreateRequestSchema_1_SectionJwId) AsHomeworkCreateRequestSchema1SectionJwId1 ¶
func (t HomeworkCreateRequestSchema_1_SectionJwId) AsHomeworkCreateRequestSchema1SectionJwId1() (HomeworkCreateRequestSchema1SectionJwId1, error)
AsHomeworkCreateRequestSchema1SectionJwId1 returns the union data inside the HomeworkCreateRequestSchema_1_SectionJwId as a HomeworkCreateRequestSchema1SectionJwId1
func (*HomeworkCreateRequestSchema_1_SectionJwId) FromHomeworkCreateRequestSchema1SectionJwId0 ¶
func (t *HomeworkCreateRequestSchema_1_SectionJwId) FromHomeworkCreateRequestSchema1SectionJwId0(v HomeworkCreateRequestSchema1SectionJwId0) error
FromHomeworkCreateRequestSchema1SectionJwId0 overwrites any union data inside the HomeworkCreateRequestSchema_1_SectionJwId as the provided HomeworkCreateRequestSchema1SectionJwId0
func (*HomeworkCreateRequestSchema_1_SectionJwId) FromHomeworkCreateRequestSchema1SectionJwId1 ¶
func (t *HomeworkCreateRequestSchema_1_SectionJwId) FromHomeworkCreateRequestSchema1SectionJwId1(v HomeworkCreateRequestSchema1SectionJwId1) error
FromHomeworkCreateRequestSchema1SectionJwId1 overwrites any union data inside the HomeworkCreateRequestSchema_1_SectionJwId as the provided HomeworkCreateRequestSchema1SectionJwId1
func (HomeworkCreateRequestSchema_1_SectionJwId) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_1_SectionJwId) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_1_SectionJwId) MergeHomeworkCreateRequestSchema1SectionJwId0 ¶
func (t *HomeworkCreateRequestSchema_1_SectionJwId) MergeHomeworkCreateRequestSchema1SectionJwId0(v HomeworkCreateRequestSchema1SectionJwId0) error
MergeHomeworkCreateRequestSchema1SectionJwId0 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SectionJwId, using the provided HomeworkCreateRequestSchema1SectionJwId0
func (*HomeworkCreateRequestSchema_1_SectionJwId) MergeHomeworkCreateRequestSchema1SectionJwId1 ¶
func (t *HomeworkCreateRequestSchema_1_SectionJwId) MergeHomeworkCreateRequestSchema1SectionJwId1(v HomeworkCreateRequestSchema1SectionJwId1) error
MergeHomeworkCreateRequestSchema1SectionJwId1 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SectionJwId, using the provided HomeworkCreateRequestSchema1SectionJwId1
func (*HomeworkCreateRequestSchema_1_SectionJwId) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_1_SectionJwId) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_1_SubmissionDueAt ¶
type HomeworkCreateRequestSchema_1_SubmissionDueAt struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_1_SubmissionDueAt defines model for HomeworkCreateRequestSchema.1.SubmissionDueAt.
func (HomeworkCreateRequestSchema_1_SubmissionDueAt) AsHomeworkCreateRequestSchema1SubmissionDueAt0 ¶
func (t HomeworkCreateRequestSchema_1_SubmissionDueAt) AsHomeworkCreateRequestSchema1SubmissionDueAt0() (HomeworkCreateRequestSchema1SubmissionDueAt0, error)
AsHomeworkCreateRequestSchema1SubmissionDueAt0 returns the union data inside the HomeworkCreateRequestSchema_1_SubmissionDueAt as a HomeworkCreateRequestSchema1SubmissionDueAt0
func (HomeworkCreateRequestSchema_1_SubmissionDueAt) AsHomeworkCreateRequestSchema1SubmissionDueAt1 ¶
func (t HomeworkCreateRequestSchema_1_SubmissionDueAt) AsHomeworkCreateRequestSchema1SubmissionDueAt1() (HomeworkCreateRequestSchema1SubmissionDueAt1, error)
AsHomeworkCreateRequestSchema1SubmissionDueAt1 returns the union data inside the HomeworkCreateRequestSchema_1_SubmissionDueAt as a HomeworkCreateRequestSchema1SubmissionDueAt1
func (*HomeworkCreateRequestSchema_1_SubmissionDueAt) FromHomeworkCreateRequestSchema1SubmissionDueAt0 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) FromHomeworkCreateRequestSchema1SubmissionDueAt0(v HomeworkCreateRequestSchema1SubmissionDueAt0) error
FromHomeworkCreateRequestSchema1SubmissionDueAt0 overwrites any union data inside the HomeworkCreateRequestSchema_1_SubmissionDueAt as the provided HomeworkCreateRequestSchema1SubmissionDueAt0
func (*HomeworkCreateRequestSchema_1_SubmissionDueAt) FromHomeworkCreateRequestSchema1SubmissionDueAt1 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) FromHomeworkCreateRequestSchema1SubmissionDueAt1(v HomeworkCreateRequestSchema1SubmissionDueAt1) error
FromHomeworkCreateRequestSchema1SubmissionDueAt1 overwrites any union data inside the HomeworkCreateRequestSchema_1_SubmissionDueAt as the provided HomeworkCreateRequestSchema1SubmissionDueAt1
func (HomeworkCreateRequestSchema_1_SubmissionDueAt) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_1_SubmissionDueAt) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_1_SubmissionDueAt) MergeHomeworkCreateRequestSchema1SubmissionDueAt0 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) MergeHomeworkCreateRequestSchema1SubmissionDueAt0(v HomeworkCreateRequestSchema1SubmissionDueAt0) error
MergeHomeworkCreateRequestSchema1SubmissionDueAt0 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SubmissionDueAt, using the provided HomeworkCreateRequestSchema1SubmissionDueAt0
func (*HomeworkCreateRequestSchema_1_SubmissionDueAt) MergeHomeworkCreateRequestSchema1SubmissionDueAt1 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) MergeHomeworkCreateRequestSchema1SubmissionDueAt1(v HomeworkCreateRequestSchema1SubmissionDueAt1) error
MergeHomeworkCreateRequestSchema1SubmissionDueAt1 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SubmissionDueAt, using the provided HomeworkCreateRequestSchema1SubmissionDueAt1
func (*HomeworkCreateRequestSchema_1_SubmissionDueAt) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionDueAt) UnmarshalJSON(b []byte) error
type HomeworkCreateRequestSchema_1_SubmissionStartAt ¶
type HomeworkCreateRequestSchema_1_SubmissionStartAt struct {
// contains filtered or unexported fields
}
HomeworkCreateRequestSchema_1_SubmissionStartAt defines model for HomeworkCreateRequestSchema.1.SubmissionStartAt.
func (HomeworkCreateRequestSchema_1_SubmissionStartAt) AsHomeworkCreateRequestSchema1SubmissionStartAt0 ¶
func (t HomeworkCreateRequestSchema_1_SubmissionStartAt) AsHomeworkCreateRequestSchema1SubmissionStartAt0() (HomeworkCreateRequestSchema1SubmissionStartAt0, error)
AsHomeworkCreateRequestSchema1SubmissionStartAt0 returns the union data inside the HomeworkCreateRequestSchema_1_SubmissionStartAt as a HomeworkCreateRequestSchema1SubmissionStartAt0
func (HomeworkCreateRequestSchema_1_SubmissionStartAt) AsHomeworkCreateRequestSchema1SubmissionStartAt1 ¶
func (t HomeworkCreateRequestSchema_1_SubmissionStartAt) AsHomeworkCreateRequestSchema1SubmissionStartAt1() (HomeworkCreateRequestSchema1SubmissionStartAt1, error)
AsHomeworkCreateRequestSchema1SubmissionStartAt1 returns the union data inside the HomeworkCreateRequestSchema_1_SubmissionStartAt as a HomeworkCreateRequestSchema1SubmissionStartAt1
func (*HomeworkCreateRequestSchema_1_SubmissionStartAt) FromHomeworkCreateRequestSchema1SubmissionStartAt0 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) FromHomeworkCreateRequestSchema1SubmissionStartAt0(v HomeworkCreateRequestSchema1SubmissionStartAt0) error
FromHomeworkCreateRequestSchema1SubmissionStartAt0 overwrites any union data inside the HomeworkCreateRequestSchema_1_SubmissionStartAt as the provided HomeworkCreateRequestSchema1SubmissionStartAt0
func (*HomeworkCreateRequestSchema_1_SubmissionStartAt) FromHomeworkCreateRequestSchema1SubmissionStartAt1 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) FromHomeworkCreateRequestSchema1SubmissionStartAt1(v HomeworkCreateRequestSchema1SubmissionStartAt1) error
FromHomeworkCreateRequestSchema1SubmissionStartAt1 overwrites any union data inside the HomeworkCreateRequestSchema_1_SubmissionStartAt as the provided HomeworkCreateRequestSchema1SubmissionStartAt1
func (HomeworkCreateRequestSchema_1_SubmissionStartAt) MarshalJSON ¶
func (t HomeworkCreateRequestSchema_1_SubmissionStartAt) MarshalJSON() ([]byte, error)
func (*HomeworkCreateRequestSchema_1_SubmissionStartAt) MergeHomeworkCreateRequestSchema1SubmissionStartAt0 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) MergeHomeworkCreateRequestSchema1SubmissionStartAt0(v HomeworkCreateRequestSchema1SubmissionStartAt0) error
MergeHomeworkCreateRequestSchema1SubmissionStartAt0 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SubmissionStartAt, using the provided HomeworkCreateRequestSchema1SubmissionStartAt0
func (*HomeworkCreateRequestSchema_1_SubmissionStartAt) MergeHomeworkCreateRequestSchema1SubmissionStartAt1 ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) MergeHomeworkCreateRequestSchema1SubmissionStartAt1(v HomeworkCreateRequestSchema1SubmissionStartAt1) error
MergeHomeworkCreateRequestSchema1SubmissionStartAt1 performs a merge with any union data inside the HomeworkCreateRequestSchema_1_SubmissionStartAt, using the provided HomeworkCreateRequestSchema1SubmissionStartAt1
func (*HomeworkCreateRequestSchema_1_SubmissionStartAt) UnmarshalJSON ¶
func (t *HomeworkCreateRequestSchema_1_SubmissionStartAt) UnmarshalJSON(b []byte) error
type HomeworkCreateResponseSchema ¶
type HomeworkCreateResponseSchema struct {
Homework struct {
CommentCount int `json:"commentCount"`
Completion *struct {
CompletedAt time.Time `json:"completedAt"`
} `json:"completion"`
CompletionRequired bool `json:"completionRequired"`
CreatedAt time.Time `json:"createdAt"`
CreatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"createdBy"`
CreatedById *string `json:"createdById"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"deletedBy"`
DeletedById *string `json:"deletedById"`
Description *struct {
Content string `json:"content"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedById *string `json:"lastEditedById"`
SectionId *int `json:"sectionId"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"description"`
Id string `json:"id"`
IsMajor bool `json:"isMajor"`
PublishedAt *time.Time `json:"publishedAt"`
RequiresTeam bool `json:"requiresTeam"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
SubmissionStartAt *time.Time `json:"submissionStartAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"updatedBy"`
UpdatedById *string `json:"updatedById"`
} `json:"homework"`
Id string `json:"id"`
}
HomeworkCreateResponseSchema defines model for homeworkCreateResponseSchema.
type HomeworkDetailResponseSchema ¶
type HomeworkDetailResponseSchema struct {
AuditLogs []struct {
Action HomeworkDetailResponseSchemaAuditLogsAction `json:"action"`
Actor *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"actor"`
ActorId *string `json:"actorId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
SectionId int `json:"sectionId"`
TitleSnapshot *string `json:"titleSnapshot"`
} `json:"auditLogs"`
Homework struct {
CommentCount int `json:"commentCount"`
Completion *struct {
CompletedAt time.Time `json:"completedAt"`
} `json:"completion"`
CompletionRequired bool `json:"completionRequired"`
CreatedAt time.Time `json:"createdAt"`
CreatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"createdBy"`
CreatedById *string `json:"createdById"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"deletedBy"`
DeletedById *string `json:"deletedById"`
Description *struct {
Content string `json:"content"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedById *string `json:"lastEditedById"`
SectionId *int `json:"sectionId"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"description"`
Id string `json:"id"`
IsMajor bool `json:"isMajor"`
PublishedAt *time.Time `json:"publishedAt"`
RequiresTeam bool `json:"requiresTeam"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
SubmissionStartAt *time.Time `json:"submissionStartAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"updatedBy"`
UpdatedById *string `json:"updatedById"`
} `json:"homework"`
}
HomeworkDetailResponseSchema defines model for homeworkDetailResponseSchema.
type HomeworkDetailResponseSchemaAuditLogsAction ¶
type HomeworkDetailResponseSchemaAuditLogsAction string
HomeworkDetailResponseSchemaAuditLogsAction defines model for HomeworkDetailResponseSchema.AuditLogs.Action.
const ( HomeworkDetailResponseSchemaAuditLogsActionCreated HomeworkDetailResponseSchemaAuditLogsAction = "created" HomeworkDetailResponseSchemaAuditLogsActionDeleted HomeworkDetailResponseSchemaAuditLogsAction = "deleted" HomeworkDetailResponseSchemaAuditLogsActionUpdated HomeworkDetailResponseSchemaAuditLogsAction = "updated" )
Defines values for HomeworkDetailResponseSchemaAuditLogsAction.
func (HomeworkDetailResponseSchemaAuditLogsAction) Valid ¶
func (e HomeworkDetailResponseSchemaAuditLogsAction) Valid() bool
Valid indicates whether the value is a known member of the HomeworkDetailResponseSchemaAuditLogsAction enum.
type HomeworkUpdateRequestSchema ¶
type HomeworkUpdateRequestSchema struct {
Description *string `json:"description,omitempty"`
IsMajor *bool `json:"isMajor,omitempty"`
PublishedAt *HomeworkUpdateRequestSchema_PublishedAt `json:"publishedAt,omitempty"`
RequiresTeam *bool `json:"requiresTeam,omitempty"`
SubmissionDueAt *HomeworkUpdateRequestSchema_SubmissionDueAt `json:"submissionDueAt,omitempty"`
SubmissionStartAt *HomeworkUpdateRequestSchema_SubmissionStartAt `json:"submissionStartAt,omitempty"`
Title *string `json:"title,omitempty"`
}
HomeworkUpdateRequestSchema defines model for homeworkUpdateRequestSchema.
type HomeworkUpdateRequestSchemaPublishedAt0 ¶
type HomeworkUpdateRequestSchemaPublishedAt0 = string
HomeworkUpdateRequestSchemaPublishedAt0 defines model for HomeworkUpdateRequestSchema.PublishedAt.0.
type HomeworkUpdateRequestSchemaPublishedAt1 ¶
type HomeworkUpdateRequestSchemaPublishedAt1 string
HomeworkUpdateRequestSchemaPublishedAt1 defines model for HomeworkUpdateRequestSchema.PublishedAt.1.
const (
HomeworkUpdateRequestSchemaPublishedAt1LessThannil HomeworkUpdateRequestSchemaPublishedAt1 = "<nil>"
)
Defines values for HomeworkUpdateRequestSchemaPublishedAt1.
func (HomeworkUpdateRequestSchemaPublishedAt1) Valid ¶
func (e HomeworkUpdateRequestSchemaPublishedAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkUpdateRequestSchemaPublishedAt1 enum.
type HomeworkUpdateRequestSchemaSubmissionDueAt0 ¶
type HomeworkUpdateRequestSchemaSubmissionDueAt0 = string
HomeworkUpdateRequestSchemaSubmissionDueAt0 defines model for HomeworkUpdateRequestSchema.SubmissionDueAt.0.
type HomeworkUpdateRequestSchemaSubmissionDueAt1 ¶
type HomeworkUpdateRequestSchemaSubmissionDueAt1 string
HomeworkUpdateRequestSchemaSubmissionDueAt1 defines model for HomeworkUpdateRequestSchema.SubmissionDueAt.1.
const (
HomeworkUpdateRequestSchemaSubmissionDueAt1LessThannil HomeworkUpdateRequestSchemaSubmissionDueAt1 = "<nil>"
)
Defines values for HomeworkUpdateRequestSchemaSubmissionDueAt1.
func (HomeworkUpdateRequestSchemaSubmissionDueAt1) Valid ¶
func (e HomeworkUpdateRequestSchemaSubmissionDueAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkUpdateRequestSchemaSubmissionDueAt1 enum.
type HomeworkUpdateRequestSchemaSubmissionStartAt0 ¶
type HomeworkUpdateRequestSchemaSubmissionStartAt0 = string
HomeworkUpdateRequestSchemaSubmissionStartAt0 defines model for HomeworkUpdateRequestSchema.SubmissionStartAt.0.
type HomeworkUpdateRequestSchemaSubmissionStartAt1 ¶
type HomeworkUpdateRequestSchemaSubmissionStartAt1 string
HomeworkUpdateRequestSchemaSubmissionStartAt1 defines model for HomeworkUpdateRequestSchema.SubmissionStartAt.1.
const (
HomeworkUpdateRequestSchemaSubmissionStartAt1LessThannil HomeworkUpdateRequestSchemaSubmissionStartAt1 = "<nil>"
)
Defines values for HomeworkUpdateRequestSchemaSubmissionStartAt1.
func (HomeworkUpdateRequestSchemaSubmissionStartAt1) Valid ¶
func (e HomeworkUpdateRequestSchemaSubmissionStartAt1) Valid() bool
Valid indicates whether the value is a known member of the HomeworkUpdateRequestSchemaSubmissionStartAt1 enum.
type HomeworkUpdateRequestSchema_PublishedAt ¶
type HomeworkUpdateRequestSchema_PublishedAt struct {
// contains filtered or unexported fields
}
HomeworkUpdateRequestSchema_PublishedAt defines model for HomeworkUpdateRequestSchema.PublishedAt.
func (HomeworkUpdateRequestSchema_PublishedAt) AsHomeworkUpdateRequestSchemaPublishedAt0 ¶
func (t HomeworkUpdateRequestSchema_PublishedAt) AsHomeworkUpdateRequestSchemaPublishedAt0() (HomeworkUpdateRequestSchemaPublishedAt0, error)
AsHomeworkUpdateRequestSchemaPublishedAt0 returns the union data inside the HomeworkUpdateRequestSchema_PublishedAt as a HomeworkUpdateRequestSchemaPublishedAt0
func (HomeworkUpdateRequestSchema_PublishedAt) AsHomeworkUpdateRequestSchemaPublishedAt1 ¶
func (t HomeworkUpdateRequestSchema_PublishedAt) AsHomeworkUpdateRequestSchemaPublishedAt1() (HomeworkUpdateRequestSchemaPublishedAt1, error)
AsHomeworkUpdateRequestSchemaPublishedAt1 returns the union data inside the HomeworkUpdateRequestSchema_PublishedAt as a HomeworkUpdateRequestSchemaPublishedAt1
func (*HomeworkUpdateRequestSchema_PublishedAt) FromHomeworkUpdateRequestSchemaPublishedAt0 ¶
func (t *HomeworkUpdateRequestSchema_PublishedAt) FromHomeworkUpdateRequestSchemaPublishedAt0(v HomeworkUpdateRequestSchemaPublishedAt0) error
FromHomeworkUpdateRequestSchemaPublishedAt0 overwrites any union data inside the HomeworkUpdateRequestSchema_PublishedAt as the provided HomeworkUpdateRequestSchemaPublishedAt0
func (*HomeworkUpdateRequestSchema_PublishedAt) FromHomeworkUpdateRequestSchemaPublishedAt1 ¶
func (t *HomeworkUpdateRequestSchema_PublishedAt) FromHomeworkUpdateRequestSchemaPublishedAt1(v HomeworkUpdateRequestSchemaPublishedAt1) error
FromHomeworkUpdateRequestSchemaPublishedAt1 overwrites any union data inside the HomeworkUpdateRequestSchema_PublishedAt as the provided HomeworkUpdateRequestSchemaPublishedAt1
func (HomeworkUpdateRequestSchema_PublishedAt) MarshalJSON ¶
func (t HomeworkUpdateRequestSchema_PublishedAt) MarshalJSON() ([]byte, error)
func (*HomeworkUpdateRequestSchema_PublishedAt) MergeHomeworkUpdateRequestSchemaPublishedAt0 ¶
func (t *HomeworkUpdateRequestSchema_PublishedAt) MergeHomeworkUpdateRequestSchemaPublishedAt0(v HomeworkUpdateRequestSchemaPublishedAt0) error
MergeHomeworkUpdateRequestSchemaPublishedAt0 performs a merge with any union data inside the HomeworkUpdateRequestSchema_PublishedAt, using the provided HomeworkUpdateRequestSchemaPublishedAt0
func (*HomeworkUpdateRequestSchema_PublishedAt) MergeHomeworkUpdateRequestSchemaPublishedAt1 ¶
func (t *HomeworkUpdateRequestSchema_PublishedAt) MergeHomeworkUpdateRequestSchemaPublishedAt1(v HomeworkUpdateRequestSchemaPublishedAt1) error
MergeHomeworkUpdateRequestSchemaPublishedAt1 performs a merge with any union data inside the HomeworkUpdateRequestSchema_PublishedAt, using the provided HomeworkUpdateRequestSchemaPublishedAt1
func (*HomeworkUpdateRequestSchema_PublishedAt) UnmarshalJSON ¶
func (t *HomeworkUpdateRequestSchema_PublishedAt) UnmarshalJSON(b []byte) error
type HomeworkUpdateRequestSchema_SubmissionDueAt ¶
type HomeworkUpdateRequestSchema_SubmissionDueAt struct {
// contains filtered or unexported fields
}
HomeworkUpdateRequestSchema_SubmissionDueAt defines model for HomeworkUpdateRequestSchema.SubmissionDueAt.
func (HomeworkUpdateRequestSchema_SubmissionDueAt) AsHomeworkUpdateRequestSchemaSubmissionDueAt0 ¶
func (t HomeworkUpdateRequestSchema_SubmissionDueAt) AsHomeworkUpdateRequestSchemaSubmissionDueAt0() (HomeworkUpdateRequestSchemaSubmissionDueAt0, error)
AsHomeworkUpdateRequestSchemaSubmissionDueAt0 returns the union data inside the HomeworkUpdateRequestSchema_SubmissionDueAt as a HomeworkUpdateRequestSchemaSubmissionDueAt0
func (HomeworkUpdateRequestSchema_SubmissionDueAt) AsHomeworkUpdateRequestSchemaSubmissionDueAt1 ¶
func (t HomeworkUpdateRequestSchema_SubmissionDueAt) AsHomeworkUpdateRequestSchemaSubmissionDueAt1() (HomeworkUpdateRequestSchemaSubmissionDueAt1, error)
AsHomeworkUpdateRequestSchemaSubmissionDueAt1 returns the union data inside the HomeworkUpdateRequestSchema_SubmissionDueAt as a HomeworkUpdateRequestSchemaSubmissionDueAt1
func (*HomeworkUpdateRequestSchema_SubmissionDueAt) FromHomeworkUpdateRequestSchemaSubmissionDueAt0 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) FromHomeworkUpdateRequestSchemaSubmissionDueAt0(v HomeworkUpdateRequestSchemaSubmissionDueAt0) error
FromHomeworkUpdateRequestSchemaSubmissionDueAt0 overwrites any union data inside the HomeworkUpdateRequestSchema_SubmissionDueAt as the provided HomeworkUpdateRequestSchemaSubmissionDueAt0
func (*HomeworkUpdateRequestSchema_SubmissionDueAt) FromHomeworkUpdateRequestSchemaSubmissionDueAt1 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) FromHomeworkUpdateRequestSchemaSubmissionDueAt1(v HomeworkUpdateRequestSchemaSubmissionDueAt1) error
FromHomeworkUpdateRequestSchemaSubmissionDueAt1 overwrites any union data inside the HomeworkUpdateRequestSchema_SubmissionDueAt as the provided HomeworkUpdateRequestSchemaSubmissionDueAt1
func (HomeworkUpdateRequestSchema_SubmissionDueAt) MarshalJSON ¶
func (t HomeworkUpdateRequestSchema_SubmissionDueAt) MarshalJSON() ([]byte, error)
func (*HomeworkUpdateRequestSchema_SubmissionDueAt) MergeHomeworkUpdateRequestSchemaSubmissionDueAt0 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) MergeHomeworkUpdateRequestSchemaSubmissionDueAt0(v HomeworkUpdateRequestSchemaSubmissionDueAt0) error
MergeHomeworkUpdateRequestSchemaSubmissionDueAt0 performs a merge with any union data inside the HomeworkUpdateRequestSchema_SubmissionDueAt, using the provided HomeworkUpdateRequestSchemaSubmissionDueAt0
func (*HomeworkUpdateRequestSchema_SubmissionDueAt) MergeHomeworkUpdateRequestSchemaSubmissionDueAt1 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) MergeHomeworkUpdateRequestSchemaSubmissionDueAt1(v HomeworkUpdateRequestSchemaSubmissionDueAt1) error
MergeHomeworkUpdateRequestSchemaSubmissionDueAt1 performs a merge with any union data inside the HomeworkUpdateRequestSchema_SubmissionDueAt, using the provided HomeworkUpdateRequestSchemaSubmissionDueAt1
func (*HomeworkUpdateRequestSchema_SubmissionDueAt) UnmarshalJSON ¶
func (t *HomeworkUpdateRequestSchema_SubmissionDueAt) UnmarshalJSON(b []byte) error
type HomeworkUpdateRequestSchema_SubmissionStartAt ¶
type HomeworkUpdateRequestSchema_SubmissionStartAt struct {
// contains filtered or unexported fields
}
HomeworkUpdateRequestSchema_SubmissionStartAt defines model for HomeworkUpdateRequestSchema.SubmissionStartAt.
func (HomeworkUpdateRequestSchema_SubmissionStartAt) AsHomeworkUpdateRequestSchemaSubmissionStartAt0 ¶
func (t HomeworkUpdateRequestSchema_SubmissionStartAt) AsHomeworkUpdateRequestSchemaSubmissionStartAt0() (HomeworkUpdateRequestSchemaSubmissionStartAt0, error)
AsHomeworkUpdateRequestSchemaSubmissionStartAt0 returns the union data inside the HomeworkUpdateRequestSchema_SubmissionStartAt as a HomeworkUpdateRequestSchemaSubmissionStartAt0
func (HomeworkUpdateRequestSchema_SubmissionStartAt) AsHomeworkUpdateRequestSchemaSubmissionStartAt1 ¶
func (t HomeworkUpdateRequestSchema_SubmissionStartAt) AsHomeworkUpdateRequestSchemaSubmissionStartAt1() (HomeworkUpdateRequestSchemaSubmissionStartAt1, error)
AsHomeworkUpdateRequestSchemaSubmissionStartAt1 returns the union data inside the HomeworkUpdateRequestSchema_SubmissionStartAt as a HomeworkUpdateRequestSchemaSubmissionStartAt1
func (*HomeworkUpdateRequestSchema_SubmissionStartAt) FromHomeworkUpdateRequestSchemaSubmissionStartAt0 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) FromHomeworkUpdateRequestSchemaSubmissionStartAt0(v HomeworkUpdateRequestSchemaSubmissionStartAt0) error
FromHomeworkUpdateRequestSchemaSubmissionStartAt0 overwrites any union data inside the HomeworkUpdateRequestSchema_SubmissionStartAt as the provided HomeworkUpdateRequestSchemaSubmissionStartAt0
func (*HomeworkUpdateRequestSchema_SubmissionStartAt) FromHomeworkUpdateRequestSchemaSubmissionStartAt1 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) FromHomeworkUpdateRequestSchemaSubmissionStartAt1(v HomeworkUpdateRequestSchemaSubmissionStartAt1) error
FromHomeworkUpdateRequestSchemaSubmissionStartAt1 overwrites any union data inside the HomeworkUpdateRequestSchema_SubmissionStartAt as the provided HomeworkUpdateRequestSchemaSubmissionStartAt1
func (HomeworkUpdateRequestSchema_SubmissionStartAt) MarshalJSON ¶
func (t HomeworkUpdateRequestSchema_SubmissionStartAt) MarshalJSON() ([]byte, error)
func (*HomeworkUpdateRequestSchema_SubmissionStartAt) MergeHomeworkUpdateRequestSchemaSubmissionStartAt0 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) MergeHomeworkUpdateRequestSchemaSubmissionStartAt0(v HomeworkUpdateRequestSchemaSubmissionStartAt0) error
MergeHomeworkUpdateRequestSchemaSubmissionStartAt0 performs a merge with any union data inside the HomeworkUpdateRequestSchema_SubmissionStartAt, using the provided HomeworkUpdateRequestSchemaSubmissionStartAt0
func (*HomeworkUpdateRequestSchema_SubmissionStartAt) MergeHomeworkUpdateRequestSchemaSubmissionStartAt1 ¶
func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) MergeHomeworkUpdateRequestSchemaSubmissionStartAt1(v HomeworkUpdateRequestSchemaSubmissionStartAt1) error
MergeHomeworkUpdateRequestSchemaSubmissionStartAt1 performs a merge with any union data inside the HomeworkUpdateRequestSchema_SubmissionStartAt, using the provided HomeworkUpdateRequestSchemaSubmissionStartAt1
func (*HomeworkUpdateRequestSchema_SubmissionStartAt) UnmarshalJSON ¶
func (t *HomeworkUpdateRequestSchema_SubmissionStartAt) UnmarshalJSON(b []byte) error
type HomeworkUpdateResponseSchema ¶
type HomeworkUpdateResponseSchema struct {
Homework struct {
CommentCount int `json:"commentCount"`
Completion *struct {
CompletedAt time.Time `json:"completedAt"`
} `json:"completion"`
CompletionRequired bool `json:"completionRequired"`
CreatedAt time.Time `json:"createdAt"`
CreatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"createdBy"`
CreatedById *string `json:"createdById"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"deletedBy"`
DeletedById *string `json:"deletedById"`
Description *struct {
Content string `json:"content"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedById *string `json:"lastEditedById"`
SectionId *int `json:"sectionId"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"description"`
Id string `json:"id"`
IsMajor bool `json:"isMajor"`
PublishedAt *time.Time `json:"publishedAt"`
RequiresTeam bool `json:"requiresTeam"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
SubmissionStartAt *time.Time `json:"submissionStartAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"updatedBy"`
UpdatedById *string `json:"updatedById"`
} `json:"homework"`
Success bool `json:"success"`
}
HomeworkUpdateResponseSchema defines model for homeworkUpdateResponseSchema.
type HomeworksListResponseSchema ¶
type HomeworksListResponseSchema struct {
Data []struct {
CommentCount int `json:"commentCount"`
Completion *struct {
CompletedAt time.Time `json:"completedAt"`
} `json:"completion"`
CompletionRequired bool `json:"completionRequired"`
CreatedAt time.Time `json:"createdAt"`
CreatedById *string `json:"createdById"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedById *string `json:"deletedById"`
Id string `json:"id"`
IsMajor bool `json:"isMajor"`
PublishedAt *time.Time `json:"publishedAt"`
RequiresTeam bool `json:"requiresTeam"`
SectionId int `json:"sectionId"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
SubmissionStartAt *time.Time `json:"submissionStartAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedById *string `json:"updatedById"`
} `json:"data"`
Meta struct {
Viewer struct {
Image *string `json:"image"`
IsAdmin bool `json:"isAdmin"`
IsAuthenticated bool `json:"isAuthenticated"`
IsSuspended bool `json:"isSuspended"`
Name *string `json:"name"`
SuspensionExpiresAt *time.Time `json:"suspensionExpiresAt"`
SuspensionReason *string `json:"suspensionReason"`
UserId *string `json:"userId"`
} `json:"viewer"`
} `json:"meta"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
HomeworksListResponseSchema defines model for homeworksListResponseSchema.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IdResponseSchema ¶
type IdResponseSchema struct {
Id string `json:"id"`
}
IdResponseSchema defines model for idResponseSchema.
type ListAdminCommentsParams ¶
type ListAdminCommentsParams struct {
Status *ListAdminCommentsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListAdminCommentsParams defines parameters for ListAdminComments.
type ListAdminCommentsParamsStatus ¶
type ListAdminCommentsParamsStatus string
ListAdminCommentsParamsStatus defines parameters for ListAdminComments.
const ( ListAdminCommentsParamsStatusActive ListAdminCommentsParamsStatus = "active" ListAdminCommentsParamsStatusAll ListAdminCommentsParamsStatus = "all" ListAdminCommentsParamsStatusDeleted ListAdminCommentsParamsStatus = "deleted" ListAdminCommentsParamsStatusSoftbanned ListAdminCommentsParamsStatus = "softbanned" ListAdminCommentsParamsStatusSuspended ListAdminCommentsParamsStatus = "suspended" )
Defines values for ListAdminCommentsParamsStatus.
func (ListAdminCommentsParamsStatus) Valid ¶
func (e ListAdminCommentsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListAdminCommentsParamsStatus enum.
type ListAdminCommentsResponse ¶
type ListAdminCommentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminCommentsResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListAdminCommentsResponse ¶
func ParseListAdminCommentsResponse(rsp *http.Response) (*ListAdminCommentsResponse, error)
ParseListAdminCommentsResponse parses an HTTP response from a ListAdminCommentsWithResponse call
func (ListAdminCommentsResponse) ContentType ¶
func (r ListAdminCommentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminCommentsResponse) GetBody ¶
func (r ListAdminCommentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminCommentsResponse) GetJSON200 ¶
func (r ListAdminCommentsResponse) GetJSON200() *AdminCommentsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminCommentsResponse) GetJSON400 ¶
func (r ListAdminCommentsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListAdminCommentsResponse) GetJSON401 ¶
func (r ListAdminCommentsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminCommentsResponse) Status ¶
func (r ListAdminCommentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdminCommentsResponse) StatusCode ¶
func (r ListAdminCommentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdminDescriptionsParams ¶
type ListAdminDescriptionsParams struct {
TargetType *ListAdminDescriptionsParamsTargetType `form:"targetType,omitempty" json:"targetType,omitempty"`
HasContent *ListAdminDescriptionsParamsHasContent `form:"hasContent,omitempty" json:"hasContent,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListAdminDescriptionsParams defines parameters for ListAdminDescriptions.
type ListAdminDescriptionsParamsHasContent ¶
type ListAdminDescriptionsParamsHasContent string
ListAdminDescriptionsParamsHasContent defines parameters for ListAdminDescriptions.
const ( ListAdminDescriptionsParamsHasContentAll ListAdminDescriptionsParamsHasContent = "all" ListAdminDescriptionsParamsHasContentEmpty ListAdminDescriptionsParamsHasContent = "empty" ListAdminDescriptionsParamsHasContentWithContent ListAdminDescriptionsParamsHasContent = "withContent" )
Defines values for ListAdminDescriptionsParamsHasContent.
func (ListAdminDescriptionsParamsHasContent) Valid ¶
func (e ListAdminDescriptionsParamsHasContent) Valid() bool
Valid indicates whether the value is a known member of the ListAdminDescriptionsParamsHasContent enum.
type ListAdminDescriptionsParamsTargetType ¶
type ListAdminDescriptionsParamsTargetType string
ListAdminDescriptionsParamsTargetType defines parameters for ListAdminDescriptions.
const ( ListAdminDescriptionsParamsTargetTypeAll ListAdminDescriptionsParamsTargetType = "all" ListAdminDescriptionsParamsTargetTypeCourse ListAdminDescriptionsParamsTargetType = "course" ListAdminDescriptionsParamsTargetTypeHomework ListAdminDescriptionsParamsTargetType = "homework" ListAdminDescriptionsParamsTargetTypeSection ListAdminDescriptionsParamsTargetType = "section" ListAdminDescriptionsParamsTargetTypeTeacher ListAdminDescriptionsParamsTargetType = "teacher" )
Defines values for ListAdminDescriptionsParamsTargetType.
func (ListAdminDescriptionsParamsTargetType) Valid ¶
func (e ListAdminDescriptionsParamsTargetType) Valid() bool
Valid indicates whether the value is a known member of the ListAdminDescriptionsParamsTargetType enum.
type ListAdminDescriptionsResponse ¶
type ListAdminDescriptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminDescriptionsResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListAdminDescriptionsResponse ¶
func ParseListAdminDescriptionsResponse(rsp *http.Response) (*ListAdminDescriptionsResponse, error)
ParseListAdminDescriptionsResponse parses an HTTP response from a ListAdminDescriptionsWithResponse call
func (ListAdminDescriptionsResponse) ContentType ¶
func (r ListAdminDescriptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminDescriptionsResponse) GetBody ¶
func (r ListAdminDescriptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminDescriptionsResponse) GetJSON200 ¶
func (r ListAdminDescriptionsResponse) GetJSON200() *AdminDescriptionsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminDescriptionsResponse) GetJSON400 ¶
func (r ListAdminDescriptionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListAdminDescriptionsResponse) GetJSON401 ¶
func (r ListAdminDescriptionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminDescriptionsResponse) Status ¶
func (r ListAdminDescriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdminDescriptionsResponse) StatusCode ¶
func (r ListAdminDescriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdminHomeworksParams ¶
type ListAdminHomeworksParams struct {
Status *ListAdminHomeworksParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListAdminHomeworksParams defines parameters for ListAdminHomeworks.
type ListAdminHomeworksParamsStatus ¶
type ListAdminHomeworksParamsStatus string
ListAdminHomeworksParamsStatus defines parameters for ListAdminHomeworks.
const ( ListAdminHomeworksParamsStatusActive ListAdminHomeworksParamsStatus = "active" ListAdminHomeworksParamsStatusAll ListAdminHomeworksParamsStatus = "all" ListAdminHomeworksParamsStatusDeleted ListAdminHomeworksParamsStatus = "deleted" )
Defines values for ListAdminHomeworksParamsStatus.
func (ListAdminHomeworksParamsStatus) Valid ¶
func (e ListAdminHomeworksParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListAdminHomeworksParamsStatus enum.
type ListAdminHomeworksResponse ¶
type ListAdminHomeworksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminHomeworksResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListAdminHomeworksResponse ¶
func ParseListAdminHomeworksResponse(rsp *http.Response) (*ListAdminHomeworksResponse, error)
ParseListAdminHomeworksResponse parses an HTTP response from a ListAdminHomeworksWithResponse call
func (ListAdminHomeworksResponse) ContentType ¶
func (r ListAdminHomeworksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminHomeworksResponse) GetBody ¶
func (r ListAdminHomeworksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminHomeworksResponse) GetJSON200 ¶
func (r ListAdminHomeworksResponse) GetJSON200() *AdminHomeworksResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminHomeworksResponse) GetJSON400 ¶
func (r ListAdminHomeworksResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListAdminHomeworksResponse) GetJSON401 ¶
func (r ListAdminHomeworksResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminHomeworksResponse) Status ¶
func (r ListAdminHomeworksResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdminHomeworksResponse) StatusCode ¶
func (r ListAdminHomeworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdminSuspensionsResponse ¶
type ListAdminSuspensionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminSuspensionsResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListAdminSuspensionsResponse ¶
func ParseListAdminSuspensionsResponse(rsp *http.Response) (*ListAdminSuspensionsResponse, error)
ParseListAdminSuspensionsResponse parses an HTTP response from a ListAdminSuspensionsWithResponse call
func (ListAdminSuspensionsResponse) ContentType ¶
func (r ListAdminSuspensionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminSuspensionsResponse) GetBody ¶
func (r ListAdminSuspensionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminSuspensionsResponse) GetJSON200 ¶
func (r ListAdminSuspensionsResponse) GetJSON200() *AdminSuspensionsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminSuspensionsResponse) GetJSON401 ¶
func (r ListAdminSuspensionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminSuspensionsResponse) Status ¶
func (r ListAdminSuspensionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdminSuspensionsResponse) StatusCode ¶
func (r ListAdminSuspensionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdminUsersParams ¶
type ListAdminUsersParams struct {
Search *string `form:"search,omitempty" json:"search,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListAdminUsersParams defines parameters for ListAdminUsers.
type ListAdminUsersResponse ¶
type ListAdminUsersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminUsersResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListAdminUsersResponse ¶
func ParseListAdminUsersResponse(rsp *http.Response) (*ListAdminUsersResponse, error)
ParseListAdminUsersResponse parses an HTTP response from a ListAdminUsersWithResponse call
func (ListAdminUsersResponse) ContentType ¶
func (r ListAdminUsersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminUsersResponse) GetBody ¶
func (r ListAdminUsersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminUsersResponse) GetJSON200 ¶
func (r ListAdminUsersResponse) GetJSON200() *AdminUsersResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminUsersResponse) GetJSON400 ¶
func (r ListAdminUsersResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListAdminUsersResponse) GetJSON401 ¶
func (r ListAdminUsersResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminUsersResponse) Status ¶
func (r ListAdminUsersResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdminUsersResponse) StatusCode ¶
func (r ListAdminUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCommentsParams ¶
type ListCommentsParams struct {
TargetType ListCommentsParamsTargetType `form:"targetType" json:"targetType"`
TargetId *string `form:"targetId,omitempty" json:"targetId,omitempty"`
YoungId *string `form:"youngId,omitempty" json:"youngId,omitempty"`
SectionId *int64 `form:"sectionId,omitempty" json:"sectionId,omitempty"`
SectionJwId *int64 `form:"sectionJwId,omitempty" json:"sectionJwId,omitempty"`
CourseJwId *int64 `form:"courseJwId,omitempty" json:"courseJwId,omitempty"`
TeacherId *int64 `form:"teacherId,omitempty" json:"teacherId,omitempty"`
HomeworkId *string `form:"homeworkId,omitempty" json:"homeworkId,omitempty"`
SectionTeacherId *int64 `form:"sectionTeacherId,omitempty" json:"sectionTeacherId,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListCommentsParams defines parameters for ListComments.
type ListCommentsParamsTargetType ¶
type ListCommentsParamsTargetType string
ListCommentsParamsTargetType defines parameters for ListComments.
const ( ListCommentsParamsTargetTypeCourse ListCommentsParamsTargetType = "course" ListCommentsParamsTargetTypeHomework ListCommentsParamsTargetType = "homework" ListCommentsParamsTargetTypeSection ListCommentsParamsTargetType = "section" ListCommentsParamsTargetTypeSectionTeacher ListCommentsParamsTargetType = "section-teacher" ListCommentsParamsTargetTypeTeacher ListCommentsParamsTargetType = "teacher" ListCommentsParamsTargetTypeYoungEvent ListCommentsParamsTargetType = "young-event" )
Defines values for ListCommentsParamsTargetType.
func (ListCommentsParamsTargetType) Valid ¶
func (e ListCommentsParamsTargetType) Valid() bool
Valid indicates whether the value is a known member of the ListCommentsParamsTargetType enum.
type ListCommentsResponse ¶
type ListCommentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CommentsListResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseListCommentsResponse ¶
func ParseListCommentsResponse(rsp *http.Response) (*ListCommentsResponse, error)
ParseListCommentsResponse parses an HTTP response from a ListCommentsWithResponse call
func (ListCommentsResponse) ContentType ¶
func (r ListCommentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCommentsResponse) GetBody ¶
func (r ListCommentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCommentsResponse) GetJSON200 ¶
func (r ListCommentsResponse) GetJSON200() *CommentsListResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCommentsResponse) GetJSON400 ¶
func (r ListCommentsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListCommentsResponse) GetJSON401 ¶
func (r ListCommentsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCommentsResponse) GetJSON404 ¶
func (r ListCommentsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListCommentsResponse) Status ¶
func (r ListCommentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCommentsResponse) StatusCode ¶
func (r ListCommentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCoursesParams ¶
type ListCoursesParams struct {
Locale *ListCoursesParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
EducationLevelId *int64 `form:"educationLevelId,omitempty" json:"educationLevelId,omitempty"`
CategoryId *int64 `form:"categoryId,omitempty" json:"categoryId,omitempty"`
ClassTypeId *int64 `form:"classTypeId,omitempty" json:"classTypeId,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListCoursesParams defines parameters for ListCourses.
type ListCoursesParamsLocale ¶
type ListCoursesParamsLocale string
ListCoursesParamsLocale defines parameters for ListCourses.
const ( ListCoursesParamsLocaleEnUs ListCoursesParamsLocale = "en-us" ListCoursesParamsLocaleZhCn ListCoursesParamsLocale = "zh-cn" )
Defines values for ListCoursesParamsLocale.
func (ListCoursesParamsLocale) Valid ¶
func (e ListCoursesParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the ListCoursesParamsLocale enum.
type ListCoursesResponse ¶
type ListCoursesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedCourseResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseListCoursesResponse ¶
func ParseListCoursesResponse(rsp *http.Response) (*ListCoursesResponse, error)
ParseListCoursesResponse parses an HTTP response from a ListCoursesWithResponse call
func (ListCoursesResponse) ContentType ¶
func (r ListCoursesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCoursesResponse) GetBody ¶
func (r ListCoursesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCoursesResponse) GetJSON200 ¶
func (r ListCoursesResponse) GetJSON200() *PaginatedCourseResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCoursesResponse) GetJSON400 ¶
func (r ListCoursesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListCoursesResponse) Status ¶
func (r ListCoursesResponse) Status() string
Status returns HTTPResponse.Status
func (ListCoursesResponse) StatusCode ¶
func (r ListCoursesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListHealthResponse ¶
func ParseListHealthResponse ¶
func ParseListHealthResponse(rsp *http.Response) (*ListHealthResponse, error)
ParseListHealthResponse parses an HTTP response from a ListHealthWithResponse call
func (ListHealthResponse) ContentType ¶
func (r ListHealthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListHealthResponse) GetBody ¶
func (r ListHealthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListHealthResponse) Status ¶
func (r ListHealthResponse) Status() string
Status returns HTTPResponse.Status
func (ListHealthResponse) StatusCode ¶
func (r ListHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMcpResponse ¶
type ListMcpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *OpenApiErrorSchema
}
func ParseListMcpResponse ¶
func ParseListMcpResponse(rsp *http.Response) (*ListMcpResponse, error)
ParseListMcpResponse parses an HTTP response from a ListMcpWithResponse call
func (ListMcpResponse) ContentType ¶
func (r ListMcpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMcpResponse) GetBody ¶
func (r ListMcpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMcpResponse) GetJSON403 ¶
func (r ListMcpResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListMcpResponse) GetJSON405 ¶
func (r ListMcpResponse) GetJSON405() *OpenApiErrorSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (ListMcpResponse) Status ¶
func (r ListMcpResponse) Status() string
Status returns HTTPResponse.Status
func (ListMcpResponse) StatusCode ¶
func (r ListMcpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSchedulesParams ¶
type ListSchedulesParams struct {
Locale *ListSchedulesParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
SectionId *int64 `form:"sectionId,omitempty" json:"sectionId,omitempty"`
SectionJwId *int64 `form:"sectionJwId,omitempty" json:"sectionJwId,omitempty"`
SectionCode *string `form:"sectionCode,omitempty" json:"sectionCode,omitempty"`
TeacherId *int64 `form:"teacherId,omitempty" json:"teacherId,omitempty"`
TeacherCode *string `form:"teacherCode,omitempty" json:"teacherCode,omitempty"`
RoomId *int64 `form:"roomId,omitempty" json:"roomId,omitempty"`
RoomJwId *int64 `form:"roomJwId,omitempty" json:"roomJwId,omitempty"`
Weekday *int64 `form:"weekday,omitempty" json:"weekday,omitempty"`
DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
DateTo *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListSchedulesParams defines parameters for ListSchedules.
type ListSchedulesParamsLocale ¶
type ListSchedulesParamsLocale string
ListSchedulesParamsLocale defines parameters for ListSchedules.
const ( ListSchedulesParamsLocaleEnUs ListSchedulesParamsLocale = "en-us" ListSchedulesParamsLocaleZhCn ListSchedulesParamsLocale = "zh-cn" )
Defines values for ListSchedulesParamsLocale.
func (ListSchedulesParamsLocale) Valid ¶
func (e ListSchedulesParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the ListSchedulesParamsLocale enum.
type ListSchedulesResponse ¶
type ListSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedScheduleResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseListSchedulesResponse ¶
func ParseListSchedulesResponse(rsp *http.Response) (*ListSchedulesResponse, error)
ParseListSchedulesResponse parses an HTTP response from a ListSchedulesWithResponse call
func (ListSchedulesResponse) ContentType ¶
func (r ListSchedulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSchedulesResponse) GetBody ¶
func (r ListSchedulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSchedulesResponse) GetJSON200 ¶
func (r ListSchedulesResponse) GetJSON200() *PaginatedScheduleResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSchedulesResponse) GetJSON400 ¶
func (r ListSchedulesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListSchedulesResponse) Status ¶
func (r ListSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSchedulesResponse) StatusCode ¶
func (r ListSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSectionsParams ¶
type ListSectionsParams struct {
Locale *ListSectionsParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
CourseId *int64 `form:"courseId,omitempty" json:"courseId,omitempty"`
CourseJwId *int64 `form:"courseJwId,omitempty" json:"courseJwId,omitempty"`
SemesterId *int64 `form:"semesterId,omitempty" json:"semesterId,omitempty"`
SemesterJwId *int64 `form:"semesterJwId,omitempty" json:"semesterJwId,omitempty"`
CampusId *int64 `form:"campusId,omitempty" json:"campusId,omitempty"`
DepartmentId *int64 `form:"departmentId,omitempty" json:"departmentId,omitempty"`
TeacherId *int64 `form:"teacherId,omitempty" json:"teacherId,omitempty"`
TeacherCode *string `form:"teacherCode,omitempty" json:"teacherCode,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Ids *string `form:"ids,omitempty" json:"ids,omitempty"`
JwIds *string `form:"jwIds,omitempty" json:"jwIds,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListSectionsParams defines parameters for ListSections.
type ListSectionsParamsLocale ¶
type ListSectionsParamsLocale string
ListSectionsParamsLocale defines parameters for ListSections.
const ( ListSectionsParamsLocaleEnUs ListSectionsParamsLocale = "en-us" ListSectionsParamsLocaleZhCn ListSectionsParamsLocale = "zh-cn" )
Defines values for ListSectionsParamsLocale.
func (ListSectionsParamsLocale) Valid ¶
func (e ListSectionsParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the ListSectionsParamsLocale enum.
type ListSectionsResponse ¶
type ListSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedSectionResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseListSectionsResponse ¶
func ParseListSectionsResponse(rsp *http.Response) (*ListSectionsResponse, error)
ParseListSectionsResponse parses an HTTP response from a ListSectionsWithResponse call
func (ListSectionsResponse) ContentType ¶
func (r ListSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSectionsResponse) GetBody ¶
func (r ListSectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSectionsResponse) GetJSON200 ¶
func (r ListSectionsResponse) GetJSON200() *PaginatedSectionResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSectionsResponse) GetJSON400 ¶
func (r ListSectionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListSectionsResponse) Status ¶
func (r ListSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSectionsResponse) StatusCode ¶
func (r ListSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSemestersParams ¶
type ListSemestersParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListSemestersParams defines parameters for ListSemesters.
type ListSemestersResponse ¶
type ListSemestersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedSemesterResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseListSemestersResponse ¶
func ParseListSemestersResponse(rsp *http.Response) (*ListSemestersResponse, error)
ParseListSemestersResponse parses an HTTP response from a ListSemestersWithResponse call
func (ListSemestersResponse) ContentType ¶
func (r ListSemestersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSemestersResponse) GetBody ¶
func (r ListSemestersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSemestersResponse) GetJSON200 ¶
func (r ListSemestersResponse) GetJSON200() *PaginatedSemesterResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSemestersResponse) GetJSON400 ¶
func (r ListSemestersResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListSemestersResponse) Status ¶
func (r ListSemestersResponse) Status() string
Status returns HTTPResponse.Status
func (ListSemestersResponse) StatusCode ¶
func (r ListSemestersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTeachersParams ¶
type ListTeachersParams struct {
Locale *ListTeachersParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
DepartmentId *int64 `form:"departmentId,omitempty" json:"departmentId,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListTeachersParams defines parameters for ListTeachers.
type ListTeachersParamsLocale ¶
type ListTeachersParamsLocale string
ListTeachersParamsLocale defines parameters for ListTeachers.
const ( ListTeachersParamsLocaleEnUs ListTeachersParamsLocale = "en-us" ListTeachersParamsLocaleZhCn ListTeachersParamsLocale = "zh-cn" )
Defines values for ListTeachersParamsLocale.
func (ListTeachersParamsLocale) Valid ¶
func (e ListTeachersParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the ListTeachersParamsLocale enum.
type ListTeachersResponse ¶
type ListTeachersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedTeacherResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseListTeachersResponse ¶
func ParseListTeachersResponse(rsp *http.Response) (*ListTeachersResponse, error)
ParseListTeachersResponse parses an HTTP response from a ListTeachersWithResponse call
func (ListTeachersResponse) ContentType ¶
func (r ListTeachersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTeachersResponse) GetBody ¶
func (r ListTeachersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTeachersResponse) GetJSON200 ¶
func (r ListTeachersResponse) GetJSON200() *PaginatedTeacherResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTeachersResponse) GetJSON400 ¶
func (r ListTeachersResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListTeachersResponse) Status ¶
func (r ListTeachersResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeachersResponse) StatusCode ¶
func (r ListTeachersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTodosParams ¶
type ListTodosParams struct {
Completed *ListTodosParamsCompleted `form:"completed,omitempty" json:"completed,omitempty"`
Priority *ListTodosParamsPriority `form:"priority,omitempty" json:"priority,omitempty"`
DueBefore *string `form:"dueBefore,omitempty" json:"dueBefore,omitempty"`
DueAfter *string `form:"dueAfter,omitempty" json:"dueAfter,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListTodosParams defines parameters for ListTodos.
type ListTodosParamsCompleted ¶
type ListTodosParamsCompleted string
ListTodosParamsCompleted defines parameters for ListTodos.
const ( ListTodosParamsCompletedFalse ListTodosParamsCompleted = "false" ListTodosParamsCompletedTrue ListTodosParamsCompleted = "true" )
Defines values for ListTodosParamsCompleted.
func (ListTodosParamsCompleted) Valid ¶
func (e ListTodosParamsCompleted) Valid() bool
Valid indicates whether the value is a known member of the ListTodosParamsCompleted enum.
type ListTodosParamsPriority ¶
type ListTodosParamsPriority string
ListTodosParamsPriority defines parameters for ListTodos.
const ( ListTodosParamsPriorityHigh ListTodosParamsPriority = "high" ListTodosParamsPriorityLow ListTodosParamsPriority = "low" ListTodosParamsPriorityMedium ListTodosParamsPriority = "medium" )
Defines values for ListTodosParamsPriority.
func (ListTodosParamsPriority) Valid ¶
func (e ListTodosParamsPriority) Valid() bool
Valid indicates whether the value is a known member of the ListTodosParamsPriority enum.
type ListTodosResponse ¶
type ListTodosResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TodosListResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListTodosResponse ¶
func ParseListTodosResponse(rsp *http.Response) (*ListTodosResponse, error)
ParseListTodosResponse parses an HTTP response from a ListTodosWithResponse call
func (ListTodosResponse) ContentType ¶
func (r ListTodosResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTodosResponse) GetBody ¶
func (r ListTodosResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTodosResponse) GetJSON200 ¶
func (r ListTodosResponse) GetJSON200() *TodosListResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTodosResponse) GetJSON400 ¶
func (r ListTodosResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListTodosResponse) GetJSON401 ¶
func (r ListTodosResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListTodosResponse) Status ¶
func (r ListTodosResponse) Status() string
Status returns HTTPResponse.Status
func (ListTodosResponse) StatusCode ¶
func (r ListTodosResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUploadsParams ¶
type ListUploadsParams struct {
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page.
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ListUploadsParams defines parameters for ListUploads.
type ListUploadsResponse ¶
type ListUploadsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UploadsListResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseListUploadsResponse ¶
func ParseListUploadsResponse(rsp *http.Response) (*ListUploadsResponse, error)
ParseListUploadsResponse parses an HTTP response from a ListUploadsWithResponse call
func (ListUploadsResponse) ContentType ¶
func (r ListUploadsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUploadsResponse) GetBody ¶
func (r ListUploadsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListUploadsResponse) GetJSON200 ¶
func (r ListUploadsResponse) GetJSON200() *UploadsListResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListUploadsResponse) GetJSON400 ¶
func (r ListUploadsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListUploadsResponse) GetJSON401 ¶
func (r ListUploadsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListUploadsResponse) Status ¶
func (r ListUploadsResponse) Status() string
Status returns HTTPResponse.Status
func (ListUploadsResponse) StatusCode ¶
func (r ListUploadsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LocaleUpdateRequestSchema ¶
type LocaleUpdateRequestSchema struct {
Locale LocaleUpdateRequestSchemaLocale `json:"locale"`
}
LocaleUpdateRequestSchema defines model for localeUpdateRequestSchema.
type LocaleUpdateRequestSchemaLocale ¶
type LocaleUpdateRequestSchemaLocale string
LocaleUpdateRequestSchemaLocale defines model for LocaleUpdateRequestSchema.Locale.
const ( LocaleUpdateRequestSchemaLocaleEnUs LocaleUpdateRequestSchemaLocale = "en-us" LocaleUpdateRequestSchemaLocaleZhCn LocaleUpdateRequestSchemaLocale = "zh-cn" )
Defines values for LocaleUpdateRequestSchemaLocale.
func (LocaleUpdateRequestSchemaLocale) Valid ¶
func (e LocaleUpdateRequestSchemaLocale) Valid() bool
Valid indicates whether the value is a known member of the LocaleUpdateRequestSchemaLocale enum.
type MatchSectionCodesJSONRequestBody ¶
type MatchSectionCodesJSONRequestBody = MatchSectionCodesRequestSchema
MatchSectionCodesJSONRequestBody defines body for MatchSectionCodes for application/json ContentType.
type MatchSectionCodesRequestSchema ¶
type MatchSectionCodesRequestSchema struct {
Codes []string `json:"codes"`
SemesterId *MatchSectionCodesRequestSchema_SemesterId `json:"semesterId,omitempty"`
}
MatchSectionCodesRequestSchema defines model for matchSectionCodesRequestSchema.
type MatchSectionCodesRequestSchemaSemesterId0 ¶
type MatchSectionCodesRequestSchemaSemesterId0 = string
MatchSectionCodesRequestSchemaSemesterId0 defines model for MatchSectionCodesRequestSchema.SemesterId.0.
type MatchSectionCodesRequestSchemaSemesterId1 ¶
type MatchSectionCodesRequestSchemaSemesterId1 = float32
MatchSectionCodesRequestSchemaSemesterId1 defines model for MatchSectionCodesRequestSchema.SemesterId.1.
type MatchSectionCodesRequestSchema_SemesterId ¶
type MatchSectionCodesRequestSchema_SemesterId struct {
// contains filtered or unexported fields
}
MatchSectionCodesRequestSchema_SemesterId defines model for MatchSectionCodesRequestSchema.SemesterId.
func (MatchSectionCodesRequestSchema_SemesterId) AsMatchSectionCodesRequestSchemaSemesterId0 ¶
func (t MatchSectionCodesRequestSchema_SemesterId) AsMatchSectionCodesRequestSchemaSemesterId0() (MatchSectionCodesRequestSchemaSemesterId0, error)
AsMatchSectionCodesRequestSchemaSemesterId0 returns the union data inside the MatchSectionCodesRequestSchema_SemesterId as a MatchSectionCodesRequestSchemaSemesterId0
func (MatchSectionCodesRequestSchema_SemesterId) AsMatchSectionCodesRequestSchemaSemesterId1 ¶
func (t MatchSectionCodesRequestSchema_SemesterId) AsMatchSectionCodesRequestSchemaSemesterId1() (MatchSectionCodesRequestSchemaSemesterId1, error)
AsMatchSectionCodesRequestSchemaSemesterId1 returns the union data inside the MatchSectionCodesRequestSchema_SemesterId as a MatchSectionCodesRequestSchemaSemesterId1
func (*MatchSectionCodesRequestSchema_SemesterId) FromMatchSectionCodesRequestSchemaSemesterId0 ¶
func (t *MatchSectionCodesRequestSchema_SemesterId) FromMatchSectionCodesRequestSchemaSemesterId0(v MatchSectionCodesRequestSchemaSemesterId0) error
FromMatchSectionCodesRequestSchemaSemesterId0 overwrites any union data inside the MatchSectionCodesRequestSchema_SemesterId as the provided MatchSectionCodesRequestSchemaSemesterId0
func (*MatchSectionCodesRequestSchema_SemesterId) FromMatchSectionCodesRequestSchemaSemesterId1 ¶
func (t *MatchSectionCodesRequestSchema_SemesterId) FromMatchSectionCodesRequestSchemaSemesterId1(v MatchSectionCodesRequestSchemaSemesterId1) error
FromMatchSectionCodesRequestSchemaSemesterId1 overwrites any union data inside the MatchSectionCodesRequestSchema_SemesterId as the provided MatchSectionCodesRequestSchemaSemesterId1
func (MatchSectionCodesRequestSchema_SemesterId) MarshalJSON ¶
func (t MatchSectionCodesRequestSchema_SemesterId) MarshalJSON() ([]byte, error)
func (*MatchSectionCodesRequestSchema_SemesterId) MergeMatchSectionCodesRequestSchemaSemesterId0 ¶
func (t *MatchSectionCodesRequestSchema_SemesterId) MergeMatchSectionCodesRequestSchemaSemesterId0(v MatchSectionCodesRequestSchemaSemesterId0) error
MergeMatchSectionCodesRequestSchemaSemesterId0 performs a merge with any union data inside the MatchSectionCodesRequestSchema_SemesterId, using the provided MatchSectionCodesRequestSchemaSemesterId0
func (*MatchSectionCodesRequestSchema_SemesterId) MergeMatchSectionCodesRequestSchemaSemesterId1 ¶
func (t *MatchSectionCodesRequestSchema_SemesterId) MergeMatchSectionCodesRequestSchemaSemesterId1(v MatchSectionCodesRequestSchemaSemesterId1) error
MergeMatchSectionCodesRequestSchemaSemesterId1 performs a merge with any union data inside the MatchSectionCodesRequestSchema_SemesterId, using the provided MatchSectionCodesRequestSchemaSemesterId1
func (*MatchSectionCodesRequestSchema_SemesterId) UnmarshalJSON ¶
func (t *MatchSectionCodesRequestSchema_SemesterId) UnmarshalJSON(b []byte) error
type MatchSectionCodesResponse ¶
type MatchSectionCodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MatchSectionCodesResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseMatchSectionCodesResponse ¶
func ParseMatchSectionCodesResponse(rsp *http.Response) (*MatchSectionCodesResponse, error)
ParseMatchSectionCodesResponse parses an HTTP response from a MatchSectionCodesWithResponse call
func (MatchSectionCodesResponse) ContentType ¶
func (r MatchSectionCodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MatchSectionCodesResponse) GetBody ¶
func (r MatchSectionCodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MatchSectionCodesResponse) GetJSON200 ¶
func (r MatchSectionCodesResponse) GetJSON200() *MatchSectionCodesResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MatchSectionCodesResponse) GetJSON400 ¶
func (r MatchSectionCodesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (MatchSectionCodesResponse) GetJSON404 ¶
func (r MatchSectionCodesResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MatchSectionCodesResponse) Status ¶
func (r MatchSectionCodesResponse) Status() string
Status returns HTTPResponse.Status
func (MatchSectionCodesResponse) StatusCode ¶
func (r MatchSectionCodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MatchSectionCodesResponseSchema ¶
type MatchSectionCodesResponseSchema struct {
MatchedCodes []string `json:"matchedCodes"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
Semester struct {
Code *string `json:"code"`
Id int `json:"id"`
NameCn *string `json:"nameCn"`
} `json:"semester"`
Suggestions map[string][]string `json:"suggestions"`
Total int `json:"total"`
UnmatchedCodes []string `json:"unmatchedCodes"`
}
MatchSectionCodesResponseSchema defines model for matchSectionCodesResponseSchema.
type MeResponseSchema ¶
type MeResponseSchema struct {
CreatedAt time.Time `json:"createdAt"`
Email *string `json:"email"`
Id string `json:"id"`
Image *string `json:"image"`
IsAdmin *bool `json:"isAdmin"`
Name *string `json:"name"`
UpdatedAt time.Time `json:"updatedAt"`
Username *string `json:"username"`
}
MeResponseSchema defines model for meResponseSchema.
type MetadataResponseSchema ¶
type MetadataResponseSchema struct {
Campuses []struct {
Buildings []struct {
CampusId *int `json:"campusId"`
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"buildings"`
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campuses"`
ClassTypes []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classTypes"`
CourseCategories []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"courseCategories"`
CourseClassifies []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"courseClassifies"`
CourseGradations []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"courseGradations"`
CourseTypes []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"courseTypes"`
EducationLevels []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevels"`
ExamModes []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"examModes"`
TeachLanguages []struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teachLanguages"`
}
MetadataResponseSchema defines model for metadataResponseSchema.
type ModerateAdminCommentJSONRequestBody ¶
type ModerateAdminCommentJSONRequestBody = AdminModerateCommentRequestSchema
ModerateAdminCommentJSONRequestBody defines body for ModerateAdminComment for application/json ContentType.
type ModerateAdminCommentResponse ¶
type ModerateAdminCommentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminModeratedCommentResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ModerateAdminCommentResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *ModerateAdminCommentResponse503Headers
}
func ParseModerateAdminCommentResponse ¶
func ParseModerateAdminCommentResponse(rsp *http.Response) (*ModerateAdminCommentResponse, error)
ParseModerateAdminCommentResponse parses an HTTP response from a ModerateAdminCommentWithResponse call
func (ModerateAdminCommentResponse) ContentType ¶
func (r ModerateAdminCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModerateAdminCommentResponse) GetBody ¶
func (r ModerateAdminCommentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModerateAdminCommentResponse) GetJSON200 ¶
func (r ModerateAdminCommentResponse) GetJSON200() *AdminModeratedCommentResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ModerateAdminCommentResponse) GetJSON400 ¶
func (r ModerateAdminCommentResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ModerateAdminCommentResponse) GetJSON401 ¶
func (r ModerateAdminCommentResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ModerateAdminCommentResponse) GetJSON403 ¶
func (r ModerateAdminCommentResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ModerateAdminCommentResponse) GetJSON404 ¶
func (r ModerateAdminCommentResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ModerateAdminCommentResponse) GetJSON429 ¶
func (r ModerateAdminCommentResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ModerateAdminCommentResponse) GetJSON503 ¶
func (r ModerateAdminCommentResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ModerateAdminCommentResponse) Status ¶
func (r ModerateAdminCommentResponse) Status() string
Status returns HTTPResponse.Status
func (ModerateAdminCommentResponse) StatusCode ¶
func (r ModerateAdminCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModerateAdminCommentResponse429Headers ¶
type ModerateAdminCommentResponse429Headers struct {
RetryAfter *int
}
ModerateAdminCommentResponse429Headers the declared response headers of an HTTP 429 response for ModerateAdminComment
type ModerateAdminCommentResponse503Headers ¶
type ModerateAdminCommentResponse503Headers struct {
RetryAfter *int
}
ModerateAdminCommentResponse503Headers the declared response headers of an HTTP 503 response for ModerateAdminComment
type OauthDeviceAuthorizationRequestSchema ¶
type OauthDeviceAuthorizationRequestSchema struct {
ClientId string `json:"client_id"`
Resource *OauthDeviceAuthorizationRequestSchema_Resource `json:"resource,omitempty"`
Scope *string `json:"scope,omitempty"`
}
OauthDeviceAuthorizationRequestSchema defines model for oauthDeviceAuthorizationRequestSchema.
type OauthDeviceAuthorizationRequestSchemaResource0 ¶
type OauthDeviceAuthorizationRequestSchemaResource0 = string
OauthDeviceAuthorizationRequestSchemaResource0 defines model for OauthDeviceAuthorizationRequestSchema.Resource.0.
type OauthDeviceAuthorizationRequestSchemaResource1 ¶
type OauthDeviceAuthorizationRequestSchemaResource1 = []string
OauthDeviceAuthorizationRequestSchemaResource1 defines model for OauthDeviceAuthorizationRequestSchema.Resource.1.
type OauthDeviceAuthorizationRequestSchema_Resource ¶
type OauthDeviceAuthorizationRequestSchema_Resource struct {
// contains filtered or unexported fields
}
OauthDeviceAuthorizationRequestSchema_Resource defines model for OauthDeviceAuthorizationRequestSchema.Resource.
func (OauthDeviceAuthorizationRequestSchema_Resource) AsOauthDeviceAuthorizationRequestSchemaResource0 ¶
func (t OauthDeviceAuthorizationRequestSchema_Resource) AsOauthDeviceAuthorizationRequestSchemaResource0() (OauthDeviceAuthorizationRequestSchemaResource0, error)
AsOauthDeviceAuthorizationRequestSchemaResource0 returns the union data inside the OauthDeviceAuthorizationRequestSchema_Resource as a OauthDeviceAuthorizationRequestSchemaResource0
func (OauthDeviceAuthorizationRequestSchema_Resource) AsOauthDeviceAuthorizationRequestSchemaResource1 ¶
func (t OauthDeviceAuthorizationRequestSchema_Resource) AsOauthDeviceAuthorizationRequestSchemaResource1() (OauthDeviceAuthorizationRequestSchemaResource1, error)
AsOauthDeviceAuthorizationRequestSchemaResource1 returns the union data inside the OauthDeviceAuthorizationRequestSchema_Resource as a OauthDeviceAuthorizationRequestSchemaResource1
func (*OauthDeviceAuthorizationRequestSchema_Resource) FromOauthDeviceAuthorizationRequestSchemaResource0 ¶
func (t *OauthDeviceAuthorizationRequestSchema_Resource) FromOauthDeviceAuthorizationRequestSchemaResource0(v OauthDeviceAuthorizationRequestSchemaResource0) error
FromOauthDeviceAuthorizationRequestSchemaResource0 overwrites any union data inside the OauthDeviceAuthorizationRequestSchema_Resource as the provided OauthDeviceAuthorizationRequestSchemaResource0
func (*OauthDeviceAuthorizationRequestSchema_Resource) FromOauthDeviceAuthorizationRequestSchemaResource1 ¶
func (t *OauthDeviceAuthorizationRequestSchema_Resource) FromOauthDeviceAuthorizationRequestSchemaResource1(v OauthDeviceAuthorizationRequestSchemaResource1) error
FromOauthDeviceAuthorizationRequestSchemaResource1 overwrites any union data inside the OauthDeviceAuthorizationRequestSchema_Resource as the provided OauthDeviceAuthorizationRequestSchemaResource1
func (OauthDeviceAuthorizationRequestSchema_Resource) MarshalJSON ¶
func (t OauthDeviceAuthorizationRequestSchema_Resource) MarshalJSON() ([]byte, error)
func (*OauthDeviceAuthorizationRequestSchema_Resource) MergeOauthDeviceAuthorizationRequestSchemaResource0 ¶
func (t *OauthDeviceAuthorizationRequestSchema_Resource) MergeOauthDeviceAuthorizationRequestSchemaResource0(v OauthDeviceAuthorizationRequestSchemaResource0) error
MergeOauthDeviceAuthorizationRequestSchemaResource0 performs a merge with any union data inside the OauthDeviceAuthorizationRequestSchema_Resource, using the provided OauthDeviceAuthorizationRequestSchemaResource0
func (*OauthDeviceAuthorizationRequestSchema_Resource) MergeOauthDeviceAuthorizationRequestSchemaResource1 ¶
func (t *OauthDeviceAuthorizationRequestSchema_Resource) MergeOauthDeviceAuthorizationRequestSchemaResource1(v OauthDeviceAuthorizationRequestSchemaResource1) error
MergeOauthDeviceAuthorizationRequestSchemaResource1 performs a merge with any union data inside the OauthDeviceAuthorizationRequestSchema_Resource, using the provided OauthDeviceAuthorizationRequestSchemaResource1
func (*OauthDeviceAuthorizationRequestSchema_Resource) UnmarshalJSON ¶
func (t *OauthDeviceAuthorizationRequestSchema_Resource) UnmarshalJSON(b []byte) error
type OauthDeviceAuthorizationResponseSchema ¶
type OauthDeviceAuthorizationResponseSchema struct {
DeviceCode string `json:"device_code"`
ExpiresIn int `json:"expires_in"`
Interval int `json:"interval"`
UserCode string `json:"user_code"`
VerificationUri string `json:"verification_uri"`
VerificationUriComplete string `json:"verification_uri_complete"`
}
OauthDeviceAuthorizationResponseSchema defines model for oauthDeviceAuthorizationResponseSchema.
type OauthErrorResponseSchema ¶
type OauthErrorResponseSchema struct {
Error string `json:"error"`
ErrorDescription *string `json:"error_description,omitempty"`
}
OauthErrorResponseSchema defines model for oauthErrorResponseSchema.
type OauthTokenRequestSchema ¶
type OauthTokenRequestSchema struct {
ClientId *string `json:"client_id,omitempty"`
ClientSecret *string `json:"client_secret,omitempty"`
Code *string `json:"code,omitempty"`
CodeVerifier *string `json:"code_verifier,omitempty"`
DeviceCode *string `json:"device_code,omitempty"`
GrantType string `json:"grant_type"`
RedirectUri *string `json:"redirect_uri,omitempty"`
RefreshToken *string `json:"refresh_token,omitempty"`
Resource *OauthTokenRequestSchema_Resource `json:"resource,omitempty"`
Scope *string `json:"scope,omitempty"`
}
OauthTokenRequestSchema defines model for oauthTokenRequestSchema.
type OauthTokenRequestSchemaResource0 ¶
type OauthTokenRequestSchemaResource0 = string
OauthTokenRequestSchemaResource0 defines model for OauthTokenRequestSchema.Resource.0.
type OauthTokenRequestSchemaResource1 ¶
type OauthTokenRequestSchemaResource1 = []string
OauthTokenRequestSchemaResource1 defines model for OauthTokenRequestSchema.Resource.1.
type OauthTokenRequestSchema_Resource ¶
type OauthTokenRequestSchema_Resource struct {
// contains filtered or unexported fields
}
OauthTokenRequestSchema_Resource defines model for OauthTokenRequestSchema.Resource.
func (OauthTokenRequestSchema_Resource) AsOauthTokenRequestSchemaResource0 ¶
func (t OauthTokenRequestSchema_Resource) AsOauthTokenRequestSchemaResource0() (OauthTokenRequestSchemaResource0, error)
AsOauthTokenRequestSchemaResource0 returns the union data inside the OauthTokenRequestSchema_Resource as a OauthTokenRequestSchemaResource0
func (OauthTokenRequestSchema_Resource) AsOauthTokenRequestSchemaResource1 ¶
func (t OauthTokenRequestSchema_Resource) AsOauthTokenRequestSchemaResource1() (OauthTokenRequestSchemaResource1, error)
AsOauthTokenRequestSchemaResource1 returns the union data inside the OauthTokenRequestSchema_Resource as a OauthTokenRequestSchemaResource1
func (*OauthTokenRequestSchema_Resource) FromOauthTokenRequestSchemaResource0 ¶
func (t *OauthTokenRequestSchema_Resource) FromOauthTokenRequestSchemaResource0(v OauthTokenRequestSchemaResource0) error
FromOauthTokenRequestSchemaResource0 overwrites any union data inside the OauthTokenRequestSchema_Resource as the provided OauthTokenRequestSchemaResource0
func (*OauthTokenRequestSchema_Resource) FromOauthTokenRequestSchemaResource1 ¶
func (t *OauthTokenRequestSchema_Resource) FromOauthTokenRequestSchemaResource1(v OauthTokenRequestSchemaResource1) error
FromOauthTokenRequestSchemaResource1 overwrites any union data inside the OauthTokenRequestSchema_Resource as the provided OauthTokenRequestSchemaResource1
func (OauthTokenRequestSchema_Resource) MarshalJSON ¶
func (t OauthTokenRequestSchema_Resource) MarshalJSON() ([]byte, error)
func (*OauthTokenRequestSchema_Resource) MergeOauthTokenRequestSchemaResource0 ¶
func (t *OauthTokenRequestSchema_Resource) MergeOauthTokenRequestSchemaResource0(v OauthTokenRequestSchemaResource0) error
MergeOauthTokenRequestSchemaResource0 performs a merge with any union data inside the OauthTokenRequestSchema_Resource, using the provided OauthTokenRequestSchemaResource0
func (*OauthTokenRequestSchema_Resource) MergeOauthTokenRequestSchemaResource1 ¶
func (t *OauthTokenRequestSchema_Resource) MergeOauthTokenRequestSchemaResource1(v OauthTokenRequestSchemaResource1) error
MergeOauthTokenRequestSchemaResource1 performs a merge with any union data inside the OauthTokenRequestSchema_Resource, using the provided OauthTokenRequestSchemaResource1
func (*OauthTokenRequestSchema_Resource) UnmarshalJSON ¶
func (t *OauthTokenRequestSchema_Resource) UnmarshalJSON(b []byte) error
type OauthTokenResponseSchema ¶
type OauthTokenResponseSchema struct {
AccessToken string `json:"access_token"`
ExpiresAt *int `json:"expires_at,omitempty"`
ExpiresIn int `json:"expires_in"`
IdToken *string `json:"id_token,omitempty"`
RefreshToken *string `json:"refresh_token,omitempty"`
Scope *string `json:"scope,omitempty"`
TokenType OauthTokenResponseSchemaTokenType `json:"token_type"`
}
OauthTokenResponseSchema defines model for oauthTokenResponseSchema.
type OauthTokenResponseSchemaTokenType ¶
type OauthTokenResponseSchemaTokenType string
OauthTokenResponseSchemaTokenType defines model for OauthTokenResponseSchema.TokenType.
const (
Bearer OauthTokenResponseSchemaTokenType = "Bearer"
)
Defines values for OauthTokenResponseSchemaTokenType.
func (OauthTokenResponseSchemaTokenType) Valid ¶
func (e OauthTokenResponseSchemaTokenType) Valid() bool
Valid indicates whether the value is a known member of the OauthTokenResponseSchemaTokenType enum.
type OpenApiDocumentResponseSchema ¶
type OpenApiDocumentResponseSchema struct {
Info struct {
Description *string `json:"description,omitempty"`
Title string `json:"title"`
Version string `json:"version"`
} `json:"info"`
Openapi string `json:"openapi"`
Paths map[string]interface{} `json:"paths"`
Servers *[]struct {
Description *string `json:"description,omitempty"`
Url string `json:"url"`
} `json:"servers,omitempty"`
}
OpenApiDocumentResponseSchema defines model for openApiDocumentResponseSchema.
type OpenApiErrorSchema ¶
type OpenApiErrorSchema struct {
Error string `json:"error"`
}
OpenApiErrorSchema defines model for openApiErrorSchema.
type OptionsApiAuthOauth2DeviceAuthorizationResponse ¶
type OptionsApiAuthOauth2DeviceAuthorizationResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseOptionsApiAuthOauth2DeviceAuthorizationResponse ¶
func ParseOptionsApiAuthOauth2DeviceAuthorizationResponse(rsp *http.Response) (*OptionsApiAuthOauth2DeviceAuthorizationResponse, error)
ParseOptionsApiAuthOauth2DeviceAuthorizationResponse parses an HTTP response from a OptionsApiAuthOauth2DeviceAuthorizationWithResponse call
func (OptionsApiAuthOauth2DeviceAuthorizationResponse) ContentType ¶
func (r OptionsApiAuthOauth2DeviceAuthorizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsApiAuthOauth2DeviceAuthorizationResponse) GetBody ¶
func (r OptionsApiAuthOauth2DeviceAuthorizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsApiAuthOauth2DeviceAuthorizationResponse) Status ¶
func (r OptionsApiAuthOauth2DeviceAuthorizationResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsApiAuthOauth2DeviceAuthorizationResponse) StatusCode ¶
func (r OptionsApiAuthOauth2DeviceAuthorizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OptionsApiAuthWellKnownOpenidConfigurationResponse ¶
type OptionsApiAuthWellKnownOpenidConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseOptionsApiAuthWellKnownOpenidConfigurationResponse ¶
func ParseOptionsApiAuthWellKnownOpenidConfigurationResponse(rsp *http.Response) (*OptionsApiAuthWellKnownOpenidConfigurationResponse, error)
ParseOptionsApiAuthWellKnownOpenidConfigurationResponse parses an HTTP response from a OptionsApiAuthWellKnownOpenidConfigurationWithResponse call
func (OptionsApiAuthWellKnownOpenidConfigurationResponse) ContentType ¶
func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsApiAuthWellKnownOpenidConfigurationResponse) GetBody ¶
func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsApiAuthWellKnownOpenidConfigurationResponse) Status ¶
func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsApiAuthWellKnownOpenidConfigurationResponse) StatusCode ¶
func (r OptionsApiAuthWellKnownOpenidConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OptionsApiMcpResponse ¶
type OptionsApiMcpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
}
func ParseOptionsApiMcpResponse ¶
func ParseOptionsApiMcpResponse(rsp *http.Response) (*OptionsApiMcpResponse, error)
ParseOptionsApiMcpResponse parses an HTTP response from a OptionsApiMcpWithResponse call
func (OptionsApiMcpResponse) ContentType ¶
func (r OptionsApiMcpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsApiMcpResponse) GetBody ¶
func (r OptionsApiMcpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsApiMcpResponse) GetJSON403 ¶
func (r OptionsApiMcpResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (OptionsApiMcpResponse) Status ¶
func (r OptionsApiMcpResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsApiMcpResponse) StatusCode ¶
func (r OptionsApiMcpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OptionsWellKnownOauthAuthorizationServerApiAuthResponse ¶
type OptionsWellKnownOauthAuthorizationServerApiAuthResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseOptionsWellKnownOauthAuthorizationServerApiAuthResponse ¶
func ParseOptionsWellKnownOauthAuthorizationServerApiAuthResponse(rsp *http.Response) (*OptionsWellKnownOauthAuthorizationServerApiAuthResponse, error)
ParseOptionsWellKnownOauthAuthorizationServerApiAuthResponse parses an HTTP response from a OptionsWellKnownOauthAuthorizationServerApiAuthWithResponse call
func (OptionsWellKnownOauthAuthorizationServerApiAuthResponse) ContentType ¶
func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsWellKnownOauthAuthorizationServerApiAuthResponse) GetBody ¶
func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsWellKnownOauthAuthorizationServerApiAuthResponse) Status ¶
func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsWellKnownOauthAuthorizationServerApiAuthResponse) StatusCode ¶
func (r OptionsWellKnownOauthAuthorizationServerApiAuthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OptionsWellKnownOauthProtectedResourceApiGraphqlResponse ¶
type OptionsWellKnownOauthProtectedResourceApiGraphqlResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseOptionsWellKnownOauthProtectedResourceApiGraphqlResponse ¶
func ParseOptionsWellKnownOauthProtectedResourceApiGraphqlResponse(rsp *http.Response) (*OptionsWellKnownOauthProtectedResourceApiGraphqlResponse, error)
ParseOptionsWellKnownOauthProtectedResourceApiGraphqlResponse parses an HTTP response from a OptionsWellKnownOauthProtectedResourceApiGraphqlWithResponse call
func (OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) ContentType ¶
func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) GetBody ¶
func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) Status ¶
func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) StatusCode ¶
func (r OptionsWellKnownOauthProtectedResourceApiGraphqlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OptionsWellKnownOauthProtectedResourceApiMcpResponse ¶
type OptionsWellKnownOauthProtectedResourceApiMcpResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseOptionsWellKnownOauthProtectedResourceApiMcpResponse ¶
func ParseOptionsWellKnownOauthProtectedResourceApiMcpResponse(rsp *http.Response) (*OptionsWellKnownOauthProtectedResourceApiMcpResponse, error)
ParseOptionsWellKnownOauthProtectedResourceApiMcpResponse parses an HTTP response from a OptionsWellKnownOauthProtectedResourceApiMcpWithResponse call
func (OptionsWellKnownOauthProtectedResourceApiMcpResponse) ContentType ¶
func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsWellKnownOauthProtectedResourceApiMcpResponse) GetBody ¶
func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsWellKnownOauthProtectedResourceApiMcpResponse) Status ¶
func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsWellKnownOauthProtectedResourceApiMcpResponse) StatusCode ¶
func (r OptionsWellKnownOauthProtectedResourceApiMcpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OptionsWellKnownOpenidConfigurationApiAuthResponse ¶
type OptionsWellKnownOpenidConfigurationApiAuthResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseOptionsWellKnownOpenidConfigurationApiAuthResponse ¶
func ParseOptionsWellKnownOpenidConfigurationApiAuthResponse(rsp *http.Response) (*OptionsWellKnownOpenidConfigurationApiAuthResponse, error)
ParseOptionsWellKnownOpenidConfigurationApiAuthResponse parses an HTTP response from a OptionsWellKnownOpenidConfigurationApiAuthWithResponse call
func (OptionsWellKnownOpenidConfigurationApiAuthResponse) ContentType ¶
func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OptionsWellKnownOpenidConfigurationApiAuthResponse) GetBody ¶
func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OptionsWellKnownOpenidConfigurationApiAuthResponse) Status ¶
func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) Status() string
Status returns HTTPResponse.Status
func (OptionsWellKnownOpenidConfigurationApiAuthResponse) StatusCode ¶
func (r OptionsWellKnownOpenidConfigurationApiAuthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PaginatedCourseResponseSchema ¶
type PaginatedCourseResponseSchema struct {
Data []struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedCourseResponseSchema defines model for paginatedCourseResponseSchema.
type PaginatedScheduleResponseSchema ¶
type PaginatedScheduleResponseSchema struct {
Data []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
Room *struct {
Building *struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"building"`
BuildingId *int `json:"buildingId"`
Code string `json:"code"`
Floor *int `json:"floor"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Remark *string `json:"remark"`
RoomType *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"roomType"`
RoomTypeId *int `json:"roomTypeId"`
Seats int `json:"seats"`
SeatsForSection int `json:"seatsForSection"`
Virtual bool `json:"virtual"`
} `json:"room"`
RoomId *int `json:"roomId"`
ScheduleGroup struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
} `json:"scheduleGroup"`
ScheduleGroupId int `json:"scheduleGroupId"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
TeacherParticipations []struct {
ExerciseClass *bool `json:"exerciseClass"`
Periods *float32 `json:"periods"`
Teacher struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teacher"`
} `json:"teacherParticipations"`
Teachers []struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedScheduleResponseSchema defines model for paginatedScheduleResponseSchema.
type PaginatedSectionHistoryResponseSchema ¶
type PaginatedSectionHistoryResponseSchema struct {
Data []struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Course struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
OpenDepartmentId *int `json:"openDepartmentId"`
RetiredAt *time.Time `json:"retiredAt"`
Semester *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedSectionHistoryResponseSchema defines model for paginatedSectionHistoryResponseSchema.
type PaginatedSectionResponseSchema ¶
type PaginatedSectionResponseSchema struct {
Data []struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Course struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
OpenDepartmentId *int `json:"openDepartmentId"`
Semester *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
} `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
Teachers []struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedSectionResponseSchema defines model for paginatedSectionResponseSchema.
type PaginatedSemesterResponseSchema ¶
type PaginatedSemesterResponseSchema struct {
Data []SemesterSchema `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedSemesterResponseSchema defines model for paginatedSemesterResponseSchema.
type PaginatedTeacherResponseSchema ¶
type PaginatedTeacherResponseSchema struct {
Data []struct {
UnderscoreCount struct {
Sections int `json:"sections"`
} `json:"_count"`
Address *string `json:"address"`
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
DepartmentId *int `json:"departmentId"`
Email *string `json:"email"`
Id int `json:"id"`
JwId int `json:"jwId"`
Mobile *string `json:"mobile"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
TeacherTitle *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teacherTitle"`
TeacherTitleId *int `json:"teacherTitleId"`
Telephone *string `json:"telephone"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedTeacherResponseSchema defines model for paginatedTeacherResponseSchema.
type PaginatedYoungEventResponseSchema ¶
type PaginatedYoungEventResponseSchema struct {
Data []struct {
ActivityLevel *string `json:"activityLevel"`
ActivityLevelCode *string `json:"activityLevelCode"`
ActivityStatusCode *string `json:"activityStatusCode"`
AllowedAttachmentTypes []string `json:"allowedAttachmentTypes"`
AppliedCount *int `json:"appliedCount"`
ApplyEndAt *time.Time `json:"applyEndAt"`
ApplyStartAt *time.Time `json:"applyStartAt"`
AuditedAt *time.Time `json:"auditedAt"`
Capacity *int `json:"capacity"`
Category *string `json:"category"`
CategoryCode *string `json:"categoryCode"`
// ConflictIntervals Known occupied intervals; an absent or empty array does not establish availability.
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
ContactName *string `json:"contactName"`
ContactTel *string `json:"contactTel"`
CreatedAt *time.Time `json:"createdAt"`
CreatedAtUpstream *time.Time `json:"createdAtUpstream"`
Department *string `json:"department"`
DepartmentId *string `json:"departmentId"`
Duration *float32 `json:"duration"`
EndAt *time.Time `json:"endAt"`
ExternalSponsor *string `json:"externalSponsor"`
FavCount *int `json:"favCount"`
Form *string `json:"form"`
FormCode *string `json:"formCode"`
Grades *string `json:"grades"`
Hours *float32 `json:"hours"`
ImageUrl *string `json:"imageUrl"`
IsActive bool `json:"isActive"`
IsOnline *bool `json:"isOnline"`
LastSeenAt *time.Time `json:"lastSeenAt"`
LimitNum *int `json:"limitNum"`
Location *string `json:"location"`
Module *string `json:"module"`
ModuleCode *string `json:"moduleCode"`
Name string `json:"name"`
OnlineMeetingInfo *string `json:"onlineMeetingInfo"`
Organizer *string `json:"organizer"`
OrganizerId *string `json:"organizerId"`
PartakeNum *int `json:"partakeNum"`
Places *[]struct {
PlaceEt *string `json:"placeEt"`
PlaceInfo *string `json:"placeInfo"`
PlaceSt *string `json:"placeSt"`
} `json:"places"`
RequiresSignup *bool `json:"requiresSignup"`
RequiresSignupInfo *bool `json:"requiresSignupInfo"`
ServiceHour *float32 `json:"serviceHour"`
SignupDepartmentIds []string `json:"signupDepartmentIds"`
SignupScopeCode *string `json:"signupScopeCode"`
SignupStatusCode *string `json:"signupStatusCode"`
SourceMissing bool `json:"sourceMissing"`
Sponsor *string `json:"sponsor"`
StartAt *time.Time `json:"startAt"`
Status *string `json:"status"`
SumHours *float32 `json:"sumHours"`
SumPersons *int `json:"sumPersons"`
TagIds []string `json:"tagIds"`
UpdatedAtUpstream *time.Time `json:"updatedAtUpstream"`
UpstreamOrganizerIds []string `json:"upstreamOrganizerIds"`
UpstreamSponsorIds []string `json:"upstreamSponsorIds"`
YoungId string `json:"youngId"`
} `json:"data"`
Meta struct {
Source struct {
LastSyncedAt *time.Time `json:"lastSyncedAt"`
Status PaginatedYoungEventResponseSchemaMetaSourceStatus `json:"status"`
} `json:"source"`
UnknownDateCount int `json:"unknownDateCount"`
} `json:"meta"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedYoungEventResponseSchema defines model for paginatedYoungEventResponseSchema.
type PaginatedYoungEventResponseSchemaMetaSourceStatus ¶
type PaginatedYoungEventResponseSchemaMetaSourceStatus string
PaginatedYoungEventResponseSchemaMetaSourceStatus defines model for PaginatedYoungEventResponseSchema.Meta.Source.Status.
const ( PaginatedYoungEventResponseSchemaMetaSourceStatusFresh PaginatedYoungEventResponseSchemaMetaSourceStatus = "fresh" PaginatedYoungEventResponseSchemaMetaSourceStatusStale PaginatedYoungEventResponseSchemaMetaSourceStatus = "stale" PaginatedYoungEventResponseSchemaMetaSourceStatusUnknown PaginatedYoungEventResponseSchemaMetaSourceStatus = "unknown" )
Defines values for PaginatedYoungEventResponseSchemaMetaSourceStatus.
func (PaginatedYoungEventResponseSchemaMetaSourceStatus) Valid ¶
func (e PaginatedYoungEventResponseSchemaMetaSourceStatus) Valid() bool
Valid indicates whether the value is a known member of the PaginatedYoungEventResponseSchemaMetaSourceStatus enum.
type PaginatedYoungOrganizerResponseSchema ¶
type PaginatedYoungOrganizerResponseSchema struct {
Data []YoungOrganizerSummarySchema `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PaginatedYoungOrganizerResponseSchema defines model for paginatedYoungOrganizerResponseSchema.
type PatchApiTodosBatchJSONRequestBody ¶
type PatchApiTodosBatchJSONRequestBody = TodoCompletionBatchRequestSchema
PatchApiTodosBatchJSONRequestBody defines body for PatchApiTodosBatch for application/json ContentType.
type PatchApiTodosBatchResponse ¶
type PatchApiTodosBatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TodoCompletionBatchResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PatchApiTodosBatchResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PatchApiTodosBatchResponse503Headers
}
func ParsePatchApiTodosBatchResponse ¶
func ParsePatchApiTodosBatchResponse(rsp *http.Response) (*PatchApiTodosBatchResponse, error)
ParsePatchApiTodosBatchResponse parses an HTTP response from a PatchApiTodosBatchWithResponse call
func (PatchApiTodosBatchResponse) ContentType ¶
func (r PatchApiTodosBatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchApiTodosBatchResponse) GetBody ¶
func (r PatchApiTodosBatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchApiTodosBatchResponse) GetJSON200 ¶
func (r PatchApiTodosBatchResponse) GetJSON200() *TodoCompletionBatchResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchApiTodosBatchResponse) GetJSON400 ¶
func (r PatchApiTodosBatchResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchApiTodosBatchResponse) GetJSON401 ¶
func (r PatchApiTodosBatchResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchApiTodosBatchResponse) GetJSON429 ¶
func (r PatchApiTodosBatchResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PatchApiTodosBatchResponse) GetJSON503 ¶
func (r PatchApiTodosBatchResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PatchApiTodosBatchResponse) Status ¶
func (r PatchApiTodosBatchResponse) Status() string
Status returns HTTPResponse.Status
func (PatchApiTodosBatchResponse) StatusCode ¶
func (r PatchApiTodosBatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchApiTodosBatchResponse429Headers ¶
type PatchApiTodosBatchResponse429Headers struct {
RetryAfter *int
}
PatchApiTodosBatchResponse429Headers the declared response headers of an HTTP 429 response for PatchApiTodosBatch
type PatchApiTodosBatchResponse503Headers ¶
type PatchApiTodosBatchResponse503Headers struct {
RetryAfter *int
}
PatchApiTodosBatchResponse503Headers the declared response headers of an HTTP 503 response for PatchApiTodosBatch
type PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody ¶
type PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody = SubscriptionKindUpdateRequestSchema
PatchApiWorkspaceSubscriptionsJwIdJSONRequestBody defines body for PatchApiWorkspaceSubscriptionsJwId for application/json ContentType.
type PatchApiWorkspaceSubscriptionsJwIdResponse ¶
type PatchApiWorkspaceSubscriptionsJwIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscriptionKindUpdateResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PatchApiWorkspaceSubscriptionsJwIdResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PatchApiWorkspaceSubscriptionsJwIdResponse503Headers
}
func ParsePatchApiWorkspaceSubscriptionsJwIdResponse ¶
func ParsePatchApiWorkspaceSubscriptionsJwIdResponse(rsp *http.Response) (*PatchApiWorkspaceSubscriptionsJwIdResponse, error)
ParsePatchApiWorkspaceSubscriptionsJwIdResponse parses an HTTP response from a PatchApiWorkspaceSubscriptionsJwIdWithResponse call
func (PatchApiWorkspaceSubscriptionsJwIdResponse) ContentType ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetBody ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON200 ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON200() *SubscriptionKindUpdateResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON400 ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON401 ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON404 ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON429 ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON503 ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PatchApiWorkspaceSubscriptionsJwIdResponse) Status ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchApiWorkspaceSubscriptionsJwIdResponse) StatusCode ¶
func (r PatchApiWorkspaceSubscriptionsJwIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchApiWorkspaceSubscriptionsJwIdResponse429Headers ¶
type PatchApiWorkspaceSubscriptionsJwIdResponse429Headers struct {
RetryAfter *int
}
PatchApiWorkspaceSubscriptionsJwIdResponse429Headers the declared response headers of an HTTP 429 response for PatchApiWorkspaceSubscriptionsJwId
type PatchApiWorkspaceSubscriptionsJwIdResponse503Headers ¶
type PatchApiWorkspaceSubscriptionsJwIdResponse503Headers struct {
RetryAfter *int
}
PatchApiWorkspaceSubscriptionsJwIdResponse503Headers the declared response headers of an HTTP 503 response for PatchApiWorkspaceSubscriptionsJwId
type PersonalCalendarPageSchema ¶
type PersonalCalendarPageSchema struct {
Data []struct {
At *time.Time `json:"at"`
CompletionRequired *bool `json:"completionRequired,omitempty"`
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
Content *string `json:"content,omitempty"`
EndsAt *time.Time `json:"endsAt"`
ExamMode *string `json:"examMode,omitempty"`
HasTime *bool `json:"hasTime,omitempty"`
Id string `json:"id"`
Location *string `json:"location"`
Priority *PersonalCalendarPageSchemaDataPriority `json:"priority,omitempty"`
SectionCode *string `json:"sectionCode,omitempty"`
SectionJwId *int `json:"sectionJwId,omitempty"`
SubscriptionKind *PersonalCalendarPageSchemaDataSubscriptionKind `json:"subscriptionKind,omitempty"`
Target *struct {
Id string `json:"id"`
Kind PersonalCalendarPageSchemaDataTargetKind `json:"kind"`
} `json:"target,omitempty"`
Teachers *[]string `json:"teachers,omitempty"`
Title string `json:"title"`
Type PersonalCalendarPageSchemaDataType `json:"type"`
Url string `json:"url"`
YoungId *string `json:"youngId"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PersonalCalendarPageSchema defines model for personalCalendarPageSchema.
type PersonalCalendarPageSchemaDataPriority ¶
type PersonalCalendarPageSchemaDataPriority string
PersonalCalendarPageSchemaDataPriority defines model for PersonalCalendarPageSchema.Data.Priority.
const ( PersonalCalendarPageSchemaDataPriorityHigh PersonalCalendarPageSchemaDataPriority = "high" PersonalCalendarPageSchemaDataPriorityLow PersonalCalendarPageSchemaDataPriority = "low" PersonalCalendarPageSchemaDataPriorityMedium PersonalCalendarPageSchemaDataPriority = "medium" )
Defines values for PersonalCalendarPageSchemaDataPriority.
func (PersonalCalendarPageSchemaDataPriority) Valid ¶
func (e PersonalCalendarPageSchemaDataPriority) Valid() bool
Valid indicates whether the value is a known member of the PersonalCalendarPageSchemaDataPriority enum.
type PersonalCalendarPageSchemaDataSubscriptionKind ¶
type PersonalCalendarPageSchemaDataSubscriptionKind string
PersonalCalendarPageSchemaDataSubscriptionKind defines model for PersonalCalendarPageSchema.Data.SubscriptionKind.
const ( PersonalCalendarPageSchemaDataSubscriptionKindAuditor PersonalCalendarPageSchemaDataSubscriptionKind = "auditor" PersonalCalendarPageSchemaDataSubscriptionKindRegular PersonalCalendarPageSchemaDataSubscriptionKind = "regular" PersonalCalendarPageSchemaDataSubscriptionKindTeachingAssistant PersonalCalendarPageSchemaDataSubscriptionKind = "teaching_assistant" )
Defines values for PersonalCalendarPageSchemaDataSubscriptionKind.
func (PersonalCalendarPageSchemaDataSubscriptionKind) Valid ¶
func (e PersonalCalendarPageSchemaDataSubscriptionKind) Valid() bool
Valid indicates whether the value is a known member of the PersonalCalendarPageSchemaDataSubscriptionKind enum.
type PersonalCalendarPageSchemaDataTargetKind ¶
type PersonalCalendarPageSchemaDataTargetKind string
PersonalCalendarPageSchemaDataTargetKind defines model for PersonalCalendarPageSchema.Data.Target.Kind.
const ( PersonalCalendarPageSchemaDataTargetKindExam PersonalCalendarPageSchemaDataTargetKind = "exam" PersonalCalendarPageSchemaDataTargetKindHomework PersonalCalendarPageSchemaDataTargetKind = "homework" PersonalCalendarPageSchemaDataTargetKindSection PersonalCalendarPageSchemaDataTargetKind = "section" PersonalCalendarPageSchemaDataTargetKindTodo PersonalCalendarPageSchemaDataTargetKind = "todo" PersonalCalendarPageSchemaDataTargetKindYoungEvent PersonalCalendarPageSchemaDataTargetKind = "young_event" )
Defines values for PersonalCalendarPageSchemaDataTargetKind.
func (PersonalCalendarPageSchemaDataTargetKind) Valid ¶
func (e PersonalCalendarPageSchemaDataTargetKind) Valid() bool
Valid indicates whether the value is a known member of the PersonalCalendarPageSchemaDataTargetKind enum.
type PersonalCalendarPageSchemaDataType ¶
type PersonalCalendarPageSchemaDataType string
PersonalCalendarPageSchemaDataType defines model for PersonalCalendarPageSchema.Data.Type.
const ( PersonalCalendarPageSchemaDataTypeExam PersonalCalendarPageSchemaDataType = "exam" PersonalCalendarPageSchemaDataTypeHomeworkDue PersonalCalendarPageSchemaDataType = "homework_due" PersonalCalendarPageSchemaDataTypeSchedule PersonalCalendarPageSchemaDataType = "schedule" PersonalCalendarPageSchemaDataTypeTodoDue PersonalCalendarPageSchemaDataType = "todo_due" PersonalCalendarPageSchemaDataTypeYoungEvent PersonalCalendarPageSchemaDataType = "young_event" )
Defines values for PersonalCalendarPageSchemaDataType.
func (PersonalCalendarPageSchemaDataType) Valid ¶
func (e PersonalCalendarPageSchemaDataType) Valid() bool
Valid indicates whether the value is a known member of the PersonalCalendarPageSchemaDataType enum.
type PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody ¶
type PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody = OauthDeviceAuthorizationRequestSchema
PostApiAuthOauth2DeviceAuthorizationFormdataRequestBody defines body for PostApiAuthOauth2DeviceAuthorization for application/x-www-form-urlencoded ContentType.
type PostApiAuthOauth2DeviceAuthorizationResponse ¶
type PostApiAuthOauth2DeviceAuthorizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OauthDeviceAuthorizationResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OauthErrorResponseSchema
}
func ParsePostApiAuthOauth2DeviceAuthorizationResponse ¶
func ParsePostApiAuthOauth2DeviceAuthorizationResponse(rsp *http.Response) (*PostApiAuthOauth2DeviceAuthorizationResponse, error)
ParsePostApiAuthOauth2DeviceAuthorizationResponse parses an HTTP response from a PostApiAuthOauth2DeviceAuthorizationWithResponse call
func (PostApiAuthOauth2DeviceAuthorizationResponse) ContentType ¶
func (r PostApiAuthOauth2DeviceAuthorizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiAuthOauth2DeviceAuthorizationResponse) GetBody ¶
func (r PostApiAuthOauth2DeviceAuthorizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiAuthOauth2DeviceAuthorizationResponse) GetJSON200 ¶
func (r PostApiAuthOauth2DeviceAuthorizationResponse) GetJSON200() *OauthDeviceAuthorizationResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostApiAuthOauth2DeviceAuthorizationResponse) GetJSON400 ¶
func (r PostApiAuthOauth2DeviceAuthorizationResponse) GetJSON400() *OauthErrorResponseSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostApiAuthOauth2DeviceAuthorizationResponse) Status ¶
func (r PostApiAuthOauth2DeviceAuthorizationResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiAuthOauth2DeviceAuthorizationResponse) StatusCode ¶
func (r PostApiAuthOauth2DeviceAuthorizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiAuthOauth2TokenFormdataRequestBody ¶
type PostApiAuthOauth2TokenFormdataRequestBody = OauthTokenRequestSchema
PostApiAuthOauth2TokenFormdataRequestBody defines body for PostApiAuthOauth2Token for application/x-www-form-urlencoded ContentType.
type PostApiAuthOauth2TokenResponse ¶
type PostApiAuthOauth2TokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OauthTokenResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OauthErrorResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OauthErrorResponseSchema
}
func ParsePostApiAuthOauth2TokenResponse ¶
func ParsePostApiAuthOauth2TokenResponse(rsp *http.Response) (*PostApiAuthOauth2TokenResponse, error)
ParsePostApiAuthOauth2TokenResponse parses an HTTP response from a PostApiAuthOauth2TokenWithResponse call
func (PostApiAuthOauth2TokenResponse) ContentType ¶
func (r PostApiAuthOauth2TokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiAuthOauth2TokenResponse) GetBody ¶
func (r PostApiAuthOauth2TokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiAuthOauth2TokenResponse) GetJSON200 ¶
func (r PostApiAuthOauth2TokenResponse) GetJSON200() *OauthTokenResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostApiAuthOauth2TokenResponse) GetJSON400 ¶
func (r PostApiAuthOauth2TokenResponse) GetJSON400() *OauthErrorResponseSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostApiAuthOauth2TokenResponse) GetJSON401 ¶
func (r PostApiAuthOauth2TokenResponse) GetJSON401() *OauthErrorResponseSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostApiAuthOauth2TokenResponse) Status ¶
func (r PostApiAuthOauth2TokenResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiAuthOauth2TokenResponse) StatusCode ¶
func (r PostApiAuthOauth2TokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiIngestionPublicationsBatchesJSONRequestBody ¶
type PostApiIngestionPublicationsBatchesJSONRequestBody = PublicationIngestionBatchRequestSchema
PostApiIngestionPublicationsBatchesJSONRequestBody defines body for PostApiIngestionPublicationsBatches for application/json ContentType.
type PostApiIngestionPublicationsBatchesResponse ¶
type PostApiIngestionPublicationsBatchesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicationIngestionBatchResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *OpenApiErrorSchema
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostApiIngestionPublicationsBatchesResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PostApiIngestionPublicationsBatchesResponse503Headers
}
func ParsePostApiIngestionPublicationsBatchesResponse ¶
func ParsePostApiIngestionPublicationsBatchesResponse(rsp *http.Response) (*PostApiIngestionPublicationsBatchesResponse, error)
ParsePostApiIngestionPublicationsBatchesResponse parses an HTTP response from a PostApiIngestionPublicationsBatchesWithResponse call
func (PostApiIngestionPublicationsBatchesResponse) ContentType ¶
func (r PostApiIngestionPublicationsBatchesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiIngestionPublicationsBatchesResponse) GetBody ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiIngestionPublicationsBatchesResponse) GetJSON200 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON200() *PublicationIngestionBatchResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) GetJSON400 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) GetJSON401 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) GetJSON409 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON409() *OpenApiErrorSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) GetJSON413 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON413() *OpenApiErrorSchema
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) GetJSON429 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) GetJSON503 ¶
func (r PostApiIngestionPublicationsBatchesResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostApiIngestionPublicationsBatchesResponse) Status ¶
func (r PostApiIngestionPublicationsBatchesResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiIngestionPublicationsBatchesResponse) StatusCode ¶
func (r PostApiIngestionPublicationsBatchesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiIngestionPublicationsBatchesResponse429Headers ¶
type PostApiIngestionPublicationsBatchesResponse429Headers struct {
RetryAfter *int
}
PostApiIngestionPublicationsBatchesResponse429Headers the declared response headers of an HTTP 429 response for PostApiIngestionPublicationsBatches
type PostApiIngestionPublicationsBatchesResponse503Headers ¶
type PostApiIngestionPublicationsBatchesResponse503Headers struct {
RetryAfter *int
}
PostApiIngestionPublicationsBatchesResponse503Headers the declared response headers of an HTTP 503 response for PostApiIngestionPublicationsBatches
type PostApiIngestionPublicationsObjectsPlanJSONRequestBody ¶
type PostApiIngestionPublicationsObjectsPlanJSONRequestBody = PublicationObjectPlanRequestSchema
PostApiIngestionPublicationsObjectsPlanJSONRequestBody defines body for PostApiIngestionPublicationsObjectsPlan for application/json ContentType.
type PostApiIngestionPublicationsObjectsPlanResponse ¶
type PostApiIngestionPublicationsObjectsPlanResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicationObjectPlanResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostApiIngestionPublicationsObjectsPlanResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PostApiIngestionPublicationsObjectsPlanResponse503Headers
}
func ParsePostApiIngestionPublicationsObjectsPlanResponse ¶
func ParsePostApiIngestionPublicationsObjectsPlanResponse(rsp *http.Response) (*PostApiIngestionPublicationsObjectsPlanResponse, error)
ParsePostApiIngestionPublicationsObjectsPlanResponse parses an HTTP response from a PostApiIngestionPublicationsObjectsPlanWithResponse call
func (PostApiIngestionPublicationsObjectsPlanResponse) ContentType ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiIngestionPublicationsObjectsPlanResponse) GetBody ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiIngestionPublicationsObjectsPlanResponse) GetJSON200 ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON200() *PublicationObjectPlanResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostApiIngestionPublicationsObjectsPlanResponse) GetJSON400 ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostApiIngestionPublicationsObjectsPlanResponse) GetJSON401 ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostApiIngestionPublicationsObjectsPlanResponse) GetJSON404 ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostApiIngestionPublicationsObjectsPlanResponse) GetJSON429 ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostApiIngestionPublicationsObjectsPlanResponse) GetJSON503 ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostApiIngestionPublicationsObjectsPlanResponse) Status ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiIngestionPublicationsObjectsPlanResponse) StatusCode ¶
func (r PostApiIngestionPublicationsObjectsPlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiIngestionPublicationsObjectsPlanResponse429Headers ¶
type PostApiIngestionPublicationsObjectsPlanResponse429Headers struct {
RetryAfter *int
}
PostApiIngestionPublicationsObjectsPlanResponse429Headers the declared response headers of an HTTP 429 response for PostApiIngestionPublicationsObjectsPlan
type PostApiIngestionPublicationsObjectsPlanResponse503Headers ¶
type PostApiIngestionPublicationsObjectsPlanResponse503Headers struct {
RetryAfter *int
}
PostApiIngestionPublicationsObjectsPlanResponse503Headers the declared response headers of an HTTP 503 response for PostApiIngestionPublicationsObjectsPlan
type PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody ¶
type PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody = MatchSectionCodesRequestSchema
PostApiWorkspaceSubscriptionsImportCodesJSONRequestBody defines body for PostApiWorkspaceSubscriptionsImportCodes for application/json ContentType.
type PostApiWorkspaceSubscriptionsImportCodesResponse ¶
type PostApiWorkspaceSubscriptionsImportCodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CalendarSubscriptionImportResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostApiWorkspaceSubscriptionsImportCodesResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PostApiWorkspaceSubscriptionsImportCodesResponse503Headers
}
func ParsePostApiWorkspaceSubscriptionsImportCodesResponse ¶
func ParsePostApiWorkspaceSubscriptionsImportCodesResponse(rsp *http.Response) (*PostApiWorkspaceSubscriptionsImportCodesResponse, error)
ParsePostApiWorkspaceSubscriptionsImportCodesResponse parses an HTTP response from a PostApiWorkspaceSubscriptionsImportCodesWithResponse call
func (PostApiWorkspaceSubscriptionsImportCodesResponse) ContentType ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetBody ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON200 ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON200() *CalendarSubscriptionImportResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON400 ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON401 ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON404 ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON429 ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON503 ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostApiWorkspaceSubscriptionsImportCodesResponse) Status ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiWorkspaceSubscriptionsImportCodesResponse) StatusCode ¶
func (r PostApiWorkspaceSubscriptionsImportCodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiWorkspaceSubscriptionsImportCodesResponse429Headers ¶
type PostApiWorkspaceSubscriptionsImportCodesResponse429Headers struct {
RetryAfter *int
}
PostApiWorkspaceSubscriptionsImportCodesResponse429Headers the declared response headers of an HTTP 429 response for PostApiWorkspaceSubscriptionsImportCodes
type PostApiWorkspaceSubscriptionsImportCodesResponse503Headers ¶
type PostApiWorkspaceSubscriptionsImportCodesResponse503Headers struct {
RetryAfter *int
}
PostApiWorkspaceSubscriptionsImportCodesResponse503Headers the declared response headers of an HTTP 503 response for PostApiWorkspaceSubscriptionsImportCodes
type PostApiWorkspaceYoungNotificationsIdReadResponse ¶
type PostApiWorkspaceYoungNotificationsIdReadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungNotificationReadSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PostApiWorkspaceYoungNotificationsIdReadResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PostApiWorkspaceYoungNotificationsIdReadResponse503Headers
}
func ParsePostApiWorkspaceYoungNotificationsIdReadResponse ¶
func ParsePostApiWorkspaceYoungNotificationsIdReadResponse(rsp *http.Response) (*PostApiWorkspaceYoungNotificationsIdReadResponse, error)
ParsePostApiWorkspaceYoungNotificationsIdReadResponse parses an HTTP response from a PostApiWorkspaceYoungNotificationsIdReadWithResponse call
func (PostApiWorkspaceYoungNotificationsIdReadResponse) ContentType ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostApiWorkspaceYoungNotificationsIdReadResponse) GetBody ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON200 ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON200() *YoungNotificationReadSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON401 ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON404 ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON429 ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON503 ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostApiWorkspaceYoungNotificationsIdReadResponse) Status ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiWorkspaceYoungNotificationsIdReadResponse) StatusCode ¶
func (r PostApiWorkspaceYoungNotificationsIdReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiWorkspaceYoungNotificationsIdReadResponse429Headers ¶
type PostApiWorkspaceYoungNotificationsIdReadResponse429Headers struct {
RetryAfter *int
}
PostApiWorkspaceYoungNotificationsIdReadResponse429Headers the declared response headers of an HTTP 429 response for PostApiWorkspaceYoungNotificationsIdRead
type PostApiWorkspaceYoungNotificationsIdReadResponse503Headers ¶
type PostApiWorkspaceYoungNotificationsIdReadResponse503Headers struct {
RetryAfter *int
}
PostApiWorkspaceYoungNotificationsIdReadResponse503Headers the declared response headers of an HTTP 503 response for PostApiWorkspaceYoungNotificationsIdRead
type PublicPublicationDetailSchema ¶
type PublicPublicationDetailSchema struct {
AlsoPublishedIn []struct {
CanonicalUrl string `json:"canonicalUrl"`
Id string `json:"id"`
PublishedAt *time.Time `json:"publishedAt"`
Source struct {
Id string `json:"id"`
Name string `json:"name"`
// OrganizationLevel Source organization level. Currently one of: university, office, department, college, center, research, service, program, society, journal, student, unknown. Treat an unrecognized value as unknown rather than an error.
OrganizationLevel string `json:"organizationLevel"`
} `json:"source"`
} `json:"alsoPublishedIn"`
CanonicalUrl string `json:"canonicalUrl"`
Id string `json:"id"`
PublicationType PublicPublicationDetailSchemaPublicationType `json:"publicationType"`
// RenderedBodyHtml Sanitized Markdown HTML with revision image metadata and plain-text captions in source order. Empty when bodyMarkdown is unavailable.
RenderedBodyHtml string `json:"renderedBodyHtml"`
Revision struct {
Author *string `json:"author"`
BodyMarkdown *string `json:"bodyMarkdown"`
BodyText *string `json:"bodyText"`
Category *string `json:"category"`
ClassifierVersion *string `json:"classifierVersion"`
Editor *string `json:"editor"`
ExtractionMethod *string `json:"extractionMethod"`
Id string `json:"id"`
Images []struct {
AltText *string `json:"altText"`
Caption *string `json:"caption"`
Id string `json:"id"`
Title *string `json:"title"`
Url string `json:"url"`
} `json:"images"`
Objects []struct {
AltText *string `json:"altText"`
ContentType string `json:"contentType"`
Filename *string `json:"filename"`
Kind PublicPublicationDetailSchemaRevisionObjectsKind `json:"kind"`
Sha256 string `json:"sha256"`
Size int `json:"size"`
SortOrder *int `json:"sortOrder"`
SourceUrl *string `json:"sourceUrl"`
Status PublicPublicationDetailSchemaRevisionObjectsStatus `json:"status"`
Url string `json:"url"`
} `json:"objects"`
ObservedAt time.Time `json:"observedAt"`
OriginalPublisher *string `json:"originalPublisher"`
PublishedAt *time.Time `json:"publishedAt"`
Reporter *string `json:"reporter"`
RevisionHash string `json:"revisionHash"`
SourcePageUrl *string `json:"sourcePageUrl"`
Summary *string `json:"summary"`
Title string `json:"title"`
UpdatedAtSource *time.Time `json:"updatedAtSource"`
} `json:"revision"`
Source struct {
Id string `json:"id"`
Name string `json:"name"`
// OrganizationLevel Source organization level. Currently one of: university, office, department, college, center, research, service, program, society, journal, student, unknown. Treat an unrecognized value as unknown rather than an error.
OrganizationLevel string `json:"organizationLevel"`
} `json:"source"`
}
PublicPublicationDetailSchema defines model for publicPublicationDetailSchema.
type PublicPublicationDetailSchemaPublicationType ¶
type PublicPublicationDetailSchemaPublicationType string
PublicPublicationDetailSchemaPublicationType defines model for PublicPublicationDetailSchema.PublicationType.
const ( PublicPublicationDetailSchemaPublicationTypeNews PublicPublicationDetailSchemaPublicationType = "news" PublicPublicationDetailSchemaPublicationTypeNotice PublicPublicationDetailSchemaPublicationType = "notice" )
Defines values for PublicPublicationDetailSchemaPublicationType.
func (PublicPublicationDetailSchemaPublicationType) Valid ¶
func (e PublicPublicationDetailSchemaPublicationType) Valid() bool
Valid indicates whether the value is a known member of the PublicPublicationDetailSchemaPublicationType enum.
type PublicPublicationDetailSchemaRevisionObjectsKind ¶
type PublicPublicationDetailSchemaRevisionObjectsKind string
PublicPublicationDetailSchemaRevisionObjectsKind defines model for PublicPublicationDetailSchema.Revision.Objects.Kind.
const ( PublicPublicationDetailSchemaRevisionObjectsKindAsset PublicPublicationDetailSchemaRevisionObjectsKind = "asset" PublicPublicationDetailSchemaRevisionObjectsKindBodyHtml PublicPublicationDetailSchemaRevisionObjectsKind = "body_html" PublicPublicationDetailSchemaRevisionObjectsKindBodyMarkdown PublicPublicationDetailSchemaRevisionObjectsKind = "body_markdown" PublicPublicationDetailSchemaRevisionObjectsKindMedia PublicPublicationDetailSchemaRevisionObjectsKind = "media" PublicPublicationDetailSchemaRevisionObjectsKindRawPage PublicPublicationDetailSchemaRevisionObjectsKind = "raw_page" )
Defines values for PublicPublicationDetailSchemaRevisionObjectsKind.
func (PublicPublicationDetailSchemaRevisionObjectsKind) Valid ¶
func (e PublicPublicationDetailSchemaRevisionObjectsKind) Valid() bool
Valid indicates whether the value is a known member of the PublicPublicationDetailSchemaRevisionObjectsKind enum.
type PublicPublicationDetailSchemaRevisionObjectsStatus ¶
type PublicPublicationDetailSchemaRevisionObjectsStatus string
PublicPublicationDetailSchemaRevisionObjectsStatus defines model for PublicPublicationDetailSchema.Revision.Objects.Status.
const ( PublicPublicationDetailSchemaRevisionObjectsStatusLinked PublicPublicationDetailSchemaRevisionObjectsStatus = "linked" PublicPublicationDetailSchemaRevisionObjectsStatusVerified PublicPublicationDetailSchemaRevisionObjectsStatus = "verified" )
Defines values for PublicPublicationDetailSchemaRevisionObjectsStatus.
func (PublicPublicationDetailSchemaRevisionObjectsStatus) Valid ¶
func (e PublicPublicationDetailSchemaRevisionObjectsStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicPublicationDetailSchemaRevisionObjectsStatus enum.
type PublicPublicationSourceDirectoryResponseSchema ¶
type PublicPublicationSourceDirectoryResponseSchema struct {
Groups []struct {
OrganizationLevel PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel `json:"organizationLevel"`
PublicationCount int `json:"publicationCount"`
SourceCount int `json:"sourceCount"`
Sources []struct {
Hosts []string `json:"hosts"`
Id string `json:"id"`
LastPublishedAt *time.Time `json:"lastPublishedAt"`
Name string `json:"name"`
OrganizationLevel PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel `json:"organizationLevel"`
PublicationCount int `json:"publicationCount"`
} `json:"sources"`
} `json:"groups"`
Totals struct {
PublicationCount int `json:"publicationCount"`
SourceCount int `json:"sourceCount"`
} `json:"totals"`
}
PublicPublicationSourceDirectoryResponseSchema defines model for publicPublicationSourceDirectoryResponseSchema.
type PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel ¶
type PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel string
PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel defines model for PublicPublicationSourceDirectoryResponseSchema.Groups.OrganizationLevel.
const ( PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelCenter PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "center" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelCollege PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "college" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelDepartment PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "department" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelJournal PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "journal" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelOffice PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "office" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelProgram PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "program" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelResearch PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "research" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelService PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "service" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelSociety PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "society" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelStudent PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "student" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelUniversity PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "university" PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevelUnknown PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel = "unknown" )
Defines values for PublicPublicationSourceDirectoryResponseSchemaGroupsOrganizationLevel.
type PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel ¶
type PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel string
PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel defines model for PublicPublicationSourceDirectoryResponseSchema.Groups.Sources.OrganizationLevel.
const ( PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelCenter PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "center" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelCollege PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "college" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelDepartment PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "department" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelJournal PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "journal" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelOffice PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "office" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelProgram PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "program" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelResearch PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "research" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelService PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "service" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelSociety PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "society" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelStudent PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "student" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelUniversity PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "university" PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevelUnknown PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel = "unknown" )
Defines values for PublicPublicationSourceDirectoryResponseSchemaGroupsSourcesOrganizationLevel.
type PublicPublicationsResponseSchema ¶
type PublicPublicationsResponseSchema struct {
Data []struct {
CanonicalUrl string `json:"canonicalUrl"`
FoldGroup *struct {
SiblingCount int `json:"siblingCount"`
} `json:"foldGroup,omitempty"`
Id string `json:"id"`
Objects []struct {
AltText *string `json:"altText"`
ContentType string `json:"contentType"`
Filename *string `json:"filename"`
Kind PublicPublicationsResponseSchemaDataObjectsKind `json:"kind"`
Sha256 string `json:"sha256"`
Size int `json:"size"`
SortOrder *int `json:"sortOrder"`
SourceUrl *string `json:"sourceUrl"`
Status PublicPublicationsResponseSchemaDataObjectsStatus `json:"status"`
Url string `json:"url"`
} `json:"objects"`
PublicationType PublicPublicationsResponseSchemaDataPublicationType `json:"publicationType"`
Revision struct {
Author *string `json:"author"`
Category *string `json:"category"`
Editor *string `json:"editor"`
Id string `json:"id"`
ObservedAt time.Time `json:"observedAt"`
OriginalPublisher *string `json:"originalPublisher"`
PublishedAt *time.Time `json:"publishedAt"`
Reporter *string `json:"reporter"`
RevisionHash string `json:"revisionHash"`
SourcePageUrl *string `json:"sourcePageUrl"`
Summary *string `json:"summary"`
Title string `json:"title"`
UpdatedAtSource *time.Time `json:"updatedAtSource"`
} `json:"revision"`
Source struct {
Id string `json:"id"`
Name string `json:"name"`
// OrganizationLevel Source organization level. Currently one of: university, office, department, college, center, research, service, program, society, journal, student, unknown. Treat an unrecognized value as unknown rather than an error.
OrganizationLevel string `json:"organizationLevel"`
} `json:"source"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
PublicPublicationsResponseSchema defines model for publicPublicationsResponseSchema.
type PublicPublicationsResponseSchemaDataObjectsKind ¶
type PublicPublicationsResponseSchemaDataObjectsKind string
PublicPublicationsResponseSchemaDataObjectsKind defines model for PublicPublicationsResponseSchema.Data.Objects.Kind.
const ( PublicPublicationsResponseSchemaDataObjectsKindAsset PublicPublicationsResponseSchemaDataObjectsKind = "asset" PublicPublicationsResponseSchemaDataObjectsKindBodyHtml PublicPublicationsResponseSchemaDataObjectsKind = "body_html" PublicPublicationsResponseSchemaDataObjectsKindBodyMarkdown PublicPublicationsResponseSchemaDataObjectsKind = "body_markdown" PublicPublicationsResponseSchemaDataObjectsKindMedia PublicPublicationsResponseSchemaDataObjectsKind = "media" PublicPublicationsResponseSchemaDataObjectsKindRawPage PublicPublicationsResponseSchemaDataObjectsKind = "raw_page" )
Defines values for PublicPublicationsResponseSchemaDataObjectsKind.
func (PublicPublicationsResponseSchemaDataObjectsKind) Valid ¶
func (e PublicPublicationsResponseSchemaDataObjectsKind) Valid() bool
Valid indicates whether the value is a known member of the PublicPublicationsResponseSchemaDataObjectsKind enum.
type PublicPublicationsResponseSchemaDataObjectsStatus ¶
type PublicPublicationsResponseSchemaDataObjectsStatus string
PublicPublicationsResponseSchemaDataObjectsStatus defines model for PublicPublicationsResponseSchema.Data.Objects.Status.
const ( PublicPublicationsResponseSchemaDataObjectsStatusLinked PublicPublicationsResponseSchemaDataObjectsStatus = "linked" PublicPublicationsResponseSchemaDataObjectsStatusVerified PublicPublicationsResponseSchemaDataObjectsStatus = "verified" )
Defines values for PublicPublicationsResponseSchemaDataObjectsStatus.
func (PublicPublicationsResponseSchemaDataObjectsStatus) Valid ¶
func (e PublicPublicationsResponseSchemaDataObjectsStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicPublicationsResponseSchemaDataObjectsStatus enum.
type PublicPublicationsResponseSchemaDataPublicationType ¶
type PublicPublicationsResponseSchemaDataPublicationType string
PublicPublicationsResponseSchemaDataPublicationType defines model for PublicPublicationsResponseSchema.Data.PublicationType.
const ( PublicPublicationsResponseSchemaDataPublicationTypeNews PublicPublicationsResponseSchemaDataPublicationType = "news" PublicPublicationsResponseSchemaDataPublicationTypeNotice PublicPublicationsResponseSchemaDataPublicationType = "notice" )
Defines values for PublicPublicationsResponseSchemaDataPublicationType.
func (PublicPublicationsResponseSchemaDataPublicationType) Valid ¶
func (e PublicPublicationsResponseSchemaDataPublicationType) Valid() bool
Valid indicates whether the value is a known member of the PublicPublicationsResponseSchemaDataPublicationType enum.
type PublicUserProfileResponseSchema ¶
type PublicUserProfileResponseSchema struct {
TotalContributions int `json:"totalContributions"`
User struct {
UnderscoreCount struct {
Comments int `json:"comments"`
HomeworksCreated int `json:"homeworksCreated"`
Uploads int `json:"uploads"`
} `json:"_count"`
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"user"`
Weeks [][]struct {
Count int `json:"count"`
Date string `json:"date"`
} `json:"weeks"`
}
PublicUserProfileResponseSchema defines model for publicUserProfileResponseSchema.
type PublicationIngestionBatchRequestSchema ¶
type PublicationIngestionBatchRequestSchema struct {
BatchId string `json:"batchId"`
ClientRunId string `json:"clientRunId"`
Items []PublicationIngestionBatchRequestSchema_Items_Item `json:"items"`
ObservedAt string `json:"observedAt"`
ProducerVersion string `json:"producerVersion"`
ProtocolVersion PublicationIngestionBatchRequestSchemaProtocolVersion `json:"protocolVersion"`
Sources []struct {
Aliases *[]string `json:"aliases,omitempty"`
AllowedHosts *[]string `json:"allowedHosts,omitempty"`
BlockedHosts *[]string `json:"blockedHosts,omitempty"`
DiscoveryOnly *bool `json:"discoveryOnly,omitempty"`
Id string `json:"id"`
MaxImagesPerPage *int `json:"maxImagesPerPage,omitempty"`
Name string `json:"name"`
OrganizationLevel *string `json:"organizationLevel,omitempty"`
SeedUrls *[]string `json:"seedUrls,omitempty"`
} `json:"sources"`
}
PublicationIngestionBatchRequestSchema defines model for publicationIngestionBatchRequestSchema.
type PublicationIngestionBatchRequestSchemaItems0 ¶
type PublicationIngestionBatchRequestSchemaItems0 struct {
Author *string `json:"author,omitempty"`
BodyText *string `json:"bodyText,omitempty"`
CanonicalUrl string `json:"canonicalUrl"`
Category *string `json:"category,omitempty"`
ClassifierVersion *string `json:"classifierVersion,omitempty"`
Editor *string `json:"editor,omitempty"`
ExtractionMethod *string `json:"extractionMethod,omitempty"`
ImageMetadata *map[string]struct {
AltText *string `json:"altText,omitempty"`
Caption *string `json:"caption,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"imageMetadata,omitempty"`
ImageSources map[string]string `json:"imageSources"`
Objects []struct {
AltText *string `json:"altText,omitempty"`
ContentType string `json:"contentType"`
Filename *string `json:"filename,omitempty"`
Kind PublicationIngestionBatchRequestSchemaItems0ObjectsKind `json:"kind"`
Sha256 string `json:"sha256"`
Size int `json:"size"`
SortOrder *int `json:"sortOrder,omitempty"`
SourceUrl *string `json:"sourceUrl,omitempty"`
} `json:"objects"`
ObservedAt string `json:"observedAt"`
OriginalPublisher *string `json:"originalPublisher,omitempty"`
PublicationType PublicationIngestionBatchRequestSchemaItems0PublicationType `json:"publicationType"`
PublishedAt *string `json:"publishedAt,omitempty"`
RawMetadata *map[string]interface{} `json:"rawMetadata,omitempty"`
Reporter *string `json:"reporter,omitempty"`
RevisionHash string `json:"revisionHash"`
SourceId string `json:"sourceId"`
SourcePageUrl *string `json:"sourcePageUrl,omitempty"`
Summary *string `json:"summary,omitempty"`
Title string `json:"title"`
Tombstone PublicationIngestionBatchRequestSchemaItems0Tombstone `json:"tombstone"`
UpdatedAtSource *string `json:"updatedAtSource,omitempty"`
}
PublicationIngestionBatchRequestSchemaItems0 defines model for PublicationIngestionBatchRequestSchema.Items.0.
type PublicationIngestionBatchRequestSchemaItems0ObjectsKind ¶
type PublicationIngestionBatchRequestSchemaItems0ObjectsKind string
PublicationIngestionBatchRequestSchemaItems0ObjectsKind defines model for PublicationIngestionBatchRequestSchema.Items.0.Objects.Kind.
const ( PublicationIngestionBatchRequestSchemaItems0ObjectsKindAsset PublicationIngestionBatchRequestSchemaItems0ObjectsKind = "asset" PublicationIngestionBatchRequestSchemaItems0ObjectsKindBodyHtml PublicationIngestionBatchRequestSchemaItems0ObjectsKind = "body_html" PublicationIngestionBatchRequestSchemaItems0ObjectsKindBodyMarkdown PublicationIngestionBatchRequestSchemaItems0ObjectsKind = "body_markdown" PublicationIngestionBatchRequestSchemaItems0ObjectsKindMedia PublicationIngestionBatchRequestSchemaItems0ObjectsKind = "media" PublicationIngestionBatchRequestSchemaItems0ObjectsKindRawPage PublicationIngestionBatchRequestSchemaItems0ObjectsKind = "raw_page" )
Defines values for PublicationIngestionBatchRequestSchemaItems0ObjectsKind.
func (PublicationIngestionBatchRequestSchemaItems0ObjectsKind) Valid ¶
func (e PublicationIngestionBatchRequestSchemaItems0ObjectsKind) Valid() bool
Valid indicates whether the value is a known member of the PublicationIngestionBatchRequestSchemaItems0ObjectsKind enum.
type PublicationIngestionBatchRequestSchemaItems0PublicationType ¶
type PublicationIngestionBatchRequestSchemaItems0PublicationType string
PublicationIngestionBatchRequestSchemaItems0PublicationType defines model for PublicationIngestionBatchRequestSchema.Items.0.PublicationType.
const ( PublicationIngestionBatchRequestSchemaItems0PublicationTypeNews PublicationIngestionBatchRequestSchemaItems0PublicationType = "news" PublicationIngestionBatchRequestSchemaItems0PublicationTypeNotice PublicationIngestionBatchRequestSchemaItems0PublicationType = "notice" PublicationIngestionBatchRequestSchemaItems0PublicationTypeOther PublicationIngestionBatchRequestSchemaItems0PublicationType = "other" )
Defines values for PublicationIngestionBatchRequestSchemaItems0PublicationType.
func (PublicationIngestionBatchRequestSchemaItems0PublicationType) Valid ¶
func (e PublicationIngestionBatchRequestSchemaItems0PublicationType) Valid() bool
Valid indicates whether the value is a known member of the PublicationIngestionBatchRequestSchemaItems0PublicationType enum.
type PublicationIngestionBatchRequestSchemaItems0Tombstone ¶
type PublicationIngestionBatchRequestSchemaItems0Tombstone bool
PublicationIngestionBatchRequestSchemaItems0Tombstone defines model for PublicationIngestionBatchRequestSchema.Items.0.Tombstone.
const (
PublicationIngestionBatchRequestSchemaItems0TombstoneFalse PublicationIngestionBatchRequestSchemaItems0Tombstone = false
)
Defines values for PublicationIngestionBatchRequestSchemaItems0Tombstone.
func (PublicationIngestionBatchRequestSchemaItems0Tombstone) Valid ¶
func (e PublicationIngestionBatchRequestSchemaItems0Tombstone) Valid() bool
Valid indicates whether the value is a known member of the PublicationIngestionBatchRequestSchemaItems0Tombstone enum.
type PublicationIngestionBatchRequestSchemaItems1 ¶
type PublicationIngestionBatchRequestSchemaItems1 struct {
CanonicalUrl string `json:"canonicalUrl"`
ObservedAt string `json:"observedAt"`
RevisionHash string `json:"revisionHash"`
SourceId string `json:"sourceId"`
Tombstone PublicationIngestionBatchRequestSchemaItems1Tombstone `json:"tombstone"`
}
PublicationIngestionBatchRequestSchemaItems1 defines model for PublicationIngestionBatchRequestSchema.Items.1.
type PublicationIngestionBatchRequestSchemaItems1Tombstone ¶
type PublicationIngestionBatchRequestSchemaItems1Tombstone bool
PublicationIngestionBatchRequestSchemaItems1Tombstone defines model for PublicationIngestionBatchRequestSchema.Items.1.Tombstone.
const (
PublicationIngestionBatchRequestSchemaItems1TombstoneTrue PublicationIngestionBatchRequestSchemaItems1Tombstone = true
)
Defines values for PublicationIngestionBatchRequestSchemaItems1Tombstone.
func (PublicationIngestionBatchRequestSchemaItems1Tombstone) Valid ¶
func (e PublicationIngestionBatchRequestSchemaItems1Tombstone) Valid() bool
Valid indicates whether the value is a known member of the PublicationIngestionBatchRequestSchemaItems1Tombstone enum.
type PublicationIngestionBatchRequestSchemaProtocolVersion ¶
type PublicationIngestionBatchRequestSchemaProtocolVersion string
PublicationIngestionBatchRequestSchemaProtocolVersion defines model for PublicationIngestionBatchRequestSchema.ProtocolVersion.
const (
PublicationIngestionBatchRequestSchemaProtocolVersionN1 PublicationIngestionBatchRequestSchemaProtocolVersion = "1"
)
Defines values for PublicationIngestionBatchRequestSchemaProtocolVersion.
func (PublicationIngestionBatchRequestSchemaProtocolVersion) Valid ¶
func (e PublicationIngestionBatchRequestSchemaProtocolVersion) Valid() bool
Valid indicates whether the value is a known member of the PublicationIngestionBatchRequestSchemaProtocolVersion enum.
type PublicationIngestionBatchRequestSchema_Items_Item ¶
type PublicationIngestionBatchRequestSchema_Items_Item struct {
// contains filtered or unexported fields
}
PublicationIngestionBatchRequestSchema_Items_Item defines model for publicationIngestionBatchRequestSchema.items.Item.
func (PublicationIngestionBatchRequestSchema_Items_Item) AsPublicationIngestionBatchRequestSchemaItems0 ¶
func (t PublicationIngestionBatchRequestSchema_Items_Item) AsPublicationIngestionBatchRequestSchemaItems0() (PublicationIngestionBatchRequestSchemaItems0, error)
AsPublicationIngestionBatchRequestSchemaItems0 returns the union data inside the PublicationIngestionBatchRequestSchema_Items_Item as a PublicationIngestionBatchRequestSchemaItems0
func (PublicationIngestionBatchRequestSchema_Items_Item) AsPublicationIngestionBatchRequestSchemaItems1 ¶
func (t PublicationIngestionBatchRequestSchema_Items_Item) AsPublicationIngestionBatchRequestSchemaItems1() (PublicationIngestionBatchRequestSchemaItems1, error)
AsPublicationIngestionBatchRequestSchemaItems1 returns the union data inside the PublicationIngestionBatchRequestSchema_Items_Item as a PublicationIngestionBatchRequestSchemaItems1
func (*PublicationIngestionBatchRequestSchema_Items_Item) FromPublicationIngestionBatchRequestSchemaItems0 ¶
func (t *PublicationIngestionBatchRequestSchema_Items_Item) FromPublicationIngestionBatchRequestSchemaItems0(v PublicationIngestionBatchRequestSchemaItems0) error
FromPublicationIngestionBatchRequestSchemaItems0 overwrites any union data inside the PublicationIngestionBatchRequestSchema_Items_Item as the provided PublicationIngestionBatchRequestSchemaItems0
func (*PublicationIngestionBatchRequestSchema_Items_Item) FromPublicationIngestionBatchRequestSchemaItems1 ¶
func (t *PublicationIngestionBatchRequestSchema_Items_Item) FromPublicationIngestionBatchRequestSchemaItems1(v PublicationIngestionBatchRequestSchemaItems1) error
FromPublicationIngestionBatchRequestSchemaItems1 overwrites any union data inside the PublicationIngestionBatchRequestSchema_Items_Item as the provided PublicationIngestionBatchRequestSchemaItems1
func (PublicationIngestionBatchRequestSchema_Items_Item) MarshalJSON ¶
func (t PublicationIngestionBatchRequestSchema_Items_Item) MarshalJSON() ([]byte, error)
func (*PublicationIngestionBatchRequestSchema_Items_Item) MergePublicationIngestionBatchRequestSchemaItems0 ¶
func (t *PublicationIngestionBatchRequestSchema_Items_Item) MergePublicationIngestionBatchRequestSchemaItems0(v PublicationIngestionBatchRequestSchemaItems0) error
MergePublicationIngestionBatchRequestSchemaItems0 performs a merge with any union data inside the PublicationIngestionBatchRequestSchema_Items_Item, using the provided PublicationIngestionBatchRequestSchemaItems0
func (*PublicationIngestionBatchRequestSchema_Items_Item) MergePublicationIngestionBatchRequestSchemaItems1 ¶
func (t *PublicationIngestionBatchRequestSchema_Items_Item) MergePublicationIngestionBatchRequestSchemaItems1(v PublicationIngestionBatchRequestSchemaItems1) error
MergePublicationIngestionBatchRequestSchemaItems1 performs a merge with any union data inside the PublicationIngestionBatchRequestSchema_Items_Item, using the provided PublicationIngestionBatchRequestSchemaItems1
func (*PublicationIngestionBatchRequestSchema_Items_Item) UnmarshalJSON ¶
func (t *PublicationIngestionBatchRequestSchema_Items_Item) UnmarshalJSON(b []byte) error
type PublicationIngestionBatchResponseSchema ¶
type PublicationIngestionBatchResponseSchema struct {
BatchId string `json:"batchId"`
ClientRunId string `json:"clientRunId"`
PayloadDigest string `json:"payloadDigest"`
Results []struct {
CanonicalUrl string `json:"canonicalUrl"`
Error *string `json:"error,omitempty"`
ObjectsNeedingUpload *[]struct {
Kind PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind `json:"kind"`
Sha256 string `json:"sha256"`
} `json:"objectsNeedingUpload,omitempty"`
PublicationId *string `json:"publicationId"`
RevisionHash string `json:"revisionHash"`
RevisionId *string `json:"revisionId"`
SourceId string `json:"sourceId"`
Status PublicationIngestionBatchResponseSchemaResultsStatus `json:"status"`
} `json:"results"`
}
PublicationIngestionBatchResponseSchema defines model for publicationIngestionBatchResponseSchema.
type PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind ¶
type PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind string
PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind defines model for PublicationIngestionBatchResponseSchema.Results.ObjectsNeedingUpload.Kind.
const ( PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKindAsset PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind = "asset" PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKindBodyHtml PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind = "body_html" PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKindBodyMarkdown PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind = "body_markdown" PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKindMedia PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind = "media" PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKindRawPage PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind = "raw_page" )
Defines values for PublicationIngestionBatchResponseSchemaResultsObjectsNeedingUploadKind.
type PublicationIngestionBatchResponseSchemaResultsStatus ¶
type PublicationIngestionBatchResponseSchemaResultsStatus string
PublicationIngestionBatchResponseSchemaResultsStatus defines model for PublicationIngestionBatchResponseSchema.Results.Status.
const ( PublicationIngestionBatchResponseSchemaResultsStatusCreated PublicationIngestionBatchResponseSchemaResultsStatus = "created" PublicationIngestionBatchResponseSchemaResultsStatusRejected PublicationIngestionBatchResponseSchemaResultsStatus = "rejected" PublicationIngestionBatchResponseSchemaResultsStatusUnchanged PublicationIngestionBatchResponseSchemaResultsStatus = "unchanged" PublicationIngestionBatchResponseSchemaResultsStatusUpdated PublicationIngestionBatchResponseSchemaResultsStatus = "updated" )
Defines values for PublicationIngestionBatchResponseSchemaResultsStatus.
func (PublicationIngestionBatchResponseSchemaResultsStatus) Valid ¶
func (e PublicationIngestionBatchResponseSchemaResultsStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicationIngestionBatchResponseSchemaResultsStatus enum.
type PublicationObjectPlanRequestSchema ¶
type PublicationObjectPlanRequestSchema struct {
BatchId string `json:"batchId"`
Objects []struct {
Kind PublicationObjectPlanRequestSchemaObjectsKind `json:"kind"`
Sha256 string `json:"sha256"`
} `json:"objects"`
}
PublicationObjectPlanRequestSchema defines model for publicationObjectPlanRequestSchema.
type PublicationObjectPlanRequestSchemaObjectsKind ¶
type PublicationObjectPlanRequestSchemaObjectsKind string
PublicationObjectPlanRequestSchemaObjectsKind defines model for PublicationObjectPlanRequestSchema.Objects.Kind.
const ( PublicationObjectPlanRequestSchemaObjectsKindAsset PublicationObjectPlanRequestSchemaObjectsKind = "asset" PublicationObjectPlanRequestSchemaObjectsKindBodyHtml PublicationObjectPlanRequestSchemaObjectsKind = "body_html" PublicationObjectPlanRequestSchemaObjectsKindBodyMarkdown PublicationObjectPlanRequestSchemaObjectsKind = "body_markdown" PublicationObjectPlanRequestSchemaObjectsKindMedia PublicationObjectPlanRequestSchemaObjectsKind = "media" PublicationObjectPlanRequestSchemaObjectsKindRawPage PublicationObjectPlanRequestSchemaObjectsKind = "raw_page" )
Defines values for PublicationObjectPlanRequestSchemaObjectsKind.
func (PublicationObjectPlanRequestSchemaObjectsKind) Valid ¶
func (e PublicationObjectPlanRequestSchemaObjectsKind) Valid() bool
Valid indicates whether the value is a known member of the PublicationObjectPlanRequestSchemaObjectsKind enum.
type PublicationObjectPlanResponseSchema ¶
type PublicationObjectPlanResponseSchema struct {
BatchId string `json:"batchId"`
Objects []struct {
Kind PublicationObjectPlanResponseSchemaObjectsKind `json:"kind"`
R2Key string `json:"r2Key"`
RequiredHeaders struct {
ContentType string `json:"Content-Type"`
} `json:"requiredHeaders"`
Sha256 string `json:"sha256"`
Status PublicationObjectPlanResponseSchemaObjectsStatus `json:"status"`
UploadUrl *string `json:"uploadUrl"`
} `json:"objects"`
}
PublicationObjectPlanResponseSchema defines model for publicationObjectPlanResponseSchema.
type PublicationObjectPlanResponseSchemaObjectsKind ¶
type PublicationObjectPlanResponseSchemaObjectsKind string
PublicationObjectPlanResponseSchemaObjectsKind defines model for PublicationObjectPlanResponseSchema.Objects.Kind.
const ( PublicationObjectPlanResponseSchemaObjectsKindAsset PublicationObjectPlanResponseSchemaObjectsKind = "asset" PublicationObjectPlanResponseSchemaObjectsKindBodyHtml PublicationObjectPlanResponseSchemaObjectsKind = "body_html" PublicationObjectPlanResponseSchemaObjectsKindBodyMarkdown PublicationObjectPlanResponseSchemaObjectsKind = "body_markdown" PublicationObjectPlanResponseSchemaObjectsKindMedia PublicationObjectPlanResponseSchemaObjectsKind = "media" PublicationObjectPlanResponseSchemaObjectsKindRawPage PublicationObjectPlanResponseSchemaObjectsKind = "raw_page" )
Defines values for PublicationObjectPlanResponseSchemaObjectsKind.
func (PublicationObjectPlanResponseSchemaObjectsKind) Valid ¶
func (e PublicationObjectPlanResponseSchemaObjectsKind) Valid() bool
Valid indicates whether the value is a known member of the PublicationObjectPlanResponseSchemaObjectsKind enum.
type PublicationObjectPlanResponseSchemaObjectsStatus ¶
type PublicationObjectPlanResponseSchemaObjectsStatus string
PublicationObjectPlanResponseSchemaObjectsStatus defines model for PublicationObjectPlanResponseSchema.Objects.Status.
const ( AlreadyPresent PublicationObjectPlanResponseSchemaObjectsStatus = "already_present" UploadRequired PublicationObjectPlanResponseSchemaObjectsStatus = "upload_required" )
Defines values for PublicationObjectPlanResponseSchemaObjectsStatus.
func (PublicationObjectPlanResponseSchemaObjectsStatus) Valid ¶
func (e PublicationObjectPlanResponseSchemaObjectsStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicationObjectPlanResponseSchemaObjectsStatus enum.
type PublicationObjectUploadResponseSchema ¶
type PublicationObjectUploadResponseSchema struct {
BatchId string `json:"batchId"`
Kind PublicationObjectUploadResponseSchemaKind `json:"kind"`
Sha256 string `json:"sha256"`
Status PublicationObjectUploadResponseSchemaStatus `json:"status"`
}
PublicationObjectUploadResponseSchema defines model for publicationObjectUploadResponseSchema.
type PublicationObjectUploadResponseSchemaKind ¶
type PublicationObjectUploadResponseSchemaKind string
PublicationObjectUploadResponseSchemaKind defines model for PublicationObjectUploadResponseSchema.Kind.
const ( PublicationObjectUploadResponseSchemaKindAsset PublicationObjectUploadResponseSchemaKind = "asset" PublicationObjectUploadResponseSchemaKindBodyHtml PublicationObjectUploadResponseSchemaKind = "body_html" PublicationObjectUploadResponseSchemaKindBodyMarkdown PublicationObjectUploadResponseSchemaKind = "body_markdown" PublicationObjectUploadResponseSchemaKindMedia PublicationObjectUploadResponseSchemaKind = "media" PublicationObjectUploadResponseSchemaKindRawPage PublicationObjectUploadResponseSchemaKind = "raw_page" )
Defines values for PublicationObjectUploadResponseSchemaKind.
func (PublicationObjectUploadResponseSchemaKind) Valid ¶
func (e PublicationObjectUploadResponseSchemaKind) Valid() bool
Valid indicates whether the value is a known member of the PublicationObjectUploadResponseSchemaKind enum.
type PublicationObjectUploadResponseSchemaStatus ¶
type PublicationObjectUploadResponseSchemaStatus string
PublicationObjectUploadResponseSchemaStatus defines model for PublicationObjectUploadResponseSchema.Status.
const (
PublicationObjectUploadResponseSchemaStatusLinked PublicationObjectUploadResponseSchemaStatus = "linked"
)
Defines values for PublicationObjectUploadResponseSchemaStatus.
func (PublicationObjectUploadResponseSchemaStatus) Valid ¶
func (e PublicationObjectUploadResponseSchemaStatus) Valid() bool
Valid indicates whether the value is a known member of the PublicationObjectUploadResponseSchemaStatus enum.
type PutApiHomeworksCompletionsJSONRequestBody ¶
type PutApiHomeworksCompletionsJSONRequestBody = HomeworkCompletionBatchRequestSchema
PutApiHomeworksCompletionsJSONRequestBody defines body for PutApiHomeworksCompletions for application/json ContentType.
type PutApiHomeworksCompletionsResponse ¶
type PutApiHomeworksCompletionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HomeworkCompletionBatchResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutApiHomeworksCompletionsResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PutApiHomeworksCompletionsResponse503Headers
}
func ParsePutApiHomeworksCompletionsResponse ¶
func ParsePutApiHomeworksCompletionsResponse(rsp *http.Response) (*PutApiHomeworksCompletionsResponse, error)
ParsePutApiHomeworksCompletionsResponse parses an HTTP response from a PutApiHomeworksCompletionsWithResponse call
func (PutApiHomeworksCompletionsResponse) ContentType ¶
func (r PutApiHomeworksCompletionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutApiHomeworksCompletionsResponse) GetBody ¶
func (r PutApiHomeworksCompletionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutApiHomeworksCompletionsResponse) GetJSON200 ¶
func (r PutApiHomeworksCompletionsResponse) GetJSON200() *HomeworkCompletionBatchResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutApiHomeworksCompletionsResponse) GetJSON400 ¶
func (r PutApiHomeworksCompletionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutApiHomeworksCompletionsResponse) GetJSON401 ¶
func (r PutApiHomeworksCompletionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutApiHomeworksCompletionsResponse) GetJSON429 ¶
func (r PutApiHomeworksCompletionsResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PutApiHomeworksCompletionsResponse) GetJSON503 ¶
func (r PutApiHomeworksCompletionsResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutApiHomeworksCompletionsResponse) Status ¶
func (r PutApiHomeworksCompletionsResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiHomeworksCompletionsResponse) StatusCode ¶
func (r PutApiHomeworksCompletionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiHomeworksCompletionsResponse429Headers ¶
type PutApiHomeworksCompletionsResponse429Headers struct {
RetryAfter *int
}
PutApiHomeworksCompletionsResponse429Headers the declared response headers of an HTTP 429 response for PutApiHomeworksCompletions
type PutApiHomeworksCompletionsResponse503Headers ¶
type PutApiHomeworksCompletionsResponse503Headers struct {
RetryAfter *int
}
PutApiHomeworksCompletionsResponse503Headers the declared response headers of an HTTP 503 response for PutApiHomeworksCompletions
type PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind ¶
type PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind string
PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind defines parameters for PutApiIngestionPublicationsObjectsBatchIdKindSha256.
const ( PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKindAsset PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind = "asset" PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKindBodyHtml PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind = "body_html" PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKindBodyMarkdown PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind = "body_markdown" PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKindMedia PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind = "media" PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKindRawPage PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind = "raw_page" )
Defines values for PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind.
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind) Valid ¶
func (e PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind) Valid() bool
Valid indicates whether the value is a known member of the PutApiIngestionPublicationsObjectsBatchIdKindSha256ParamsKind enum.
type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response ¶
type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicationObjectUploadResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutApiIngestionPublicationsObjectsBatchIdKindSha256Response429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PutApiIngestionPublicationsObjectsBatchIdKindSha256Response503Headers
}
func ParsePutApiIngestionPublicationsObjectsBatchIdKindSha256Response ¶
func ParsePutApiIngestionPublicationsObjectsBatchIdKindSha256Response(rsp *http.Response) (*PutApiIngestionPublicationsObjectsBatchIdKindSha256Response, error)
ParsePutApiIngestionPublicationsObjectsBatchIdKindSha256Response parses an HTTP response from a PutApiIngestionPublicationsObjectsBatchIdKindSha256WithResponse call
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) ContentType ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetBody ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetBody() []byte
GetBody returns the raw response body bytes
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON200 ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON200() *PublicationObjectUploadResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON400 ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON401 ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON404 ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON429 ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON503 ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) Status ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) Status() string
Status returns HTTPResponse.Status
func (PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) StatusCode ¶
func (r PutApiIngestionPublicationsObjectsBatchIdKindSha256Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response429Headers ¶
type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response429Headers struct {
RetryAfter *int
}
PutApiIngestionPublicationsObjectsBatchIdKindSha256Response429Headers the declared response headers of an HTTP 429 response for PutApiIngestionPublicationsObjectsBatchIdKindSha256
type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response503Headers ¶
type PutApiIngestionPublicationsObjectsBatchIdKindSha256Response503Headers struct {
RetryAfter *int
}
PutApiIngestionPublicationsObjectsBatchIdKindSha256Response503Headers the declared response headers of an HTTP 503 response for PutApiIngestionPublicationsObjectsBatchIdKindSha256
type PutApiUploadsObjectParams ¶
type PutApiUploadsObjectParams struct {
Key string `form:"key" json:"key"`
}
PutApiUploadsObjectParams defines parameters for PutApiUploadsObject.
type PutApiUploadsObjectResponse ¶
type PutApiUploadsObjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutApiUploadsObjectResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PutApiUploadsObjectResponse503Headers
}
func ParsePutApiUploadsObjectResponse ¶
func ParsePutApiUploadsObjectResponse(rsp *http.Response) (*PutApiUploadsObjectResponse, error)
ParsePutApiUploadsObjectResponse parses an HTTP response from a PutApiUploadsObjectWithResponse call
func (PutApiUploadsObjectResponse) ContentType ¶
func (r PutApiUploadsObjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutApiUploadsObjectResponse) GetBody ¶
func (r PutApiUploadsObjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutApiUploadsObjectResponse) GetJSON200 ¶
func (r PutApiUploadsObjectResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutApiUploadsObjectResponse) GetJSON400 ¶
func (r PutApiUploadsObjectResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutApiUploadsObjectResponse) GetJSON401 ¶
func (r PutApiUploadsObjectResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutApiUploadsObjectResponse) GetJSON403 ¶
func (r PutApiUploadsObjectResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutApiUploadsObjectResponse) GetJSON413 ¶
func (r PutApiUploadsObjectResponse) GetJSON413() *OpenApiErrorSchema
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (PutApiUploadsObjectResponse) GetJSON429 ¶
func (r PutApiUploadsObjectResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PutApiUploadsObjectResponse) GetJSON503 ¶
func (r PutApiUploadsObjectResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutApiUploadsObjectResponse) Status ¶
func (r PutApiUploadsObjectResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiUploadsObjectResponse) StatusCode ¶
func (r PutApiUploadsObjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiUploadsObjectResponse429Headers ¶
type PutApiUploadsObjectResponse429Headers struct {
RetryAfter *int
}
PutApiUploadsObjectResponse429Headers the declared response headers of an HTTP 429 response for PutApiUploadsObject
type PutApiUploadsObjectResponse503Headers ¶
type PutApiUploadsObjectResponse503Headers struct {
RetryAfter *int
}
PutApiUploadsObjectResponse503Headers the declared response headers of an HTTP 503 response for PutApiUploadsObject
type PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody ¶
type PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody = YoungEventSubscriptionRequestSchema
PutApiWorkspaceYoungEventSubscriptionsYoungIdJSONRequestBody defines body for PutApiWorkspaceYoungEventSubscriptionsYoungId for application/json ContentType.
type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse ¶
type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungEventSubscriptionStateSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse503Headers
}
func ParsePutApiWorkspaceYoungEventSubscriptionsYoungIdResponse ¶
func ParsePutApiWorkspaceYoungEventSubscriptionsYoungIdResponse(rsp *http.Response) (*PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse, error)
ParsePutApiWorkspaceYoungEventSubscriptionsYoungIdResponse parses an HTTP response from a PutApiWorkspaceYoungEventSubscriptionsYoungIdWithResponse call
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) ContentType ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetBody ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON200 ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON200() *YoungEventSubscriptionStateSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON400 ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON401 ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON404 ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON429 ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON503 ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) Status ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) StatusCode ¶
func (r PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse429Headers ¶
type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse429Headers struct {
RetryAfter *int
}
PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse429Headers the declared response headers of an HTTP 429 response for PutApiWorkspaceYoungEventSubscriptionsYoungId
type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse503Headers ¶
type PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse503Headers struct {
RetryAfter *int
}
PutApiWorkspaceYoungEventSubscriptionsYoungIdResponse503Headers the declared response headers of an HTTP 503 response for PutApiWorkspaceYoungEventSubscriptionsYoungId
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody ¶
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody = YoungOrganizerSubscriptionRequestSchema
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdJSONRequestBody defines body for PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId for application/json ContentType.
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse ¶
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *YoungOrganizerSubscriptionStateSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse503Headers
}
func ParsePutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse ¶
func ParsePutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse(rsp *http.Response) (*PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse, error)
ParsePutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse parses an HTTP response from a PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdWithResponse call
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) ContentType ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetBody ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON200 ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON200() *YoungOrganizerSubscriptionStateSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON400 ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON401 ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON404 ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON429 ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON503 ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) Status ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) StatusCode ¶
func (r PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse429Headers ¶
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse429Headers struct {
RetryAfter *int
}
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse429Headers the declared response headers of an HTTP 429 response for PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse503Headers ¶
type PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse503Headers struct {
RetryAfter *int
}
PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerIdResponse503Headers the declared response headers of an HTTP 503 response for PutApiWorkspaceYoungOrganizerSubscriptionsOrganizerId
type QueryCalendarSubscriptionSectionsJSONRequestBody ¶
type QueryCalendarSubscriptionSectionsJSONRequestBody = CalendarSubscriptionQueryRequestSchema
QueryCalendarSubscriptionSectionsJSONRequestBody defines body for QueryCalendarSubscriptionSections for application/json ContentType.
type QueryCalendarSubscriptionSectionsResponse ¶
type QueryCalendarSubscriptionSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CalendarSubscriptionQueryResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
}
func ParseQueryCalendarSubscriptionSectionsResponse ¶
func ParseQueryCalendarSubscriptionSectionsResponse(rsp *http.Response) (*QueryCalendarSubscriptionSectionsResponse, error)
ParseQueryCalendarSubscriptionSectionsResponse parses an HTTP response from a QueryCalendarSubscriptionSectionsWithResponse call
func (QueryCalendarSubscriptionSectionsResponse) ContentType ¶
func (r QueryCalendarSubscriptionSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QueryCalendarSubscriptionSectionsResponse) GetBody ¶
func (r QueryCalendarSubscriptionSectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QueryCalendarSubscriptionSectionsResponse) GetJSON200 ¶
func (r QueryCalendarSubscriptionSectionsResponse) GetJSON200() *CalendarSubscriptionQueryResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (QueryCalendarSubscriptionSectionsResponse) GetJSON400 ¶
func (r QueryCalendarSubscriptionSectionsResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (QueryCalendarSubscriptionSectionsResponse) GetJSON401 ¶
func (r QueryCalendarSubscriptionSectionsResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (QueryCalendarSubscriptionSectionsResponse) GetJSON404 ¶
func (r QueryCalendarSubscriptionSectionsResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (QueryCalendarSubscriptionSectionsResponse) Status ¶
func (r QueryCalendarSubscriptionSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (QueryCalendarSubscriptionSectionsResponse) StatusCode ¶
func (r QueryCalendarSubscriptionSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveCommentReactionParams ¶
type RemoveCommentReactionParams struct {
Type RemoveCommentReactionParamsType `form:"type" json:"type"`
}
RemoveCommentReactionParams defines parameters for RemoveCommentReaction.
type RemoveCommentReactionParamsType ¶
type RemoveCommentReactionParamsType string
RemoveCommentReactionParamsType defines parameters for RemoveCommentReaction.
const ( RemoveCommentReactionParamsTypeConfused RemoveCommentReactionParamsType = "confused" RemoveCommentReactionParamsTypeDownvote RemoveCommentReactionParamsType = "downvote" RemoveCommentReactionParamsTypeEyes RemoveCommentReactionParamsType = "eyes" RemoveCommentReactionParamsTypeHeart RemoveCommentReactionParamsType = "heart" RemoveCommentReactionParamsTypeHooray RemoveCommentReactionParamsType = "hooray" RemoveCommentReactionParamsTypeLaugh RemoveCommentReactionParamsType = "laugh" RemoveCommentReactionParamsTypeRocket RemoveCommentReactionParamsType = "rocket" RemoveCommentReactionParamsTypeUpvote RemoveCommentReactionParamsType = "upvote" )
Defines values for RemoveCommentReactionParamsType.
func (RemoveCommentReactionParamsType) Valid ¶
func (e RemoveCommentReactionParamsType) Valid() bool
Valid indicates whether the value is a known member of the RemoveCommentReactionParamsType enum.
type RemoveCommentReactionResponse ¶
type RemoveCommentReactionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *RemoveCommentReactionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *RemoveCommentReactionResponse503Headers
}
func ParseRemoveCommentReactionResponse ¶
func ParseRemoveCommentReactionResponse(rsp *http.Response) (*RemoveCommentReactionResponse, error)
ParseRemoveCommentReactionResponse parses an HTTP response from a RemoveCommentReactionWithResponse call
func (RemoveCommentReactionResponse) ContentType ¶
func (r RemoveCommentReactionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveCommentReactionResponse) GetBody ¶
func (r RemoveCommentReactionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveCommentReactionResponse) GetJSON200 ¶
func (r RemoveCommentReactionResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RemoveCommentReactionResponse) GetJSON400 ¶
func (r RemoveCommentReactionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (RemoveCommentReactionResponse) GetJSON401 ¶
func (r RemoveCommentReactionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RemoveCommentReactionResponse) GetJSON403 ¶
func (r RemoveCommentReactionResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (RemoveCommentReactionResponse) GetJSON429 ¶
func (r RemoveCommentReactionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (RemoveCommentReactionResponse) GetJSON503 ¶
func (r RemoveCommentReactionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (RemoveCommentReactionResponse) Status ¶
func (r RemoveCommentReactionResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveCommentReactionResponse) StatusCode ¶
func (r RemoveCommentReactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveCommentReactionResponse429Headers ¶
type RemoveCommentReactionResponse429Headers struct {
RetryAfter *int
}
RemoveCommentReactionResponse429Headers the declared response headers of an HTTP 429 response for RemoveCommentReaction
type RemoveCommentReactionResponse503Headers ¶
type RemoveCommentReactionResponse503Headers struct {
RetryAfter *int
}
RemoveCommentReactionResponse503Headers the declared response headers of an HTTP 503 response for RemoveCommentReaction
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RoomMapResponseSchema ¶
type RoomMapResponseSchema struct {
Building *string `json:"building"`
Code string `json:"code"`
Floor *string `json:"floor"`
ImageUrl *string `json:"imageUrl"`
SourceImageUrl *string `json:"sourceImageUrl"`
Status RoomMapResponseSchemaStatus `json:"status"`
}
RoomMapResponseSchema defines model for roomMapResponseSchema.
type RoomMapResponseSchemaStatus ¶
type RoomMapResponseSchemaStatus string
RoomMapResponseSchemaStatus defines model for RoomMapResponseSchema.Status.
const ( Highlighted RoomMapResponseSchemaStatus = "highlighted" Overview RoomMapResponseSchemaStatus = "overview" )
Defines values for RoomMapResponseSchemaStatus.
func (RoomMapResponseSchemaStatus) Valid ¶
func (e RoomMapResponseSchemaStatus) Valid() bool
Valid indicates whether the value is a known member of the RoomMapResponseSchemaStatus enum.
type ScheduleGroupsResponseSchema ¶
type ScheduleGroupsResponseSchema = []struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
Schedules []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
RoomId *int `json:"roomId"`
ScheduleGroupId int `json:"scheduleGroupId"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
} `json:"schedules"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
}
ScheduleGroupsResponseSchema defines model for scheduleGroupsResponseSchema.
type Schema03 ¶
type Schema03 string
Schema03 defines model for Schema0.3.
const (
Schema03LessThannil Schema03 = "<nil>"
)
Defines values for Schema03.
type Schema05 ¶
type Schema05 map[string]UnderscoreUnderscoreSchema0
Schema05 defines model for Schema0.5.
type Schema13 ¶
type Schema13 string
Schema13 defines model for Schema1.3.
const (
Schema13LessThannil Schema13 = "<nil>"
)
Defines values for Schema13.
type Schema15 ¶
type Schema15 map[string]UnderscoreUnderscoreSchema1
Schema15 defines model for Schema1.5.
type Schema23 ¶
type Schema23 string
Schema23 defines model for Schema2.3.
const (
Schema23LessThannil Schema23 = "<nil>"
)
Defines values for Schema23.
type Schema25 ¶
type Schema25 map[string]UnderscoreUnderscoreSchema2
Schema25 defines model for Schema2.5.
type Schema43 ¶
type Schema43 string
Schema43 defines model for Schema4.3.
const (
Schema43LessThannil Schema43 = "<nil>"
)
Defines values for Schema43.
type Schema45 ¶
type Schema45 map[string]UnderscoreUnderscoreSchema4
Schema45 defines model for Schema4.5.
type Schema53 ¶
type Schema53 string
Schema53 defines model for Schema5.3.
const (
Schema53LessThannil Schema53 = "<nil>"
)
Defines values for Schema53.
type Schema55 ¶
type Schema55 map[string]UnderscoreUnderscoreSchema5
Schema55 defines model for Schema5.5.
type Schema63 ¶
type Schema63 string
Schema63 defines model for Schema6.3.
const (
Schema63LessThannil Schema63 = "<nil>"
)
Defines values for Schema63.
type Schema65 ¶
type Schema65 map[string]UnderscoreUnderscoreSchema6
Schema65 defines model for Schema6.5.
type Schema73 ¶
type Schema73 string
Schema73 defines model for Schema7.3.
const (
Schema73LessThannil Schema73 = "<nil>"
)
Defines values for Schema73.
type Schema75 ¶
type Schema75 map[string]UnderscoreUnderscoreSchema7
Schema75 defines model for Schema7.5.
type Schema93 ¶
type Schema93 string
Schema93 defines model for Schema9.3.
const (
Schema93LessThannil Schema93 = "<nil>"
)
Defines values for Schema93.
type Schema95 ¶
type Schema95 map[string]UnderscoreUnderscoreSchema9
Schema95 defines model for Schema9.5.
type SectionDetailSchema ¶
type SectionDetailSchema struct {
ActualPeriods *float32 `json:"actualPeriods"`
AdminClasses []struct {
AbbrEn *string `json:"abbrEn"`
AbbrZh *string `json:"abbrZh"`
Code *string `json:"code"`
Enabled *bool `json:"enabled"`
Grade *string `json:"grade"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
PlanCount *int `json:"planCount"`
StdCount *int `json:"stdCount"`
} `json:"adminClasses"`
BizTypeId *int `json:"bizTypeId"`
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamMode *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"examMode"`
ExamModeId *int `json:"examModeId"`
Exams []struct {
AdminClassNames *string `json:"adminClassNames"`
EndTime *int `json:"endTime"`
ExamBatch *struct {
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"examBatch"`
ExamBatchId *int `json:"examBatchId"`
ExamDate *time.Time `json:"examDate"`
ExamMode *string `json:"examMode"`
ExamRooms []struct {
Count int `json:"count"`
ExamId int `json:"examId"`
Id int `json:"id"`
Room string `json:"room"`
} `json:"examRooms"`
ExamTakeCount *int `json:"examTakeCount"`
ExamType *int `json:"examType"`
Grades *string `json:"grades"`
Id int `json:"id"`
JwId int `json:"jwId"`
Monitors *[]struct {
JwId int `json:"jwId"`
NameCn *string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"monitors"`
SectionId int `json:"sectionId"`
StartTime *int `json:"startTime"`
} `json:"exams"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartment *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
JwId *int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"openDepartment"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomType *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"roomType"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleGroups []struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
} `json:"scheduleGroups"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
Schedules []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
RoomId *int `json:"roomId"`
ScheduleGroupId int `json:"scheduleGroupId"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
} `json:"schedules"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguage *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teachLanguage"`
TeachLanguageId *int `json:"teachLanguageId"`
TeacherAssignments []struct {
Id int `json:"id"`
Period *float32 `json:"period"`
Role *string `json:"role"`
SectionId int `json:"sectionId"`
TeacherId int `json:"teacherId"`
TeacherLessonType *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
Role *string `json:"role"`
} `json:"teacherLessonType"`
TeacherLessonTypeId *int `json:"teacherLessonTypeId"`
TeacherTitle *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teacherTitle"`
TeacherTitleId *int `json:"teacherTitleId"`
WeekIndices *[]int `json:"weekIndices"`
WeekIndicesMsg *string `json:"weekIndicesMsg"`
} `json:"teacherAssignments"`
Teachers []struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
TeacherTitle *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teacherTitle"`
} `json:"teachers"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
}
SectionDetailSchema defines model for sectionDetailSchema.
type SectionSchedulesReadResponseSchema ¶
type SectionSchedulesReadResponseSchema struct {
// contains filtered or unexported fields
}
SectionSchedulesReadResponseSchema defines model for sectionSchedulesReadResponseSchema.
func (SectionSchedulesReadResponseSchema) AsSectionSchedulesReadResponseSchema0 ¶
func (t SectionSchedulesReadResponseSchema) AsSectionSchedulesReadResponseSchema0() (SectionSchedulesReadResponseSchema0, error)
AsSectionSchedulesReadResponseSchema0 returns the union data inside the SectionSchedulesReadResponseSchema as a SectionSchedulesReadResponseSchema0
func (SectionSchedulesReadResponseSchema) AsSectionSchedulesReadResponseSchema1 ¶
func (t SectionSchedulesReadResponseSchema) AsSectionSchedulesReadResponseSchema1() (SectionSchedulesReadResponseSchema1, error)
AsSectionSchedulesReadResponseSchema1 returns the union data inside the SectionSchedulesReadResponseSchema as a SectionSchedulesReadResponseSchema1
func (*SectionSchedulesReadResponseSchema) FromSectionSchedulesReadResponseSchema0 ¶
func (t *SectionSchedulesReadResponseSchema) FromSectionSchedulesReadResponseSchema0(v SectionSchedulesReadResponseSchema0) error
FromSectionSchedulesReadResponseSchema0 overwrites any union data inside the SectionSchedulesReadResponseSchema as the provided SectionSchedulesReadResponseSchema0
func (*SectionSchedulesReadResponseSchema) FromSectionSchedulesReadResponseSchema1 ¶
func (t *SectionSchedulesReadResponseSchema) FromSectionSchedulesReadResponseSchema1(v SectionSchedulesReadResponseSchema1) error
FromSectionSchedulesReadResponseSchema1 overwrites any union data inside the SectionSchedulesReadResponseSchema as the provided SectionSchedulesReadResponseSchema1
func (SectionSchedulesReadResponseSchema) MarshalJSON ¶
func (t SectionSchedulesReadResponseSchema) MarshalJSON() ([]byte, error)
func (*SectionSchedulesReadResponseSchema) MergeSectionSchedulesReadResponseSchema0 ¶
func (t *SectionSchedulesReadResponseSchema) MergeSectionSchedulesReadResponseSchema0(v SectionSchedulesReadResponseSchema0) error
MergeSectionSchedulesReadResponseSchema0 performs a merge with any union data inside the SectionSchedulesReadResponseSchema, using the provided SectionSchedulesReadResponseSchema0
func (*SectionSchedulesReadResponseSchema) MergeSectionSchedulesReadResponseSchema1 ¶
func (t *SectionSchedulesReadResponseSchema) MergeSectionSchedulesReadResponseSchema1(v SectionSchedulesReadResponseSchema1) error
MergeSectionSchedulesReadResponseSchema1 performs a merge with any union data inside the SectionSchedulesReadResponseSchema, using the provided SectionSchedulesReadResponseSchema1
func (*SectionSchedulesReadResponseSchema) UnmarshalJSON ¶
func (t *SectionSchedulesReadResponseSchema) UnmarshalJSON(b []byte) error
type SectionSchedulesReadResponseSchema0 ¶
type SectionSchedulesReadResponseSchema0 = []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
Room *struct {
Building *struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"building"`
BuildingId *int `json:"buildingId"`
Code string `json:"code"`
Floor *int `json:"floor"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Remark *string `json:"remark"`
RoomType *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"roomType"`
RoomTypeId *int `json:"roomTypeId"`
Seats int `json:"seats"`
SeatsForSection int `json:"seatsForSection"`
Virtual bool `json:"virtual"`
} `json:"room"`
RoomId *int `json:"roomId"`
ScheduleGroup struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
} `json:"scheduleGroup"`
ScheduleGroupId int `json:"scheduleGroupId"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
TeacherParticipations []struct {
ExerciseClass *bool `json:"exerciseClass"`
Periods *float32 `json:"periods"`
Teacher struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teacher"`
} `json:"teacherParticipations"`
Teachers []struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
}
SectionSchedulesReadResponseSchema0 defines model for SectionSchedulesReadResponseSchema.0.
type SectionSchedulesReadResponseSchema1 ¶
type SectionSchedulesReadResponseSchema1 struct {
Data []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
Room *struct {
Building *struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"building"`
BuildingId *int `json:"buildingId"`
Code string `json:"code"`
Floor *int `json:"floor"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Remark *string `json:"remark"`
RoomType *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"roomType"`
RoomTypeId *int `json:"roomTypeId"`
Seats int `json:"seats"`
SeatsForSection int `json:"seatsForSection"`
Virtual bool `json:"virtual"`
} `json:"room"`
RoomId *int `json:"roomId"`
ScheduleGroup struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
} `json:"scheduleGroup"`
ScheduleGroupId int `json:"scheduleGroupId"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
TeacherParticipations []struct {
ExerciseClass *bool `json:"exerciseClass"`
Periods *float32 `json:"periods"`
Teacher struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teacher"`
} `json:"teacherParticipations"`
Teachers []struct {
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
} `json:"teachers"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
SectionSchedulesReadResponseSchema1 defines model for SectionSchedulesReadResponseSchema.1.
type SemesterSchema ¶
type SemesterSchema struct {
Code string `json:"code"`
EndDate *time.Time `json:"endDate"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
StartDate *time.Time `json:"startDate"`
}
SemesterSchema defines model for semesterSchema.
type SetHomeworkCompletionJSONRequestBody ¶
type SetHomeworkCompletionJSONRequestBody = HomeworkCompletionRequestSchema
SetHomeworkCompletionJSONRequestBody defines body for SetHomeworkCompletion for application/json ContentType.
type SetHomeworkCompletionResponse ¶
type SetHomeworkCompletionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HomeworkCompletionResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *SetHomeworkCompletionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *SetHomeworkCompletionResponse503Headers
}
func ParseSetHomeworkCompletionResponse ¶
func ParseSetHomeworkCompletionResponse(rsp *http.Response) (*SetHomeworkCompletionResponse, error)
ParseSetHomeworkCompletionResponse parses an HTTP response from a SetHomeworkCompletionWithResponse call
func (SetHomeworkCompletionResponse) ContentType ¶
func (r SetHomeworkCompletionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetHomeworkCompletionResponse) GetBody ¶
func (r SetHomeworkCompletionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetHomeworkCompletionResponse) GetJSON200 ¶
func (r SetHomeworkCompletionResponse) GetJSON200() *HomeworkCompletionResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetHomeworkCompletionResponse) GetJSON400 ¶
func (r SetHomeworkCompletionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SetHomeworkCompletionResponse) GetJSON401 ¶
func (r SetHomeworkCompletionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetHomeworkCompletionResponse) GetJSON404 ¶
func (r SetHomeworkCompletionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SetHomeworkCompletionResponse) GetJSON429 ¶
func (r SetHomeworkCompletionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (SetHomeworkCompletionResponse) GetJSON503 ¶
func (r SetHomeworkCompletionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (SetHomeworkCompletionResponse) Status ¶
func (r SetHomeworkCompletionResponse) Status() string
Status returns HTTPResponse.Status
func (SetHomeworkCompletionResponse) StatusCode ¶
func (r SetHomeworkCompletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetHomeworkCompletionResponse429Headers ¶
type SetHomeworkCompletionResponse429Headers struct {
RetryAfter *int
}
SetHomeworkCompletionResponse429Headers the declared response headers of an HTTP 429 response for SetHomeworkCompletion
type SetHomeworkCompletionResponse503Headers ¶
type SetHomeworkCompletionResponse503Headers struct {
RetryAfter *int
}
SetHomeworkCompletionResponse503Headers the declared response headers of an HTTP 503 response for SetHomeworkCompletion
type SetLocaleJSONRequestBody ¶
type SetLocaleJSONRequestBody = LocaleUpdateRequestSchema
SetLocaleJSONRequestBody defines body for SetLocale for application/json ContentType.
type SetLocaleResponse ¶
type SetLocaleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuccessResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
}
func ParseSetLocaleResponse ¶
func ParseSetLocaleResponse(rsp *http.Response) (*SetLocaleResponse, error)
ParseSetLocaleResponse parses an HTTP response from a SetLocaleWithResponse call
func (SetLocaleResponse) ContentType ¶
func (r SetLocaleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetLocaleResponse) GetBody ¶
func (r SetLocaleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetLocaleResponse) GetJSON200 ¶
func (r SetLocaleResponse) GetJSON200() *SuccessResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetLocaleResponse) GetJSON400 ¶
func (r SetLocaleResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SetLocaleResponse) Status ¶
func (r SetLocaleResponse) Status() string
Status returns HTTPResponse.Status
func (SetLocaleResponse) StatusCode ¶
func (r SetLocaleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscribedExamsResponseSchema ¶
type SubscribedExamsResponseSchema struct {
Data []struct {
AdminClassNames *string `json:"adminClassNames"`
EndTime *int `json:"endTime"`
ExamBatch *struct {
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"examBatch"`
ExamBatchId *int `json:"examBatchId"`
ExamDate *time.Time `json:"examDate"`
ExamMode *string `json:"examMode"`
ExamRooms []struct {
Count int `json:"count"`
ExamId int `json:"examId"`
Id int `json:"id"`
Room string `json:"room"`
} `json:"examRooms"`
ExamTakeCount *int `json:"examTakeCount"`
ExamType *int `json:"examType"`
Grades *string `json:"grades"`
Id int `json:"id"`
JwId int `json:"jwId"`
Monitors *[]struct {
JwId int `json:"jwId"`
NameCn *string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"monitors"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
StartTime *int `json:"startTime"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
SubscribedExamsResponseSchema defines model for subscribedExamsResponseSchema.
type SubscribedHomeworksResponseSchema ¶
type SubscribedHomeworksResponseSchema struct {
Data []struct {
CommentCount int `json:"commentCount"`
Completion *struct {
CompletedAt time.Time `json:"completedAt"`
} `json:"completion"`
CompletionRequired bool `json:"completionRequired"`
CreatedAt time.Time `json:"createdAt"`
CreatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"createdBy"`
CreatedById *string `json:"createdById"`
DeletedAt *time.Time `json:"deletedAt"`
DeletedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"deletedBy"`
DeletedById *string `json:"deletedById"`
Description *struct {
Content string `json:"content"`
CourseId *int `json:"courseId"`
CreatedAt time.Time `json:"createdAt"`
HomeworkId *string `json:"homeworkId"`
Id string `json:"id"`
LastEditedAt *time.Time `json:"lastEditedAt"`
LastEditedById *string `json:"lastEditedById"`
SectionId *int `json:"sectionId"`
TeacherId *int `json:"teacherId"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"description"`
Id string `json:"id"`
IsMajor bool `json:"isMajor"`
PublishedAt *time.Time `json:"publishedAt"`
RequiresTeam bool `json:"requiresTeam"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
SubmissionDueAt *time.Time `json:"submissionDueAt"`
SubmissionStartAt *time.Time `json:"submissionStartAt"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
UpdatedBy *struct {
Id string `json:"id"`
Image *string `json:"image"`
Name *string `json:"name"`
Username *string `json:"username"`
} `json:"updatedBy"`
UpdatedById *string `json:"updatedById"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
SubscribedHomeworksResponseSchema defines model for subscribedHomeworksResponseSchema.
type SubscribedSchedulesResponseSchema ¶
type SubscribedSchedulesResponseSchema struct {
Schedules []struct {
CustomPlace *string `json:"customPlace"`
Date *time.Time `json:"date"`
EndTime string `json:"endTime"`
EndUnit int `json:"endUnit"`
ExerciseClass *bool `json:"exerciseClass"`
Experiment *string `json:"experiment"`
Id int `json:"id"`
LessonType *string `json:"lessonType"`
Periods float32 `json:"periods"`
Room *struct {
Building *struct {
Campus *struct {
Code *string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"campus"`
CampusId *int `json:"campusId"`
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"building"`
BuildingId *int `json:"buildingId"`
Code string `json:"code"`
Floor *int `json:"floor"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Remark *string `json:"remark"`
RoomType *struct {
Code string `json:"code"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"roomType"`
RoomTypeId *int `json:"roomTypeId"`
Seats int `json:"seats"`
SeatsForSection int `json:"seatsForSection"`
Virtual bool `json:"virtual"`
} `json:"room"`
RoomId *int `json:"roomId"`
ScheduleGroup struct {
ActualPeriods float32 `json:"actualPeriods"`
Id int `json:"id"`
IsDefault bool `json:"isDefault"`
JwId int `json:"jwId"`
LimitCount int `json:"limitCount"`
No int `json:"no"`
SectionId int `json:"sectionId"`
StdCount int `json:"stdCount"`
} `json:"scheduleGroup"`
ScheduleGroupId int `json:"scheduleGroupId"`
Section struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
CategoryId *int `json:"categoryId"`
ClassTypeId *int `json:"classTypeId"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevelId *int `json:"educationLevelId"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"section"`
SectionId int `json:"sectionId"`
StartTime string `json:"startTime"`
StartUnit int `json:"startUnit"`
TeacherParticipations []struct {
ExerciseClass *bool `json:"exerciseClass"`
Periods *float32 `json:"periods"`
Teacher struct {
UnderscoreCount struct {
Sections int `json:"sections"`
} `json:"_count"`
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
TeacherTitle *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teacherTitle"`
} `json:"teacher"`
} `json:"teacherParticipations"`
Teachers []struct {
UnderscoreCount struct {
Sections int `json:"sections"`
} `json:"_count"`
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
TeacherTitle *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teacherTitle"`
} `json:"teachers"`
WeekIndex int `json:"weekIndex"`
Weekday int `json:"weekday"`
} `json:"schedules"`
}
SubscribedSchedulesResponseSchema defines model for subscribedSchedulesResponseSchema.
type SubscriptionKindUpdateRequestSchema ¶
type SubscriptionKindUpdateRequestSchema struct {
Kind SubscriptionKindUpdateRequestSchemaKind `json:"kind"`
}
SubscriptionKindUpdateRequestSchema defines model for subscriptionKindUpdateRequestSchema.
type SubscriptionKindUpdateRequestSchemaKind ¶
type SubscriptionKindUpdateRequestSchemaKind string
SubscriptionKindUpdateRequestSchemaKind defines model for SubscriptionKindUpdateRequestSchema.Kind.
const ( SubscriptionKindUpdateRequestSchemaKindAuditor SubscriptionKindUpdateRequestSchemaKind = "auditor" SubscriptionKindUpdateRequestSchemaKindRegular SubscriptionKindUpdateRequestSchemaKind = "regular" SubscriptionKindUpdateRequestSchemaKindTeachingAssistant SubscriptionKindUpdateRequestSchemaKind = "teaching_assistant" )
Defines values for SubscriptionKindUpdateRequestSchemaKind.
func (SubscriptionKindUpdateRequestSchemaKind) Valid ¶
func (e SubscriptionKindUpdateRequestSchemaKind) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionKindUpdateRequestSchemaKind enum.
type SubscriptionKindUpdateResponseSchema ¶
type SubscriptionKindUpdateResponseSchema struct {
Kind SubscriptionKindUpdateResponseSchemaKind `json:"kind"`
SectionJwId int `json:"sectionJwId"`
}
SubscriptionKindUpdateResponseSchema defines model for subscriptionKindUpdateResponseSchema.
type SubscriptionKindUpdateResponseSchemaKind ¶
type SubscriptionKindUpdateResponseSchemaKind string
SubscriptionKindUpdateResponseSchemaKind defines model for SubscriptionKindUpdateResponseSchema.Kind.
const ( SubscriptionKindUpdateResponseSchemaKindAuditor SubscriptionKindUpdateResponseSchemaKind = "auditor" SubscriptionKindUpdateResponseSchemaKindRegular SubscriptionKindUpdateResponseSchemaKind = "regular" SubscriptionKindUpdateResponseSchemaKindTeachingAssistant SubscriptionKindUpdateResponseSchemaKind = "teaching_assistant" )
Defines values for SubscriptionKindUpdateResponseSchemaKind.
func (SubscriptionKindUpdateResponseSchemaKind) Valid ¶
func (e SubscriptionKindUpdateResponseSchemaKind) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionKindUpdateResponseSchemaKind enum.
type SuccessResponseSchema ¶
type SuccessResponseSchema struct {
Success bool `json:"success"`
}
SuccessResponseSchema defines model for successResponseSchema.
type TeacherDetailSchema ¶
type TeacherDetailSchema struct {
UnderscoreCount struct {
Sections int `json:"sections"`
} `json:"_count"`
Address *string `json:"address"`
Code *string `json:"code"`
Department *struct {
Code string `json:"code"`
Id int `json:"id"`
IsCollege *bool `json:"isCollege"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"department"`
DepartmentId *int `json:"departmentId"`
Email *string `json:"email"`
Id int `json:"id"`
JwId int `json:"jwId"`
Mobile *string `json:"mobile"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
PersonId *int `json:"personId"`
Sections []struct {
ActualPeriods *float32 `json:"actualPeriods"`
BizTypeId *int `json:"bizTypeId"`
CampusId *int `json:"campusId"`
CatalogAdminClasses *[]struct {
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
} `json:"catalogAdminClasses"`
Code string `json:"code"`
Course struct {
Category *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"category"`
CategoryId *int `json:"categoryId"`
ClassType *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classType"`
ClassTypeId *int `json:"classTypeId"`
Classify *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"classify"`
ClassifyId *int `json:"classifyId"`
Code string `json:"code"`
EducationLevel *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"educationLevel"`
EducationLevelId *int `json:"educationLevelId"`
Gradation *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"gradation"`
GradationId *int `json:"gradationId"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
Type *struct {
Id int `json:"id"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"type"`
TypeId *int `json:"typeId"`
} `json:"course"`
CourseId int `json:"courseId"`
Credits *float32 `json:"credits"`
DateTimePlacePersonText *[]string `json:"dateTimePlacePersonText"`
DateTimePlaceText *string `json:"dateTimePlaceText"`
DesignPeriods *float32 `json:"designPeriods"`
ExamModeId *int `json:"examModeId"`
ExperimentPeriods *float32 `json:"experimentPeriods"`
GraduateAndPostgraduate *bool `json:"graduateAndPostgraduate"`
Id int `json:"id"`
JwId int `json:"jwId"`
LimitCount *int `json:"limitCount"`
MachinePeriods *float32 `json:"machinePeriods"`
OpenDepartmentId *int `json:"openDepartmentId"`
Period *int `json:"period"`
PeriodsPerWeek *float32 `json:"periodsPerWeek"`
PracticePeriods *float32 `json:"practicePeriods"`
Remark *string `json:"remark"`
RequiredWeeks *int `json:"requiredWeeks"`
RetiredAt *time.Time `json:"retiredAt"`
RoomTypeId *int `json:"roomTypeId"`
ScheduleJsonParams *[]UnderscoreUnderscoreSchema5 `json:"scheduleJsonParams"`
ScheduleRemark *string `json:"scheduleRemark"`
ScheduleState *string `json:"scheduleState"`
SelectedStdCount *int `json:"selectedStdCount"`
Semester *SemesterSchema `json:"semester"`
SemesterId *int `json:"semesterId"`
StdCount *int `json:"stdCount"`
SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"`
SuggestScheduleWeeks *[]int `json:"suggestScheduleWeeks"`
TeachLanguageId *int `json:"teachLanguageId"`
TestPeriods *float32 `json:"testPeriods"`
TheoryPeriods *float32 `json:"theoryPeriods"`
TimesPerWeek *int `json:"timesPerWeek"`
} `json:"sections"`
TeacherTitle *struct {
Code string `json:"code"`
Enabled *bool `json:"enabled"`
Id int `json:"id"`
JwId int `json:"jwId"`
NameCn string `json:"nameCn"`
NameEn *string `json:"nameEn"`
NamePrimary string `json:"namePrimary"`
NameSecondary *string `json:"nameSecondary"`
} `json:"teacherTitle"`
TeacherTitleId *int `json:"teacherTitleId"`
Telephone *string `json:"telephone"`
}
TeacherDetailSchema defines model for teacherDetailSchema.
type TodoBatchDeleteRequestSchema ¶
type TodoBatchDeleteRequestSchema struct {
Ids []string `json:"ids"`
}
TodoBatchDeleteRequestSchema defines model for todoBatchDeleteRequestSchema.
type TodoBatchDeleteResponseSchema ¶
type TodoBatchDeleteResponseSchema struct {
Results []TodoBatchDeleteResponseSchema_Results_Item `json:"results"`
}
TodoBatchDeleteResponseSchema defines model for todoBatchDeleteResponseSchema.
type TodoBatchDeleteResponseSchemaResults0 ¶
type TodoBatchDeleteResponseSchemaResults0 struct {
Id string `json:"id"`
Success TodoBatchDeleteResponseSchemaResults0Success `json:"success"`
}
TodoBatchDeleteResponseSchemaResults0 defines model for TodoBatchDeleteResponseSchema.Results.0.
type TodoBatchDeleteResponseSchemaResults0Success ¶
type TodoBatchDeleteResponseSchemaResults0Success bool
TodoBatchDeleteResponseSchemaResults0Success defines model for TodoBatchDeleteResponseSchema.Results.0.Success.
const (
TodoBatchDeleteResponseSchemaResults0SuccessTrue TodoBatchDeleteResponseSchemaResults0Success = true
)
Defines values for TodoBatchDeleteResponseSchemaResults0Success.
func (TodoBatchDeleteResponseSchemaResults0Success) Valid ¶
func (e TodoBatchDeleteResponseSchemaResults0Success) Valid() bool
Valid indicates whether the value is a known member of the TodoBatchDeleteResponseSchemaResults0Success enum.
type TodoBatchDeleteResponseSchemaResults1 ¶
type TodoBatchDeleteResponseSchemaResults1 struct {
Error struct {
Code TodoBatchDeleteResponseSchemaResults1ErrorCode `json:"code"`
Message string `json:"message"`
} `json:"error"`
Id string `json:"id"`
Success TodoBatchDeleteResponseSchemaResults1Success `json:"success"`
}
TodoBatchDeleteResponseSchemaResults1 defines model for TodoBatchDeleteResponseSchema.Results.1.
type TodoBatchDeleteResponseSchemaResults1ErrorCode ¶
type TodoBatchDeleteResponseSchemaResults1ErrorCode string
TodoBatchDeleteResponseSchemaResults1ErrorCode defines model for TodoBatchDeleteResponseSchema.Results.1.Error.Code.
const ( TodoBatchDeleteResponseSchemaResults1ErrorCodeForbidden TodoBatchDeleteResponseSchemaResults1ErrorCode = "forbidden" TodoBatchDeleteResponseSchemaResults1ErrorCodeNotFound TodoBatchDeleteResponseSchemaResults1ErrorCode = "not_found" )
Defines values for TodoBatchDeleteResponseSchemaResults1ErrorCode.
func (TodoBatchDeleteResponseSchemaResults1ErrorCode) Valid ¶
func (e TodoBatchDeleteResponseSchemaResults1ErrorCode) Valid() bool
Valid indicates whether the value is a known member of the TodoBatchDeleteResponseSchemaResults1ErrorCode enum.
type TodoBatchDeleteResponseSchemaResults1Success ¶
type TodoBatchDeleteResponseSchemaResults1Success bool
TodoBatchDeleteResponseSchemaResults1Success defines model for TodoBatchDeleteResponseSchema.Results.1.Success.
const (
TodoBatchDeleteResponseSchemaResults1SuccessFalse TodoBatchDeleteResponseSchemaResults1Success = false
)
Defines values for TodoBatchDeleteResponseSchemaResults1Success.
func (TodoBatchDeleteResponseSchemaResults1Success) Valid ¶
func (e TodoBatchDeleteResponseSchemaResults1Success) Valid() bool
Valid indicates whether the value is a known member of the TodoBatchDeleteResponseSchemaResults1Success enum.
type TodoBatchDeleteResponseSchema_Results_Item ¶
type TodoBatchDeleteResponseSchema_Results_Item struct {
// contains filtered or unexported fields
}
TodoBatchDeleteResponseSchema_Results_Item defines model for todoBatchDeleteResponseSchema.results.Item.
func (TodoBatchDeleteResponseSchema_Results_Item) AsTodoBatchDeleteResponseSchemaResults0 ¶
func (t TodoBatchDeleteResponseSchema_Results_Item) AsTodoBatchDeleteResponseSchemaResults0() (TodoBatchDeleteResponseSchemaResults0, error)
AsTodoBatchDeleteResponseSchemaResults0 returns the union data inside the TodoBatchDeleteResponseSchema_Results_Item as a TodoBatchDeleteResponseSchemaResults0
func (TodoBatchDeleteResponseSchema_Results_Item) AsTodoBatchDeleteResponseSchemaResults1 ¶
func (t TodoBatchDeleteResponseSchema_Results_Item) AsTodoBatchDeleteResponseSchemaResults1() (TodoBatchDeleteResponseSchemaResults1, error)
AsTodoBatchDeleteResponseSchemaResults1 returns the union data inside the TodoBatchDeleteResponseSchema_Results_Item as a TodoBatchDeleteResponseSchemaResults1
func (*TodoBatchDeleteResponseSchema_Results_Item) FromTodoBatchDeleteResponseSchemaResults0 ¶
func (t *TodoBatchDeleteResponseSchema_Results_Item) FromTodoBatchDeleteResponseSchemaResults0(v TodoBatchDeleteResponseSchemaResults0) error
FromTodoBatchDeleteResponseSchemaResults0 overwrites any union data inside the TodoBatchDeleteResponseSchema_Results_Item as the provided TodoBatchDeleteResponseSchemaResults0
func (*TodoBatchDeleteResponseSchema_Results_Item) FromTodoBatchDeleteResponseSchemaResults1 ¶
func (t *TodoBatchDeleteResponseSchema_Results_Item) FromTodoBatchDeleteResponseSchemaResults1(v TodoBatchDeleteResponseSchemaResults1) error
FromTodoBatchDeleteResponseSchemaResults1 overwrites any union data inside the TodoBatchDeleteResponseSchema_Results_Item as the provided TodoBatchDeleteResponseSchemaResults1
func (TodoBatchDeleteResponseSchema_Results_Item) MarshalJSON ¶
func (t TodoBatchDeleteResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
func (*TodoBatchDeleteResponseSchema_Results_Item) MergeTodoBatchDeleteResponseSchemaResults0 ¶
func (t *TodoBatchDeleteResponseSchema_Results_Item) MergeTodoBatchDeleteResponseSchemaResults0(v TodoBatchDeleteResponseSchemaResults0) error
MergeTodoBatchDeleteResponseSchemaResults0 performs a merge with any union data inside the TodoBatchDeleteResponseSchema_Results_Item, using the provided TodoBatchDeleteResponseSchemaResults0
func (*TodoBatchDeleteResponseSchema_Results_Item) MergeTodoBatchDeleteResponseSchemaResults1 ¶
func (t *TodoBatchDeleteResponseSchema_Results_Item) MergeTodoBatchDeleteResponseSchemaResults1(v TodoBatchDeleteResponseSchemaResults1) error
MergeTodoBatchDeleteResponseSchemaResults1 performs a merge with any union data inside the TodoBatchDeleteResponseSchema_Results_Item, using the provided TodoBatchDeleteResponseSchemaResults1
func (*TodoBatchDeleteResponseSchema_Results_Item) UnmarshalJSON ¶
func (t *TodoBatchDeleteResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
type TodoCompletionBatchRequestSchema ¶
type TodoCompletionBatchRequestSchema struct {
Items []struct {
Completed bool `json:"completed"`
TodoId string `json:"todoId"`
} `json:"items"`
}
TodoCompletionBatchRequestSchema defines model for todoCompletionBatchRequestSchema.
type TodoCompletionBatchResponseSchema ¶
type TodoCompletionBatchResponseSchema struct {
Results []TodoCompletionBatchResponseSchema_Results_Item `json:"results"`
}
TodoCompletionBatchResponseSchema defines model for todoCompletionBatchResponseSchema.
type TodoCompletionBatchResponseSchemaResults0 ¶
type TodoCompletionBatchResponseSchemaResults0 struct {
Completed bool `json:"completed"`
Success TodoCompletionBatchResponseSchemaResults0Success `json:"success"`
Todo struct {
Completed bool `json:"completed"`
Content *string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
DueAt *time.Time `json:"dueAt"`
Id string `json:"id"`
Priority TodoCompletionBatchResponseSchemaResults0TodoPriority `json:"priority"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"todo"`
TodoId string `json:"todoId"`
}
TodoCompletionBatchResponseSchemaResults0 defines model for TodoCompletionBatchResponseSchema.Results.0.
type TodoCompletionBatchResponseSchemaResults0Success ¶
type TodoCompletionBatchResponseSchemaResults0Success bool
TodoCompletionBatchResponseSchemaResults0Success defines model for TodoCompletionBatchResponseSchema.Results.0.Success.
const (
TodoCompletionBatchResponseSchemaResults0SuccessTrue TodoCompletionBatchResponseSchemaResults0Success = true
)
Defines values for TodoCompletionBatchResponseSchemaResults0Success.
func (TodoCompletionBatchResponseSchemaResults0Success) Valid ¶
func (e TodoCompletionBatchResponseSchemaResults0Success) Valid() bool
Valid indicates whether the value is a known member of the TodoCompletionBatchResponseSchemaResults0Success enum.
type TodoCompletionBatchResponseSchemaResults0TodoPriority ¶
type TodoCompletionBatchResponseSchemaResults0TodoPriority string
TodoCompletionBatchResponseSchemaResults0TodoPriority defines model for TodoCompletionBatchResponseSchema.Results.0.Todo.Priority.
const ( TodoCompletionBatchResponseSchemaResults0TodoPriorityHigh TodoCompletionBatchResponseSchemaResults0TodoPriority = "high" TodoCompletionBatchResponseSchemaResults0TodoPriorityLow TodoCompletionBatchResponseSchemaResults0TodoPriority = "low" TodoCompletionBatchResponseSchemaResults0TodoPriorityMedium TodoCompletionBatchResponseSchemaResults0TodoPriority = "medium" )
Defines values for TodoCompletionBatchResponseSchemaResults0TodoPriority.
func (TodoCompletionBatchResponseSchemaResults0TodoPriority) Valid ¶
func (e TodoCompletionBatchResponseSchemaResults0TodoPriority) Valid() bool
Valid indicates whether the value is a known member of the TodoCompletionBatchResponseSchemaResults0TodoPriority enum.
type TodoCompletionBatchResponseSchemaResults1 ¶
type TodoCompletionBatchResponseSchemaResults1 struct {
Completed bool `json:"completed"`
Error struct {
Code TodoCompletionBatchResponseSchemaResults1ErrorCode `json:"code"`
Message string `json:"message"`
} `json:"error"`
Success TodoCompletionBatchResponseSchemaResults1Success `json:"success"`
TodoId string `json:"todoId"`
}
TodoCompletionBatchResponseSchemaResults1 defines model for TodoCompletionBatchResponseSchema.Results.1.
type TodoCompletionBatchResponseSchemaResults1ErrorCode ¶
type TodoCompletionBatchResponseSchemaResults1ErrorCode string
TodoCompletionBatchResponseSchemaResults1ErrorCode defines model for TodoCompletionBatchResponseSchema.Results.1.Error.Code.
const ( TodoCompletionBatchResponseSchemaResults1ErrorCodeForbidden TodoCompletionBatchResponseSchemaResults1ErrorCode = "forbidden" TodoCompletionBatchResponseSchemaResults1ErrorCodeNotFound TodoCompletionBatchResponseSchemaResults1ErrorCode = "not_found" )
Defines values for TodoCompletionBatchResponseSchemaResults1ErrorCode.
func (TodoCompletionBatchResponseSchemaResults1ErrorCode) Valid ¶
func (e TodoCompletionBatchResponseSchemaResults1ErrorCode) Valid() bool
Valid indicates whether the value is a known member of the TodoCompletionBatchResponseSchemaResults1ErrorCode enum.
type TodoCompletionBatchResponseSchemaResults1Success ¶
type TodoCompletionBatchResponseSchemaResults1Success bool
TodoCompletionBatchResponseSchemaResults1Success defines model for TodoCompletionBatchResponseSchema.Results.1.Success.
const (
TodoCompletionBatchResponseSchemaResults1SuccessFalse TodoCompletionBatchResponseSchemaResults1Success = false
)
Defines values for TodoCompletionBatchResponseSchemaResults1Success.
func (TodoCompletionBatchResponseSchemaResults1Success) Valid ¶
func (e TodoCompletionBatchResponseSchemaResults1Success) Valid() bool
Valid indicates whether the value is a known member of the TodoCompletionBatchResponseSchemaResults1Success enum.
type TodoCompletionBatchResponseSchema_Results_Item ¶
type TodoCompletionBatchResponseSchema_Results_Item struct {
// contains filtered or unexported fields
}
TodoCompletionBatchResponseSchema_Results_Item defines model for todoCompletionBatchResponseSchema.results.Item.
func (TodoCompletionBatchResponseSchema_Results_Item) AsTodoCompletionBatchResponseSchemaResults0 ¶
func (t TodoCompletionBatchResponseSchema_Results_Item) AsTodoCompletionBatchResponseSchemaResults0() (TodoCompletionBatchResponseSchemaResults0, error)
AsTodoCompletionBatchResponseSchemaResults0 returns the union data inside the TodoCompletionBatchResponseSchema_Results_Item as a TodoCompletionBatchResponseSchemaResults0
func (TodoCompletionBatchResponseSchema_Results_Item) AsTodoCompletionBatchResponseSchemaResults1 ¶
func (t TodoCompletionBatchResponseSchema_Results_Item) AsTodoCompletionBatchResponseSchemaResults1() (TodoCompletionBatchResponseSchemaResults1, error)
AsTodoCompletionBatchResponseSchemaResults1 returns the union data inside the TodoCompletionBatchResponseSchema_Results_Item as a TodoCompletionBatchResponseSchemaResults1
func (*TodoCompletionBatchResponseSchema_Results_Item) FromTodoCompletionBatchResponseSchemaResults0 ¶
func (t *TodoCompletionBatchResponseSchema_Results_Item) FromTodoCompletionBatchResponseSchemaResults0(v TodoCompletionBatchResponseSchemaResults0) error
FromTodoCompletionBatchResponseSchemaResults0 overwrites any union data inside the TodoCompletionBatchResponseSchema_Results_Item as the provided TodoCompletionBatchResponseSchemaResults0
func (*TodoCompletionBatchResponseSchema_Results_Item) FromTodoCompletionBatchResponseSchemaResults1 ¶
func (t *TodoCompletionBatchResponseSchema_Results_Item) FromTodoCompletionBatchResponseSchemaResults1(v TodoCompletionBatchResponseSchemaResults1) error
FromTodoCompletionBatchResponseSchemaResults1 overwrites any union data inside the TodoCompletionBatchResponseSchema_Results_Item as the provided TodoCompletionBatchResponseSchemaResults1
func (TodoCompletionBatchResponseSchema_Results_Item) MarshalJSON ¶
func (t TodoCompletionBatchResponseSchema_Results_Item) MarshalJSON() ([]byte, error)
func (*TodoCompletionBatchResponseSchema_Results_Item) MergeTodoCompletionBatchResponseSchemaResults0 ¶
func (t *TodoCompletionBatchResponseSchema_Results_Item) MergeTodoCompletionBatchResponseSchemaResults0(v TodoCompletionBatchResponseSchemaResults0) error
MergeTodoCompletionBatchResponseSchemaResults0 performs a merge with any union data inside the TodoCompletionBatchResponseSchema_Results_Item, using the provided TodoCompletionBatchResponseSchemaResults0
func (*TodoCompletionBatchResponseSchema_Results_Item) MergeTodoCompletionBatchResponseSchemaResults1 ¶
func (t *TodoCompletionBatchResponseSchema_Results_Item) MergeTodoCompletionBatchResponseSchemaResults1(v TodoCompletionBatchResponseSchemaResults1) error
MergeTodoCompletionBatchResponseSchemaResults1 performs a merge with any union data inside the TodoCompletionBatchResponseSchema_Results_Item, using the provided TodoCompletionBatchResponseSchemaResults1
func (*TodoCompletionBatchResponseSchema_Results_Item) UnmarshalJSON ¶
func (t *TodoCompletionBatchResponseSchema_Results_Item) UnmarshalJSON(b []byte) error
type TodoCreateRequestSchema ¶
type TodoCreateRequestSchema struct {
Content *string `json:"content,omitempty"`
DueAt *TodoCreateRequestSchema_DueAt `json:"dueAt,omitempty"`
Priority *TodoCreateRequestSchemaPriority `json:"priority,omitempty"`
Title string `json:"title"`
}
TodoCreateRequestSchema defines model for todoCreateRequestSchema.
type TodoCreateRequestSchemaDueAt0 ¶
type TodoCreateRequestSchemaDueAt0 = string
TodoCreateRequestSchemaDueAt0 defines model for TodoCreateRequestSchema.DueAt.0.
type TodoCreateRequestSchemaDueAt1 ¶
type TodoCreateRequestSchemaDueAt1 string
TodoCreateRequestSchemaDueAt1 defines model for TodoCreateRequestSchema.DueAt.1.
const (
TodoCreateRequestSchemaDueAt1LessThannil TodoCreateRequestSchemaDueAt1 = "<nil>"
)
Defines values for TodoCreateRequestSchemaDueAt1.
func (TodoCreateRequestSchemaDueAt1) Valid ¶
func (e TodoCreateRequestSchemaDueAt1) Valid() bool
Valid indicates whether the value is a known member of the TodoCreateRequestSchemaDueAt1 enum.
type TodoCreateRequestSchemaPriority ¶
type TodoCreateRequestSchemaPriority string
TodoCreateRequestSchemaPriority defines model for TodoCreateRequestSchema.Priority.
const ( TodoCreateRequestSchemaPriorityHigh TodoCreateRequestSchemaPriority = "high" TodoCreateRequestSchemaPriorityLow TodoCreateRequestSchemaPriority = "low" TodoCreateRequestSchemaPriorityMedium TodoCreateRequestSchemaPriority = "medium" )
Defines values for TodoCreateRequestSchemaPriority.
func (TodoCreateRequestSchemaPriority) Valid ¶
func (e TodoCreateRequestSchemaPriority) Valid() bool
Valid indicates whether the value is a known member of the TodoCreateRequestSchemaPriority enum.
type TodoCreateRequestSchema_DueAt ¶
type TodoCreateRequestSchema_DueAt struct {
// contains filtered or unexported fields
}
TodoCreateRequestSchema_DueAt defines model for TodoCreateRequestSchema.DueAt.
func (TodoCreateRequestSchema_DueAt) AsTodoCreateRequestSchemaDueAt0 ¶
func (t TodoCreateRequestSchema_DueAt) AsTodoCreateRequestSchemaDueAt0() (TodoCreateRequestSchemaDueAt0, error)
AsTodoCreateRequestSchemaDueAt0 returns the union data inside the TodoCreateRequestSchema_DueAt as a TodoCreateRequestSchemaDueAt0
func (TodoCreateRequestSchema_DueAt) AsTodoCreateRequestSchemaDueAt1 ¶
func (t TodoCreateRequestSchema_DueAt) AsTodoCreateRequestSchemaDueAt1() (TodoCreateRequestSchemaDueAt1, error)
AsTodoCreateRequestSchemaDueAt1 returns the union data inside the TodoCreateRequestSchema_DueAt as a TodoCreateRequestSchemaDueAt1
func (*TodoCreateRequestSchema_DueAt) FromTodoCreateRequestSchemaDueAt0 ¶
func (t *TodoCreateRequestSchema_DueAt) FromTodoCreateRequestSchemaDueAt0(v TodoCreateRequestSchemaDueAt0) error
FromTodoCreateRequestSchemaDueAt0 overwrites any union data inside the TodoCreateRequestSchema_DueAt as the provided TodoCreateRequestSchemaDueAt0
func (*TodoCreateRequestSchema_DueAt) FromTodoCreateRequestSchemaDueAt1 ¶
func (t *TodoCreateRequestSchema_DueAt) FromTodoCreateRequestSchemaDueAt1(v TodoCreateRequestSchemaDueAt1) error
FromTodoCreateRequestSchemaDueAt1 overwrites any union data inside the TodoCreateRequestSchema_DueAt as the provided TodoCreateRequestSchemaDueAt1
func (TodoCreateRequestSchema_DueAt) MarshalJSON ¶
func (t TodoCreateRequestSchema_DueAt) MarshalJSON() ([]byte, error)
func (*TodoCreateRequestSchema_DueAt) MergeTodoCreateRequestSchemaDueAt0 ¶
func (t *TodoCreateRequestSchema_DueAt) MergeTodoCreateRequestSchemaDueAt0(v TodoCreateRequestSchemaDueAt0) error
MergeTodoCreateRequestSchemaDueAt0 performs a merge with any union data inside the TodoCreateRequestSchema_DueAt, using the provided TodoCreateRequestSchemaDueAt0
func (*TodoCreateRequestSchema_DueAt) MergeTodoCreateRequestSchemaDueAt1 ¶
func (t *TodoCreateRequestSchema_DueAt) MergeTodoCreateRequestSchemaDueAt1(v TodoCreateRequestSchemaDueAt1) error
MergeTodoCreateRequestSchemaDueAt1 performs a merge with any union data inside the TodoCreateRequestSchema_DueAt, using the provided TodoCreateRequestSchemaDueAt1
func (*TodoCreateRequestSchema_DueAt) UnmarshalJSON ¶
func (t *TodoCreateRequestSchema_DueAt) UnmarshalJSON(b []byte) error
type TodoUpdateRequestSchema ¶
type TodoUpdateRequestSchema struct {
Completed *bool `json:"completed,omitempty"`
Content *string `json:"content,omitempty"`
DueAt *TodoUpdateRequestSchema_DueAt `json:"dueAt,omitempty"`
Priority *TodoUpdateRequestSchemaPriority `json:"priority,omitempty"`
Title *string `json:"title,omitempty"`
}
TodoUpdateRequestSchema defines model for todoUpdateRequestSchema.
type TodoUpdateRequestSchemaDueAt0 ¶
type TodoUpdateRequestSchemaDueAt0 = string
TodoUpdateRequestSchemaDueAt0 defines model for TodoUpdateRequestSchema.DueAt.0.
type TodoUpdateRequestSchemaDueAt1 ¶
type TodoUpdateRequestSchemaDueAt1 string
TodoUpdateRequestSchemaDueAt1 defines model for TodoUpdateRequestSchema.DueAt.1.
const (
TodoUpdateRequestSchemaDueAt1LessThannil TodoUpdateRequestSchemaDueAt1 = "<nil>"
)
Defines values for TodoUpdateRequestSchemaDueAt1.
func (TodoUpdateRequestSchemaDueAt1) Valid ¶
func (e TodoUpdateRequestSchemaDueAt1) Valid() bool
Valid indicates whether the value is a known member of the TodoUpdateRequestSchemaDueAt1 enum.
type TodoUpdateRequestSchemaPriority ¶
type TodoUpdateRequestSchemaPriority string
TodoUpdateRequestSchemaPriority defines model for TodoUpdateRequestSchema.Priority.
const ( TodoUpdateRequestSchemaPriorityHigh TodoUpdateRequestSchemaPriority = "high" TodoUpdateRequestSchemaPriorityLow TodoUpdateRequestSchemaPriority = "low" TodoUpdateRequestSchemaPriorityMedium TodoUpdateRequestSchemaPriority = "medium" )
Defines values for TodoUpdateRequestSchemaPriority.
func (TodoUpdateRequestSchemaPriority) Valid ¶
func (e TodoUpdateRequestSchemaPriority) Valid() bool
Valid indicates whether the value is a known member of the TodoUpdateRequestSchemaPriority enum.
type TodoUpdateRequestSchema_DueAt ¶
type TodoUpdateRequestSchema_DueAt struct {
// contains filtered or unexported fields
}
TodoUpdateRequestSchema_DueAt defines model for TodoUpdateRequestSchema.DueAt.
func (TodoUpdateRequestSchema_DueAt) AsTodoUpdateRequestSchemaDueAt0 ¶
func (t TodoUpdateRequestSchema_DueAt) AsTodoUpdateRequestSchemaDueAt0() (TodoUpdateRequestSchemaDueAt0, error)
AsTodoUpdateRequestSchemaDueAt0 returns the union data inside the TodoUpdateRequestSchema_DueAt as a TodoUpdateRequestSchemaDueAt0
func (TodoUpdateRequestSchema_DueAt) AsTodoUpdateRequestSchemaDueAt1 ¶
func (t TodoUpdateRequestSchema_DueAt) AsTodoUpdateRequestSchemaDueAt1() (TodoUpdateRequestSchemaDueAt1, error)
AsTodoUpdateRequestSchemaDueAt1 returns the union data inside the TodoUpdateRequestSchema_DueAt as a TodoUpdateRequestSchemaDueAt1
func (*TodoUpdateRequestSchema_DueAt) FromTodoUpdateRequestSchemaDueAt0 ¶
func (t *TodoUpdateRequestSchema_DueAt) FromTodoUpdateRequestSchemaDueAt0(v TodoUpdateRequestSchemaDueAt0) error
FromTodoUpdateRequestSchemaDueAt0 overwrites any union data inside the TodoUpdateRequestSchema_DueAt as the provided TodoUpdateRequestSchemaDueAt0
func (*TodoUpdateRequestSchema_DueAt) FromTodoUpdateRequestSchemaDueAt1 ¶
func (t *TodoUpdateRequestSchema_DueAt) FromTodoUpdateRequestSchemaDueAt1(v TodoUpdateRequestSchemaDueAt1) error
FromTodoUpdateRequestSchemaDueAt1 overwrites any union data inside the TodoUpdateRequestSchema_DueAt as the provided TodoUpdateRequestSchemaDueAt1
func (TodoUpdateRequestSchema_DueAt) MarshalJSON ¶
func (t TodoUpdateRequestSchema_DueAt) MarshalJSON() ([]byte, error)
func (*TodoUpdateRequestSchema_DueAt) MergeTodoUpdateRequestSchemaDueAt0 ¶
func (t *TodoUpdateRequestSchema_DueAt) MergeTodoUpdateRequestSchemaDueAt0(v TodoUpdateRequestSchemaDueAt0) error
MergeTodoUpdateRequestSchemaDueAt0 performs a merge with any union data inside the TodoUpdateRequestSchema_DueAt, using the provided TodoUpdateRequestSchemaDueAt0
func (*TodoUpdateRequestSchema_DueAt) MergeTodoUpdateRequestSchemaDueAt1 ¶
func (t *TodoUpdateRequestSchema_DueAt) MergeTodoUpdateRequestSchemaDueAt1(v TodoUpdateRequestSchemaDueAt1) error
MergeTodoUpdateRequestSchemaDueAt1 performs a merge with any union data inside the TodoUpdateRequestSchema_DueAt, using the provided TodoUpdateRequestSchemaDueAt1
func (*TodoUpdateRequestSchema_DueAt) UnmarshalJSON ¶
func (t *TodoUpdateRequestSchema_DueAt) UnmarshalJSON(b []byte) error
type TodoUpdateResponseSchema ¶
type TodoUpdateResponseSchema struct {
Success bool `json:"success"`
Todo struct {
Completed bool `json:"completed"`
Content *string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
DueAt *time.Time `json:"dueAt"`
Id string `json:"id"`
Priority TodoUpdateResponseSchemaTodoPriority `json:"priority"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"todo"`
}
TodoUpdateResponseSchema defines model for todoUpdateResponseSchema.
type TodoUpdateResponseSchemaTodoPriority ¶
type TodoUpdateResponseSchemaTodoPriority string
TodoUpdateResponseSchemaTodoPriority defines model for TodoUpdateResponseSchema.Todo.Priority.
const ( TodoUpdateResponseSchemaTodoPriorityHigh TodoUpdateResponseSchemaTodoPriority = "high" TodoUpdateResponseSchemaTodoPriorityLow TodoUpdateResponseSchemaTodoPriority = "low" TodoUpdateResponseSchemaTodoPriorityMedium TodoUpdateResponseSchemaTodoPriority = "medium" )
Defines values for TodoUpdateResponseSchemaTodoPriority.
func (TodoUpdateResponseSchemaTodoPriority) Valid ¶
func (e TodoUpdateResponseSchemaTodoPriority) Valid() bool
Valid indicates whether the value is a known member of the TodoUpdateResponseSchemaTodoPriority enum.
type TodosListResponseSchema ¶
type TodosListResponseSchema struct {
// contains filtered or unexported fields
}
TodosListResponseSchema defines model for todosListResponseSchema.
func (TodosListResponseSchema) AsTodosListResponseSchema0 ¶
func (t TodosListResponseSchema) AsTodosListResponseSchema0() (TodosListResponseSchema0, error)
AsTodosListResponseSchema0 returns the union data inside the TodosListResponseSchema as a TodosListResponseSchema0
func (TodosListResponseSchema) AsTodosListResponseSchema1 ¶
func (t TodosListResponseSchema) AsTodosListResponseSchema1() (TodosListResponseSchema1, error)
AsTodosListResponseSchema1 returns the union data inside the TodosListResponseSchema as a TodosListResponseSchema1
func (*TodosListResponseSchema) FromTodosListResponseSchema0 ¶
func (t *TodosListResponseSchema) FromTodosListResponseSchema0(v TodosListResponseSchema0) error
FromTodosListResponseSchema0 overwrites any union data inside the TodosListResponseSchema as the provided TodosListResponseSchema0
func (*TodosListResponseSchema) FromTodosListResponseSchema1 ¶
func (t *TodosListResponseSchema) FromTodosListResponseSchema1(v TodosListResponseSchema1) error
FromTodosListResponseSchema1 overwrites any union data inside the TodosListResponseSchema as the provided TodosListResponseSchema1
func (TodosListResponseSchema) MarshalJSON ¶
func (t TodosListResponseSchema) MarshalJSON() ([]byte, error)
func (*TodosListResponseSchema) MergeTodosListResponseSchema0 ¶
func (t *TodosListResponseSchema) MergeTodosListResponseSchema0(v TodosListResponseSchema0) error
MergeTodosListResponseSchema0 performs a merge with any union data inside the TodosListResponseSchema, using the provided TodosListResponseSchema0
func (*TodosListResponseSchema) MergeTodosListResponseSchema1 ¶
func (t *TodosListResponseSchema) MergeTodosListResponseSchema1(v TodosListResponseSchema1) error
MergeTodosListResponseSchema1 performs a merge with any union data inside the TodosListResponseSchema, using the provided TodosListResponseSchema1
func (*TodosListResponseSchema) UnmarshalJSON ¶
func (t *TodosListResponseSchema) UnmarshalJSON(b []byte) error
type TodosListResponseSchema0 ¶
type TodosListResponseSchema0 struct {
Counts struct {
Completed int `json:"completed"`
Incomplete int `json:"incomplete"`
Overdue int `json:"overdue"`
} `json:"counts"`
Todos []struct {
Completed bool `json:"completed"`
Content *string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
DueAt *time.Time `json:"dueAt"`
Id string `json:"id"`
Priority TodosListResponseSchema0TodosPriority `json:"priority"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"todos"`
}
TodosListResponseSchema0 defines model for TodosListResponseSchema.0.
type TodosListResponseSchema0TodosPriority ¶
type TodosListResponseSchema0TodosPriority string
TodosListResponseSchema0TodosPriority defines model for TodosListResponseSchema.0.Todos.Priority.
const ( TodosListResponseSchema0TodosPriorityHigh TodosListResponseSchema0TodosPriority = "high" TodosListResponseSchema0TodosPriorityLow TodosListResponseSchema0TodosPriority = "low" TodosListResponseSchema0TodosPriorityMedium TodosListResponseSchema0TodosPriority = "medium" )
Defines values for TodosListResponseSchema0TodosPriority.
func (TodosListResponseSchema0TodosPriority) Valid ¶
func (e TodosListResponseSchema0TodosPriority) Valid() bool
Valid indicates whether the value is a known member of the TodosListResponseSchema0TodosPriority enum.
type TodosListResponseSchema1 ¶
type TodosListResponseSchema1 struct {
Data []struct {
Completed bool `json:"completed"`
Content *string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
DueAt *time.Time `json:"dueAt"`
Id string `json:"id"`
Priority TodosListResponseSchema1DataPriority `json:"priority"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
} `json:"data"`
Meta struct {
Counts struct {
Completed int `json:"completed"`
Incomplete int `json:"incomplete"`
Overdue int `json:"overdue"`
} `json:"counts"`
} `json:"meta"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
TodosListResponseSchema1 defines model for TodosListResponseSchema.1.
type TodosListResponseSchema1DataPriority ¶
type TodosListResponseSchema1DataPriority string
TodosListResponseSchema1DataPriority defines model for TodosListResponseSchema.1.Data.Priority.
const ( TodosListResponseSchema1DataPriorityHigh TodosListResponseSchema1DataPriority = "high" TodosListResponseSchema1DataPriorityLow TodosListResponseSchema1DataPriority = "low" TodosListResponseSchema1DataPriorityMedium TodosListResponseSchema1DataPriority = "medium" )
Defines values for TodosListResponseSchema1DataPriority.
func (TodosListResponseSchema1DataPriority) Valid ¶
func (e TodosListResponseSchema1DataPriority) Valid() bool
Valid indicates whether the value is a known member of the TodosListResponseSchema1DataPriority enum.
type UnderscoreUnderscoreSchema0 ¶
type UnderscoreUnderscoreSchema0 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema0 defines model for __schema0.
func (UnderscoreUnderscoreSchema0) AsSchema00 ¶
func (t UnderscoreUnderscoreSchema0) AsSchema00() (Schema00, error)
AsSchema00 returns the union data inside the UnderscoreUnderscoreSchema0 as a Schema00
func (UnderscoreUnderscoreSchema0) AsSchema01 ¶
func (t UnderscoreUnderscoreSchema0) AsSchema01() (Schema01, error)
AsSchema01 returns the union data inside the UnderscoreUnderscoreSchema0 as a Schema01
func (UnderscoreUnderscoreSchema0) AsSchema02 ¶
func (t UnderscoreUnderscoreSchema0) AsSchema02() (Schema02, error)
AsSchema02 returns the union data inside the UnderscoreUnderscoreSchema0 as a Schema02
func (UnderscoreUnderscoreSchema0) AsSchema03 ¶
func (t UnderscoreUnderscoreSchema0) AsSchema03() (Schema03, error)
AsSchema03 returns the union data inside the UnderscoreUnderscoreSchema0 as a Schema03
func (UnderscoreUnderscoreSchema0) AsSchema04 ¶
func (t UnderscoreUnderscoreSchema0) AsSchema04() (Schema04, error)
AsSchema04 returns the union data inside the UnderscoreUnderscoreSchema0 as a Schema04
func (UnderscoreUnderscoreSchema0) AsSchema05 ¶
func (t UnderscoreUnderscoreSchema0) AsSchema05() (Schema05, error)
AsSchema05 returns the union data inside the UnderscoreUnderscoreSchema0 as a Schema05
func (*UnderscoreUnderscoreSchema0) FromSchema00 ¶
func (t *UnderscoreUnderscoreSchema0) FromSchema00(v Schema00) error
FromSchema00 overwrites any union data inside the UnderscoreUnderscoreSchema0 as the provided Schema00
func (*UnderscoreUnderscoreSchema0) FromSchema01 ¶
func (t *UnderscoreUnderscoreSchema0) FromSchema01(v Schema01) error
FromSchema01 overwrites any union data inside the UnderscoreUnderscoreSchema0 as the provided Schema01
func (*UnderscoreUnderscoreSchema0) FromSchema02 ¶
func (t *UnderscoreUnderscoreSchema0) FromSchema02(v Schema02) error
FromSchema02 overwrites any union data inside the UnderscoreUnderscoreSchema0 as the provided Schema02
func (*UnderscoreUnderscoreSchema0) FromSchema03 ¶
func (t *UnderscoreUnderscoreSchema0) FromSchema03(v Schema03) error
FromSchema03 overwrites any union data inside the UnderscoreUnderscoreSchema0 as the provided Schema03
func (*UnderscoreUnderscoreSchema0) FromSchema04 ¶
func (t *UnderscoreUnderscoreSchema0) FromSchema04(v Schema04) error
FromSchema04 overwrites any union data inside the UnderscoreUnderscoreSchema0 as the provided Schema04
func (*UnderscoreUnderscoreSchema0) FromSchema05 ¶
func (t *UnderscoreUnderscoreSchema0) FromSchema05(v Schema05) error
FromSchema05 overwrites any union data inside the UnderscoreUnderscoreSchema0 as the provided Schema05
func (UnderscoreUnderscoreSchema0) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema0) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema0) MergeSchema00 ¶
func (t *UnderscoreUnderscoreSchema0) MergeSchema00(v Schema00) error
MergeSchema00 performs a merge with any union data inside the UnderscoreUnderscoreSchema0, using the provided Schema00
func (*UnderscoreUnderscoreSchema0) MergeSchema01 ¶
func (t *UnderscoreUnderscoreSchema0) MergeSchema01(v Schema01) error
MergeSchema01 performs a merge with any union data inside the UnderscoreUnderscoreSchema0, using the provided Schema01
func (*UnderscoreUnderscoreSchema0) MergeSchema02 ¶
func (t *UnderscoreUnderscoreSchema0) MergeSchema02(v Schema02) error
MergeSchema02 performs a merge with any union data inside the UnderscoreUnderscoreSchema0, using the provided Schema02
func (*UnderscoreUnderscoreSchema0) MergeSchema03 ¶
func (t *UnderscoreUnderscoreSchema0) MergeSchema03(v Schema03) error
MergeSchema03 performs a merge with any union data inside the UnderscoreUnderscoreSchema0, using the provided Schema03
func (*UnderscoreUnderscoreSchema0) MergeSchema04 ¶
func (t *UnderscoreUnderscoreSchema0) MergeSchema04(v Schema04) error
MergeSchema04 performs a merge with any union data inside the UnderscoreUnderscoreSchema0, using the provided Schema04
func (*UnderscoreUnderscoreSchema0) MergeSchema05 ¶
func (t *UnderscoreUnderscoreSchema0) MergeSchema05(v Schema05) error
MergeSchema05 performs a merge with any union data inside the UnderscoreUnderscoreSchema0, using the provided Schema05
func (*UnderscoreUnderscoreSchema0) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema0) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema1 ¶
type UnderscoreUnderscoreSchema1 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema1 defines model for __schema1.
func (UnderscoreUnderscoreSchema1) AsSchema10 ¶
func (t UnderscoreUnderscoreSchema1) AsSchema10() (Schema10, error)
AsSchema10 returns the union data inside the UnderscoreUnderscoreSchema1 as a Schema10
func (UnderscoreUnderscoreSchema1) AsSchema11 ¶
func (t UnderscoreUnderscoreSchema1) AsSchema11() (Schema11, error)
AsSchema11 returns the union data inside the UnderscoreUnderscoreSchema1 as a Schema11
func (UnderscoreUnderscoreSchema1) AsSchema12 ¶
func (t UnderscoreUnderscoreSchema1) AsSchema12() (Schema12, error)
AsSchema12 returns the union data inside the UnderscoreUnderscoreSchema1 as a Schema12
func (UnderscoreUnderscoreSchema1) AsSchema13 ¶
func (t UnderscoreUnderscoreSchema1) AsSchema13() (Schema13, error)
AsSchema13 returns the union data inside the UnderscoreUnderscoreSchema1 as a Schema13
func (UnderscoreUnderscoreSchema1) AsSchema14 ¶
func (t UnderscoreUnderscoreSchema1) AsSchema14() (Schema14, error)
AsSchema14 returns the union data inside the UnderscoreUnderscoreSchema1 as a Schema14
func (UnderscoreUnderscoreSchema1) AsSchema15 ¶
func (t UnderscoreUnderscoreSchema1) AsSchema15() (Schema15, error)
AsSchema15 returns the union data inside the UnderscoreUnderscoreSchema1 as a Schema15
func (*UnderscoreUnderscoreSchema1) FromSchema10 ¶
func (t *UnderscoreUnderscoreSchema1) FromSchema10(v Schema10) error
FromSchema10 overwrites any union data inside the UnderscoreUnderscoreSchema1 as the provided Schema10
func (*UnderscoreUnderscoreSchema1) FromSchema11 ¶
func (t *UnderscoreUnderscoreSchema1) FromSchema11(v Schema11) error
FromSchema11 overwrites any union data inside the UnderscoreUnderscoreSchema1 as the provided Schema11
func (*UnderscoreUnderscoreSchema1) FromSchema12 ¶
func (t *UnderscoreUnderscoreSchema1) FromSchema12(v Schema12) error
FromSchema12 overwrites any union data inside the UnderscoreUnderscoreSchema1 as the provided Schema12
func (*UnderscoreUnderscoreSchema1) FromSchema13 ¶
func (t *UnderscoreUnderscoreSchema1) FromSchema13(v Schema13) error
FromSchema13 overwrites any union data inside the UnderscoreUnderscoreSchema1 as the provided Schema13
func (*UnderscoreUnderscoreSchema1) FromSchema14 ¶
func (t *UnderscoreUnderscoreSchema1) FromSchema14(v Schema14) error
FromSchema14 overwrites any union data inside the UnderscoreUnderscoreSchema1 as the provided Schema14
func (*UnderscoreUnderscoreSchema1) FromSchema15 ¶
func (t *UnderscoreUnderscoreSchema1) FromSchema15(v Schema15) error
FromSchema15 overwrites any union data inside the UnderscoreUnderscoreSchema1 as the provided Schema15
func (UnderscoreUnderscoreSchema1) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema1) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema1) MergeSchema10 ¶
func (t *UnderscoreUnderscoreSchema1) MergeSchema10(v Schema10) error
MergeSchema10 performs a merge with any union data inside the UnderscoreUnderscoreSchema1, using the provided Schema10
func (*UnderscoreUnderscoreSchema1) MergeSchema11 ¶
func (t *UnderscoreUnderscoreSchema1) MergeSchema11(v Schema11) error
MergeSchema11 performs a merge with any union data inside the UnderscoreUnderscoreSchema1, using the provided Schema11
func (*UnderscoreUnderscoreSchema1) MergeSchema12 ¶
func (t *UnderscoreUnderscoreSchema1) MergeSchema12(v Schema12) error
MergeSchema12 performs a merge with any union data inside the UnderscoreUnderscoreSchema1, using the provided Schema12
func (*UnderscoreUnderscoreSchema1) MergeSchema13 ¶
func (t *UnderscoreUnderscoreSchema1) MergeSchema13(v Schema13) error
MergeSchema13 performs a merge with any union data inside the UnderscoreUnderscoreSchema1, using the provided Schema13
func (*UnderscoreUnderscoreSchema1) MergeSchema14 ¶
func (t *UnderscoreUnderscoreSchema1) MergeSchema14(v Schema14) error
MergeSchema14 performs a merge with any union data inside the UnderscoreUnderscoreSchema1, using the provided Schema14
func (*UnderscoreUnderscoreSchema1) MergeSchema15 ¶
func (t *UnderscoreUnderscoreSchema1) MergeSchema15(v Schema15) error
MergeSchema15 performs a merge with any union data inside the UnderscoreUnderscoreSchema1, using the provided Schema15
func (*UnderscoreUnderscoreSchema1) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema1) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema2 ¶
type UnderscoreUnderscoreSchema2 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema2 defines model for __schema2.
func (UnderscoreUnderscoreSchema2) AsSchema20 ¶
func (t UnderscoreUnderscoreSchema2) AsSchema20() (Schema20, error)
AsSchema20 returns the union data inside the UnderscoreUnderscoreSchema2 as a Schema20
func (UnderscoreUnderscoreSchema2) AsSchema21 ¶
func (t UnderscoreUnderscoreSchema2) AsSchema21() (Schema21, error)
AsSchema21 returns the union data inside the UnderscoreUnderscoreSchema2 as a Schema21
func (UnderscoreUnderscoreSchema2) AsSchema22 ¶
func (t UnderscoreUnderscoreSchema2) AsSchema22() (Schema22, error)
AsSchema22 returns the union data inside the UnderscoreUnderscoreSchema2 as a Schema22
func (UnderscoreUnderscoreSchema2) AsSchema23 ¶
func (t UnderscoreUnderscoreSchema2) AsSchema23() (Schema23, error)
AsSchema23 returns the union data inside the UnderscoreUnderscoreSchema2 as a Schema23
func (UnderscoreUnderscoreSchema2) AsSchema24 ¶
func (t UnderscoreUnderscoreSchema2) AsSchema24() (Schema24, error)
AsSchema24 returns the union data inside the UnderscoreUnderscoreSchema2 as a Schema24
func (UnderscoreUnderscoreSchema2) AsSchema25 ¶
func (t UnderscoreUnderscoreSchema2) AsSchema25() (Schema25, error)
AsSchema25 returns the union data inside the UnderscoreUnderscoreSchema2 as a Schema25
func (*UnderscoreUnderscoreSchema2) FromSchema20 ¶
func (t *UnderscoreUnderscoreSchema2) FromSchema20(v Schema20) error
FromSchema20 overwrites any union data inside the UnderscoreUnderscoreSchema2 as the provided Schema20
func (*UnderscoreUnderscoreSchema2) FromSchema21 ¶
func (t *UnderscoreUnderscoreSchema2) FromSchema21(v Schema21) error
FromSchema21 overwrites any union data inside the UnderscoreUnderscoreSchema2 as the provided Schema21
func (*UnderscoreUnderscoreSchema2) FromSchema22 ¶
func (t *UnderscoreUnderscoreSchema2) FromSchema22(v Schema22) error
FromSchema22 overwrites any union data inside the UnderscoreUnderscoreSchema2 as the provided Schema22
func (*UnderscoreUnderscoreSchema2) FromSchema23 ¶
func (t *UnderscoreUnderscoreSchema2) FromSchema23(v Schema23) error
FromSchema23 overwrites any union data inside the UnderscoreUnderscoreSchema2 as the provided Schema23
func (*UnderscoreUnderscoreSchema2) FromSchema24 ¶
func (t *UnderscoreUnderscoreSchema2) FromSchema24(v Schema24) error
FromSchema24 overwrites any union data inside the UnderscoreUnderscoreSchema2 as the provided Schema24
func (*UnderscoreUnderscoreSchema2) FromSchema25 ¶
func (t *UnderscoreUnderscoreSchema2) FromSchema25(v Schema25) error
FromSchema25 overwrites any union data inside the UnderscoreUnderscoreSchema2 as the provided Schema25
func (UnderscoreUnderscoreSchema2) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema2) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema2) MergeSchema20 ¶
func (t *UnderscoreUnderscoreSchema2) MergeSchema20(v Schema20) error
MergeSchema20 performs a merge with any union data inside the UnderscoreUnderscoreSchema2, using the provided Schema20
func (*UnderscoreUnderscoreSchema2) MergeSchema21 ¶
func (t *UnderscoreUnderscoreSchema2) MergeSchema21(v Schema21) error
MergeSchema21 performs a merge with any union data inside the UnderscoreUnderscoreSchema2, using the provided Schema21
func (*UnderscoreUnderscoreSchema2) MergeSchema22 ¶
func (t *UnderscoreUnderscoreSchema2) MergeSchema22(v Schema22) error
MergeSchema22 performs a merge with any union data inside the UnderscoreUnderscoreSchema2, using the provided Schema22
func (*UnderscoreUnderscoreSchema2) MergeSchema23 ¶
func (t *UnderscoreUnderscoreSchema2) MergeSchema23(v Schema23) error
MergeSchema23 performs a merge with any union data inside the UnderscoreUnderscoreSchema2, using the provided Schema23
func (*UnderscoreUnderscoreSchema2) MergeSchema24 ¶
func (t *UnderscoreUnderscoreSchema2) MergeSchema24(v Schema24) error
MergeSchema24 performs a merge with any union data inside the UnderscoreUnderscoreSchema2, using the provided Schema24
func (*UnderscoreUnderscoreSchema2) MergeSchema25 ¶
func (t *UnderscoreUnderscoreSchema2) MergeSchema25(v Schema25) error
MergeSchema25 performs a merge with any union data inside the UnderscoreUnderscoreSchema2, using the provided Schema25
func (*UnderscoreUnderscoreSchema2) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema2) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema3 ¶
type UnderscoreUnderscoreSchema3 struct {
Attachments []struct {
ContentType *string `json:"contentType"`
Filename string `json:"filename"`
Id string `json:"id"`
Size int `json:"size"`
UploadId string `json:"uploadId"`
Url string `json:"url"`
} `json:"attachments"`
Author *struct {
Id *string `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IsAdmin bool `json:"isAdmin"`
IsGuest bool `json:"isGuest"`
IsUstcVerified bool `json:"isUstcVerified"`
Name *string `json:"name"`
} `json:"author"`
AuthorHidden bool `json:"authorHidden"`
Body string `json:"body"`
CanDelete bool `json:"canDelete"`
CanEdit bool `json:"canEdit"`
CanModerate bool `json:"canModerate"`
CanReact bool `json:"canReact"`
CanReply bool `json:"canReply"`
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
IsAncestryPlaceholder *bool `json:"isAncestryPlaceholder,omitempty"`
IsAnonymous bool `json:"isAnonymous"`
IsAuthor bool `json:"isAuthor"`
ParentId *string `json:"parentId"`
Reactions []struct {
Count int `json:"count"`
Type string `json:"type"`
ViewerHasReacted bool `json:"viewerHasReacted"`
} `json:"reactions"`
RenderedBody string `json:"renderedBody"`
Replies []UnderscoreUnderscoreSchema3 `json:"replies"`
RepliesNextCursor *string `json:"repliesNextCursor"`
RootId *string `json:"rootId"`
Status string `json:"status"`
UpdatedAt time.Time `json:"updatedAt"`
Visibility string `json:"visibility"`
}
UnderscoreUnderscoreSchema3 defines model for __schema3.
type UnderscoreUnderscoreSchema4 ¶
type UnderscoreUnderscoreSchema4 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema4 defines model for __schema4.
func (UnderscoreUnderscoreSchema4) AsSchema40 ¶
func (t UnderscoreUnderscoreSchema4) AsSchema40() (Schema40, error)
AsSchema40 returns the union data inside the UnderscoreUnderscoreSchema4 as a Schema40
func (UnderscoreUnderscoreSchema4) AsSchema41 ¶
func (t UnderscoreUnderscoreSchema4) AsSchema41() (Schema41, error)
AsSchema41 returns the union data inside the UnderscoreUnderscoreSchema4 as a Schema41
func (UnderscoreUnderscoreSchema4) AsSchema42 ¶
func (t UnderscoreUnderscoreSchema4) AsSchema42() (Schema42, error)
AsSchema42 returns the union data inside the UnderscoreUnderscoreSchema4 as a Schema42
func (UnderscoreUnderscoreSchema4) AsSchema43 ¶
func (t UnderscoreUnderscoreSchema4) AsSchema43() (Schema43, error)
AsSchema43 returns the union data inside the UnderscoreUnderscoreSchema4 as a Schema43
func (UnderscoreUnderscoreSchema4) AsSchema44 ¶
func (t UnderscoreUnderscoreSchema4) AsSchema44() (Schema44, error)
AsSchema44 returns the union data inside the UnderscoreUnderscoreSchema4 as a Schema44
func (UnderscoreUnderscoreSchema4) AsSchema45 ¶
func (t UnderscoreUnderscoreSchema4) AsSchema45() (Schema45, error)
AsSchema45 returns the union data inside the UnderscoreUnderscoreSchema4 as a Schema45
func (*UnderscoreUnderscoreSchema4) FromSchema40 ¶
func (t *UnderscoreUnderscoreSchema4) FromSchema40(v Schema40) error
FromSchema40 overwrites any union data inside the UnderscoreUnderscoreSchema4 as the provided Schema40
func (*UnderscoreUnderscoreSchema4) FromSchema41 ¶
func (t *UnderscoreUnderscoreSchema4) FromSchema41(v Schema41) error
FromSchema41 overwrites any union data inside the UnderscoreUnderscoreSchema4 as the provided Schema41
func (*UnderscoreUnderscoreSchema4) FromSchema42 ¶
func (t *UnderscoreUnderscoreSchema4) FromSchema42(v Schema42) error
FromSchema42 overwrites any union data inside the UnderscoreUnderscoreSchema4 as the provided Schema42
func (*UnderscoreUnderscoreSchema4) FromSchema43 ¶
func (t *UnderscoreUnderscoreSchema4) FromSchema43(v Schema43) error
FromSchema43 overwrites any union data inside the UnderscoreUnderscoreSchema4 as the provided Schema43
func (*UnderscoreUnderscoreSchema4) FromSchema44 ¶
func (t *UnderscoreUnderscoreSchema4) FromSchema44(v Schema44) error
FromSchema44 overwrites any union data inside the UnderscoreUnderscoreSchema4 as the provided Schema44
func (*UnderscoreUnderscoreSchema4) FromSchema45 ¶
func (t *UnderscoreUnderscoreSchema4) FromSchema45(v Schema45) error
FromSchema45 overwrites any union data inside the UnderscoreUnderscoreSchema4 as the provided Schema45
func (UnderscoreUnderscoreSchema4) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema4) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema4) MergeSchema40 ¶
func (t *UnderscoreUnderscoreSchema4) MergeSchema40(v Schema40) error
MergeSchema40 performs a merge with any union data inside the UnderscoreUnderscoreSchema4, using the provided Schema40
func (*UnderscoreUnderscoreSchema4) MergeSchema41 ¶
func (t *UnderscoreUnderscoreSchema4) MergeSchema41(v Schema41) error
MergeSchema41 performs a merge with any union data inside the UnderscoreUnderscoreSchema4, using the provided Schema41
func (*UnderscoreUnderscoreSchema4) MergeSchema42 ¶
func (t *UnderscoreUnderscoreSchema4) MergeSchema42(v Schema42) error
MergeSchema42 performs a merge with any union data inside the UnderscoreUnderscoreSchema4, using the provided Schema42
func (*UnderscoreUnderscoreSchema4) MergeSchema43 ¶
func (t *UnderscoreUnderscoreSchema4) MergeSchema43(v Schema43) error
MergeSchema43 performs a merge with any union data inside the UnderscoreUnderscoreSchema4, using the provided Schema43
func (*UnderscoreUnderscoreSchema4) MergeSchema44 ¶
func (t *UnderscoreUnderscoreSchema4) MergeSchema44(v Schema44) error
MergeSchema44 performs a merge with any union data inside the UnderscoreUnderscoreSchema4, using the provided Schema44
func (*UnderscoreUnderscoreSchema4) MergeSchema45 ¶
func (t *UnderscoreUnderscoreSchema4) MergeSchema45(v Schema45) error
MergeSchema45 performs a merge with any union data inside the UnderscoreUnderscoreSchema4, using the provided Schema45
func (*UnderscoreUnderscoreSchema4) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema4) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema5 ¶
type UnderscoreUnderscoreSchema5 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema5 defines model for __schema5.
func (UnderscoreUnderscoreSchema5) AsSchema50 ¶
func (t UnderscoreUnderscoreSchema5) AsSchema50() (Schema50, error)
AsSchema50 returns the union data inside the UnderscoreUnderscoreSchema5 as a Schema50
func (UnderscoreUnderscoreSchema5) AsSchema51 ¶
func (t UnderscoreUnderscoreSchema5) AsSchema51() (Schema51, error)
AsSchema51 returns the union data inside the UnderscoreUnderscoreSchema5 as a Schema51
func (UnderscoreUnderscoreSchema5) AsSchema52 ¶
func (t UnderscoreUnderscoreSchema5) AsSchema52() (Schema52, error)
AsSchema52 returns the union data inside the UnderscoreUnderscoreSchema5 as a Schema52
func (UnderscoreUnderscoreSchema5) AsSchema53 ¶
func (t UnderscoreUnderscoreSchema5) AsSchema53() (Schema53, error)
AsSchema53 returns the union data inside the UnderscoreUnderscoreSchema5 as a Schema53
func (UnderscoreUnderscoreSchema5) AsSchema54 ¶
func (t UnderscoreUnderscoreSchema5) AsSchema54() (Schema54, error)
AsSchema54 returns the union data inside the UnderscoreUnderscoreSchema5 as a Schema54
func (UnderscoreUnderscoreSchema5) AsSchema55 ¶
func (t UnderscoreUnderscoreSchema5) AsSchema55() (Schema55, error)
AsSchema55 returns the union data inside the UnderscoreUnderscoreSchema5 as a Schema55
func (*UnderscoreUnderscoreSchema5) FromSchema50 ¶
func (t *UnderscoreUnderscoreSchema5) FromSchema50(v Schema50) error
FromSchema50 overwrites any union data inside the UnderscoreUnderscoreSchema5 as the provided Schema50
func (*UnderscoreUnderscoreSchema5) FromSchema51 ¶
func (t *UnderscoreUnderscoreSchema5) FromSchema51(v Schema51) error
FromSchema51 overwrites any union data inside the UnderscoreUnderscoreSchema5 as the provided Schema51
func (*UnderscoreUnderscoreSchema5) FromSchema52 ¶
func (t *UnderscoreUnderscoreSchema5) FromSchema52(v Schema52) error
FromSchema52 overwrites any union data inside the UnderscoreUnderscoreSchema5 as the provided Schema52
func (*UnderscoreUnderscoreSchema5) FromSchema53 ¶
func (t *UnderscoreUnderscoreSchema5) FromSchema53(v Schema53) error
FromSchema53 overwrites any union data inside the UnderscoreUnderscoreSchema5 as the provided Schema53
func (*UnderscoreUnderscoreSchema5) FromSchema54 ¶
func (t *UnderscoreUnderscoreSchema5) FromSchema54(v Schema54) error
FromSchema54 overwrites any union data inside the UnderscoreUnderscoreSchema5 as the provided Schema54
func (*UnderscoreUnderscoreSchema5) FromSchema55 ¶
func (t *UnderscoreUnderscoreSchema5) FromSchema55(v Schema55) error
FromSchema55 overwrites any union data inside the UnderscoreUnderscoreSchema5 as the provided Schema55
func (UnderscoreUnderscoreSchema5) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema5) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema5) MergeSchema50 ¶
func (t *UnderscoreUnderscoreSchema5) MergeSchema50(v Schema50) error
MergeSchema50 performs a merge with any union data inside the UnderscoreUnderscoreSchema5, using the provided Schema50
func (*UnderscoreUnderscoreSchema5) MergeSchema51 ¶
func (t *UnderscoreUnderscoreSchema5) MergeSchema51(v Schema51) error
MergeSchema51 performs a merge with any union data inside the UnderscoreUnderscoreSchema5, using the provided Schema51
func (*UnderscoreUnderscoreSchema5) MergeSchema52 ¶
func (t *UnderscoreUnderscoreSchema5) MergeSchema52(v Schema52) error
MergeSchema52 performs a merge with any union data inside the UnderscoreUnderscoreSchema5, using the provided Schema52
func (*UnderscoreUnderscoreSchema5) MergeSchema53 ¶
func (t *UnderscoreUnderscoreSchema5) MergeSchema53(v Schema53) error
MergeSchema53 performs a merge with any union data inside the UnderscoreUnderscoreSchema5, using the provided Schema53
func (*UnderscoreUnderscoreSchema5) MergeSchema54 ¶
func (t *UnderscoreUnderscoreSchema5) MergeSchema54(v Schema54) error
MergeSchema54 performs a merge with any union data inside the UnderscoreUnderscoreSchema5, using the provided Schema54
func (*UnderscoreUnderscoreSchema5) MergeSchema55 ¶
func (t *UnderscoreUnderscoreSchema5) MergeSchema55(v Schema55) error
MergeSchema55 performs a merge with any union data inside the UnderscoreUnderscoreSchema5, using the provided Schema55
func (*UnderscoreUnderscoreSchema5) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema5) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema6 ¶
type UnderscoreUnderscoreSchema6 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema6 defines model for __schema6.
func (UnderscoreUnderscoreSchema6) AsSchema60 ¶
func (t UnderscoreUnderscoreSchema6) AsSchema60() (Schema60, error)
AsSchema60 returns the union data inside the UnderscoreUnderscoreSchema6 as a Schema60
func (UnderscoreUnderscoreSchema6) AsSchema61 ¶
func (t UnderscoreUnderscoreSchema6) AsSchema61() (Schema61, error)
AsSchema61 returns the union data inside the UnderscoreUnderscoreSchema6 as a Schema61
func (UnderscoreUnderscoreSchema6) AsSchema62 ¶
func (t UnderscoreUnderscoreSchema6) AsSchema62() (Schema62, error)
AsSchema62 returns the union data inside the UnderscoreUnderscoreSchema6 as a Schema62
func (UnderscoreUnderscoreSchema6) AsSchema63 ¶
func (t UnderscoreUnderscoreSchema6) AsSchema63() (Schema63, error)
AsSchema63 returns the union data inside the UnderscoreUnderscoreSchema6 as a Schema63
func (UnderscoreUnderscoreSchema6) AsSchema64 ¶
func (t UnderscoreUnderscoreSchema6) AsSchema64() (Schema64, error)
AsSchema64 returns the union data inside the UnderscoreUnderscoreSchema6 as a Schema64
func (UnderscoreUnderscoreSchema6) AsSchema65 ¶
func (t UnderscoreUnderscoreSchema6) AsSchema65() (Schema65, error)
AsSchema65 returns the union data inside the UnderscoreUnderscoreSchema6 as a Schema65
func (*UnderscoreUnderscoreSchema6) FromSchema60 ¶
func (t *UnderscoreUnderscoreSchema6) FromSchema60(v Schema60) error
FromSchema60 overwrites any union data inside the UnderscoreUnderscoreSchema6 as the provided Schema60
func (*UnderscoreUnderscoreSchema6) FromSchema61 ¶
func (t *UnderscoreUnderscoreSchema6) FromSchema61(v Schema61) error
FromSchema61 overwrites any union data inside the UnderscoreUnderscoreSchema6 as the provided Schema61
func (*UnderscoreUnderscoreSchema6) FromSchema62 ¶
func (t *UnderscoreUnderscoreSchema6) FromSchema62(v Schema62) error
FromSchema62 overwrites any union data inside the UnderscoreUnderscoreSchema6 as the provided Schema62
func (*UnderscoreUnderscoreSchema6) FromSchema63 ¶
func (t *UnderscoreUnderscoreSchema6) FromSchema63(v Schema63) error
FromSchema63 overwrites any union data inside the UnderscoreUnderscoreSchema6 as the provided Schema63
func (*UnderscoreUnderscoreSchema6) FromSchema64 ¶
func (t *UnderscoreUnderscoreSchema6) FromSchema64(v Schema64) error
FromSchema64 overwrites any union data inside the UnderscoreUnderscoreSchema6 as the provided Schema64
func (*UnderscoreUnderscoreSchema6) FromSchema65 ¶
func (t *UnderscoreUnderscoreSchema6) FromSchema65(v Schema65) error
FromSchema65 overwrites any union data inside the UnderscoreUnderscoreSchema6 as the provided Schema65
func (UnderscoreUnderscoreSchema6) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema6) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema6) MergeSchema60 ¶
func (t *UnderscoreUnderscoreSchema6) MergeSchema60(v Schema60) error
MergeSchema60 performs a merge with any union data inside the UnderscoreUnderscoreSchema6, using the provided Schema60
func (*UnderscoreUnderscoreSchema6) MergeSchema61 ¶
func (t *UnderscoreUnderscoreSchema6) MergeSchema61(v Schema61) error
MergeSchema61 performs a merge with any union data inside the UnderscoreUnderscoreSchema6, using the provided Schema61
func (*UnderscoreUnderscoreSchema6) MergeSchema62 ¶
func (t *UnderscoreUnderscoreSchema6) MergeSchema62(v Schema62) error
MergeSchema62 performs a merge with any union data inside the UnderscoreUnderscoreSchema6, using the provided Schema62
func (*UnderscoreUnderscoreSchema6) MergeSchema63 ¶
func (t *UnderscoreUnderscoreSchema6) MergeSchema63(v Schema63) error
MergeSchema63 performs a merge with any union data inside the UnderscoreUnderscoreSchema6, using the provided Schema63
func (*UnderscoreUnderscoreSchema6) MergeSchema64 ¶
func (t *UnderscoreUnderscoreSchema6) MergeSchema64(v Schema64) error
MergeSchema64 performs a merge with any union data inside the UnderscoreUnderscoreSchema6, using the provided Schema64
func (*UnderscoreUnderscoreSchema6) MergeSchema65 ¶
func (t *UnderscoreUnderscoreSchema6) MergeSchema65(v Schema65) error
MergeSchema65 performs a merge with any union data inside the UnderscoreUnderscoreSchema6, using the provided Schema65
func (*UnderscoreUnderscoreSchema6) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema6) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema7 ¶
type UnderscoreUnderscoreSchema7 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema7 defines model for __schema7.
func (UnderscoreUnderscoreSchema7) AsSchema70 ¶
func (t UnderscoreUnderscoreSchema7) AsSchema70() (Schema70, error)
AsSchema70 returns the union data inside the UnderscoreUnderscoreSchema7 as a Schema70
func (UnderscoreUnderscoreSchema7) AsSchema71 ¶
func (t UnderscoreUnderscoreSchema7) AsSchema71() (Schema71, error)
AsSchema71 returns the union data inside the UnderscoreUnderscoreSchema7 as a Schema71
func (UnderscoreUnderscoreSchema7) AsSchema72 ¶
func (t UnderscoreUnderscoreSchema7) AsSchema72() (Schema72, error)
AsSchema72 returns the union data inside the UnderscoreUnderscoreSchema7 as a Schema72
func (UnderscoreUnderscoreSchema7) AsSchema73 ¶
func (t UnderscoreUnderscoreSchema7) AsSchema73() (Schema73, error)
AsSchema73 returns the union data inside the UnderscoreUnderscoreSchema7 as a Schema73
func (UnderscoreUnderscoreSchema7) AsSchema74 ¶
func (t UnderscoreUnderscoreSchema7) AsSchema74() (Schema74, error)
AsSchema74 returns the union data inside the UnderscoreUnderscoreSchema7 as a Schema74
func (UnderscoreUnderscoreSchema7) AsSchema75 ¶
func (t UnderscoreUnderscoreSchema7) AsSchema75() (Schema75, error)
AsSchema75 returns the union data inside the UnderscoreUnderscoreSchema7 as a Schema75
func (*UnderscoreUnderscoreSchema7) FromSchema70 ¶
func (t *UnderscoreUnderscoreSchema7) FromSchema70(v Schema70) error
FromSchema70 overwrites any union data inside the UnderscoreUnderscoreSchema7 as the provided Schema70
func (*UnderscoreUnderscoreSchema7) FromSchema71 ¶
func (t *UnderscoreUnderscoreSchema7) FromSchema71(v Schema71) error
FromSchema71 overwrites any union data inside the UnderscoreUnderscoreSchema7 as the provided Schema71
func (*UnderscoreUnderscoreSchema7) FromSchema72 ¶
func (t *UnderscoreUnderscoreSchema7) FromSchema72(v Schema72) error
FromSchema72 overwrites any union data inside the UnderscoreUnderscoreSchema7 as the provided Schema72
func (*UnderscoreUnderscoreSchema7) FromSchema73 ¶
func (t *UnderscoreUnderscoreSchema7) FromSchema73(v Schema73) error
FromSchema73 overwrites any union data inside the UnderscoreUnderscoreSchema7 as the provided Schema73
func (*UnderscoreUnderscoreSchema7) FromSchema74 ¶
func (t *UnderscoreUnderscoreSchema7) FromSchema74(v Schema74) error
FromSchema74 overwrites any union data inside the UnderscoreUnderscoreSchema7 as the provided Schema74
func (*UnderscoreUnderscoreSchema7) FromSchema75 ¶
func (t *UnderscoreUnderscoreSchema7) FromSchema75(v Schema75) error
FromSchema75 overwrites any union data inside the UnderscoreUnderscoreSchema7 as the provided Schema75
func (UnderscoreUnderscoreSchema7) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema7) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema7) MergeSchema70 ¶
func (t *UnderscoreUnderscoreSchema7) MergeSchema70(v Schema70) error
MergeSchema70 performs a merge with any union data inside the UnderscoreUnderscoreSchema7, using the provided Schema70
func (*UnderscoreUnderscoreSchema7) MergeSchema71 ¶
func (t *UnderscoreUnderscoreSchema7) MergeSchema71(v Schema71) error
MergeSchema71 performs a merge with any union data inside the UnderscoreUnderscoreSchema7, using the provided Schema71
func (*UnderscoreUnderscoreSchema7) MergeSchema72 ¶
func (t *UnderscoreUnderscoreSchema7) MergeSchema72(v Schema72) error
MergeSchema72 performs a merge with any union data inside the UnderscoreUnderscoreSchema7, using the provided Schema72
func (*UnderscoreUnderscoreSchema7) MergeSchema73 ¶
func (t *UnderscoreUnderscoreSchema7) MergeSchema73(v Schema73) error
MergeSchema73 performs a merge with any union data inside the UnderscoreUnderscoreSchema7, using the provided Schema73
func (*UnderscoreUnderscoreSchema7) MergeSchema74 ¶
func (t *UnderscoreUnderscoreSchema7) MergeSchema74(v Schema74) error
MergeSchema74 performs a merge with any union data inside the UnderscoreUnderscoreSchema7, using the provided Schema74
func (*UnderscoreUnderscoreSchema7) MergeSchema75 ¶
func (t *UnderscoreUnderscoreSchema7) MergeSchema75(v Schema75) error
MergeSchema75 performs a merge with any union data inside the UnderscoreUnderscoreSchema7, using the provided Schema75
func (*UnderscoreUnderscoreSchema7) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema7) UnmarshalJSON(b []byte) error
type UnderscoreUnderscoreSchema8 ¶
type UnderscoreUnderscoreSchema8 struct {
Attachments []struct {
ContentType *string `json:"contentType"`
Filename string `json:"filename"`
Id string `json:"id"`
Size int `json:"size"`
UploadId string `json:"uploadId"`
Url string `json:"url"`
} `json:"attachments"`
Author *struct {
Id *string `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IsAdmin bool `json:"isAdmin"`
IsGuest bool `json:"isGuest"`
IsUstcVerified bool `json:"isUstcVerified"`
Name *string `json:"name"`
} `json:"author"`
AuthorHidden bool `json:"authorHidden"`
Body string `json:"body"`
CanDelete bool `json:"canDelete"`
CanEdit bool `json:"canEdit"`
CanModerate bool `json:"canModerate"`
CanReact bool `json:"canReact"`
CanReply bool `json:"canReply"`
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
IsAncestryPlaceholder *bool `json:"isAncestryPlaceholder,omitempty"`
IsAnonymous bool `json:"isAnonymous"`
IsAuthor bool `json:"isAuthor"`
ParentId *string `json:"parentId"`
Reactions []struct {
Count int `json:"count"`
Type string `json:"type"`
ViewerHasReacted bool `json:"viewerHasReacted"`
} `json:"reactions"`
RenderedBody string `json:"renderedBody"`
Replies []UnderscoreUnderscoreSchema8 `json:"replies"`
RepliesNextCursor *string `json:"repliesNextCursor"`
RootId *string `json:"rootId"`
Status string `json:"status"`
UpdatedAt time.Time `json:"updatedAt"`
Visibility string `json:"visibility"`
}
UnderscoreUnderscoreSchema8 defines model for __schema8.
type UnderscoreUnderscoreSchema9 ¶
type UnderscoreUnderscoreSchema9 struct {
// contains filtered or unexported fields
}
UnderscoreUnderscoreSchema9 defines model for __schema9.
func (UnderscoreUnderscoreSchema9) AsSchema90 ¶
func (t UnderscoreUnderscoreSchema9) AsSchema90() (Schema90, error)
AsSchema90 returns the union data inside the UnderscoreUnderscoreSchema9 as a Schema90
func (UnderscoreUnderscoreSchema9) AsSchema91 ¶
func (t UnderscoreUnderscoreSchema9) AsSchema91() (Schema91, error)
AsSchema91 returns the union data inside the UnderscoreUnderscoreSchema9 as a Schema91
func (UnderscoreUnderscoreSchema9) AsSchema92 ¶
func (t UnderscoreUnderscoreSchema9) AsSchema92() (Schema92, error)
AsSchema92 returns the union data inside the UnderscoreUnderscoreSchema9 as a Schema92
func (UnderscoreUnderscoreSchema9) AsSchema93 ¶
func (t UnderscoreUnderscoreSchema9) AsSchema93() (Schema93, error)
AsSchema93 returns the union data inside the UnderscoreUnderscoreSchema9 as a Schema93
func (UnderscoreUnderscoreSchema9) AsSchema94 ¶
func (t UnderscoreUnderscoreSchema9) AsSchema94() (Schema94, error)
AsSchema94 returns the union data inside the UnderscoreUnderscoreSchema9 as a Schema94
func (UnderscoreUnderscoreSchema9) AsSchema95 ¶
func (t UnderscoreUnderscoreSchema9) AsSchema95() (Schema95, error)
AsSchema95 returns the union data inside the UnderscoreUnderscoreSchema9 as a Schema95
func (*UnderscoreUnderscoreSchema9) FromSchema90 ¶
func (t *UnderscoreUnderscoreSchema9) FromSchema90(v Schema90) error
FromSchema90 overwrites any union data inside the UnderscoreUnderscoreSchema9 as the provided Schema90
func (*UnderscoreUnderscoreSchema9) FromSchema91 ¶
func (t *UnderscoreUnderscoreSchema9) FromSchema91(v Schema91) error
FromSchema91 overwrites any union data inside the UnderscoreUnderscoreSchema9 as the provided Schema91
func (*UnderscoreUnderscoreSchema9) FromSchema92 ¶
func (t *UnderscoreUnderscoreSchema9) FromSchema92(v Schema92) error
FromSchema92 overwrites any union data inside the UnderscoreUnderscoreSchema9 as the provided Schema92
func (*UnderscoreUnderscoreSchema9) FromSchema93 ¶
func (t *UnderscoreUnderscoreSchema9) FromSchema93(v Schema93) error
FromSchema93 overwrites any union data inside the UnderscoreUnderscoreSchema9 as the provided Schema93
func (*UnderscoreUnderscoreSchema9) FromSchema94 ¶
func (t *UnderscoreUnderscoreSchema9) FromSchema94(v Schema94) error
FromSchema94 overwrites any union data inside the UnderscoreUnderscoreSchema9 as the provided Schema94
func (*UnderscoreUnderscoreSchema9) FromSchema95 ¶
func (t *UnderscoreUnderscoreSchema9) FromSchema95(v Schema95) error
FromSchema95 overwrites any union data inside the UnderscoreUnderscoreSchema9 as the provided Schema95
func (UnderscoreUnderscoreSchema9) MarshalJSON ¶
func (t UnderscoreUnderscoreSchema9) MarshalJSON() ([]byte, error)
func (*UnderscoreUnderscoreSchema9) MergeSchema90 ¶
func (t *UnderscoreUnderscoreSchema9) MergeSchema90(v Schema90) error
MergeSchema90 performs a merge with any union data inside the UnderscoreUnderscoreSchema9, using the provided Schema90
func (*UnderscoreUnderscoreSchema9) MergeSchema91 ¶
func (t *UnderscoreUnderscoreSchema9) MergeSchema91(v Schema91) error
MergeSchema91 performs a merge with any union data inside the UnderscoreUnderscoreSchema9, using the provided Schema91
func (*UnderscoreUnderscoreSchema9) MergeSchema92 ¶
func (t *UnderscoreUnderscoreSchema9) MergeSchema92(v Schema92) error
MergeSchema92 performs a merge with any union data inside the UnderscoreUnderscoreSchema9, using the provided Schema92
func (*UnderscoreUnderscoreSchema9) MergeSchema93 ¶
func (t *UnderscoreUnderscoreSchema9) MergeSchema93(v Schema93) error
MergeSchema93 performs a merge with any union data inside the UnderscoreUnderscoreSchema9, using the provided Schema93
func (*UnderscoreUnderscoreSchema9) MergeSchema94 ¶
func (t *UnderscoreUnderscoreSchema9) MergeSchema94(v Schema94) error
MergeSchema94 performs a merge with any union data inside the UnderscoreUnderscoreSchema9, using the provided Schema94
func (*UnderscoreUnderscoreSchema9) MergeSchema95 ¶
func (t *UnderscoreUnderscoreSchema9) MergeSchema95(v Schema95) error
MergeSchema95 performs a merge with any union data inside the UnderscoreUnderscoreSchema9, using the provided Schema95
func (*UnderscoreUnderscoreSchema9) UnmarshalJSON ¶
func (t *UnderscoreUnderscoreSchema9) UnmarshalJSON(b []byte) error
type UpdateAdminDescriptionJSONRequestBody ¶
type UpdateAdminDescriptionJSONRequestBody = AdminModerateDescriptionRequestSchema
UpdateAdminDescriptionJSONRequestBody defines body for UpdateAdminDescription for application/json ContentType.
type UpdateAdminDescriptionResponse ¶
type UpdateAdminDescriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminModeratedDescriptionResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpdateAdminDescriptionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpdateAdminDescriptionResponse503Headers
}
func ParseUpdateAdminDescriptionResponse ¶
func ParseUpdateAdminDescriptionResponse(rsp *http.Response) (*UpdateAdminDescriptionResponse, error)
ParseUpdateAdminDescriptionResponse parses an HTTP response from a UpdateAdminDescriptionWithResponse call
func (UpdateAdminDescriptionResponse) ContentType ¶
func (r UpdateAdminDescriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateAdminDescriptionResponse) GetBody ¶
func (r UpdateAdminDescriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateAdminDescriptionResponse) GetJSON200 ¶
func (r UpdateAdminDescriptionResponse) GetJSON200() *AdminModeratedDescriptionResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateAdminDescriptionResponse) GetJSON400 ¶
func (r UpdateAdminDescriptionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateAdminDescriptionResponse) GetJSON401 ¶
func (r UpdateAdminDescriptionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateAdminDescriptionResponse) GetJSON403 ¶
func (r UpdateAdminDescriptionResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateAdminDescriptionResponse) GetJSON404 ¶
func (r UpdateAdminDescriptionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateAdminDescriptionResponse) GetJSON429 ¶
func (r UpdateAdminDescriptionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpdateAdminDescriptionResponse) GetJSON503 ¶
func (r UpdateAdminDescriptionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateAdminDescriptionResponse) Status ¶
func (r UpdateAdminDescriptionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdminDescriptionResponse) StatusCode ¶
func (r UpdateAdminDescriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdminDescriptionResponse429Headers ¶
type UpdateAdminDescriptionResponse429Headers struct {
RetryAfter *int
}
UpdateAdminDescriptionResponse429Headers the declared response headers of an HTTP 429 response for UpdateAdminDescription
type UpdateAdminDescriptionResponse503Headers ¶
type UpdateAdminDescriptionResponse503Headers struct {
RetryAfter *int
}
UpdateAdminDescriptionResponse503Headers the declared response headers of an HTTP 503 response for UpdateAdminDescription
type UpdateAdminSuspensionResponse ¶
type UpdateAdminSuspensionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminSuspensionResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpdateAdminSuspensionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpdateAdminSuspensionResponse503Headers
}
func ParseUpdateAdminSuspensionResponse ¶
func ParseUpdateAdminSuspensionResponse(rsp *http.Response) (*UpdateAdminSuspensionResponse, error)
ParseUpdateAdminSuspensionResponse parses an HTTP response from a UpdateAdminSuspensionWithResponse call
func (UpdateAdminSuspensionResponse) ContentType ¶
func (r UpdateAdminSuspensionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateAdminSuspensionResponse) GetBody ¶
func (r UpdateAdminSuspensionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateAdminSuspensionResponse) GetJSON200 ¶
func (r UpdateAdminSuspensionResponse) GetJSON200() *AdminSuspensionResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateAdminSuspensionResponse) GetJSON401 ¶
func (r UpdateAdminSuspensionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateAdminSuspensionResponse) GetJSON403 ¶
func (r UpdateAdminSuspensionResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateAdminSuspensionResponse) GetJSON404 ¶
func (r UpdateAdminSuspensionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateAdminSuspensionResponse) GetJSON429 ¶
func (r UpdateAdminSuspensionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpdateAdminSuspensionResponse) GetJSON503 ¶
func (r UpdateAdminSuspensionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateAdminSuspensionResponse) Status ¶
func (r UpdateAdminSuspensionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdminSuspensionResponse) StatusCode ¶
func (r UpdateAdminSuspensionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdminSuspensionResponse429Headers ¶
type UpdateAdminSuspensionResponse429Headers struct {
RetryAfter *int
}
UpdateAdminSuspensionResponse429Headers the declared response headers of an HTTP 429 response for UpdateAdminSuspension
type UpdateAdminSuspensionResponse503Headers ¶
type UpdateAdminSuspensionResponse503Headers struct {
RetryAfter *int
}
UpdateAdminSuspensionResponse503Headers the declared response headers of an HTTP 503 response for UpdateAdminSuspension
type UpdateAdminUserJSONRequestBody ¶
type UpdateAdminUserJSONRequestBody = AdminUpdateUserRequestSchema
UpdateAdminUserJSONRequestBody defines body for UpdateAdminUser for application/json ContentType.
type UpdateAdminUserResponse ¶
type UpdateAdminUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminUserResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpdateAdminUserResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpdateAdminUserResponse503Headers
}
func ParseUpdateAdminUserResponse ¶
func ParseUpdateAdminUserResponse(rsp *http.Response) (*UpdateAdminUserResponse, error)
ParseUpdateAdminUserResponse parses an HTTP response from a UpdateAdminUserWithResponse call
func (UpdateAdminUserResponse) ContentType ¶
func (r UpdateAdminUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateAdminUserResponse) GetBody ¶
func (r UpdateAdminUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateAdminUserResponse) GetJSON200 ¶
func (r UpdateAdminUserResponse) GetJSON200() *AdminUserResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateAdminUserResponse) GetJSON400 ¶
func (r UpdateAdminUserResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateAdminUserResponse) GetJSON401 ¶
func (r UpdateAdminUserResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateAdminUserResponse) GetJSON403 ¶
func (r UpdateAdminUserResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateAdminUserResponse) GetJSON404 ¶
func (r UpdateAdminUserResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateAdminUserResponse) GetJSON429 ¶
func (r UpdateAdminUserResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpdateAdminUserResponse) GetJSON503 ¶
func (r UpdateAdminUserResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateAdminUserResponse) Status ¶
func (r UpdateAdminUserResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdminUserResponse) StatusCode ¶
func (r UpdateAdminUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdminUserResponse429Headers ¶
type UpdateAdminUserResponse429Headers struct {
RetryAfter *int
}
UpdateAdminUserResponse429Headers the declared response headers of an HTTP 429 response for UpdateAdminUser
type UpdateAdminUserResponse503Headers ¶
type UpdateAdminUserResponse503Headers struct {
RetryAfter *int
}
UpdateAdminUserResponse503Headers the declared response headers of an HTTP 503 response for UpdateAdminUser
type UpdateCommentJSONRequestBody ¶
type UpdateCommentJSONRequestBody = CommentUpdateRequestSchema
UpdateCommentJSONRequestBody defines body for UpdateComment for application/json ContentType.
type UpdateCommentResponse ¶
type UpdateCommentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CommentUpdateResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpdateCommentResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpdateCommentResponse503Headers
}
func ParseUpdateCommentResponse ¶
func ParseUpdateCommentResponse(rsp *http.Response) (*UpdateCommentResponse, error)
ParseUpdateCommentResponse parses an HTTP response from a UpdateCommentWithResponse call
func (UpdateCommentResponse) ContentType ¶
func (r UpdateCommentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateCommentResponse) GetBody ¶
func (r UpdateCommentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateCommentResponse) GetJSON200 ¶
func (r UpdateCommentResponse) GetJSON200() *CommentUpdateResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateCommentResponse) GetJSON400 ¶
func (r UpdateCommentResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateCommentResponse) GetJSON401 ¶
func (r UpdateCommentResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateCommentResponse) GetJSON403 ¶
func (r UpdateCommentResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateCommentResponse) GetJSON404 ¶
func (r UpdateCommentResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateCommentResponse) GetJSON429 ¶
func (r UpdateCommentResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpdateCommentResponse) GetJSON503 ¶
func (r UpdateCommentResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateCommentResponse) Status ¶
func (r UpdateCommentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCommentResponse) StatusCode ¶
func (r UpdateCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCommentResponse429Headers ¶
type UpdateCommentResponse429Headers struct {
RetryAfter *int
}
UpdateCommentResponse429Headers the declared response headers of an HTTP 429 response for UpdateComment
type UpdateCommentResponse503Headers ¶
type UpdateCommentResponse503Headers struct {
RetryAfter *int
}
UpdateCommentResponse503Headers the declared response headers of an HTTP 503 response for UpdateComment
type UpdateTodoJSONRequestBody ¶
type UpdateTodoJSONRequestBody = TodoUpdateRequestSchema
UpdateTodoJSONRequestBody defines body for UpdateTodo for application/json ContentType.
type UpdateTodoResponse ¶
type UpdateTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TodoUpdateResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpdateTodoResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpdateTodoResponse503Headers
}
func ParseUpdateTodoResponse ¶
func ParseUpdateTodoResponse(rsp *http.Response) (*UpdateTodoResponse, error)
ParseUpdateTodoResponse parses an HTTP response from a UpdateTodoWithResponse call
func (UpdateTodoResponse) ContentType ¶
func (r UpdateTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateTodoResponse) GetBody ¶
func (r UpdateTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateTodoResponse) GetJSON200 ¶
func (r UpdateTodoResponse) GetJSON200() *TodoUpdateResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateTodoResponse) GetJSON400 ¶
func (r UpdateTodoResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateTodoResponse) GetJSON401 ¶
func (r UpdateTodoResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateTodoResponse) GetJSON403 ¶
func (r UpdateTodoResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateTodoResponse) GetJSON404 ¶
func (r UpdateTodoResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateTodoResponse) GetJSON429 ¶
func (r UpdateTodoResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpdateTodoResponse) GetJSON503 ¶
func (r UpdateTodoResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateTodoResponse) Status ¶
func (r UpdateTodoResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateTodoResponse) StatusCode ¶
func (r UpdateTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateTodoResponse429Headers ¶
type UpdateTodoResponse429Headers struct {
RetryAfter *int
}
UpdateTodoResponse429Headers the declared response headers of an HTTP 429 response for UpdateTodo
type UpdateTodoResponse503Headers ¶
type UpdateTodoResponse503Headers struct {
RetryAfter *int
}
UpdateTodoResponse503Headers the declared response headers of an HTTP 503 response for UpdateTodo
type UpdateUploadJSONRequestBody ¶
type UpdateUploadJSONRequestBody = UploadRenameRequestSchema
UpdateUploadJSONRequestBody defines body for UpdateUpload for application/json ContentType.
type UpdateUploadResponse ¶
type UpdateUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UploadRenameResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpdateUploadResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpdateUploadResponse503Headers
}
func ParseUpdateUploadResponse ¶
func ParseUpdateUploadResponse(rsp *http.Response) (*UpdateUploadResponse, error)
ParseUpdateUploadResponse parses an HTTP response from a UpdateUploadWithResponse call
func (UpdateUploadResponse) ContentType ¶
func (r UpdateUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateUploadResponse) GetBody ¶
func (r UpdateUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateUploadResponse) GetJSON200 ¶
func (r UpdateUploadResponse) GetJSON200() *UploadRenameResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateUploadResponse) GetJSON400 ¶
func (r UpdateUploadResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateUploadResponse) GetJSON401 ¶
func (r UpdateUploadResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateUploadResponse) GetJSON403 ¶
func (r UpdateUploadResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateUploadResponse) GetJSON404 ¶
func (r UpdateUploadResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateUploadResponse) GetJSON429 ¶
func (r UpdateUploadResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpdateUploadResponse) GetJSON503 ¶
func (r UpdateUploadResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateUploadResponse) Status ¶
func (r UpdateUploadResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUploadResponse) StatusCode ¶
func (r UpdateUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUploadResponse429Headers ¶
type UpdateUploadResponse429Headers struct {
RetryAfter *int
}
UpdateUploadResponse429Headers the declared response headers of an HTTP 429 response for UpdateUpload
type UpdateUploadResponse503Headers ¶
type UpdateUploadResponse503Headers struct {
RetryAfter *int
}
UpdateUploadResponse503Headers the declared response headers of an HTTP 503 response for UpdateUpload
type UploadCompleteRequestSchema ¶
type UploadCompleteRequestSchema struct {
ContentType *string `json:"contentType,omitempty"`
Filename string `json:"filename"`
Key string `json:"key"`
}
UploadCompleteRequestSchema defines model for uploadCompleteRequestSchema.
type UploadCompleteResponseSchema ¶
type UploadCompleteResponseSchema struct {
QuotaBytes int `json:"quotaBytes"`
Upload struct {
CreatedAt time.Time `json:"createdAt"`
Filename string `json:"filename"`
Id string `json:"id"`
Key string `json:"key"`
Size int `json:"size"`
} `json:"upload"`
UsedBytes int `json:"usedBytes"`
}
UploadCompleteResponseSchema defines model for uploadCompleteResponseSchema.
type UploadCreateRequestSchema ¶
type UploadCreateRequestSchema struct {
ContentType *string `json:"contentType,omitempty"`
Filename string `json:"filename"`
Size UploadCreateRequestSchema_Size `json:"size"`
}
UploadCreateRequestSchema defines model for uploadCreateRequestSchema.
type UploadCreateRequestSchemaSize0 ¶
type UploadCreateRequestSchemaSize0 = string
UploadCreateRequestSchemaSize0 defines model for UploadCreateRequestSchema.Size.0.
type UploadCreateRequestSchemaSize1 ¶
type UploadCreateRequestSchemaSize1 = float32
UploadCreateRequestSchemaSize1 defines model for UploadCreateRequestSchema.Size.1.
type UploadCreateRequestSchema_Size ¶
type UploadCreateRequestSchema_Size struct {
// contains filtered or unexported fields
}
UploadCreateRequestSchema_Size defines model for UploadCreateRequestSchema.Size.
func (UploadCreateRequestSchema_Size) AsUploadCreateRequestSchemaSize0 ¶
func (t UploadCreateRequestSchema_Size) AsUploadCreateRequestSchemaSize0() (UploadCreateRequestSchemaSize0, error)
AsUploadCreateRequestSchemaSize0 returns the union data inside the UploadCreateRequestSchema_Size as a UploadCreateRequestSchemaSize0
func (UploadCreateRequestSchema_Size) AsUploadCreateRequestSchemaSize1 ¶
func (t UploadCreateRequestSchema_Size) AsUploadCreateRequestSchemaSize1() (UploadCreateRequestSchemaSize1, error)
AsUploadCreateRequestSchemaSize1 returns the union data inside the UploadCreateRequestSchema_Size as a UploadCreateRequestSchemaSize1
func (*UploadCreateRequestSchema_Size) FromUploadCreateRequestSchemaSize0 ¶
func (t *UploadCreateRequestSchema_Size) FromUploadCreateRequestSchemaSize0(v UploadCreateRequestSchemaSize0) error
FromUploadCreateRequestSchemaSize0 overwrites any union data inside the UploadCreateRequestSchema_Size as the provided UploadCreateRequestSchemaSize0
func (*UploadCreateRequestSchema_Size) FromUploadCreateRequestSchemaSize1 ¶
func (t *UploadCreateRequestSchema_Size) FromUploadCreateRequestSchemaSize1(v UploadCreateRequestSchemaSize1) error
FromUploadCreateRequestSchemaSize1 overwrites any union data inside the UploadCreateRequestSchema_Size as the provided UploadCreateRequestSchemaSize1
func (UploadCreateRequestSchema_Size) MarshalJSON ¶
func (t UploadCreateRequestSchema_Size) MarshalJSON() ([]byte, error)
func (*UploadCreateRequestSchema_Size) MergeUploadCreateRequestSchemaSize0 ¶
func (t *UploadCreateRequestSchema_Size) MergeUploadCreateRequestSchemaSize0(v UploadCreateRequestSchemaSize0) error
MergeUploadCreateRequestSchemaSize0 performs a merge with any union data inside the UploadCreateRequestSchema_Size, using the provided UploadCreateRequestSchemaSize0
func (*UploadCreateRequestSchema_Size) MergeUploadCreateRequestSchemaSize1 ¶
func (t *UploadCreateRequestSchema_Size) MergeUploadCreateRequestSchemaSize1(v UploadCreateRequestSchemaSize1) error
MergeUploadCreateRequestSchemaSize1 performs a merge with any union data inside the UploadCreateRequestSchema_Size, using the provided UploadCreateRequestSchemaSize1
func (*UploadCreateRequestSchema_Size) UnmarshalJSON ¶
func (t *UploadCreateRequestSchema_Size) UnmarshalJSON(b []byte) error
type UploadCreateResponseSchema ¶
type UploadCreateResponseSchema struct {
Key string `json:"key"`
MaxFileSizeBytes int `json:"maxFileSizeBytes"`
QuotaBytes int `json:"quotaBytes"`
Url string `json:"url"`
UsedBytes int `json:"usedBytes"`
}
UploadCreateResponseSchema defines model for uploadCreateResponseSchema.
type UploadDeleteResponseSchema ¶
type UploadDeleteResponseSchema struct {
DeletedId string `json:"deletedId"`
DeletedSize int `json:"deletedSize"`
}
UploadDeleteResponseSchema defines model for uploadDeleteResponseSchema.
type UploadRenameRequestSchema ¶
type UploadRenameRequestSchema struct {
Filename string `json:"filename"`
}
UploadRenameRequestSchema defines model for uploadRenameRequestSchema.
type UploadRenameResponseSchema ¶
type UploadRenameResponseSchema struct {
Upload struct {
CreatedAt time.Time `json:"createdAt"`
Filename string `json:"filename"`
Id string `json:"id"`
Key string `json:"key"`
Size int `json:"size"`
} `json:"upload"`
}
UploadRenameResponseSchema defines model for uploadRenameResponseSchema.
type UploadsListResponseSchema ¶
type UploadsListResponseSchema struct {
Data []struct {
CreatedAt time.Time `json:"createdAt"`
Filename string `json:"filename"`
Id string `json:"id"`
Key string `json:"key"`
Size int `json:"size"`
} `json:"data"`
Meta struct {
MaxFileSizeBytes int `json:"maxFileSizeBytes"`
QuotaBytes int `json:"quotaBytes"`
UsedBytes int `json:"usedBytes"`
} `json:"meta"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
UploadsListResponseSchema defines model for uploadsListResponseSchema.
type UpsertDescriptionJSONRequestBody ¶
type UpsertDescriptionJSONRequestBody = DescriptionUpsertRequestSchema
UpsertDescriptionJSONRequestBody defines body for UpsertDescription for application/json ContentType.
type UpsertDescriptionResponse ¶
type UpsertDescriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DescriptionUpsertResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *UpsertDescriptionResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *UpsertDescriptionResponse503Headers
}
func ParseUpsertDescriptionResponse ¶
func ParseUpsertDescriptionResponse(rsp *http.Response) (*UpsertDescriptionResponse, error)
ParseUpsertDescriptionResponse parses an HTTP response from a UpsertDescriptionWithResponse call
func (UpsertDescriptionResponse) ContentType ¶
func (r UpsertDescriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertDescriptionResponse) GetBody ¶
func (r UpsertDescriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertDescriptionResponse) GetJSON200 ¶
func (r UpsertDescriptionResponse) GetJSON200() *DescriptionUpsertResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertDescriptionResponse) GetJSON400 ¶
func (r UpsertDescriptionResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpsertDescriptionResponse) GetJSON401 ¶
func (r UpsertDescriptionResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpsertDescriptionResponse) GetJSON403 ¶
func (r UpsertDescriptionResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpsertDescriptionResponse) GetJSON404 ¶
func (r UpsertDescriptionResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpsertDescriptionResponse) GetJSON429 ¶
func (r UpsertDescriptionResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UpsertDescriptionResponse) GetJSON503 ¶
func (r UpsertDescriptionResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpsertDescriptionResponse) Status ¶
func (r UpsertDescriptionResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertDescriptionResponse) StatusCode ¶
func (r UpsertDescriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertDescriptionResponse429Headers ¶
type UpsertDescriptionResponse429Headers struct {
RetryAfter *int
}
UpsertDescriptionResponse429Headers the declared response headers of an HTTP 429 response for UpsertDescription
type UpsertDescriptionResponse503Headers ¶
type UpsertDescriptionResponse503Headers struct {
RetryAfter *int
}
UpsertDescriptionResponse503Headers the declared response headers of an HTTP 503 response for UpsertDescription
type WeatherSnapshotResponseSchema ¶
type WeatherSnapshotResponseSchema struct {
Alerts []struct {
Content *string `json:"content,omitempty"`
IssuedAt *time.Time `json:"issuedAt,omitempty"`
Level *string `json:"level,omitempty"`
Title string `json:"title"`
} `json:"alerts"`
Current struct {
Condition struct {
Icon string `json:"icon"`
Text string `json:"text"`
} `json:"condition"`
FeelsLike *float32 `json:"feelsLike,omitempty"`
Humidity *float32 `json:"humidity,omitempty"`
ObservedAt *time.Time `json:"observedAt,omitempty"`
Pressure *float32 `json:"pressure,omitempty"`
Source *WeatherSnapshotResponseSchemaCurrentSource `json:"source,omitempty"`
Temperature *float32 `json:"temperature"`
Visibility *float32 `json:"visibility,omitempty"`
WindDirection *string `json:"windDirection,omitempty"`
WindSpeed *float32 `json:"windSpeed,omitempty"`
} `json:"current"`
Daily []struct {
Condition *struct {
Icon string `json:"icon"`
Text string `json:"text"`
} `json:"condition,omitempty"`
Date string `json:"date"`
TemperatureHigh float32 `json:"temperatureHigh"`
TemperatureLow float32 `json:"temperatureLow"`
} `json:"daily"`
Extensions struct {
Amap *UnderscoreUnderscoreSchema6 `json:"amap,omitempty"`
OpenMeteo *UnderscoreUnderscoreSchema7 `json:"openMeteo,omitempty"`
} `json:"extensions"`
FetchedAt time.Time `json:"fetchedAt"`
Hourly []struct {
At time.Time `json:"at"`
Condition *struct {
Icon string `json:"icon"`
Text string `json:"text"`
} `json:"condition,omitempty"`
PrecipitationAmount *float32 `json:"precipitationAmount,omitempty"`
PrecipitationProbability *float32 `json:"precipitationProbability,omitempty"`
Temperature float32 `json:"temperature"`
} `json:"hourly"`
Location struct {
Adcode string `json:"adcode"`
Key WeatherSnapshotResponseSchemaLocationKey `json:"key"`
Name string `json:"name"`
} `json:"location"`
Providers []WeatherSnapshotResponseSchemaProviders `json:"providers"`
}
WeatherSnapshotResponseSchema defines model for weatherSnapshotResponseSchema.
type WeatherSnapshotResponseSchemaCurrentSource ¶
type WeatherSnapshotResponseSchemaCurrentSource string
WeatherSnapshotResponseSchemaCurrentSource defines model for WeatherSnapshotResponseSchema.Current.Source.
const ( WeatherSnapshotResponseSchemaCurrentSourceAmap WeatherSnapshotResponseSchemaCurrentSource = "amap" WeatherSnapshotResponseSchemaCurrentSourceOpenMeteo WeatherSnapshotResponseSchemaCurrentSource = "open-meteo" )
Defines values for WeatherSnapshotResponseSchemaCurrentSource.
func (WeatherSnapshotResponseSchemaCurrentSource) Valid ¶
func (e WeatherSnapshotResponseSchemaCurrentSource) Valid() bool
Valid indicates whether the value is a known member of the WeatherSnapshotResponseSchemaCurrentSource enum.
type WeatherSnapshotResponseSchemaLocationKey ¶
type WeatherSnapshotResponseSchemaLocationKey string
WeatherSnapshotResponseSchemaLocationKey defines model for WeatherSnapshotResponseSchema.Location.Key.
const ( WeatherSnapshotResponseSchemaLocationKeyUstcGaoxin WeatherSnapshotResponseSchemaLocationKey = "ustc-gaoxin" WeatherSnapshotResponseSchemaLocationKeyUstcMain WeatherSnapshotResponseSchemaLocationKey = "ustc-main" )
Defines values for WeatherSnapshotResponseSchemaLocationKey.
func (WeatherSnapshotResponseSchemaLocationKey) Valid ¶
func (e WeatherSnapshotResponseSchemaLocationKey) Valid() bool
Valid indicates whether the value is a known member of the WeatherSnapshotResponseSchemaLocationKey enum.
type WeatherSnapshotResponseSchemaProviders ¶
type WeatherSnapshotResponseSchemaProviders string
WeatherSnapshotResponseSchemaProviders defines model for WeatherSnapshotResponseSchema.Providers.
const ( WeatherSnapshotResponseSchemaProvidersAmap WeatherSnapshotResponseSchemaProviders = "amap" WeatherSnapshotResponseSchemaProvidersOpenMeteo WeatherSnapshotResponseSchemaProviders = "open-meteo" )
Defines values for WeatherSnapshotResponseSchemaProviders.
func (WeatherSnapshotResponseSchemaProviders) Valid ¶
func (e WeatherSnapshotResponseSchemaProviders) Valid() bool
Valid indicates whether the value is a known member of the WeatherSnapshotResponseSchemaProviders enum.
type WorkspaceBusPreferencesGetResponse ¶
type WorkspaceBusPreferencesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BusPreferenceResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseWorkspaceBusPreferencesGetResponse ¶
func ParseWorkspaceBusPreferencesGetResponse(rsp *http.Response) (*WorkspaceBusPreferencesGetResponse, error)
ParseWorkspaceBusPreferencesGetResponse parses an HTTP response from a WorkspaceBusPreferencesGetWithResponse call
func (WorkspaceBusPreferencesGetResponse) ContentType ¶
func (r WorkspaceBusPreferencesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceBusPreferencesGetResponse) GetBody ¶
func (r WorkspaceBusPreferencesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceBusPreferencesGetResponse) GetJSON200 ¶
func (r WorkspaceBusPreferencesGetResponse) GetJSON200() *BusPreferenceResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceBusPreferencesGetResponse) GetJSON401 ¶
func (r WorkspaceBusPreferencesGetResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceBusPreferencesGetResponse) Status ¶
func (r WorkspaceBusPreferencesGetResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceBusPreferencesGetResponse) StatusCode ¶
func (r WorkspaceBusPreferencesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceBusPreferencesSetJSONRequestBody ¶
type WorkspaceBusPreferencesSetJSONRequestBody = BusPreferenceRequestSchema
WorkspaceBusPreferencesSetJSONRequestBody defines body for WorkspaceBusPreferencesSet for application/json ContentType.
type WorkspaceBusPreferencesSetResponse ¶
type WorkspaceBusPreferencesSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BusPreferenceResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *WorkspaceBusPreferencesSetResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *WorkspaceBusPreferencesSetResponse503Headers
}
func ParseWorkspaceBusPreferencesSetResponse ¶
func ParseWorkspaceBusPreferencesSetResponse(rsp *http.Response) (*WorkspaceBusPreferencesSetResponse, error)
ParseWorkspaceBusPreferencesSetResponse parses an HTTP response from a WorkspaceBusPreferencesSetWithResponse call
func (WorkspaceBusPreferencesSetResponse) ContentType ¶
func (r WorkspaceBusPreferencesSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceBusPreferencesSetResponse) GetBody ¶
func (r WorkspaceBusPreferencesSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceBusPreferencesSetResponse) GetJSON200 ¶
func (r WorkspaceBusPreferencesSetResponse) GetJSON200() *BusPreferenceResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceBusPreferencesSetResponse) GetJSON400 ¶
func (r WorkspaceBusPreferencesSetResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (WorkspaceBusPreferencesSetResponse) GetJSON401 ¶
func (r WorkspaceBusPreferencesSetResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceBusPreferencesSetResponse) GetJSON429 ¶
func (r WorkspaceBusPreferencesSetResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (WorkspaceBusPreferencesSetResponse) GetJSON503 ¶
func (r WorkspaceBusPreferencesSetResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (WorkspaceBusPreferencesSetResponse) Status ¶
func (r WorkspaceBusPreferencesSetResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceBusPreferencesSetResponse) StatusCode ¶
func (r WorkspaceBusPreferencesSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceBusPreferencesSetResponse429Headers ¶
type WorkspaceBusPreferencesSetResponse429Headers struct {
RetryAfter *int
}
WorkspaceBusPreferencesSetResponse429Headers the declared response headers of an HTTP 429 response for WorkspaceBusPreferencesSet
type WorkspaceBusPreferencesSetResponse503Headers ¶
type WorkspaceBusPreferencesSetResponse503Headers struct {
RetryAfter *int
}
WorkspaceBusPreferencesSetResponse503Headers the declared response headers of an HTTP 503 response for WorkspaceBusPreferencesSet
type WorkspaceCalendarFeedExportResponse ¶
type WorkspaceCalendarFeedExportResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *OpenApiErrorSchema
// JSON410 the response for an HTTP 410 `application/json` response
JSON410 *OpenApiErrorSchema
}
func ParseWorkspaceCalendarFeedExportResponse ¶
func ParseWorkspaceCalendarFeedExportResponse(rsp *http.Response) (*WorkspaceCalendarFeedExportResponse, error)
ParseWorkspaceCalendarFeedExportResponse parses an HTTP response from a WorkspaceCalendarFeedExportWithResponse call
func (WorkspaceCalendarFeedExportResponse) ContentType ¶
func (r WorkspaceCalendarFeedExportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceCalendarFeedExportResponse) GetBody ¶
func (r WorkspaceCalendarFeedExportResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceCalendarFeedExportResponse) GetJSON401 ¶
func (r WorkspaceCalendarFeedExportResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceCalendarFeedExportResponse) GetJSON403 ¶
func (r WorkspaceCalendarFeedExportResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (WorkspaceCalendarFeedExportResponse) GetJSON404 ¶
func (r WorkspaceCalendarFeedExportResponse) GetJSON404() *OpenApiErrorSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (WorkspaceCalendarFeedExportResponse) GetJSON410 ¶
func (r WorkspaceCalendarFeedExportResponse) GetJSON410() *OpenApiErrorSchema
GetJSON410 returns the response for an HTTP 410 `application/json` response
func (WorkspaceCalendarFeedExportResponse) Status ¶
func (r WorkspaceCalendarFeedExportResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceCalendarFeedExportResponse) StatusCode ¶
func (r WorkspaceCalendarFeedExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceExamListParams ¶
type WorkspaceExamListParams struct {
DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
DateTo *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
IncludeDateUnknown *WorkspaceExamListParamsIncludeDateUnknown `form:"includeDateUnknown,omitempty" json:"includeDateUnknown,omitempty"`
SemesterId *int64 `form:"semesterId,omitempty" json:"semesterId,omitempty"`
Page *int64 `form:"page,omitempty" json:"page,omitempty"`
PageSize *int64 `form:"pageSize,omitempty" json:"pageSize,omitempty"`
Locale *WorkspaceExamListParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
WorkspaceExamListParams defines parameters for WorkspaceExamList.
type WorkspaceExamListParamsIncludeDateUnknown ¶
type WorkspaceExamListParamsIncludeDateUnknown string
WorkspaceExamListParamsIncludeDateUnknown defines parameters for WorkspaceExamList.
const ( WorkspaceExamListParamsIncludeDateUnknownFalse WorkspaceExamListParamsIncludeDateUnknown = "false" WorkspaceExamListParamsIncludeDateUnknownTrue WorkspaceExamListParamsIncludeDateUnknown = "true" )
Defines values for WorkspaceExamListParamsIncludeDateUnknown.
func (WorkspaceExamListParamsIncludeDateUnknown) Valid ¶
func (e WorkspaceExamListParamsIncludeDateUnknown) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceExamListParamsIncludeDateUnknown enum.
type WorkspaceExamListParamsLocale ¶
type WorkspaceExamListParamsLocale string
WorkspaceExamListParamsLocale defines parameters for WorkspaceExamList.
const ( WorkspaceExamListParamsLocaleEnUs WorkspaceExamListParamsLocale = "en-us" WorkspaceExamListParamsLocaleZhCn WorkspaceExamListParamsLocale = "zh-cn" )
Defines values for WorkspaceExamListParamsLocale.
func (WorkspaceExamListParamsLocale) Valid ¶
func (e WorkspaceExamListParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceExamListParamsLocale enum.
type WorkspaceExamListResponse ¶
type WorkspaceExamListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscribedExamsResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *OpenApiErrorSchema
}
func ParseWorkspaceExamListResponse ¶
func ParseWorkspaceExamListResponse(rsp *http.Response) (*WorkspaceExamListResponse, error)
ParseWorkspaceExamListResponse parses an HTTP response from a WorkspaceExamListWithResponse call
func (WorkspaceExamListResponse) ContentType ¶
func (r WorkspaceExamListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceExamListResponse) GetBody ¶
func (r WorkspaceExamListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceExamListResponse) GetJSON200 ¶
func (r WorkspaceExamListResponse) GetJSON200() *SubscribedExamsResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceExamListResponse) GetJSON400 ¶
func (r WorkspaceExamListResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (WorkspaceExamListResponse) GetJSON401 ¶
func (r WorkspaceExamListResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceExamListResponse) GetJSON403 ¶
func (r WorkspaceExamListResponse) GetJSON403() *OpenApiErrorSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (WorkspaceExamListResponse) Status ¶
func (r WorkspaceExamListResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceExamListResponse) StatusCode ¶
func (r WorkspaceExamListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceLinkPinBatchRequestSchema ¶
type WorkspaceLinkPinBatchRequestSchema struct {
Items []struct {
Action WorkspaceLinkPinBatchRequestSchemaItemsAction `json:"action"`
Slug string `json:"slug"`
} `json:"items"`
}
WorkspaceLinkPinBatchRequestSchema defines model for workspaceLinkPinBatchRequestSchema.
type WorkspaceLinkPinBatchRequestSchemaItemsAction ¶
type WorkspaceLinkPinBatchRequestSchemaItemsAction string
WorkspaceLinkPinBatchRequestSchemaItemsAction defines model for WorkspaceLinkPinBatchRequestSchema.Items.Action.
const ( WorkspaceLinkPinBatchRequestSchemaItemsActionPin WorkspaceLinkPinBatchRequestSchemaItemsAction = "pin" WorkspaceLinkPinBatchRequestSchemaItemsActionUnpin WorkspaceLinkPinBatchRequestSchemaItemsAction = "unpin" )
Defines values for WorkspaceLinkPinBatchRequestSchemaItemsAction.
func (WorkspaceLinkPinBatchRequestSchemaItemsAction) Valid ¶
func (e WorkspaceLinkPinBatchRequestSchemaItemsAction) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceLinkPinBatchRequestSchemaItemsAction enum.
type WorkspaceLinkPinBatchSetJSONRequestBody ¶
type WorkspaceLinkPinBatchSetJSONRequestBody = WorkspaceLinkPinBatchRequestSchema
WorkspaceLinkPinBatchSetJSONRequestBody defines body for WorkspaceLinkPinBatchSet for application/json ContentType.
type WorkspaceLinkPinBatchSetResponse ¶
type WorkspaceLinkPinBatchSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceLinkPinResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *WorkspaceLinkPinBatchSetResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *WorkspaceLinkPinBatchSetResponse503Headers
}
func ParseWorkspaceLinkPinBatchSetResponse ¶
func ParseWorkspaceLinkPinBatchSetResponse(rsp *http.Response) (*WorkspaceLinkPinBatchSetResponse, error)
ParseWorkspaceLinkPinBatchSetResponse parses an HTTP response from a WorkspaceLinkPinBatchSetWithResponse call
func (WorkspaceLinkPinBatchSetResponse) ContentType ¶
func (r WorkspaceLinkPinBatchSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceLinkPinBatchSetResponse) GetBody ¶
func (r WorkspaceLinkPinBatchSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceLinkPinBatchSetResponse) GetJSON200 ¶
func (r WorkspaceLinkPinBatchSetResponse) GetJSON200() *WorkspaceLinkPinResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceLinkPinBatchSetResponse) GetJSON400 ¶
func (r WorkspaceLinkPinBatchSetResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (WorkspaceLinkPinBatchSetResponse) GetJSON401 ¶
func (r WorkspaceLinkPinBatchSetResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceLinkPinBatchSetResponse) GetJSON429 ¶
func (r WorkspaceLinkPinBatchSetResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (WorkspaceLinkPinBatchSetResponse) GetJSON500 ¶
func (r WorkspaceLinkPinBatchSetResponse) GetJSON500() *OpenApiErrorSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (WorkspaceLinkPinBatchSetResponse) GetJSON503 ¶
func (r WorkspaceLinkPinBatchSetResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (WorkspaceLinkPinBatchSetResponse) Status ¶
func (r WorkspaceLinkPinBatchSetResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceLinkPinBatchSetResponse) StatusCode ¶
func (r WorkspaceLinkPinBatchSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceLinkPinBatchSetResponse429Headers ¶
type WorkspaceLinkPinBatchSetResponse429Headers struct {
RetryAfter *int
}
WorkspaceLinkPinBatchSetResponse429Headers the declared response headers of an HTTP 429 response for WorkspaceLinkPinBatchSet
type WorkspaceLinkPinBatchSetResponse503Headers ¶
type WorkspaceLinkPinBatchSetResponse503Headers struct {
RetryAfter *int
}
WorkspaceLinkPinBatchSetResponse503Headers the declared response headers of an HTTP 503 response for WorkspaceLinkPinBatchSet
type WorkspaceLinkPinListResponse ¶
type WorkspaceLinkPinListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceLinkPinResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseWorkspaceLinkPinListResponse ¶
func ParseWorkspaceLinkPinListResponse(rsp *http.Response) (*WorkspaceLinkPinListResponse, error)
ParseWorkspaceLinkPinListResponse parses an HTTP response from a WorkspaceLinkPinListWithResponse call
func (WorkspaceLinkPinListResponse) ContentType ¶
func (r WorkspaceLinkPinListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceLinkPinListResponse) GetBody ¶
func (r WorkspaceLinkPinListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceLinkPinListResponse) GetJSON200 ¶
func (r WorkspaceLinkPinListResponse) GetJSON200() *WorkspaceLinkPinResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceLinkPinListResponse) GetJSON401 ¶
func (r WorkspaceLinkPinListResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceLinkPinListResponse) Status ¶
func (r WorkspaceLinkPinListResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceLinkPinListResponse) StatusCode ¶
func (r WorkspaceLinkPinListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceLinkPinRequestSchema ¶
type WorkspaceLinkPinRequestSchema struct {
Action *WorkspaceLinkPinRequestSchemaAction `json:"action,omitempty"`
ReturnTo *string `json:"returnTo,omitempty"`
Slug string `json:"slug"`
}
WorkspaceLinkPinRequestSchema defines model for workspaceLinkPinRequestSchema.
type WorkspaceLinkPinRequestSchemaAction ¶
type WorkspaceLinkPinRequestSchemaAction string
WorkspaceLinkPinRequestSchemaAction defines model for WorkspaceLinkPinRequestSchema.Action.
const ( WorkspaceLinkPinRequestSchemaActionPin WorkspaceLinkPinRequestSchemaAction = "pin" WorkspaceLinkPinRequestSchemaActionUnpin WorkspaceLinkPinRequestSchemaAction = "unpin" )
Defines values for WorkspaceLinkPinRequestSchemaAction.
func (WorkspaceLinkPinRequestSchemaAction) Valid ¶
func (e WorkspaceLinkPinRequestSchemaAction) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceLinkPinRequestSchemaAction enum.
type WorkspaceLinkPinResponseSchema ¶
type WorkspaceLinkPinResponseSchema struct {
Error *string `json:"error"`
MaxPinnedLinks int `json:"maxPinnedLinks"`
PinnedSlugs []string `json:"pinnedSlugs"`
}
WorkspaceLinkPinResponseSchema defines model for workspaceLinkPinResponseSchema.
type WorkspaceLinkPinSetFormdataRequestBody ¶
type WorkspaceLinkPinSetFormdataRequestBody = WorkspaceLinkPinRequestSchema
WorkspaceLinkPinSetFormdataRequestBody defines body for WorkspaceLinkPinSet for application/x-www-form-urlencoded ContentType.
type WorkspaceLinkPinSetResponse ¶
type WorkspaceLinkPinSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceLinkPinResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *OpenApiErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *OpenApiErrorSchema
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *OpenApiErrorSchema
// Headers303 the parsed response headers for an HTTP 303 response
Headers303 *WorkspaceLinkPinSetResponse303Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *WorkspaceLinkPinSetResponse429Headers
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *WorkspaceLinkPinSetResponse503Headers
}
func ParseWorkspaceLinkPinSetResponse ¶
func ParseWorkspaceLinkPinSetResponse(rsp *http.Response) (*WorkspaceLinkPinSetResponse, error)
ParseWorkspaceLinkPinSetResponse parses an HTTP response from a WorkspaceLinkPinSetWithResponse call
func (WorkspaceLinkPinSetResponse) ContentType ¶
func (r WorkspaceLinkPinSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceLinkPinSetResponse) GetBody ¶
func (r WorkspaceLinkPinSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceLinkPinSetResponse) GetJSON200 ¶
func (r WorkspaceLinkPinSetResponse) GetJSON200() *WorkspaceLinkPinResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceLinkPinSetResponse) GetJSON400 ¶
func (r WorkspaceLinkPinSetResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (WorkspaceLinkPinSetResponse) GetJSON401 ¶
func (r WorkspaceLinkPinSetResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceLinkPinSetResponse) GetJSON429 ¶
func (r WorkspaceLinkPinSetResponse) GetJSON429() *OpenApiErrorSchema
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (WorkspaceLinkPinSetResponse) GetJSON500 ¶
func (r WorkspaceLinkPinSetResponse) GetJSON500() *OpenApiErrorSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (WorkspaceLinkPinSetResponse) GetJSON503 ¶
func (r WorkspaceLinkPinSetResponse) GetJSON503() *OpenApiErrorSchema
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (WorkspaceLinkPinSetResponse) Status ¶
func (r WorkspaceLinkPinSetResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceLinkPinSetResponse) StatusCode ¶
func (r WorkspaceLinkPinSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceLinkPinSetResponse303Headers ¶
type WorkspaceLinkPinSetResponse303Headers struct {
Location *string
}
WorkspaceLinkPinSetResponse303Headers the declared response headers of an HTTP 303 response for WorkspaceLinkPinSet
type WorkspaceLinkPinSetResponse429Headers ¶
type WorkspaceLinkPinSetResponse429Headers struct {
RetryAfter *int
}
WorkspaceLinkPinSetResponse429Headers the declared response headers of an HTTP 429 response for WorkspaceLinkPinSet
type WorkspaceLinkPinSetResponse503Headers ¶
type WorkspaceLinkPinSetResponse503Headers struct {
RetryAfter *int
}
WorkspaceLinkPinSetResponse503Headers the declared response headers of an HTTP 503 response for WorkspaceLinkPinSet
type WorkspaceOverviewGetParams ¶
type WorkspaceOverviewGetParams struct {
AtTime *string `form:"atTime,omitempty" json:"atTime,omitempty"`
HomeworkWindowDays *int64 `form:"homeworkWindowDays,omitempty" json:"homeworkWindowDays,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Locale *WorkspaceOverviewGetParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
WorkspaceOverviewGetParams defines parameters for WorkspaceOverviewGet.
type WorkspaceOverviewGetParamsLocale ¶
type WorkspaceOverviewGetParamsLocale string
WorkspaceOverviewGetParamsLocale defines parameters for WorkspaceOverviewGet.
const ( WorkspaceOverviewGetParamsLocaleEnUs WorkspaceOverviewGetParamsLocale = "en-us" WorkspaceOverviewGetParamsLocaleZhCn WorkspaceOverviewGetParamsLocale = "zh-cn" )
Defines values for WorkspaceOverviewGetParamsLocale.
func (WorkspaceOverviewGetParamsLocale) Valid ¶
func (e WorkspaceOverviewGetParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceOverviewGetParamsLocale enum.
type WorkspaceOverviewGetResponse ¶
type WorkspaceOverviewGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CompactOverviewResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseWorkspaceOverviewGetResponse ¶
func ParseWorkspaceOverviewGetResponse(rsp *http.Response) (*WorkspaceOverviewGetResponse, error)
ParseWorkspaceOverviewGetResponse parses an HTTP response from a WorkspaceOverviewGetWithResponse call
func (WorkspaceOverviewGetResponse) ContentType ¶
func (r WorkspaceOverviewGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceOverviewGetResponse) GetBody ¶
func (r WorkspaceOverviewGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceOverviewGetResponse) GetJSON200 ¶
func (r WorkspaceOverviewGetResponse) GetJSON200() *CompactOverviewResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceOverviewGetResponse) GetJSON400 ¶
func (r WorkspaceOverviewGetResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (WorkspaceOverviewGetResponse) GetJSON401 ¶
func (r WorkspaceOverviewGetResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceOverviewGetResponse) Status ¶
func (r WorkspaceOverviewGetResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceOverviewGetResponse) StatusCode ¶
func (r WorkspaceOverviewGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceScheduleListParams ¶
type WorkspaceScheduleListParams struct {
DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
DateTo *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
Weekday *int64 `form:"weekday,omitempty" json:"weekday,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Locale *WorkspaceScheduleListParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
WorkspaceScheduleListParams defines parameters for WorkspaceScheduleList.
type WorkspaceScheduleListParamsLocale ¶
type WorkspaceScheduleListParamsLocale string
WorkspaceScheduleListParamsLocale defines parameters for WorkspaceScheduleList.
const ( WorkspaceScheduleListParamsLocaleEnUs WorkspaceScheduleListParamsLocale = "en-us" WorkspaceScheduleListParamsLocaleZhCn WorkspaceScheduleListParamsLocale = "zh-cn" )
Defines values for WorkspaceScheduleListParamsLocale.
func (WorkspaceScheduleListParamsLocale) Valid ¶
func (e WorkspaceScheduleListParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceScheduleListParamsLocale enum.
type WorkspaceScheduleListResponse ¶
type WorkspaceScheduleListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SubscribedSchedulesResponseSchema
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *OpenApiErrorSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *OpenApiErrorSchema
}
func ParseWorkspaceScheduleListResponse ¶
func ParseWorkspaceScheduleListResponse(rsp *http.Response) (*WorkspaceScheduleListResponse, error)
ParseWorkspaceScheduleListResponse parses an HTTP response from a WorkspaceScheduleListWithResponse call
func (WorkspaceScheduleListResponse) ContentType ¶
func (r WorkspaceScheduleListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceScheduleListResponse) GetBody ¶
func (r WorkspaceScheduleListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceScheduleListResponse) GetJSON200 ¶
func (r WorkspaceScheduleListResponse) GetJSON200() *SubscribedSchedulesResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceScheduleListResponse) GetJSON400 ¶
func (r WorkspaceScheduleListResponse) GetJSON400() *OpenApiErrorSchema
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (WorkspaceScheduleListResponse) GetJSON401 ¶
func (r WorkspaceScheduleListResponse) GetJSON401() *OpenApiErrorSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (WorkspaceScheduleListResponse) Status ¶
func (r WorkspaceScheduleListResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceScheduleListResponse) StatusCode ¶
func (r WorkspaceScheduleListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type YoungEventDetailSchema ¶
type YoungEventDetailSchema struct {
ActivityLevel *string `json:"activityLevel"`
ActivityLevelCode *string `json:"activityLevelCode"`
ActivityStatusCode *string `json:"activityStatusCode"`
AllowedAttachmentTypes []string `json:"allowedAttachmentTypes"`
AppliedCount *int `json:"appliedCount"`
ApplyEndAt *time.Time `json:"applyEndAt"`
ApplyStartAt *time.Time `json:"applyStartAt"`
AuditedAt *time.Time `json:"auditedAt"`
Capacity *int `json:"capacity"`
Category *string `json:"category"`
CategoryCode *string `json:"categoryCode"`
// ConflictIntervals Known occupied intervals; an absent or empty array does not establish availability.
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
ContactName *string `json:"contactName"`
ContactTel *string `json:"contactTel"`
CreatedAt *time.Time `json:"createdAt"`
CreatedAtUpstream *time.Time `json:"createdAtUpstream"`
Department *string `json:"department"`
DepartmentId *string `json:"departmentId"`
Description *string `json:"description"`
Duration *float32 `json:"duration"`
EndAt *time.Time `json:"endAt"`
ExternalSponsor *string `json:"externalSponsor"`
FavCount *int `json:"favCount"`
Form *string `json:"form"`
FormCode *string `json:"formCode"`
Grades *string `json:"grades"`
Hours *float32 `json:"hours"`
ImageUrl *string `json:"imageUrl"`
IsActive bool `json:"isActive"`
IsOnline *bool `json:"isOnline"`
LastSeenAt *time.Time `json:"lastSeenAt"`
LimitNum *int `json:"limitNum"`
Location *string `json:"location"`
Module *string `json:"module"`
ModuleCode *string `json:"moduleCode"`
Name string `json:"name"`
OnlineMeetingInfo *string `json:"onlineMeetingInfo"`
Organizer *string `json:"organizer"`
OrganizerId *string `json:"organizerId"`
PartakeNum *int `json:"partakeNum"`
ParticipationNotes *string `json:"participationNotes"`
Places *[]struct {
PlaceEt *string `json:"placeEt"`
PlaceInfo *string `json:"placeInfo"`
PlaceSt *string `json:"placeSt"`
} `json:"places"`
RawJson UnderscoreUnderscoreSchema9 `json:"rawJson"`
RequiresSignup *bool `json:"requiresSignup"`
RequiresSignupInfo *bool `json:"requiresSignupInfo"`
ServiceHour *float32 `json:"serviceHour"`
SignupDepartmentIds []string `json:"signupDepartmentIds"`
SignupScopeCode *string `json:"signupScopeCode"`
SignupStatusCode *string `json:"signupStatusCode"`
SourceMissing bool `json:"sourceMissing"`
Sponsor *string `json:"sponsor"`
StartAt *time.Time `json:"startAt"`
Status *string `json:"status"`
SumHours *float32 `json:"sumHours"`
SumPersons *int `json:"sumPersons"`
TagIds []string `json:"tagIds"`
UpdatedAtUpstream *time.Time `json:"updatedAtUpstream"`
UpstreamOrganizerIds []string `json:"upstreamOrganizerIds"`
UpstreamSponsorIds []string `json:"upstreamSponsorIds"`
YoungId string `json:"youngId"`
}
YoungEventDetailSchema defines model for youngEventDetailSchema.
type YoungEventSubscriptionListSchema ¶
type YoungEventSubscriptionListSchema struct {
Data []struct {
CreatedAt time.Time `json:"createdAt"`
Event struct {
ActivityLevel *string `json:"activityLevel"`
ActivityLevelCode *string `json:"activityLevelCode"`
ActivityStatusCode *string `json:"activityStatusCode"`
AllowedAttachmentTypes []string `json:"allowedAttachmentTypes"`
AppliedCount *int `json:"appliedCount"`
ApplyEndAt *time.Time `json:"applyEndAt"`
ApplyStartAt *time.Time `json:"applyStartAt"`
AuditedAt *time.Time `json:"auditedAt"`
Capacity *int `json:"capacity"`
Category *string `json:"category"`
CategoryCode *string `json:"categoryCode"`
// ConflictIntervals Known occupied intervals; an absent or empty array does not establish availability.
ConflictIntervals *[]struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
} `json:"conflictIntervals,omitempty"`
ContactName *string `json:"contactName"`
ContactTel *string `json:"contactTel"`
CreatedAt *time.Time `json:"createdAt"`
CreatedAtUpstream *time.Time `json:"createdAtUpstream"`
Department *string `json:"department"`
DepartmentId *string `json:"departmentId"`
Duration *float32 `json:"duration"`
EndAt *time.Time `json:"endAt"`
ExternalSponsor *string `json:"externalSponsor"`
FavCount *int `json:"favCount"`
Form *string `json:"form"`
FormCode *string `json:"formCode"`
Grades *string `json:"grades"`
Hours *float32 `json:"hours"`
ImageUrl *string `json:"imageUrl"`
IsActive bool `json:"isActive"`
IsOnline *bool `json:"isOnline"`
LastSeenAt *time.Time `json:"lastSeenAt"`
LimitNum *int `json:"limitNum"`
Location *string `json:"location"`
Module *string `json:"module"`
ModuleCode *string `json:"moduleCode"`
Name string `json:"name"`
OnlineMeetingInfo *string `json:"onlineMeetingInfo"`
Organizer *string `json:"organizer"`
OrganizerId *string `json:"organizerId"`
PartakeNum *int `json:"partakeNum"`
Places *[]struct {
PlaceEt *string `json:"placeEt"`
PlaceInfo *string `json:"placeInfo"`
PlaceSt *string `json:"placeSt"`
} `json:"places"`
RequiresSignup *bool `json:"requiresSignup"`
RequiresSignupInfo *bool `json:"requiresSignupInfo"`
ServiceHour *float32 `json:"serviceHour"`
SignupDepartmentIds []string `json:"signupDepartmentIds"`
SignupScopeCode *string `json:"signupScopeCode"`
SignupStatusCode *string `json:"signupStatusCode"`
SourceMissing bool `json:"sourceMissing"`
Sponsor *string `json:"sponsor"`
StartAt *time.Time `json:"startAt"`
Status *string `json:"status"`
SumHours *float32 `json:"sumHours"`
SumPersons *int `json:"sumPersons"`
TagIds []string `json:"tagIds"`
UpdatedAtUpstream *time.Time `json:"updatedAtUpstream"`
UpstreamOrganizerIds []string `json:"upstreamOrganizerIds"`
UpstreamSponsorIds []string `json:"upstreamSponsorIds"`
YoungId string `json:"youngId"`
} `json:"event"`
RemindDeadline bool `json:"remindDeadline"`
RemindSignup bool `json:"remindSignup"`
RemindStart bool `json:"remindStart"`
YoungId string `json:"youngId"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
YoungEventSubscriptionListSchema defines model for youngEventSubscriptionListSchema.
type YoungEventSubscriptionRequestSchema ¶
type YoungEventSubscriptionRequestSchema struct {
RemindDeadline *bool `json:"remindDeadline,omitempty"`
RemindSignup *bool `json:"remindSignup,omitempty"`
RemindStart *bool `json:"remindStart,omitempty"`
Subscribed bool `json:"subscribed"`
}
YoungEventSubscriptionRequestSchema defines model for youngEventSubscriptionRequestSchema.
type YoungEventSubscriptionStateSchema ¶
type YoungEventSubscriptionStateSchema struct {
RemindDeadline bool `json:"remindDeadline"`
RemindSignup bool `json:"remindSignup"`
RemindStart bool `json:"remindStart"`
Subscribed bool `json:"subscribed"`
YoungId string `json:"youngId"`
}
YoungEventSubscriptionStateSchema defines model for youngEventSubscriptionStateSchema.
type YoungNotificationListSchema ¶
type YoungNotificationListSchema struct {
Data []struct {
Body string `json:"body"`
CreatedAt time.Time `json:"createdAt"`
ExpiresAt *time.Time `json:"expiresAt"`
Id string `json:"id"`
Kind string `json:"kind"`
OrganizerId *string `json:"organizerId"`
ReadAt *time.Time `json:"readAt"`
Title string `json:"title"`
YoungId *string `json:"youngId"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
YoungNotificationListSchema defines model for youngNotificationListSchema.
type YoungNotificationReadSchema ¶
YoungNotificationReadSchema defines model for youngNotificationReadSchema.
type YoungOrganizerSubscriptionListSchema ¶
type YoungOrganizerSubscriptionListSchema struct {
Data []struct {
CreatedAt time.Time `json:"createdAt"`
Organizer struct {
Id string `json:"id"`
Name string `json:"name"`
} `json:"organizer"`
OrganizerId string `json:"organizerId"`
} `json:"data"`
Pagination struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
} `json:"pagination"`
}
YoungOrganizerSubscriptionListSchema defines model for youngOrganizerSubscriptionListSchema.
type YoungOrganizerSubscriptionRequestSchema ¶
type YoungOrganizerSubscriptionRequestSchema struct {
Subscribed bool `json:"subscribed"`
}
YoungOrganizerSubscriptionRequestSchema defines model for youngOrganizerSubscriptionRequestSchema.
type YoungOrganizerSubscriptionStateSchema ¶
type YoungOrganizerSubscriptionStateSchema struct {
OrganizerId string `json:"organizerId"`
Subscribed bool `json:"subscribed"`
}
YoungOrganizerSubscriptionStateSchema defines model for youngOrganizerSubscriptionStateSchema.
type YoungOrganizerSummarySchema ¶
type YoungOrganizerSummarySchema struct {
ActiveCount int `json:"activeCount"`
HistoryCount int `json:"historyCount"`
Id string `json:"id"`
Name string `json:"name"`
NormalizedName string `json:"normalizedName"`
TotalCount int `json:"totalCount"`
UpcomingCount int `json:"upcomingCount"`
}
YoungOrganizerSummarySchema defines model for youngOrganizerSummarySchema.