Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type AdminAddCampParticipantJSONBody
- type AdminAddCampParticipantJSONRequestBody
- type AdminAddCampParticipantParams
- type AdminDeleteCampParams
- type AdminDeleteImageParams
- type AdminDeleteQuestionGroupParams
- type AdminDeleteQuestionParams
- type AdminDeleteRoomGroupParams
- type AdminDeleteRoomParams
- type AdminGetAnswersForQuestionGroupParams
- type AdminGetAnswersParams
- type AdminGetPaymentsParams
- type AdminGetUserParams
- type AdminPostAnswerJSONRequestBody
- type AdminPostAnswerParams
- type AdminPostCampJSONRequestBody
- type AdminPostCampParams
- type AdminPostImageMultipartBody
- type AdminPostImageMultipartRequestBody
- type AdminPostImageParams
- type AdminPostMessageJSONRequestBody
- type AdminPostMessageParams
- type AdminPostPaymentJSONRequestBody
- type AdminPostPaymentParams
- type AdminPostQuestionGroupJSONRequestBody
- type AdminPostQuestionGroupParams
- type AdminPostQuestionJSONRequestBody
- type AdminPostQuestionParams
- type AdminPostRollCallJSONRequestBody
- type AdminPostRollCallParams
- type AdminPostRoomGroupJSONRequestBody
- type AdminPostRoomGroupParams
- type AdminPostRoomJSONRequestBody
- type AdminPostRoomParams
- type AdminPutAnswerJSONRequestBody
- type AdminPutAnswerParams
- type AdminPutCampJSONRequestBody
- type AdminPutCampParams
- type AdminPutPaymentJSONRequestBody
- type AdminPutPaymentParams
- type AdminPutQuestionGroupMetadataJSONRequestBody
- type AdminPutQuestionGroupMetadataParams
- type AdminPutQuestionJSONRequestBody
- type AdminPutQuestionParams
- type AdminPutRoomGroupJSONRequestBody
- type AdminPutRoomGroupParams
- type AdminPutRoomJSONRequestBody
- type AdminPutRoomParams
- type AdminPutUserJSONRequestBody
- type AdminPutUserParams
- type AdminRemoveCampParticipantParams
- type AnswerId
- type AnswerRequest
- func (t AnswerRequest) AsFreeNumberAnswerRequest() (FreeNumberAnswerRequest, error)
- func (t AnswerRequest) AsFreeTextAnswerRequest() (FreeTextAnswerRequest, error)
- func (t AnswerRequest) AsMultipleChoiceAnswerRequest() (MultipleChoiceAnswerRequest, error)
- func (t AnswerRequest) AsSingleChoiceAnswerRequest() (SingleChoiceAnswerRequest, error)
- func (t *AnswerRequest) FromFreeNumberAnswerRequest(v FreeNumberAnswerRequest) error
- func (t *AnswerRequest) FromFreeTextAnswerRequest(v FreeTextAnswerRequest) error
- func (t *AnswerRequest) FromMultipleChoiceAnswerRequest(v MultipleChoiceAnswerRequest) error
- func (t *AnswerRequest) FromSingleChoiceAnswerRequest(v SingleChoiceAnswerRequest) error
- func (t AnswerRequest) MarshalJSON() ([]byte, error)
- func (t *AnswerRequest) MergeFreeNumberAnswerRequest(v FreeNumberAnswerRequest) error
- func (t *AnswerRequest) MergeFreeTextAnswerRequest(v FreeTextAnswerRequest) error
- func (t *AnswerRequest) MergeMultipleChoiceAnswerRequest(v MultipleChoiceAnswerRequest) error
- func (t *AnswerRequest) MergeSingleChoiceAnswerRequest(v SingleChoiceAnswerRequest) error
- func (t *AnswerRequest) UnmarshalJSON(b []byte) error
- type AnswerResponse
- func (t AnswerResponse) AsFreeNumberAnswerResponse() (FreeNumberAnswerResponse, error)
- func (t AnswerResponse) AsFreeTextAnswerResponse() (FreeTextAnswerResponse, error)
- func (t AnswerResponse) AsMultipleChoiceAnswerResponse() (MultipleChoiceAnswerResponse, error)
- func (t AnswerResponse) AsSingleChoiceAnswerResponse() (SingleChoiceAnswerResponse, error)
- func (t *AnswerResponse) FromFreeNumberAnswerResponse(v FreeNumberAnswerResponse) error
- func (t *AnswerResponse) FromFreeTextAnswerResponse(v FreeTextAnswerResponse) error
- func (t *AnswerResponse) FromMultipleChoiceAnswerResponse(v MultipleChoiceAnswerResponse) error
- func (t *AnswerResponse) FromSingleChoiceAnswerResponse(v SingleChoiceAnswerResponse) error
- func (t AnswerResponse) MarshalJSON() ([]byte, error)
- func (t *AnswerResponse) MergeFreeNumberAnswerResponse(v FreeNumberAnswerResponse) error
- func (t *AnswerResponse) MergeFreeTextAnswerResponse(v FreeTextAnswerResponse) error
- func (t *AnswerResponse) MergeMultipleChoiceAnswerResponse(v MultipleChoiceAnswerResponse) error
- func (t *AnswerResponse) MergeSingleChoiceAnswerResponse(v SingleChoiceAnswerResponse) error
- func (t *AnswerResponse) UnmarshalJSON(b []byte) error
- type BadRequest
- type CampId
- type CampRequest
- type CampResponse
- type Conflict
- type DashboardResponse
- type DeleteCampRegisterParams
- type DeleteEventParams
- type DeleteReactionParams
- type DurationEventRequest
- type DurationEventRequestDisplayColor
- type DurationEventRequestType
- type DurationEventResponse
- type DurationEventResponseDisplayColor
- type DurationEventResponseType
- type EchoRouter
- type EventId
- type EventRequest
- func (t EventRequest) AsDurationEventRequest() (DurationEventRequest, error)
- func (t EventRequest) AsMomentEventRequest() (MomentEventRequest, error)
- func (t EventRequest) AsOfficialEventRequest() (OfficialEventRequest, error)
- func (t *EventRequest) FromDurationEventRequest(v DurationEventRequest) error
- func (t *EventRequest) FromMomentEventRequest(v MomentEventRequest) error
- func (t *EventRequest) FromOfficialEventRequest(v OfficialEventRequest) error
- func (t EventRequest) MarshalJSON() ([]byte, error)
- func (t *EventRequest) MergeDurationEventRequest(v DurationEventRequest) error
- func (t *EventRequest) MergeMomentEventRequest(v MomentEventRequest) error
- func (t *EventRequest) MergeOfficialEventRequest(v OfficialEventRequest) error
- func (t *EventRequest) UnmarshalJSON(b []byte) error
- type EventResponse
- func (t EventResponse) AsDurationEventResponse() (DurationEventResponse, error)
- func (t EventResponse) AsMomentEventResponse() (MomentEventResponse, error)
- func (t EventResponse) AsOfficialEventResponse() (OfficialEventResponse, error)
- func (t *EventResponse) FromDurationEventResponse(v DurationEventResponse) error
- func (t *EventResponse) FromMomentEventResponse(v MomentEventResponse) error
- func (t *EventResponse) FromOfficialEventResponse(v OfficialEventResponse) error
- func (t EventResponse) MarshalJSON() ([]byte, error)
- func (t *EventResponse) MergeDurationEventResponse(v DurationEventResponse) error
- func (t *EventResponse) MergeMomentEventResponse(v MomentEventResponse) error
- func (t *EventResponse) MergeOfficialEventResponse(v OfficialEventResponse) error
- func (t *EventResponse) UnmarshalJSON(b []byte) error
- type Forbidden
- type FreeNumberAnswerRequest
- type FreeNumberAnswerRequestType
- type FreeNumberAnswerResponse
- type FreeNumberAnswerResponseType
- type FreeNumberQuestionRequest
- type FreeNumberQuestionRequestType
- type FreeNumberQuestionResponse
- type FreeNumberQuestionResponseType
- type FreeTextAnswerRequest
- type FreeTextAnswerRequestType
- type FreeTextAnswerResponse
- type FreeTextAnswerResponseType
- type FreeTextQuestionRequest
- type FreeTextQuestionRequestType
- type FreeTextQuestionResponse
- type FreeTextQuestionResponseType
- type GetDashboardParams
- type GetMeParams
- type GetMyAnswersParams
- type ImageId
- type ImageResponse
- type InternalServerError
- type MessageRequest
- type MomentEventRequest
- type MomentEventRequestType
- type MomentEventResponse
- type MomentEventResponseType
- type MultipleChoiceAnswerRequest
- type MultipleChoiceAnswerRequestType
- type MultipleChoiceAnswerResponse
- type MultipleChoiceAnswerResponseType
- type MultipleChoiceQuestionResponse
- type MultipleChoiceQuestionResponseType
- type NotFound
- type OfficialEventRequest
- type OfficialEventRequestType
- type OfficialEventResponse
- type OfficialEventResponseType
- type OptionResponse
- type PaymentId
- type PaymentRequest
- type PaymentResponse
- type PostAnswersJSONBody
- type PostAnswersJSONRequestBody
- type PostAnswersParams
- type PostCampRegisterParams
- type PostEventJSONRequestBody
- type PostEventParams
- type PostMultipleChoiceQuestionRequest
- type PostMultipleChoiceQuestionRequestType
- type PostOptionRequest
- type PostQuestionGroupRequest
- type PostQuestionRequest
- func (t PostQuestionRequest) AsFreeNumberQuestionRequest() (FreeNumberQuestionRequest, error)
- func (t PostQuestionRequest) AsFreeTextQuestionRequest() (FreeTextQuestionRequest, error)
- func (t PostQuestionRequest) AsPostMultipleChoiceQuestionRequest() (PostMultipleChoiceQuestionRequest, error)
- func (t PostQuestionRequest) AsPostSingleChoiceQuestionRequest() (PostSingleChoiceQuestionRequest, error)
- func (t *PostQuestionRequest) FromFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
- func (t *PostQuestionRequest) FromFreeTextQuestionRequest(v FreeTextQuestionRequest) error
- func (t *PostQuestionRequest) FromPostMultipleChoiceQuestionRequest(v PostMultipleChoiceQuestionRequest) error
- func (t *PostQuestionRequest) FromPostSingleChoiceQuestionRequest(v PostSingleChoiceQuestionRequest) error
- func (t PostQuestionRequest) MarshalJSON() ([]byte, error)
- func (t *PostQuestionRequest) MergeFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
- func (t *PostQuestionRequest) MergeFreeTextQuestionRequest(v FreeTextQuestionRequest) error
- func (t *PostQuestionRequest) MergePostMultipleChoiceQuestionRequest(v PostMultipleChoiceQuestionRequest) error
- func (t *PostQuestionRequest) MergePostSingleChoiceQuestionRequest(v PostSingleChoiceQuestionRequest) error
- func (t *PostQuestionRequest) UnmarshalJSON(b []byte) error
- type PostRollCallReactionJSONRequestBody
- type PostRollCallReactionParams
- type PostSingleChoiceQuestionRequest
- type PostSingleChoiceQuestionRequestType
- type PutAnswerJSONRequestBody
- type PutAnswerParams
- type PutEventJSONRequestBody
- type PutEventParams
- type PutMultipleChoiceQuestionRequest
- type PutMultipleChoiceQuestionRequestType
- type PutOptionRequest
- type PutQuestionGroupRequest
- type PutQuestionRequest
- func (t PutQuestionRequest) AsFreeNumberQuestionRequest() (FreeNumberQuestionRequest, error)
- func (t PutQuestionRequest) AsFreeTextQuestionRequest() (FreeTextQuestionRequest, error)
- func (t PutQuestionRequest) AsPutMultipleChoiceQuestionRequest() (PutMultipleChoiceQuestionRequest, error)
- func (t PutQuestionRequest) AsPutSingleChoiceQuestionRequest() (PutSingleChoiceQuestionRequest, error)
- func (t *PutQuestionRequest) FromFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
- func (t *PutQuestionRequest) FromFreeTextQuestionRequest(v FreeTextQuestionRequest) error
- func (t *PutQuestionRequest) FromPutMultipleChoiceQuestionRequest(v PutMultipleChoiceQuestionRequest) error
- func (t *PutQuestionRequest) FromPutSingleChoiceQuestionRequest(v PutSingleChoiceQuestionRequest) error
- func (t PutQuestionRequest) MarshalJSON() ([]byte, error)
- func (t *PutQuestionRequest) MergeFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
- func (t *PutQuestionRequest) MergeFreeTextQuestionRequest(v FreeTextQuestionRequest) error
- func (t *PutQuestionRequest) MergePutMultipleChoiceQuestionRequest(v PutMultipleChoiceQuestionRequest) error
- func (t *PutQuestionRequest) MergePutSingleChoiceQuestionRequest(v PutSingleChoiceQuestionRequest) error
- func (t *PutQuestionRequest) UnmarshalJSON(b []byte) error
- type PutReactionJSONRequestBody
- type PutReactionParams
- type PutSingleChoiceQuestionRequest
- type PutSingleChoiceQuestionRequestType
- type QuestionGroupId
- type QuestionGroupResponse
- type QuestionId
- type QuestionRequestBase
- type QuestionResponse
- func (t QuestionResponse) AsFreeNumberQuestionResponse() (FreeNumberQuestionResponse, error)
- func (t QuestionResponse) AsFreeTextQuestionResponse() (FreeTextQuestionResponse, error)
- func (t QuestionResponse) AsMultipleChoiceQuestionResponse() (MultipleChoiceQuestionResponse, error)
- func (t QuestionResponse) AsSingleChoiceQuestionResponse() (SingleChoiceQuestionResponse, error)
- func (t *QuestionResponse) FromFreeNumberQuestionResponse(v FreeNumberQuestionResponse) error
- func (t *QuestionResponse) FromFreeTextQuestionResponse(v FreeTextQuestionResponse) error
- func (t *QuestionResponse) FromMultipleChoiceQuestionResponse(v MultipleChoiceQuestionResponse) error
- func (t *QuestionResponse) FromSingleChoiceQuestionResponse(v SingleChoiceQuestionResponse) error
- func (t QuestionResponse) MarshalJSON() ([]byte, error)
- func (t *QuestionResponse) MergeFreeNumberQuestionResponse(v FreeNumberQuestionResponse) error
- func (t *QuestionResponse) MergeFreeTextQuestionResponse(v FreeTextQuestionResponse) error
- func (t *QuestionResponse) MergeMultipleChoiceQuestionResponse(v MultipleChoiceQuestionResponse) error
- func (t *QuestionResponse) MergeSingleChoiceQuestionResponse(v SingleChoiceQuestionResponse) error
- func (t *QuestionResponse) UnmarshalJSON(b []byte) error
- type QuestionResponseBase
- type ReactionId
- type RollCallId
- type RollCallReactionCreatedEvent
- type RollCallReactionCreatedEventType
- type RollCallReactionDeletedEvent
- type RollCallReactionDeletedEventType
- type RollCallReactionEvent
- func (t RollCallReactionEvent) AsRollCallReactionCreatedEvent() (RollCallReactionCreatedEvent, error)
- func (t RollCallReactionEvent) AsRollCallReactionDeletedEvent() (RollCallReactionDeletedEvent, error)
- func (t RollCallReactionEvent) AsRollCallReactionUpdatedEvent() (RollCallReactionUpdatedEvent, error)
- func (t *RollCallReactionEvent) FromRollCallReactionCreatedEvent(v RollCallReactionCreatedEvent) error
- func (t *RollCallReactionEvent) FromRollCallReactionDeletedEvent(v RollCallReactionDeletedEvent) error
- func (t *RollCallReactionEvent) FromRollCallReactionUpdatedEvent(v RollCallReactionUpdatedEvent) error
- func (t RollCallReactionEvent) MarshalJSON() ([]byte, error)
- func (t *RollCallReactionEvent) MergeRollCallReactionCreatedEvent(v RollCallReactionCreatedEvent) error
- func (t *RollCallReactionEvent) MergeRollCallReactionDeletedEvent(v RollCallReactionDeletedEvent) error
- func (t *RollCallReactionEvent) MergeRollCallReactionUpdatedEvent(v RollCallReactionUpdatedEvent) error
- func (t *RollCallReactionEvent) UnmarshalJSON(b []byte) error
- type RollCallReactionEventBase
- type RollCallReactionRequest
- type RollCallReactionResponse
- type RollCallReactionUpdatedEvent
- type RollCallReactionUpdatedEventType
- type RollCallRequest
- type RollCallResponse
- type RoomGroupId
- type RoomGroupRequest
- type RoomGroupResponse
- type RoomId
- type RoomRequest
- type RoomResponse
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) AdminAddCampParticipant(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminDeleteCamp(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminDeleteImage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminDeleteQuestion(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminDeleteQuestionGroup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminDeleteRoom(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminDeleteRoomGroup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminGetAnswers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminGetAnswersForQuestionGroup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminGetPayments(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminGetUser(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostAnswer(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostCamp(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostImage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostMessage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostPayment(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostQuestion(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostQuestionGroup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostRollCall(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostRoom(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPostRoomGroup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutAnswer(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutCamp(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutPayment(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutQuestion(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutQuestionGroupMetadata(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutRoom(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutRoomGroup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminPutUser(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AdminRemoveCampParticipant(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteCampRegister(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteEvent(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteReaction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetAnswers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCampParticipants(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCamps(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDashboard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetEvents(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetImage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetImages(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMe(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMyAnswers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetQuestionGroups(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetRollCallReactions(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetRollCalls(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetRoomGroups(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetStaffs(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostAnswers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostCampRegister(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostEvent(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostRollCallReaction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PutAnswer(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PutEvent(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PutReaction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) StreamRollCallReactions(ctx echo.Context) error
- type SingleChoiceAnswerRequest
- type SingleChoiceAnswerRequestType
- type SingleChoiceAnswerResponse
- type SingleChoiceAnswerResponseType
- type SingleChoiceQuestionResponse
- type SingleChoiceQuestionResponseType
- type UserId
- type UserIdInQuery
- type UserRequest
- type UserResponse
- type XForwardedUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
Types ¶
type AdminAddCampParticipantJSONBody ¶ added in v0.6.0
type AdminAddCampParticipantJSONBody struct {
UserId string `json:"userId"`
}
AdminAddCampParticipantJSONBody defines parameters for AdminAddCampParticipant.
type AdminAddCampParticipantJSONRequestBody ¶ added in v0.6.0
type AdminAddCampParticipantJSONRequestBody AdminAddCampParticipantJSONBody
AdminAddCampParticipantJSONRequestBody defines body for AdminAddCampParticipant for application/json ContentType.
type AdminAddCampParticipantParams ¶ added in v0.6.0
type AdminAddCampParticipantParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminAddCampParticipantParams defines parameters for AdminAddCampParticipant.
type AdminDeleteCampParams ¶
type AdminDeleteCampParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminDeleteCampParams defines parameters for AdminDeleteCamp.
type AdminDeleteImageParams ¶
type AdminDeleteImageParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminDeleteImageParams defines parameters for AdminDeleteImage.
type AdminDeleteQuestionGroupParams ¶
type AdminDeleteQuestionGroupParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminDeleteQuestionGroupParams defines parameters for AdminDeleteQuestionGroup.
type AdminDeleteQuestionParams ¶
type AdminDeleteQuestionParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminDeleteQuestionParams defines parameters for AdminDeleteQuestion.
type AdminDeleteRoomGroupParams ¶
type AdminDeleteRoomGroupParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminDeleteRoomGroupParams defines parameters for AdminDeleteRoomGroup.
type AdminDeleteRoomParams ¶
type AdminDeleteRoomParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminDeleteRoomParams defines parameters for AdminDeleteRoom.
type AdminGetAnswersForQuestionGroupParams ¶ added in v0.5.0
type AdminGetAnswersForQuestionGroupParams struct {
// UserId User ID(省略時は全ユーザーの回答を取得)
UserId *UserIdInQuery `form:"userId,omitempty" json:"userId,omitempty"`
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminGetAnswersForQuestionGroupParams defines parameters for AdminGetAnswersForQuestionGroup.
type AdminGetAnswersParams ¶
type AdminGetAnswersParams struct {
// UserId User ID(省略時は全ユーザーの回答を取得)
UserId *UserIdInQuery `form:"userId,omitempty" json:"userId,omitempty"`
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminGetAnswersParams defines parameters for AdminGetAnswers.
type AdminGetPaymentsParams ¶
type AdminGetPaymentsParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminGetPaymentsParams defines parameters for AdminGetPayments.
type AdminGetUserParams ¶
type AdminGetUserParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminGetUserParams defines parameters for AdminGetUser.
type AdminPostAnswerJSONRequestBody ¶ added in v0.5.0
type AdminPostAnswerJSONRequestBody = AnswerRequest
AdminPostAnswerJSONRequestBody defines body for AdminPostAnswer for application/json ContentType.
type AdminPostAnswerParams ¶ added in v0.5.0
type AdminPostAnswerParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostAnswerParams defines parameters for AdminPostAnswer.
type AdminPostCampJSONRequestBody ¶
type AdminPostCampJSONRequestBody = CampRequest
AdminPostCampJSONRequestBody defines body for AdminPostCamp for application/json ContentType.
type AdminPostCampParams ¶
type AdminPostCampParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostCampParams defines parameters for AdminPostCamp.
type AdminPostImageMultipartBody ¶
type AdminPostImageMultipartBody struct {
File *[]openapi_types.File `json:"file,omitempty"`
}
AdminPostImageMultipartBody defines parameters for AdminPostImage.
type AdminPostImageMultipartRequestBody ¶
type AdminPostImageMultipartRequestBody AdminPostImageMultipartBody
AdminPostImageMultipartRequestBody defines body for AdminPostImage for multipart/form-data ContentType.
type AdminPostImageParams ¶
type AdminPostImageParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostImageParams defines parameters for AdminPostImage.
type AdminPostMessageJSONRequestBody ¶
type AdminPostMessageJSONRequestBody = MessageRequest
AdminPostMessageJSONRequestBody defines body for AdminPostMessage for application/json ContentType.
type AdminPostMessageParams ¶
type AdminPostMessageParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostMessageParams defines parameters for AdminPostMessage.
type AdminPostPaymentJSONRequestBody ¶
type AdminPostPaymentJSONRequestBody = PaymentRequest
AdminPostPaymentJSONRequestBody defines body for AdminPostPayment for application/json ContentType.
type AdminPostPaymentParams ¶
type AdminPostPaymentParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostPaymentParams defines parameters for AdminPostPayment.
type AdminPostQuestionGroupJSONRequestBody ¶
type AdminPostQuestionGroupJSONRequestBody = PostQuestionGroupRequest
AdminPostQuestionGroupJSONRequestBody defines body for AdminPostQuestionGroup for application/json ContentType.
type AdminPostQuestionGroupParams ¶
type AdminPostQuestionGroupParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostQuestionGroupParams defines parameters for AdminPostQuestionGroup.
type AdminPostQuestionJSONRequestBody ¶
type AdminPostQuestionJSONRequestBody = PostQuestionRequest
AdminPostQuestionJSONRequestBody defines body for AdminPostQuestion for application/json ContentType.
type AdminPostQuestionParams ¶
type AdminPostQuestionParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostQuestionParams defines parameters for AdminPostQuestion.
type AdminPostRollCallJSONRequestBody ¶
type AdminPostRollCallJSONRequestBody = RollCallRequest
AdminPostRollCallJSONRequestBody defines body for AdminPostRollCall for application/json ContentType.
type AdminPostRollCallParams ¶
type AdminPostRollCallParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostRollCallParams defines parameters for AdminPostRollCall.
type AdminPostRoomGroupJSONRequestBody ¶
type AdminPostRoomGroupJSONRequestBody = RoomGroupRequest
AdminPostRoomGroupJSONRequestBody defines body for AdminPostRoomGroup for application/json ContentType.
type AdminPostRoomGroupParams ¶
type AdminPostRoomGroupParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostRoomGroupParams defines parameters for AdminPostRoomGroup.
type AdminPostRoomJSONRequestBody ¶
type AdminPostRoomJSONRequestBody = RoomRequest
AdminPostRoomJSONRequestBody defines body for AdminPostRoom for application/json ContentType.
type AdminPostRoomParams ¶
type AdminPostRoomParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPostRoomParams defines parameters for AdminPostRoom.
type AdminPutAnswerJSONRequestBody ¶
type AdminPutAnswerJSONRequestBody = AnswerRequest
AdminPutAnswerJSONRequestBody defines body for AdminPutAnswer for application/json ContentType.
type AdminPutAnswerParams ¶
type AdminPutAnswerParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutAnswerParams defines parameters for AdminPutAnswer.
type AdminPutCampJSONRequestBody ¶
type AdminPutCampJSONRequestBody = CampRequest
AdminPutCampJSONRequestBody defines body for AdminPutCamp for application/json ContentType.
type AdminPutCampParams ¶
type AdminPutCampParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutCampParams defines parameters for AdminPutCamp.
type AdminPutPaymentJSONRequestBody ¶
type AdminPutPaymentJSONRequestBody = PaymentRequest
AdminPutPaymentJSONRequestBody defines body for AdminPutPayment for application/json ContentType.
type AdminPutPaymentParams ¶
type AdminPutPaymentParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutPaymentParams defines parameters for AdminPutPayment.
type AdminPutQuestionGroupMetadataJSONRequestBody ¶
type AdminPutQuestionGroupMetadataJSONRequestBody = PutQuestionGroupRequest
AdminPutQuestionGroupMetadataJSONRequestBody defines body for AdminPutQuestionGroupMetadata for application/json ContentType.
type AdminPutQuestionGroupMetadataParams ¶
type AdminPutQuestionGroupMetadataParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutQuestionGroupMetadataParams defines parameters for AdminPutQuestionGroupMetadata.
type AdminPutQuestionJSONRequestBody ¶
type AdminPutQuestionJSONRequestBody = PutQuestionRequest
AdminPutQuestionJSONRequestBody defines body for AdminPutQuestion for application/json ContentType.
type AdminPutQuestionParams ¶
type AdminPutQuestionParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutQuestionParams defines parameters for AdminPutQuestion.
type AdminPutRoomGroupJSONRequestBody ¶
type AdminPutRoomGroupJSONRequestBody = RoomGroupRequest
AdminPutRoomGroupJSONRequestBody defines body for AdminPutRoomGroup for application/json ContentType.
type AdminPutRoomGroupParams ¶
type AdminPutRoomGroupParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutRoomGroupParams defines parameters for AdminPutRoomGroup.
type AdminPutRoomJSONRequestBody ¶
type AdminPutRoomJSONRequestBody = RoomRequest
AdminPutRoomJSONRequestBody defines body for AdminPutRoom for application/json ContentType.
type AdminPutRoomParams ¶
type AdminPutRoomParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutRoomParams defines parameters for AdminPutRoom.
type AdminPutUserJSONRequestBody ¶
type AdminPutUserJSONRequestBody = UserRequest
AdminPutUserJSONRequestBody defines body for AdminPutUser for application/json ContentType.
type AdminPutUserParams ¶
type AdminPutUserParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminPutUserParams defines parameters for AdminPutUser.
type AdminRemoveCampParticipantParams ¶ added in v0.6.0
type AdminRemoveCampParticipantParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
AdminRemoveCampParticipantParams defines parameters for AdminRemoveCampParticipant.
type AnswerRequest ¶
type AnswerRequest struct {
// contains filtered or unexported fields
}
AnswerRequest defines model for AnswerRequest.
func (AnswerRequest) AsFreeNumberAnswerRequest ¶
func (t AnswerRequest) AsFreeNumberAnswerRequest() (FreeNumberAnswerRequest, error)
AsFreeNumberAnswerRequest returns the union data inside the AnswerRequest as a FreeNumberAnswerRequest
func (AnswerRequest) AsFreeTextAnswerRequest ¶
func (t AnswerRequest) AsFreeTextAnswerRequest() (FreeTextAnswerRequest, error)
AsFreeTextAnswerRequest returns the union data inside the AnswerRequest as a FreeTextAnswerRequest
func (AnswerRequest) AsMultipleChoiceAnswerRequest ¶
func (t AnswerRequest) AsMultipleChoiceAnswerRequest() (MultipleChoiceAnswerRequest, error)
AsMultipleChoiceAnswerRequest returns the union data inside the AnswerRequest as a MultipleChoiceAnswerRequest
func (AnswerRequest) AsSingleChoiceAnswerRequest ¶
func (t AnswerRequest) AsSingleChoiceAnswerRequest() (SingleChoiceAnswerRequest, error)
AsSingleChoiceAnswerRequest returns the union data inside the AnswerRequest as a SingleChoiceAnswerRequest
func (*AnswerRequest) FromFreeNumberAnswerRequest ¶
func (t *AnswerRequest) FromFreeNumberAnswerRequest(v FreeNumberAnswerRequest) error
FromFreeNumberAnswerRequest overwrites any union data inside the AnswerRequest as the provided FreeNumberAnswerRequest
func (*AnswerRequest) FromFreeTextAnswerRequest ¶
func (t *AnswerRequest) FromFreeTextAnswerRequest(v FreeTextAnswerRequest) error
FromFreeTextAnswerRequest overwrites any union data inside the AnswerRequest as the provided FreeTextAnswerRequest
func (*AnswerRequest) FromMultipleChoiceAnswerRequest ¶
func (t *AnswerRequest) FromMultipleChoiceAnswerRequest(v MultipleChoiceAnswerRequest) error
FromMultipleChoiceAnswerRequest overwrites any union data inside the AnswerRequest as the provided MultipleChoiceAnswerRequest
func (*AnswerRequest) FromSingleChoiceAnswerRequest ¶
func (t *AnswerRequest) FromSingleChoiceAnswerRequest(v SingleChoiceAnswerRequest) error
FromSingleChoiceAnswerRequest overwrites any union data inside the AnswerRequest as the provided SingleChoiceAnswerRequest
func (AnswerRequest) MarshalJSON ¶
func (t AnswerRequest) MarshalJSON() ([]byte, error)
func (*AnswerRequest) MergeFreeNumberAnswerRequest ¶
func (t *AnswerRequest) MergeFreeNumberAnswerRequest(v FreeNumberAnswerRequest) error
MergeFreeNumberAnswerRequest performs a merge with any union data inside the AnswerRequest, using the provided FreeNumberAnswerRequest
func (*AnswerRequest) MergeFreeTextAnswerRequest ¶
func (t *AnswerRequest) MergeFreeTextAnswerRequest(v FreeTextAnswerRequest) error
MergeFreeTextAnswerRequest performs a merge with any union data inside the AnswerRequest, using the provided FreeTextAnswerRequest
func (*AnswerRequest) MergeMultipleChoiceAnswerRequest ¶
func (t *AnswerRequest) MergeMultipleChoiceAnswerRequest(v MultipleChoiceAnswerRequest) error
MergeMultipleChoiceAnswerRequest performs a merge with any union data inside the AnswerRequest, using the provided MultipleChoiceAnswerRequest
func (*AnswerRequest) MergeSingleChoiceAnswerRequest ¶
func (t *AnswerRequest) MergeSingleChoiceAnswerRequest(v SingleChoiceAnswerRequest) error
MergeSingleChoiceAnswerRequest performs a merge with any union data inside the AnswerRequest, using the provided SingleChoiceAnswerRequest
func (*AnswerRequest) UnmarshalJSON ¶
func (t *AnswerRequest) UnmarshalJSON(b []byte) error
type AnswerResponse ¶
type AnswerResponse struct {
// contains filtered or unexported fields
}
AnswerResponse defines model for AnswerResponse.
func (AnswerResponse) AsFreeNumberAnswerResponse ¶
func (t AnswerResponse) AsFreeNumberAnswerResponse() (FreeNumberAnswerResponse, error)
AsFreeNumberAnswerResponse returns the union data inside the AnswerResponse as a FreeNumberAnswerResponse
func (AnswerResponse) AsFreeTextAnswerResponse ¶
func (t AnswerResponse) AsFreeTextAnswerResponse() (FreeTextAnswerResponse, error)
AsFreeTextAnswerResponse returns the union data inside the AnswerResponse as a FreeTextAnswerResponse
func (AnswerResponse) AsMultipleChoiceAnswerResponse ¶
func (t AnswerResponse) AsMultipleChoiceAnswerResponse() (MultipleChoiceAnswerResponse, error)
AsMultipleChoiceAnswerResponse returns the union data inside the AnswerResponse as a MultipleChoiceAnswerResponse
func (AnswerResponse) AsSingleChoiceAnswerResponse ¶
func (t AnswerResponse) AsSingleChoiceAnswerResponse() (SingleChoiceAnswerResponse, error)
AsSingleChoiceAnswerResponse returns the union data inside the AnswerResponse as a SingleChoiceAnswerResponse
func (*AnswerResponse) FromFreeNumberAnswerResponse ¶
func (t *AnswerResponse) FromFreeNumberAnswerResponse(v FreeNumberAnswerResponse) error
FromFreeNumberAnswerResponse overwrites any union data inside the AnswerResponse as the provided FreeNumberAnswerResponse
func (*AnswerResponse) FromFreeTextAnswerResponse ¶
func (t *AnswerResponse) FromFreeTextAnswerResponse(v FreeTextAnswerResponse) error
FromFreeTextAnswerResponse overwrites any union data inside the AnswerResponse as the provided FreeTextAnswerResponse
func (*AnswerResponse) FromMultipleChoiceAnswerResponse ¶
func (t *AnswerResponse) FromMultipleChoiceAnswerResponse(v MultipleChoiceAnswerResponse) error
FromMultipleChoiceAnswerResponse overwrites any union data inside the AnswerResponse as the provided MultipleChoiceAnswerResponse
func (*AnswerResponse) FromSingleChoiceAnswerResponse ¶
func (t *AnswerResponse) FromSingleChoiceAnswerResponse(v SingleChoiceAnswerResponse) error
FromSingleChoiceAnswerResponse overwrites any union data inside the AnswerResponse as the provided SingleChoiceAnswerResponse
func (AnswerResponse) MarshalJSON ¶
func (t AnswerResponse) MarshalJSON() ([]byte, error)
func (*AnswerResponse) MergeFreeNumberAnswerResponse ¶
func (t *AnswerResponse) MergeFreeNumberAnswerResponse(v FreeNumberAnswerResponse) error
MergeFreeNumberAnswerResponse performs a merge with any union data inside the AnswerResponse, using the provided FreeNumberAnswerResponse
func (*AnswerResponse) MergeFreeTextAnswerResponse ¶
func (t *AnswerResponse) MergeFreeTextAnswerResponse(v FreeTextAnswerResponse) error
MergeFreeTextAnswerResponse performs a merge with any union data inside the AnswerResponse, using the provided FreeTextAnswerResponse
func (*AnswerResponse) MergeMultipleChoiceAnswerResponse ¶
func (t *AnswerResponse) MergeMultipleChoiceAnswerResponse(v MultipleChoiceAnswerResponse) error
MergeMultipleChoiceAnswerResponse performs a merge with any union data inside the AnswerResponse, using the provided MultipleChoiceAnswerResponse
func (*AnswerResponse) MergeSingleChoiceAnswerResponse ¶
func (t *AnswerResponse) MergeSingleChoiceAnswerResponse(v SingleChoiceAnswerResponse) error
MergeSingleChoiceAnswerResponse performs a merge with any union data inside the AnswerResponse, using the provided SingleChoiceAnswerResponse
func (*AnswerResponse) UnmarshalJSON ¶
func (t *AnswerResponse) UnmarshalJSON(b []byte) error
type BadRequest ¶
type BadRequest struct {
Message *string `json:"message,omitempty"`
}
BadRequest defines model for BadRequest.
type CampRequest ¶
type CampRequest struct {
DateEnd openapi_types.Date `json:"dateEnd"`
DateStart openapi_types.Date `json:"dateStart"`
DisplayId string `json:"displayId"`
// Guidebook 合宿のしおり(Markdown形式)
Guidebook string `json:"guidebook"`
IsDraft bool `json:"isDraft"`
IsPaymentOpen bool `json:"isPaymentOpen"`
IsRegistrationOpen bool `json:"isRegistrationOpen"`
Name string `json:"name"`
}
CampRequest defines model for CampRequest.
type CampResponse ¶
type CampResponse struct {
DateEnd openapi_types.Date `json:"dateEnd"`
DateStart openapi_types.Date `json:"dateStart"`
DisplayId string `json:"displayId"`
// Guidebook 合宿のしおり(Markdown形式)
Guidebook string `json:"guidebook"`
Id int `json:"id"`
IsDraft bool `json:"isDraft"`
IsPaymentOpen bool `json:"isPaymentOpen"`
IsRegistrationOpen bool `json:"isRegistrationOpen"`
Name string `json:"name"`
}
CampResponse defines model for CampResponse.
type Conflict ¶
type Conflict struct {
Message *string `json:"message,omitempty"`
}
Conflict defines model for Conflict.
type DashboardResponse ¶
type DashboardResponse struct {
Id string `json:"id"`
Payment *PaymentResponse `json:"payment,omitempty"`
Room *RoomResponse `json:"room,omitempty"`
}
DashboardResponse defines model for DashboardResponse.
type DeleteCampRegisterParams ¶
type DeleteCampRegisterParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
DeleteCampRegisterParams defines parameters for DeleteCampRegister.
type DeleteEventParams ¶
type DeleteEventParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
DeleteEventParams defines parameters for DeleteEvent.
type DeleteReactionParams ¶
type DeleteReactionParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
DeleteReactionParams defines parameters for DeleteReaction.
type DurationEventRequest ¶
type DurationEventRequest struct {
Description string `json:"description"`
DisplayColor DurationEventRequestDisplayColor `json:"displayColor"`
Location string `json:"location"`
Name string `json:"name"`
OrganizerId string `json:"organizerId"`
TimeEnd time.Time `json:"timeEnd"`
TimeStart time.Time `json:"timeStart"`
Type DurationEventRequestType `json:"type"`
}
DurationEventRequest defines model for DurationEventRequest.
type DurationEventRequestDisplayColor ¶
type DurationEventRequestDisplayColor string
DurationEventRequestDisplayColor defines model for DurationEventRequest.DisplayColor.
const ( DurationEventRequestDisplayColorBlue DurationEventRequestDisplayColor = "blue" DurationEventRequestDisplayColorGreen DurationEventRequestDisplayColor = "green" DurationEventRequestDisplayColorOrange DurationEventRequestDisplayColor = "orange" DurationEventRequestDisplayColorPink DurationEventRequestDisplayColor = "pink" DurationEventRequestDisplayColorPurple DurationEventRequestDisplayColor = "purple" DurationEventRequestDisplayColorRed DurationEventRequestDisplayColor = "red" )
Defines values for DurationEventRequestDisplayColor.
type DurationEventRequestType ¶
type DurationEventRequestType string
DurationEventRequestType defines model for DurationEventRequest.Type.
const (
DurationEventRequestTypeDuration DurationEventRequestType = "duration"
)
Defines values for DurationEventRequestType.
type DurationEventResponse ¶
type DurationEventResponse struct {
Description string `json:"description"`
DisplayColor DurationEventResponseDisplayColor `json:"displayColor"`
Id int `json:"id"`
Location string `json:"location"`
Name string `json:"name"`
OrganizerId string `json:"organizerId"`
TimeEnd time.Time `json:"timeEnd"`
TimeStart time.Time `json:"timeStart"`
Type DurationEventResponseType `json:"type"`
}
DurationEventResponse defines model for DurationEventResponse.
type DurationEventResponseDisplayColor ¶
type DurationEventResponseDisplayColor string
DurationEventResponseDisplayColor defines model for DurationEventResponse.DisplayColor.
const ( DurationEventResponseDisplayColorBlue DurationEventResponseDisplayColor = "blue" DurationEventResponseDisplayColorGreen DurationEventResponseDisplayColor = "green" DurationEventResponseDisplayColorOrange DurationEventResponseDisplayColor = "orange" DurationEventResponseDisplayColorPink DurationEventResponseDisplayColor = "pink" DurationEventResponseDisplayColorPurple DurationEventResponseDisplayColor = "purple" DurationEventResponseDisplayColorRed DurationEventResponseDisplayColor = "red" )
Defines values for DurationEventResponseDisplayColor.
type DurationEventResponseType ¶
type DurationEventResponseType string
DurationEventResponseType defines model for DurationEventResponse.Type.
const (
DurationEventResponseTypeDuration DurationEventResponseType = "duration"
)
Defines values for DurationEventResponseType.
type EchoRouter ¶
type EchoRouter interface {
CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type EventRequest ¶
type EventRequest struct {
// contains filtered or unexported fields
}
EventRequest defines model for EventRequest.
func (EventRequest) AsDurationEventRequest ¶
func (t EventRequest) AsDurationEventRequest() (DurationEventRequest, error)
AsDurationEventRequest returns the union data inside the EventRequest as a DurationEventRequest
func (EventRequest) AsMomentEventRequest ¶
func (t EventRequest) AsMomentEventRequest() (MomentEventRequest, error)
AsMomentEventRequest returns the union data inside the EventRequest as a MomentEventRequest
func (EventRequest) AsOfficialEventRequest ¶
func (t EventRequest) AsOfficialEventRequest() (OfficialEventRequest, error)
AsOfficialEventRequest returns the union data inside the EventRequest as a OfficialEventRequest
func (*EventRequest) FromDurationEventRequest ¶
func (t *EventRequest) FromDurationEventRequest(v DurationEventRequest) error
FromDurationEventRequest overwrites any union data inside the EventRequest as the provided DurationEventRequest
func (*EventRequest) FromMomentEventRequest ¶
func (t *EventRequest) FromMomentEventRequest(v MomentEventRequest) error
FromMomentEventRequest overwrites any union data inside the EventRequest as the provided MomentEventRequest
func (*EventRequest) FromOfficialEventRequest ¶
func (t *EventRequest) FromOfficialEventRequest(v OfficialEventRequest) error
FromOfficialEventRequest overwrites any union data inside the EventRequest as the provided OfficialEventRequest
func (EventRequest) MarshalJSON ¶
func (t EventRequest) MarshalJSON() ([]byte, error)
func (*EventRequest) MergeDurationEventRequest ¶
func (t *EventRequest) MergeDurationEventRequest(v DurationEventRequest) error
MergeDurationEventRequest performs a merge with any union data inside the EventRequest, using the provided DurationEventRequest
func (*EventRequest) MergeMomentEventRequest ¶
func (t *EventRequest) MergeMomentEventRequest(v MomentEventRequest) error
MergeMomentEventRequest performs a merge with any union data inside the EventRequest, using the provided MomentEventRequest
func (*EventRequest) MergeOfficialEventRequest ¶
func (t *EventRequest) MergeOfficialEventRequest(v OfficialEventRequest) error
MergeOfficialEventRequest performs a merge with any union data inside the EventRequest, using the provided OfficialEventRequest
func (*EventRequest) UnmarshalJSON ¶
func (t *EventRequest) UnmarshalJSON(b []byte) error
type EventResponse ¶
type EventResponse struct {
// contains filtered or unexported fields
}
EventResponse defines model for EventResponse.
func (EventResponse) AsDurationEventResponse ¶
func (t EventResponse) AsDurationEventResponse() (DurationEventResponse, error)
AsDurationEventResponse returns the union data inside the EventResponse as a DurationEventResponse
func (EventResponse) AsMomentEventResponse ¶
func (t EventResponse) AsMomentEventResponse() (MomentEventResponse, error)
AsMomentEventResponse returns the union data inside the EventResponse as a MomentEventResponse
func (EventResponse) AsOfficialEventResponse ¶
func (t EventResponse) AsOfficialEventResponse() (OfficialEventResponse, error)
AsOfficialEventResponse returns the union data inside the EventResponse as a OfficialEventResponse
func (*EventResponse) FromDurationEventResponse ¶
func (t *EventResponse) FromDurationEventResponse(v DurationEventResponse) error
FromDurationEventResponse overwrites any union data inside the EventResponse as the provided DurationEventResponse
func (*EventResponse) FromMomentEventResponse ¶
func (t *EventResponse) FromMomentEventResponse(v MomentEventResponse) error
FromMomentEventResponse overwrites any union data inside the EventResponse as the provided MomentEventResponse
func (*EventResponse) FromOfficialEventResponse ¶
func (t *EventResponse) FromOfficialEventResponse(v OfficialEventResponse) error
FromOfficialEventResponse overwrites any union data inside the EventResponse as the provided OfficialEventResponse
func (EventResponse) MarshalJSON ¶
func (t EventResponse) MarshalJSON() ([]byte, error)
func (*EventResponse) MergeDurationEventResponse ¶
func (t *EventResponse) MergeDurationEventResponse(v DurationEventResponse) error
MergeDurationEventResponse performs a merge with any union data inside the EventResponse, using the provided DurationEventResponse
func (*EventResponse) MergeMomentEventResponse ¶
func (t *EventResponse) MergeMomentEventResponse(v MomentEventResponse) error
MergeMomentEventResponse performs a merge with any union data inside the EventResponse, using the provided MomentEventResponse
func (*EventResponse) MergeOfficialEventResponse ¶
func (t *EventResponse) MergeOfficialEventResponse(v OfficialEventResponse) error
MergeOfficialEventResponse performs a merge with any union data inside the EventResponse, using the provided OfficialEventResponse
func (*EventResponse) UnmarshalJSON ¶
func (t *EventResponse) UnmarshalJSON(b []byte) error
type Forbidden ¶
type Forbidden struct {
Message *string `json:"message,omitempty"`
}
Forbidden defines model for Forbidden.
type FreeNumberAnswerRequest ¶
type FreeNumberAnswerRequest struct {
Content float32 `json:"content"`
QuestionId int `json:"questionId"`
Type FreeNumberAnswerRequestType `json:"type"`
}
FreeNumberAnswerRequest defines model for FreeNumberAnswerRequest.
type FreeNumberAnswerRequestType ¶
type FreeNumberAnswerRequestType string
FreeNumberAnswerRequestType defines model for FreeNumberAnswerRequest.Type.
const (
FreeNumberAnswerRequestTypeFreeNumber FreeNumberAnswerRequestType = "free_number"
)
Defines values for FreeNumberAnswerRequestType.
type FreeNumberAnswerResponse ¶
type FreeNumberAnswerResponse struct {
Content float32 `json:"content"`
Id int `json:"id"`
QuestionId int `json:"questionId"`
Type FreeNumberAnswerResponseType `json:"type"`
UserId string `json:"userId"`
}
FreeNumberAnswerResponse defines model for FreeNumberAnswerResponse.
type FreeNumberAnswerResponseType ¶
type FreeNumberAnswerResponseType string
FreeNumberAnswerResponseType defines model for FreeNumberAnswerResponse.Type.
const (
FreeNumberAnswerResponseTypeFreeNumber FreeNumberAnswerResponseType = "free_number"
)
Defines values for FreeNumberAnswerResponseType.
type FreeNumberQuestionRequest ¶
type FreeNumberQuestionRequest struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Title string `json:"title"`
Type FreeNumberQuestionRequestType `json:"type"`
}
FreeNumberQuestionRequest defines model for FreeNumberQuestionRequest.
type FreeNumberQuestionRequestType ¶
type FreeNumberQuestionRequestType string
FreeNumberQuestionRequestType defines model for FreeNumberQuestionRequest.Type.
const (
FreeNumberQuestionRequestTypeFreeNumber FreeNumberQuestionRequestType = "free_number"
)
Defines values for FreeNumberQuestionRequestType.
type FreeNumberQuestionResponse ¶
type FreeNumberQuestionResponse struct {
Description *string `json:"description,omitempty"`
Id int `json:"id"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired bool `json:"isRequired"`
Title string `json:"title"`
Type FreeNumberQuestionResponseType `json:"type"`
}
FreeNumberQuestionResponse defines model for FreeNumberQuestionResponse.
type FreeNumberQuestionResponseType ¶
type FreeNumberQuestionResponseType string
FreeNumberQuestionResponseType defines model for FreeNumberQuestionResponse.Type.
const (
FreeNumberQuestionResponseTypeFreeNumber FreeNumberQuestionResponseType = "free_number"
)
Defines values for FreeNumberQuestionResponseType.
type FreeTextAnswerRequest ¶
type FreeTextAnswerRequest struct {
Content string `json:"content"`
QuestionId int `json:"questionId"`
Type FreeTextAnswerRequestType `json:"type"`
}
FreeTextAnswerRequest defines model for FreeTextAnswerRequest.
type FreeTextAnswerRequestType ¶
type FreeTextAnswerRequestType string
FreeTextAnswerRequestType defines model for FreeTextAnswerRequest.Type.
const (
FreeTextAnswerRequestTypeFreeText FreeTextAnswerRequestType = "free_text"
)
Defines values for FreeTextAnswerRequestType.
type FreeTextAnswerResponse ¶
type FreeTextAnswerResponse struct {
Content string `json:"content"`
Id int `json:"id"`
QuestionId int `json:"questionId"`
Type FreeTextAnswerResponseType `json:"type"`
UserId string `json:"userId"`
}
FreeTextAnswerResponse defines model for FreeTextAnswerResponse.
type FreeTextAnswerResponseType ¶
type FreeTextAnswerResponseType string
FreeTextAnswerResponseType defines model for FreeTextAnswerResponse.Type.
const (
FreeTextAnswerResponseTypeFreeText FreeTextAnswerResponseType = "free_text"
)
Defines values for FreeTextAnswerResponseType.
type FreeTextQuestionRequest ¶
type FreeTextQuestionRequest struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Title string `json:"title"`
Type FreeTextQuestionRequestType `json:"type"`
}
FreeTextQuestionRequest defines model for FreeTextQuestionRequest.
type FreeTextQuestionRequestType ¶
type FreeTextQuestionRequestType string
FreeTextQuestionRequestType defines model for FreeTextQuestionRequest.Type.
const (
FreeTextQuestionRequestTypeFreeText FreeTextQuestionRequestType = "free_text"
)
Defines values for FreeTextQuestionRequestType.
type FreeTextQuestionResponse ¶
type FreeTextQuestionResponse struct {
Description *string `json:"description,omitempty"`
Id int `json:"id"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired bool `json:"isRequired"`
Title string `json:"title"`
Type FreeTextQuestionResponseType `json:"type"`
}
FreeTextQuestionResponse defines model for FreeTextQuestionResponse.
type FreeTextQuestionResponseType ¶
type FreeTextQuestionResponseType string
FreeTextQuestionResponseType defines model for FreeTextQuestionResponse.Type.
const (
FreeTextQuestionResponseTypeFreeText FreeTextQuestionResponseType = "free_text"
)
Defines values for FreeTextQuestionResponseType.
type GetDashboardParams ¶
type GetDashboardParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
GetDashboardParams defines parameters for GetDashboard.
type GetMeParams ¶
type GetMeParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
GetMeParams defines parameters for GetMe.
type GetMyAnswersParams ¶
type GetMyAnswersParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
GetMyAnswersParams defines parameters for GetMyAnswers.
type ImageResponse ¶
type ImageResponse struct {
Id int `json:"id"`
}
ImageResponse defines model for ImageResponse.
type InternalServerError ¶
type InternalServerError struct {
Message *string `json:"message,omitempty"`
}
InternalServerError defines model for InternalServerError.
type MessageRequest ¶
MessageRequest defines model for MessageRequest.
type MomentEventRequest ¶
type MomentEventRequest struct {
Description string `json:"description"`
Location string `json:"location"`
Name string `json:"name"`
Time time.Time `copier:"TimeStart" json:"time"`
Type MomentEventRequestType `json:"type"`
}
MomentEventRequest defines model for MomentEventRequest.
type MomentEventRequestType ¶
type MomentEventRequestType string
MomentEventRequestType defines model for MomentEventRequest.Type.
const (
MomentEventRequestTypeMoment MomentEventRequestType = "moment"
)
Defines values for MomentEventRequestType.
type MomentEventResponse ¶
type MomentEventResponse struct {
Description string `json:"description"`
Id int `json:"id"`
Location string `json:"location"`
Name string `json:"name"`
Time time.Time `copier:"TimeStart" json:"time"`
Type MomentEventResponseType `json:"type"`
}
MomentEventResponse defines model for MomentEventResponse.
type MomentEventResponseType ¶
type MomentEventResponseType string
MomentEventResponseType defines model for MomentEventResponse.Type.
const (
MomentEventResponseTypeMoment MomentEventResponseType = "moment"
)
Defines values for MomentEventResponseType.
type MultipleChoiceAnswerRequest ¶
type MultipleChoiceAnswerRequest struct {
OptionIds []int `json:"optionIds"`
QuestionId int `json:"questionId"`
Type MultipleChoiceAnswerRequestType `json:"type"`
}
MultipleChoiceAnswerRequest defines model for MultipleChoiceAnswerRequest.
type MultipleChoiceAnswerRequestType ¶
type MultipleChoiceAnswerRequestType string
MultipleChoiceAnswerRequestType defines model for MultipleChoiceAnswerRequest.Type.
const (
MultipleChoiceAnswerRequestTypeMultiple MultipleChoiceAnswerRequestType = "multiple"
)
Defines values for MultipleChoiceAnswerRequestType.
type MultipleChoiceAnswerResponse ¶
type MultipleChoiceAnswerResponse struct {
Id int `json:"id"`
QuestionId int `json:"questionId"`
SelectedOptions []OptionResponse `json:"selectedOptions"`
Type MultipleChoiceAnswerResponseType `json:"type"`
UserId string `json:"userId"`
}
MultipleChoiceAnswerResponse defines model for MultipleChoiceAnswerResponse.
type MultipleChoiceAnswerResponseType ¶
type MultipleChoiceAnswerResponseType string
MultipleChoiceAnswerResponseType defines model for MultipleChoiceAnswerResponse.Type.
const (
MultipleChoiceAnswerResponseTypeMultiple MultipleChoiceAnswerResponseType = "multiple"
)
Defines values for MultipleChoiceAnswerResponseType.
type MultipleChoiceQuestionResponse ¶
type MultipleChoiceQuestionResponse struct {
Description *string `json:"description,omitempty"`
Id int `json:"id"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired bool `json:"isRequired"`
Options []OptionResponse `json:"options"`
Title string `json:"title"`
Type MultipleChoiceQuestionResponseType `json:"type"`
}
MultipleChoiceQuestionResponse defines model for MultipleChoiceQuestionResponse.
type MultipleChoiceQuestionResponseType ¶
type MultipleChoiceQuestionResponseType string
MultipleChoiceQuestionResponseType defines model for MultipleChoiceQuestionResponse.Type.
const (
MultipleChoiceQuestionResponseTypeMultiple MultipleChoiceQuestionResponseType = "multiple"
)
Defines values for MultipleChoiceQuestionResponseType.
type NotFound ¶
type NotFound struct {
Message *string `json:"message,omitempty"`
}
NotFound defines model for NotFound.
type OfficialEventRequest ¶
type OfficialEventRequest struct {
Description string `json:"description"`
Location string `json:"location"`
Name string `json:"name"`
TimeEnd time.Time `json:"timeEnd"`
TimeStart time.Time `json:"timeStart"`
Type OfficialEventRequestType `json:"type"`
}
OfficialEventRequest defines model for OfficialEventRequest.
type OfficialEventRequestType ¶
type OfficialEventRequestType string
OfficialEventRequestType defines model for OfficialEventRequest.Type.
const (
OfficialEventRequestTypeOfficial OfficialEventRequestType = "official"
)
Defines values for OfficialEventRequestType.
type OfficialEventResponse ¶
type OfficialEventResponse struct {
Description string `json:"description"`
Id int `json:"id"`
Location string `json:"location"`
Name string `json:"name"`
TimeEnd time.Time `json:"timeEnd"`
TimeStart time.Time `json:"timeStart"`
Type OfficialEventResponseType `json:"type"`
}
OfficialEventResponse defines model for OfficialEventResponse.
type OfficialEventResponseType ¶
type OfficialEventResponseType string
OfficialEventResponseType defines model for OfficialEventResponse.Type.
const (
OfficialEventResponseTypeOfficial OfficialEventResponseType = "official"
)
Defines values for OfficialEventResponseType.
type OptionResponse ¶
OptionResponse defines model for OptionResponse.
type PaymentRequest ¶
type PaymentRequest struct {
Amount int `json:"amount"`
AmountPaid int `json:"amountPaid"`
UserId string `json:"userId"`
}
PaymentRequest defines model for PaymentRequest.
type PaymentResponse ¶
type PaymentResponse struct {
Amount int `json:"amount"`
AmountPaid int `json:"amountPaid"`
CampId int `json:"campId"`
Id int `json:"id"`
UserId string `json:"userId"`
}
PaymentResponse defines model for PaymentResponse.
type PostAnswersJSONBody ¶
type PostAnswersJSONBody = []AnswerRequest
PostAnswersJSONBody defines parameters for PostAnswers.
type PostAnswersJSONRequestBody ¶
type PostAnswersJSONRequestBody = PostAnswersJSONBody
PostAnswersJSONRequestBody defines body for PostAnswers for application/json ContentType.
type PostAnswersParams ¶
type PostAnswersParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PostAnswersParams defines parameters for PostAnswers.
type PostCampRegisterParams ¶
type PostCampRegisterParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PostCampRegisterParams defines parameters for PostCampRegister.
type PostEventJSONRequestBody ¶
type PostEventJSONRequestBody = EventRequest
PostEventJSONRequestBody defines body for PostEvent for application/json ContentType.
type PostEventParams ¶
type PostEventParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PostEventParams defines parameters for PostEvent.
type PostMultipleChoiceQuestionRequest ¶
type PostMultipleChoiceQuestionRequest struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Options []PostOptionRequest `json:"options"`
Title string `json:"title"`
Type PostMultipleChoiceQuestionRequestType `json:"type"`
}
PostMultipleChoiceQuestionRequest defines model for PostMultipleChoiceQuestionRequest.
type PostMultipleChoiceQuestionRequestType ¶
type PostMultipleChoiceQuestionRequestType string
PostMultipleChoiceQuestionRequestType defines model for PostMultipleChoiceQuestionRequest.Type.
const (
PostMultipleChoiceQuestionRequestTypeMultiple PostMultipleChoiceQuestionRequestType = "multiple"
)
Defines values for PostMultipleChoiceQuestionRequestType.
type PostOptionRequest ¶
type PostOptionRequest struct {
Content string `json:"content"`
}
PostOptionRequest defines model for PostOptionRequest.
type PostQuestionGroupRequest ¶
type PostQuestionGroupRequest struct {
Description *string `json:"description,omitempty"`
Due openapi_types.Date `json:"due"`
Name string `json:"name"`
Questions []PostQuestionRequest `json:"questions"`
}
PostQuestionGroupRequest defines model for PostQuestionGroupRequest.
type PostQuestionRequest ¶
type PostQuestionRequest struct {
// contains filtered or unexported fields
}
PostQuestionRequest defines model for PostQuestionRequest.
func (PostQuestionRequest) AsFreeNumberQuestionRequest ¶
func (t PostQuestionRequest) AsFreeNumberQuestionRequest() (FreeNumberQuestionRequest, error)
AsFreeNumberQuestionRequest returns the union data inside the PostQuestionRequest as a FreeNumberQuestionRequest
func (PostQuestionRequest) AsFreeTextQuestionRequest ¶
func (t PostQuestionRequest) AsFreeTextQuestionRequest() (FreeTextQuestionRequest, error)
AsFreeTextQuestionRequest returns the union data inside the PostQuestionRequest as a FreeTextQuestionRequest
func (PostQuestionRequest) AsPostMultipleChoiceQuestionRequest ¶
func (t PostQuestionRequest) AsPostMultipleChoiceQuestionRequest() (PostMultipleChoiceQuestionRequest, error)
AsPostMultipleChoiceQuestionRequest returns the union data inside the PostQuestionRequest as a PostMultipleChoiceQuestionRequest
func (PostQuestionRequest) AsPostSingleChoiceQuestionRequest ¶
func (t PostQuestionRequest) AsPostSingleChoiceQuestionRequest() (PostSingleChoiceQuestionRequest, error)
AsPostSingleChoiceQuestionRequest returns the union data inside the PostQuestionRequest as a PostSingleChoiceQuestionRequest
func (*PostQuestionRequest) FromFreeNumberQuestionRequest ¶
func (t *PostQuestionRequest) FromFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
FromFreeNumberQuestionRequest overwrites any union data inside the PostQuestionRequest as the provided FreeNumberQuestionRequest
func (*PostQuestionRequest) FromFreeTextQuestionRequest ¶
func (t *PostQuestionRequest) FromFreeTextQuestionRequest(v FreeTextQuestionRequest) error
FromFreeTextQuestionRequest overwrites any union data inside the PostQuestionRequest as the provided FreeTextQuestionRequest
func (*PostQuestionRequest) FromPostMultipleChoiceQuestionRequest ¶
func (t *PostQuestionRequest) FromPostMultipleChoiceQuestionRequest(v PostMultipleChoiceQuestionRequest) error
FromPostMultipleChoiceQuestionRequest overwrites any union data inside the PostQuestionRequest as the provided PostMultipleChoiceQuestionRequest
func (*PostQuestionRequest) FromPostSingleChoiceQuestionRequest ¶
func (t *PostQuestionRequest) FromPostSingleChoiceQuestionRequest(v PostSingleChoiceQuestionRequest) error
FromPostSingleChoiceQuestionRequest overwrites any union data inside the PostQuestionRequest as the provided PostSingleChoiceQuestionRequest
func (PostQuestionRequest) MarshalJSON ¶
func (t PostQuestionRequest) MarshalJSON() ([]byte, error)
func (*PostQuestionRequest) MergeFreeNumberQuestionRequest ¶
func (t *PostQuestionRequest) MergeFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
MergeFreeNumberQuestionRequest performs a merge with any union data inside the PostQuestionRequest, using the provided FreeNumberQuestionRequest
func (*PostQuestionRequest) MergeFreeTextQuestionRequest ¶
func (t *PostQuestionRequest) MergeFreeTextQuestionRequest(v FreeTextQuestionRequest) error
MergeFreeTextQuestionRequest performs a merge with any union data inside the PostQuestionRequest, using the provided FreeTextQuestionRequest
func (*PostQuestionRequest) MergePostMultipleChoiceQuestionRequest ¶
func (t *PostQuestionRequest) MergePostMultipleChoiceQuestionRequest(v PostMultipleChoiceQuestionRequest) error
MergePostMultipleChoiceQuestionRequest performs a merge with any union data inside the PostQuestionRequest, using the provided PostMultipleChoiceQuestionRequest
func (*PostQuestionRequest) MergePostSingleChoiceQuestionRequest ¶
func (t *PostQuestionRequest) MergePostSingleChoiceQuestionRequest(v PostSingleChoiceQuestionRequest) error
MergePostSingleChoiceQuestionRequest performs a merge with any union data inside the PostQuestionRequest, using the provided PostSingleChoiceQuestionRequest
func (*PostQuestionRequest) UnmarshalJSON ¶
func (t *PostQuestionRequest) UnmarshalJSON(b []byte) error
type PostRollCallReactionJSONRequestBody ¶
type PostRollCallReactionJSONRequestBody = RollCallReactionRequest
PostRollCallReactionJSONRequestBody defines body for PostRollCallReaction for application/json ContentType.
type PostRollCallReactionParams ¶
type PostRollCallReactionParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PostRollCallReactionParams defines parameters for PostRollCallReaction.
type PostSingleChoiceQuestionRequest ¶
type PostSingleChoiceQuestionRequest struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Options []PostOptionRequest `json:"options"`
Title string `json:"title"`
Type PostSingleChoiceQuestionRequestType `json:"type"`
}
PostSingleChoiceQuestionRequest defines model for PostSingleChoiceQuestionRequest.
type PostSingleChoiceQuestionRequestType ¶
type PostSingleChoiceQuestionRequestType string
PostSingleChoiceQuestionRequestType defines model for PostSingleChoiceQuestionRequest.Type.
const (
PostSingleChoiceQuestionRequestTypeSingle PostSingleChoiceQuestionRequestType = "single"
)
Defines values for PostSingleChoiceQuestionRequestType.
type PutAnswerJSONRequestBody ¶
type PutAnswerJSONRequestBody = AnswerRequest
PutAnswerJSONRequestBody defines body for PutAnswer for application/json ContentType.
type PutAnswerParams ¶
type PutAnswerParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PutAnswerParams defines parameters for PutAnswer.
type PutEventJSONRequestBody ¶
type PutEventJSONRequestBody = EventRequest
PutEventJSONRequestBody defines body for PutEvent for application/json ContentType.
type PutEventParams ¶
type PutEventParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PutEventParams defines parameters for PutEvent.
type PutMultipleChoiceQuestionRequest ¶
type PutMultipleChoiceQuestionRequest struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Options []PutOptionRequest `json:"options"`
Title string `json:"title"`
Type PutMultipleChoiceQuestionRequestType `json:"type"`
}
PutMultipleChoiceQuestionRequest defines model for PutMultipleChoiceQuestionRequest.
type PutMultipleChoiceQuestionRequestType ¶
type PutMultipleChoiceQuestionRequestType string
PutMultipleChoiceQuestionRequestType defines model for PutMultipleChoiceQuestionRequest.Type.
const (
Multiple PutMultipleChoiceQuestionRequestType = "multiple"
)
Defines values for PutMultipleChoiceQuestionRequestType.
type PutOptionRequest ¶
PutOptionRequest defines model for PutOptionRequest.
type PutQuestionGroupRequest ¶
type PutQuestionGroupRequest struct {
Description *string `json:"description,omitempty"`
Due openapi_types.Date `json:"due"`
Name string `json:"name"`
}
PutQuestionGroupRequest defines model for PutQuestionGroupRequest.
type PutQuestionRequest ¶
type PutQuestionRequest struct {
// contains filtered or unexported fields
}
PutQuestionRequest defines model for PutQuestionRequest.
func (PutQuestionRequest) AsFreeNumberQuestionRequest ¶
func (t PutQuestionRequest) AsFreeNumberQuestionRequest() (FreeNumberQuestionRequest, error)
AsFreeNumberQuestionRequest returns the union data inside the PutQuestionRequest as a FreeNumberQuestionRequest
func (PutQuestionRequest) AsFreeTextQuestionRequest ¶
func (t PutQuestionRequest) AsFreeTextQuestionRequest() (FreeTextQuestionRequest, error)
AsFreeTextQuestionRequest returns the union data inside the PutQuestionRequest as a FreeTextQuestionRequest
func (PutQuestionRequest) AsPutMultipleChoiceQuestionRequest ¶
func (t PutQuestionRequest) AsPutMultipleChoiceQuestionRequest() (PutMultipleChoiceQuestionRequest, error)
AsPutMultipleChoiceQuestionRequest returns the union data inside the PutQuestionRequest as a PutMultipleChoiceQuestionRequest
func (PutQuestionRequest) AsPutSingleChoiceQuestionRequest ¶
func (t PutQuestionRequest) AsPutSingleChoiceQuestionRequest() (PutSingleChoiceQuestionRequest, error)
AsPutSingleChoiceQuestionRequest returns the union data inside the PutQuestionRequest as a PutSingleChoiceQuestionRequest
func (*PutQuestionRequest) FromFreeNumberQuestionRequest ¶
func (t *PutQuestionRequest) FromFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
FromFreeNumberQuestionRequest overwrites any union data inside the PutQuestionRequest as the provided FreeNumberQuestionRequest
func (*PutQuestionRequest) FromFreeTextQuestionRequest ¶
func (t *PutQuestionRequest) FromFreeTextQuestionRequest(v FreeTextQuestionRequest) error
FromFreeTextQuestionRequest overwrites any union data inside the PutQuestionRequest as the provided FreeTextQuestionRequest
func (*PutQuestionRequest) FromPutMultipleChoiceQuestionRequest ¶
func (t *PutQuestionRequest) FromPutMultipleChoiceQuestionRequest(v PutMultipleChoiceQuestionRequest) error
FromPutMultipleChoiceQuestionRequest overwrites any union data inside the PutQuestionRequest as the provided PutMultipleChoiceQuestionRequest
func (*PutQuestionRequest) FromPutSingleChoiceQuestionRequest ¶
func (t *PutQuestionRequest) FromPutSingleChoiceQuestionRequest(v PutSingleChoiceQuestionRequest) error
FromPutSingleChoiceQuestionRequest overwrites any union data inside the PutQuestionRequest as the provided PutSingleChoiceQuestionRequest
func (PutQuestionRequest) MarshalJSON ¶
func (t PutQuestionRequest) MarshalJSON() ([]byte, error)
func (*PutQuestionRequest) MergeFreeNumberQuestionRequest ¶
func (t *PutQuestionRequest) MergeFreeNumberQuestionRequest(v FreeNumberQuestionRequest) error
MergeFreeNumberQuestionRequest performs a merge with any union data inside the PutQuestionRequest, using the provided FreeNumberQuestionRequest
func (*PutQuestionRequest) MergeFreeTextQuestionRequest ¶
func (t *PutQuestionRequest) MergeFreeTextQuestionRequest(v FreeTextQuestionRequest) error
MergeFreeTextQuestionRequest performs a merge with any union data inside the PutQuestionRequest, using the provided FreeTextQuestionRequest
func (*PutQuestionRequest) MergePutMultipleChoiceQuestionRequest ¶
func (t *PutQuestionRequest) MergePutMultipleChoiceQuestionRequest(v PutMultipleChoiceQuestionRequest) error
MergePutMultipleChoiceQuestionRequest performs a merge with any union data inside the PutQuestionRequest, using the provided PutMultipleChoiceQuestionRequest
func (*PutQuestionRequest) MergePutSingleChoiceQuestionRequest ¶
func (t *PutQuestionRequest) MergePutSingleChoiceQuestionRequest(v PutSingleChoiceQuestionRequest) error
MergePutSingleChoiceQuestionRequest performs a merge with any union data inside the PutQuestionRequest, using the provided PutSingleChoiceQuestionRequest
func (*PutQuestionRequest) UnmarshalJSON ¶
func (t *PutQuestionRequest) UnmarshalJSON(b []byte) error
type PutReactionJSONRequestBody ¶
type PutReactionJSONRequestBody = RollCallReactionRequest
PutReactionJSONRequestBody defines body for PutReaction for application/json ContentType.
type PutReactionParams ¶
type PutReactionParams struct {
// XForwardedUser ログインしているユーザーのtraQ ID(NeoShowcaseが自動で付与)
XForwardedUser *XForwardedUser `json:"X-Forwarded-User,omitempty"`
}
PutReactionParams defines parameters for PutReaction.
type PutSingleChoiceQuestionRequest ¶
type PutSingleChoiceQuestionRequest struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Options []PutOptionRequest `json:"options"`
Title string `json:"title"`
Type PutSingleChoiceQuestionRequestType `json:"type"`
}
PutSingleChoiceQuestionRequest defines model for PutSingleChoiceQuestionRequest.
type PutSingleChoiceQuestionRequestType ¶
type PutSingleChoiceQuestionRequestType string
PutSingleChoiceQuestionRequestType defines model for PutSingleChoiceQuestionRequest.Type.
const (
PutSingleChoiceQuestionRequestTypeSingle PutSingleChoiceQuestionRequestType = "single"
)
Defines values for PutSingleChoiceQuestionRequestType.
type QuestionGroupId ¶
type QuestionGroupId = int
QuestionGroupId defines model for QuestionGroupId.
type QuestionGroupResponse ¶
type QuestionGroupResponse struct {
Description *string `json:"description,omitempty"`
Due openapi_types.Date `json:"due"`
Id int `json:"id"`
Name string `json:"name"`
Questions []QuestionResponse `json:"questions"`
}
QuestionGroupResponse defines model for QuestionGroupResponse.
type QuestionRequestBase ¶
type QuestionRequestBase struct {
Description *string `json:"description,omitempty"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired *bool `json:"isRequired,omitempty"`
Title string `json:"title"`
}
QuestionRequestBase defines model for QuestionRequestBase.
type QuestionResponse ¶
type QuestionResponse struct {
// contains filtered or unexported fields
}
QuestionResponse defines model for QuestionResponse.
func (QuestionResponse) AsFreeNumberQuestionResponse ¶
func (t QuestionResponse) AsFreeNumberQuestionResponse() (FreeNumberQuestionResponse, error)
AsFreeNumberQuestionResponse returns the union data inside the QuestionResponse as a FreeNumberQuestionResponse
func (QuestionResponse) AsFreeTextQuestionResponse ¶
func (t QuestionResponse) AsFreeTextQuestionResponse() (FreeTextQuestionResponse, error)
AsFreeTextQuestionResponse returns the union data inside the QuestionResponse as a FreeTextQuestionResponse
func (QuestionResponse) AsMultipleChoiceQuestionResponse ¶
func (t QuestionResponse) AsMultipleChoiceQuestionResponse() (MultipleChoiceQuestionResponse, error)
AsMultipleChoiceQuestionResponse returns the union data inside the QuestionResponse as a MultipleChoiceQuestionResponse
func (QuestionResponse) AsSingleChoiceQuestionResponse ¶
func (t QuestionResponse) AsSingleChoiceQuestionResponse() (SingleChoiceQuestionResponse, error)
AsSingleChoiceQuestionResponse returns the union data inside the QuestionResponse as a SingleChoiceQuestionResponse
func (*QuestionResponse) FromFreeNumberQuestionResponse ¶
func (t *QuestionResponse) FromFreeNumberQuestionResponse(v FreeNumberQuestionResponse) error
FromFreeNumberQuestionResponse overwrites any union data inside the QuestionResponse as the provided FreeNumberQuestionResponse
func (*QuestionResponse) FromFreeTextQuestionResponse ¶
func (t *QuestionResponse) FromFreeTextQuestionResponse(v FreeTextQuestionResponse) error
FromFreeTextQuestionResponse overwrites any union data inside the QuestionResponse as the provided FreeTextQuestionResponse
func (*QuestionResponse) FromMultipleChoiceQuestionResponse ¶
func (t *QuestionResponse) FromMultipleChoiceQuestionResponse(v MultipleChoiceQuestionResponse) error
FromMultipleChoiceQuestionResponse overwrites any union data inside the QuestionResponse as the provided MultipleChoiceQuestionResponse
func (*QuestionResponse) FromSingleChoiceQuestionResponse ¶
func (t *QuestionResponse) FromSingleChoiceQuestionResponse(v SingleChoiceQuestionResponse) error
FromSingleChoiceQuestionResponse overwrites any union data inside the QuestionResponse as the provided SingleChoiceQuestionResponse
func (QuestionResponse) MarshalJSON ¶
func (t QuestionResponse) MarshalJSON() ([]byte, error)
func (*QuestionResponse) MergeFreeNumberQuestionResponse ¶
func (t *QuestionResponse) MergeFreeNumberQuestionResponse(v FreeNumberQuestionResponse) error
MergeFreeNumberQuestionResponse performs a merge with any union data inside the QuestionResponse, using the provided FreeNumberQuestionResponse
func (*QuestionResponse) MergeFreeTextQuestionResponse ¶
func (t *QuestionResponse) MergeFreeTextQuestionResponse(v FreeTextQuestionResponse) error
MergeFreeTextQuestionResponse performs a merge with any union data inside the QuestionResponse, using the provided FreeTextQuestionResponse
func (*QuestionResponse) MergeMultipleChoiceQuestionResponse ¶
func (t *QuestionResponse) MergeMultipleChoiceQuestionResponse(v MultipleChoiceQuestionResponse) error
MergeMultipleChoiceQuestionResponse performs a merge with any union data inside the QuestionResponse, using the provided MultipleChoiceQuestionResponse
func (*QuestionResponse) MergeSingleChoiceQuestionResponse ¶
func (t *QuestionResponse) MergeSingleChoiceQuestionResponse(v SingleChoiceQuestionResponse) error
MergeSingleChoiceQuestionResponse performs a merge with any union data inside the QuestionResponse, using the provided SingleChoiceQuestionResponse
func (*QuestionResponse) UnmarshalJSON ¶
func (t *QuestionResponse) UnmarshalJSON(b []byte) error
type QuestionResponseBase ¶ added in v0.5.0
type QuestionResponseBase struct {
Description *string `json:"description,omitempty"`
Id int `json:"id"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired bool `json:"isRequired"`
Title string `json:"title"`
}
QuestionResponseBase defines model for QuestionResponseBase.
type RollCallReactionCreatedEvent ¶ added in v0.9.0
type RollCallReactionCreatedEvent struct {
Content string `json:"content"`
Id int `json:"id"`
Type RollCallReactionCreatedEventType `json:"type"`
UserId string `json:"userId"`
}
RollCallReactionCreatedEvent defines model for RollCallReactionCreatedEvent.
type RollCallReactionCreatedEventType ¶ added in v0.9.0
type RollCallReactionCreatedEventType string
RollCallReactionCreatedEventType defines model for RollCallReactionCreatedEvent.Type.
const (
Created RollCallReactionCreatedEventType = "created"
)
Defines values for RollCallReactionCreatedEventType.
type RollCallReactionDeletedEvent ¶ added in v0.9.0
type RollCallReactionDeletedEvent struct {
Id int `json:"id"`
Type RollCallReactionDeletedEventType `json:"type"`
UserId string `json:"userId"`
}
RollCallReactionDeletedEvent defines model for RollCallReactionDeletedEvent.
type RollCallReactionDeletedEventType ¶ added in v0.9.0
type RollCallReactionDeletedEventType string
RollCallReactionDeletedEventType defines model for RollCallReactionDeletedEvent.Type.
const (
Deleted RollCallReactionDeletedEventType = "deleted"
)
Defines values for RollCallReactionDeletedEventType.
type RollCallReactionEvent ¶ added in v0.9.0
type RollCallReactionEvent struct {
// contains filtered or unexported fields
}
RollCallReactionEvent defines model for RollCallReactionEvent.
func (RollCallReactionEvent) AsRollCallReactionCreatedEvent ¶ added in v0.9.0
func (t RollCallReactionEvent) AsRollCallReactionCreatedEvent() (RollCallReactionCreatedEvent, error)
AsRollCallReactionCreatedEvent returns the union data inside the RollCallReactionEvent as a RollCallReactionCreatedEvent
func (RollCallReactionEvent) AsRollCallReactionDeletedEvent ¶ added in v0.9.0
func (t RollCallReactionEvent) AsRollCallReactionDeletedEvent() (RollCallReactionDeletedEvent, error)
AsRollCallReactionDeletedEvent returns the union data inside the RollCallReactionEvent as a RollCallReactionDeletedEvent
func (RollCallReactionEvent) AsRollCallReactionUpdatedEvent ¶ added in v0.9.0
func (t RollCallReactionEvent) AsRollCallReactionUpdatedEvent() (RollCallReactionUpdatedEvent, error)
AsRollCallReactionUpdatedEvent returns the union data inside the RollCallReactionEvent as a RollCallReactionUpdatedEvent
func (*RollCallReactionEvent) FromRollCallReactionCreatedEvent ¶ added in v0.9.0
func (t *RollCallReactionEvent) FromRollCallReactionCreatedEvent(v RollCallReactionCreatedEvent) error
FromRollCallReactionCreatedEvent overwrites any union data inside the RollCallReactionEvent as the provided RollCallReactionCreatedEvent
func (*RollCallReactionEvent) FromRollCallReactionDeletedEvent ¶ added in v0.9.0
func (t *RollCallReactionEvent) FromRollCallReactionDeletedEvent(v RollCallReactionDeletedEvent) error
FromRollCallReactionDeletedEvent overwrites any union data inside the RollCallReactionEvent as the provided RollCallReactionDeletedEvent
func (*RollCallReactionEvent) FromRollCallReactionUpdatedEvent ¶ added in v0.9.0
func (t *RollCallReactionEvent) FromRollCallReactionUpdatedEvent(v RollCallReactionUpdatedEvent) error
FromRollCallReactionUpdatedEvent overwrites any union data inside the RollCallReactionEvent as the provided RollCallReactionUpdatedEvent
func (RollCallReactionEvent) MarshalJSON ¶ added in v0.9.0
func (t RollCallReactionEvent) MarshalJSON() ([]byte, error)
func (*RollCallReactionEvent) MergeRollCallReactionCreatedEvent ¶ added in v0.9.0
func (t *RollCallReactionEvent) MergeRollCallReactionCreatedEvent(v RollCallReactionCreatedEvent) error
MergeRollCallReactionCreatedEvent performs a merge with any union data inside the RollCallReactionEvent, using the provided RollCallReactionCreatedEvent
func (*RollCallReactionEvent) MergeRollCallReactionDeletedEvent ¶ added in v0.9.0
func (t *RollCallReactionEvent) MergeRollCallReactionDeletedEvent(v RollCallReactionDeletedEvent) error
MergeRollCallReactionDeletedEvent performs a merge with any union data inside the RollCallReactionEvent, using the provided RollCallReactionDeletedEvent
func (*RollCallReactionEvent) MergeRollCallReactionUpdatedEvent ¶ added in v0.9.0
func (t *RollCallReactionEvent) MergeRollCallReactionUpdatedEvent(v RollCallReactionUpdatedEvent) error
MergeRollCallReactionUpdatedEvent performs a merge with any union data inside the RollCallReactionEvent, using the provided RollCallReactionUpdatedEvent
func (*RollCallReactionEvent) UnmarshalJSON ¶ added in v0.9.0
func (t *RollCallReactionEvent) UnmarshalJSON(b []byte) error
type RollCallReactionEventBase ¶ added in v0.9.0
RollCallReactionEventBase defines model for RollCallReactionEventBase.
type RollCallReactionRequest ¶
type RollCallReactionRequest struct {
Content string `json:"content"`
}
RollCallReactionRequest defines model for RollCallReactionRequest.
type RollCallReactionResponse ¶
type RollCallReactionResponse struct {
Content string `json:"content"`
Id int `json:"id"`
UserId string `json:"userId"`
}
RollCallReactionResponse defines model for RollCallReactionResponse.
type RollCallReactionUpdatedEvent ¶ added in v0.9.0
type RollCallReactionUpdatedEvent struct {
Content string `json:"content"`
Id int `json:"id"`
Type RollCallReactionUpdatedEventType `json:"type"`
UserId string `json:"userId"`
}
RollCallReactionUpdatedEvent defines model for RollCallReactionUpdatedEvent.
type RollCallReactionUpdatedEventType ¶ added in v0.9.0
type RollCallReactionUpdatedEventType string
RollCallReactionUpdatedEventType defines model for RollCallReactionUpdatedEvent.Type.
const (
Updated RollCallReactionUpdatedEventType = "updated"
)
Defines values for RollCallReactionUpdatedEventType.
type RollCallRequest ¶
type RollCallRequest struct {
Description string `json:"description"`
Name string `json:"name"`
Options []string `json:"options"`
Subjects []string `json:"subjects"`
}
RollCallRequest defines model for RollCallRequest.
type RollCallResponse ¶
type RollCallResponse struct {
Description string `json:"description"`
Id int `json:"id"`
Name string `json:"name"`
Options []string `json:"options"`
Subjects []string `json:"subjects"`
}
RollCallResponse defines model for RollCallResponse.
type RoomGroupRequest ¶
type RoomGroupRequest struct {
Name string `json:"name"`
}
RoomGroupRequest defines model for RoomGroupRequest.
type RoomGroupResponse ¶
type RoomGroupResponse struct {
Id int `json:"id"`
Name string `json:"name"`
Rooms []RoomResponse `json:"rooms"`
}
RoomGroupResponse defines model for RoomGroupResponse.
type RoomRequest ¶
type RoomRequest struct {
MemberIds []string `json:"memberIds"`
Name string `json:"name"`
RoomGroupId int `json:"roomGroupId"`
}
RoomRequest defines model for RoomRequest.
type RoomResponse ¶
type RoomResponse struct {
Id int `json:"id"`
Members []UserResponse `json:"members"`
Name string `json:"name"`
}
RoomResponse defines model for RoomResponse.
type ServerInterface ¶
type ServerInterface interface {
// 管理者が回答を更新
// (PUT /api/admin/answers/{answerId})
AdminPutAnswer(ctx echo.Context, answerId AnswerId, params AdminPutAnswerParams) error
// 合宿を作成(管理者用)
// (POST /api/admin/camps)
AdminPostCamp(ctx echo.Context, params AdminPostCampParams) error
// 合宿を削除(管理者用)
// (DELETE /api/admin/camps/{campId})
AdminDeleteCamp(ctx echo.Context, campId CampId, params AdminDeleteCampParams) error
// 合宿を更新(管理者用)
// (PUT /api/admin/camps/{campId})
AdminPutCamp(ctx echo.Context, campId CampId, params AdminPutCampParams) error
// 画像をアップロード(管理者用)
// (POST /api/admin/camps/{campId}/images)
AdminPostImage(ctx echo.Context, campId CampId, params AdminPostImageParams) error
// ユーザーを合宿に参加させる(管理者用)
// (POST /api/admin/camps/{campId}/participants)
AdminAddCampParticipant(ctx echo.Context, campId CampId, params AdminAddCampParticipantParams) error
// ユーザーの参加を取り消す(管理者用)
// (DELETE /api/admin/camps/{campId}/participants/{userId})
AdminRemoveCampParticipant(ctx echo.Context, campId CampId, userId UserId, params AdminRemoveCampParticipantParams) error
// 支払い情報の一覧を取得(管理者用)
// (GET /api/admin/camps/{campId}/payments)
AdminGetPayments(ctx echo.Context, campId CampId, params AdminGetPaymentsParams) error
// 支払い情報を作成(管理者用)
// (POST /api/admin/camps/{campId}/payments)
AdminPostPayment(ctx echo.Context, campId CampId, params AdminPostPaymentParams) error
// 質問グループを作成(管理者用)
// (POST /api/admin/camps/{campId}/question-groups)
AdminPostQuestionGroup(ctx echo.Context, campId CampId, params AdminPostQuestionGroupParams) error
// 点呼を作成(管理者用)
// (POST /api/admin/camps/{campId}/roll-calls)
AdminPostRollCall(ctx echo.Context, campId CampId, params AdminPostRollCallParams) error
// 部屋グループを作成(管理者用)
// (POST /api/admin/camps/{campId}/room-groups)
AdminPostRoomGroup(ctx echo.Context, campId CampId, params AdminPostRoomGroupParams) error
// 画像を削除(管理者用)
// (DELETE /api/admin/images/{imageId})
AdminDeleteImage(ctx echo.Context, imageId ImageId, params AdminDeleteImageParams) error
// 支払い情報を更新(管理者用)
// (PUT /api/admin/payments/{paymentId})
AdminPutPayment(ctx echo.Context, paymentId PaymentId, params AdminPutPaymentParams) error
// 質問グループを削除(管理者用)
// (DELETE /api/admin/question-groups/{questionGroupId})
AdminDeleteQuestionGroup(ctx echo.Context, questionGroupId QuestionGroupId, params AdminDeleteQuestionGroupParams) error
// 質問グループを更新(管理者用)
// (PUT /api/admin/question-groups/{questionGroupId})
AdminPutQuestionGroupMetadata(ctx echo.Context, questionGroupId QuestionGroupId, params AdminPutQuestionGroupMetadataParams) error
// 質問グループに対する回答一覧を取得(管理者用)
// (GET /api/admin/question-groups/{questionGroupId}/answers)
AdminGetAnswersForQuestionGroup(ctx echo.Context, questionGroupId QuestionGroupId, params AdminGetAnswersForQuestionGroupParams) error
// 質問を追加
// (POST /api/admin/question-groups/{questionGroupId}/questions)
AdminPostQuestion(ctx echo.Context, questionGroupId QuestionGroupId, params AdminPostQuestionParams) error
// 質問を削除(管理者用)
// (DELETE /api/admin/questions/{questionId})
AdminDeleteQuestion(ctx echo.Context, questionId QuestionId, params AdminDeleteQuestionParams) error
// 質問を更新(管理者用)
// (PUT /api/admin/questions/{questionId})
AdminPutQuestion(ctx echo.Context, questionId QuestionId, params AdminPutQuestionParams) error
// 質問の回答を取得(管理者用)
// (GET /api/admin/questions/{questionId}/answers)
AdminGetAnswers(ctx echo.Context, questionId QuestionId, params AdminGetAnswersParams) error
// 部屋グループを削除(管理者用)
// (DELETE /api/admin/room-groups/{roomGroupId})
AdminDeleteRoomGroup(ctx echo.Context, roomGroupId RoomGroupId, params AdminDeleteRoomGroupParams) error
// 部屋グループを更新(管理者用)
// (PUT /api/admin/room-groups/{roomGroupId})
AdminPutRoomGroup(ctx echo.Context, roomGroupId RoomGroupId, params AdminPutRoomGroupParams) error
// 部屋を作成(管理者用)
// (POST /api/admin/rooms)
AdminPostRoom(ctx echo.Context, params AdminPostRoomParams) error
// 部屋を削除(管理者用)
// (DELETE /api/admin/rooms/{roomId})
AdminDeleteRoom(ctx echo.Context, roomId RoomId, params AdminDeleteRoomParams) error
// 部屋を更新(管理者用)
// (PUT /api/admin/rooms/{roomId})
AdminPutRoom(ctx echo.Context, roomId RoomId, params AdminPutRoomParams) error
// ユーザー情報を取得(管理者用)
// (GET /api/admin/users/{userId})
AdminGetUser(ctx echo.Context, userId UserId, params AdminGetUserParams) error
// ユーザーの情報を更新(主に合宿係の権限管理用)
// (PUT /api/admin/users/{userId})
AdminPutUser(ctx echo.Context, userId UserId, params AdminPutUserParams) error
// ユーザーの回答を作成(管理者用)
// (POST /api/admin/users/{userId}/answers)
AdminPostAnswer(ctx echo.Context, userId UserId, params AdminPostAnswerParams) error
// ユーザーにDMを送信(管理者用)
// (POST /api/admin/users/{userId}/messages)
AdminPostMessage(ctx echo.Context, userId UserId, params AdminPostMessageParams) error
// 自分の回答を更新
// (PUT /api/answers/{answerId})
PutAnswer(ctx echo.Context, answerId AnswerId, params PutAnswerParams) error
// 合宿の一覧を取得
// (GET /api/camps)
GetCamps(ctx echo.Context) error
// イベントの一覧を取得
// (GET /api/camps/{campId}/events)
GetEvents(ctx echo.Context, campId CampId) error
// イベントを作成
// (POST /api/camps/{campId}/events)
PostEvent(ctx echo.Context, campId CampId, params PostEventParams) error
// 画像の一覧を取得
// (GET /api/camps/{campId}/images)
GetImages(ctx echo.Context, campId CampId) error
// 自分の合宿参加情報を取得
// (GET /api/camps/{campId}/me)
GetDashboard(ctx echo.Context, campId CampId, params GetDashboardParams) error
// 合宿の参加者一覧を取得
// (GET /api/camps/{campId}/participants)
GetCampParticipants(ctx echo.Context, campId CampId) error
// 質問グループの一覧を取得
// (GET /api/camps/{campId}/question-groups)
GetQuestionGroups(ctx echo.Context, campId CampId) error
// 合宿の参加登録を解除
// (DELETE /api/camps/{campId}/register)
DeleteCampRegister(ctx echo.Context, campId CampId, params DeleteCampRegisterParams) error
// 合宿に参加登録
// (POST /api/camps/{campId}/register)
PostCampRegister(ctx echo.Context, campId CampId, params PostCampRegisterParams) error
// 点呼の一覧を取得
// (GET /api/camps/{campId}/roll-calls)
GetRollCalls(ctx echo.Context, campId CampId) error
// 部屋グループの一覧を取得
// (GET /api/camps/{campId}/room-groups)
GetRoomGroups(ctx echo.Context, campId CampId) error
// イベントを削除
// (DELETE /api/events/{eventId})
DeleteEvent(ctx echo.Context, eventId EventId, params DeleteEventParams) error
// イベントを更新
// (PUT /api/events/{eventId})
PutEvent(ctx echo.Context, eventId EventId, params PutEventParams) error
// 画像を取得
// (GET /api/images/{imageId})
GetImage(ctx echo.Context, imageId ImageId) error
// 自分の情報を取得
// (GET /api/me)
GetMe(ctx echo.Context, params GetMeParams) error
// ある質問グループに対する自分の回答を取得
// (GET /api/me/question-groups/{questionGroupId}/answers)
GetMyAnswers(ctx echo.Context, questionGroupId QuestionGroupId, params GetMyAnswersParams) error
// 質問に回答する
// (POST /api/question-groups/{questionGroupId}/answers)
PostAnswers(ctx echo.Context, questionGroupId QuestionGroupId, params PostAnswersParams) error
// 質問の回答一覧を取得
// (GET /api/questions/{questionId}/answers)
GetAnswers(ctx echo.Context, questionId QuestionId) error
// リアクションを削除
// (DELETE /api/reactions/{reactionId})
DeleteReaction(ctx echo.Context, reactionId ReactionId, params DeleteReactionParams) error
// リアクションを更新
// (PUT /api/reactions/{reactionId})
PutReaction(ctx echo.Context, reactionId ReactionId, params PutReactionParams) error
// 点呼のリアクション一覧を取得
// (GET /api/roll-calls/{rollCallId}/reactions)
GetRollCallReactions(ctx echo.Context, rollCallId RollCallId) error
// 点呼にリアクションを追加
// (POST /api/roll-calls/{rollCallId}/reactions)
PostRollCallReaction(ctx echo.Context, rollCallId RollCallId, params PostRollCallReactionParams) error
// 新たに作成されたリアクションをストリームで取得
// (GET /api/roll-calls/{rollCallId}/reactions/stream)
StreamRollCallReactions(ctx echo.Context, rollCallId RollCallId) error
// 合宿係の一覧を取得
// (GET /api/staffs)
GetStaffs(ctx echo.Context) error
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) AdminAddCampParticipant ¶ added in v0.6.0
func (w *ServerInterfaceWrapper) AdminAddCampParticipant(ctx echo.Context) error
AdminAddCampParticipant converts echo context to params.
func (*ServerInterfaceWrapper) AdminDeleteCamp ¶
func (w *ServerInterfaceWrapper) AdminDeleteCamp(ctx echo.Context) error
AdminDeleteCamp converts echo context to params.
func (*ServerInterfaceWrapper) AdminDeleteImage ¶
func (w *ServerInterfaceWrapper) AdminDeleteImage(ctx echo.Context) error
AdminDeleteImage converts echo context to params.
func (*ServerInterfaceWrapper) AdminDeleteQuestion ¶
func (w *ServerInterfaceWrapper) AdminDeleteQuestion(ctx echo.Context) error
AdminDeleteQuestion converts echo context to params.
func (*ServerInterfaceWrapper) AdminDeleteQuestionGroup ¶
func (w *ServerInterfaceWrapper) AdminDeleteQuestionGroup(ctx echo.Context) error
AdminDeleteQuestionGroup converts echo context to params.
func (*ServerInterfaceWrapper) AdminDeleteRoom ¶
func (w *ServerInterfaceWrapper) AdminDeleteRoom(ctx echo.Context) error
AdminDeleteRoom converts echo context to params.
func (*ServerInterfaceWrapper) AdminDeleteRoomGroup ¶
func (w *ServerInterfaceWrapper) AdminDeleteRoomGroup(ctx echo.Context) error
AdminDeleteRoomGroup converts echo context to params.
func (*ServerInterfaceWrapper) AdminGetAnswers ¶
func (w *ServerInterfaceWrapper) AdminGetAnswers(ctx echo.Context) error
AdminGetAnswers converts echo context to params.
func (*ServerInterfaceWrapper) AdminGetAnswersForQuestionGroup ¶ added in v0.5.0
func (w *ServerInterfaceWrapper) AdminGetAnswersForQuestionGroup(ctx echo.Context) error
AdminGetAnswersForQuestionGroup converts echo context to params.
func (*ServerInterfaceWrapper) AdminGetPayments ¶
func (w *ServerInterfaceWrapper) AdminGetPayments(ctx echo.Context) error
AdminGetPayments converts echo context to params.
func (*ServerInterfaceWrapper) AdminGetUser ¶
func (w *ServerInterfaceWrapper) AdminGetUser(ctx echo.Context) error
AdminGetUser converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostAnswer ¶ added in v0.5.0
func (w *ServerInterfaceWrapper) AdminPostAnswer(ctx echo.Context) error
AdminPostAnswer converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostCamp ¶
func (w *ServerInterfaceWrapper) AdminPostCamp(ctx echo.Context) error
AdminPostCamp converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostImage ¶
func (w *ServerInterfaceWrapper) AdminPostImage(ctx echo.Context) error
AdminPostImage converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostMessage ¶
func (w *ServerInterfaceWrapper) AdminPostMessage(ctx echo.Context) error
AdminPostMessage converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostPayment ¶
func (w *ServerInterfaceWrapper) AdminPostPayment(ctx echo.Context) error
AdminPostPayment converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostQuestion ¶
func (w *ServerInterfaceWrapper) AdminPostQuestion(ctx echo.Context) error
AdminPostQuestion converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostQuestionGroup ¶
func (w *ServerInterfaceWrapper) AdminPostQuestionGroup(ctx echo.Context) error
AdminPostQuestionGroup converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostRollCall ¶
func (w *ServerInterfaceWrapper) AdminPostRollCall(ctx echo.Context) error
AdminPostRollCall converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostRoom ¶
func (w *ServerInterfaceWrapper) AdminPostRoom(ctx echo.Context) error
AdminPostRoom converts echo context to params.
func (*ServerInterfaceWrapper) AdminPostRoomGroup ¶
func (w *ServerInterfaceWrapper) AdminPostRoomGroup(ctx echo.Context) error
AdminPostRoomGroup converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutAnswer ¶
func (w *ServerInterfaceWrapper) AdminPutAnswer(ctx echo.Context) error
AdminPutAnswer converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutCamp ¶
func (w *ServerInterfaceWrapper) AdminPutCamp(ctx echo.Context) error
AdminPutCamp converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutPayment ¶
func (w *ServerInterfaceWrapper) AdminPutPayment(ctx echo.Context) error
AdminPutPayment converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutQuestion ¶
func (w *ServerInterfaceWrapper) AdminPutQuestion(ctx echo.Context) error
AdminPutQuestion converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutQuestionGroupMetadata ¶
func (w *ServerInterfaceWrapper) AdminPutQuestionGroupMetadata(ctx echo.Context) error
AdminPutQuestionGroupMetadata converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutRoom ¶
func (w *ServerInterfaceWrapper) AdminPutRoom(ctx echo.Context) error
AdminPutRoom converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutRoomGroup ¶
func (w *ServerInterfaceWrapper) AdminPutRoomGroup(ctx echo.Context) error
AdminPutRoomGroup converts echo context to params.
func (*ServerInterfaceWrapper) AdminPutUser ¶
func (w *ServerInterfaceWrapper) AdminPutUser(ctx echo.Context) error
AdminPutUser converts echo context to params.
func (*ServerInterfaceWrapper) AdminRemoveCampParticipant ¶ added in v0.6.0
func (w *ServerInterfaceWrapper) AdminRemoveCampParticipant(ctx echo.Context) error
AdminRemoveCampParticipant converts echo context to params.
func (*ServerInterfaceWrapper) DeleteCampRegister ¶
func (w *ServerInterfaceWrapper) DeleteCampRegister(ctx echo.Context) error
DeleteCampRegister converts echo context to params.
func (*ServerInterfaceWrapper) DeleteEvent ¶
func (w *ServerInterfaceWrapper) DeleteEvent(ctx echo.Context) error
DeleteEvent converts echo context to params.
func (*ServerInterfaceWrapper) DeleteReaction ¶
func (w *ServerInterfaceWrapper) DeleteReaction(ctx echo.Context) error
DeleteReaction converts echo context to params.
func (*ServerInterfaceWrapper) GetAnswers ¶
func (w *ServerInterfaceWrapper) GetAnswers(ctx echo.Context) error
GetAnswers converts echo context to params.
func (*ServerInterfaceWrapper) GetCampParticipants ¶
func (w *ServerInterfaceWrapper) GetCampParticipants(ctx echo.Context) error
GetCampParticipants converts echo context to params.
func (*ServerInterfaceWrapper) GetCamps ¶
func (w *ServerInterfaceWrapper) GetCamps(ctx echo.Context) error
GetCamps converts echo context to params.
func (*ServerInterfaceWrapper) GetDashboard ¶
func (w *ServerInterfaceWrapper) GetDashboard(ctx echo.Context) error
GetDashboard converts echo context to params.
func (*ServerInterfaceWrapper) GetEvents ¶
func (w *ServerInterfaceWrapper) GetEvents(ctx echo.Context) error
GetEvents converts echo context to params.
func (*ServerInterfaceWrapper) GetImage ¶
func (w *ServerInterfaceWrapper) GetImage(ctx echo.Context) error
GetImage converts echo context to params.
func (*ServerInterfaceWrapper) GetImages ¶
func (w *ServerInterfaceWrapper) GetImages(ctx echo.Context) error
GetImages converts echo context to params.
func (*ServerInterfaceWrapper) GetMe ¶
func (w *ServerInterfaceWrapper) GetMe(ctx echo.Context) error
GetMe converts echo context to params.
func (*ServerInterfaceWrapper) GetMyAnswers ¶
func (w *ServerInterfaceWrapper) GetMyAnswers(ctx echo.Context) error
GetMyAnswers converts echo context to params.
func (*ServerInterfaceWrapper) GetQuestionGroups ¶
func (w *ServerInterfaceWrapper) GetQuestionGroups(ctx echo.Context) error
GetQuestionGroups converts echo context to params.
func (*ServerInterfaceWrapper) GetRollCallReactions ¶
func (w *ServerInterfaceWrapper) GetRollCallReactions(ctx echo.Context) error
GetRollCallReactions converts echo context to params.
func (*ServerInterfaceWrapper) GetRollCalls ¶
func (w *ServerInterfaceWrapper) GetRollCalls(ctx echo.Context) error
GetRollCalls converts echo context to params.
func (*ServerInterfaceWrapper) GetRoomGroups ¶
func (w *ServerInterfaceWrapper) GetRoomGroups(ctx echo.Context) error
GetRoomGroups converts echo context to params.
func (*ServerInterfaceWrapper) GetStaffs ¶
func (w *ServerInterfaceWrapper) GetStaffs(ctx echo.Context) error
GetStaffs converts echo context to params.
func (*ServerInterfaceWrapper) PostAnswers ¶
func (w *ServerInterfaceWrapper) PostAnswers(ctx echo.Context) error
PostAnswers converts echo context to params.
func (*ServerInterfaceWrapper) PostCampRegister ¶
func (w *ServerInterfaceWrapper) PostCampRegister(ctx echo.Context) error
PostCampRegister converts echo context to params.
func (*ServerInterfaceWrapper) PostEvent ¶
func (w *ServerInterfaceWrapper) PostEvent(ctx echo.Context) error
PostEvent converts echo context to params.
func (*ServerInterfaceWrapper) PostRollCallReaction ¶
func (w *ServerInterfaceWrapper) PostRollCallReaction(ctx echo.Context) error
PostRollCallReaction converts echo context to params.
func (*ServerInterfaceWrapper) PutAnswer ¶
func (w *ServerInterfaceWrapper) PutAnswer(ctx echo.Context) error
PutAnswer converts echo context to params.
func (*ServerInterfaceWrapper) PutEvent ¶
func (w *ServerInterfaceWrapper) PutEvent(ctx echo.Context) error
PutEvent converts echo context to params.
func (*ServerInterfaceWrapper) PutReaction ¶
func (w *ServerInterfaceWrapper) PutReaction(ctx echo.Context) error
PutReaction converts echo context to params.
func (*ServerInterfaceWrapper) StreamRollCallReactions ¶
func (w *ServerInterfaceWrapper) StreamRollCallReactions(ctx echo.Context) error
StreamRollCallReactions converts echo context to params.
type SingleChoiceAnswerRequest ¶
type SingleChoiceAnswerRequest struct {
OptionId int `json:"optionId"`
QuestionId int `json:"questionId"`
Type SingleChoiceAnswerRequestType `json:"type"`
}
SingleChoiceAnswerRequest defines model for SingleChoiceAnswerRequest.
type SingleChoiceAnswerRequestType ¶
type SingleChoiceAnswerRequestType string
SingleChoiceAnswerRequestType defines model for SingleChoiceAnswerRequest.Type.
const (
SingleChoiceAnswerRequestTypeSingle SingleChoiceAnswerRequestType = "single"
)
Defines values for SingleChoiceAnswerRequestType.
type SingleChoiceAnswerResponse ¶
type SingleChoiceAnswerResponse struct {
Id int `json:"id"`
QuestionId int `json:"questionId"`
SelectedOption OptionResponse `json:"selectedOption"`
Type SingleChoiceAnswerResponseType `json:"type"`
UserId string `json:"userId"`
}
SingleChoiceAnswerResponse defines model for SingleChoiceAnswerResponse.
type SingleChoiceAnswerResponseType ¶
type SingleChoiceAnswerResponseType string
SingleChoiceAnswerResponseType defines model for SingleChoiceAnswerResponse.Type.
const (
SingleChoiceAnswerResponseTypeSingle SingleChoiceAnswerResponseType = "single"
)
Defines values for SingleChoiceAnswerResponseType.
type SingleChoiceQuestionResponse ¶
type SingleChoiceQuestionResponse struct {
Description *string `json:"description,omitempty"`
Id int `json:"id"`
IsOpen bool `json:"isOpen"`
IsPublic bool `json:"isPublic"`
IsRequired bool `json:"isRequired"`
Options []OptionResponse `json:"options"`
Title string `json:"title"`
Type SingleChoiceQuestionResponseType `json:"type"`
}
SingleChoiceQuestionResponse defines model for SingleChoiceQuestionResponse.
type SingleChoiceQuestionResponseType ¶
type SingleChoiceQuestionResponseType string
SingleChoiceQuestionResponseType defines model for SingleChoiceQuestionResponse.Type.
const (
Single SingleChoiceQuestionResponseType = "single"
)
Defines values for SingleChoiceQuestionResponseType.
type UserRequest ¶
type UserRequest struct {
IsStaff bool `json:"isStaff"`
}
UserRequest defines model for UserRequest.
type UserResponse ¶
UserResponse defines model for UserResponse.
type XForwardedUser ¶
type XForwardedUser = string
XForwardedUser defines model for X-Forwarded-User.