Documentation ¶
Index ¶
- type CreateCompetitionScoreRequest
- type CreateCompetitionScoreResponse
- type CreateScoresRequestModel
- type CreateScoresRequestModelStatus
- type CreateScoresRequestModelStatusEnum
- type ListCompetitionWorksRequest
- type ListCompetitionWorksRequestSortDir
- type ListCompetitionWorksRequestSortDirEnum
- type ListCompetitionWorksRequestTimeUnit
- type ListCompetitionWorksRequestTimeUnitEnum
- type ListCompetitionWorksResponse
- type ListWorksResponseModel
- type RegisterCompetitionInfoRequest
- type RegisterCompetitionInfoResponse
- type RegisterInfoRequestModel
- type UpdateCompetitionScoreRequest
- type UpdateCompetitionScoreResponse
- type UpdateScoreRequestModel
- type UpdateScoreRequestModelStatus
- type UpdateScoreRequestModelStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCompetitionScoreRequest ¶
type CreateCompetitionScoreRequest struct {
Body *CreateScoresRequestModel `json:"body,omitempty"`
}
Request Object
func (CreateCompetitionScoreRequest) String ¶
func (o CreateCompetitionScoreRequest) String() string
type CreateCompetitionScoreResponse ¶
type CreateCompetitionScoreResponse struct { WorksId *string `json:"works_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCompetitionScoreResponse) String ¶
func (o CreateCompetitionScoreResponse) String() string
type CreateScoresRequestModel ¶
type CreateScoresRequestModel struct { CompetitionId string `json:"competition_id"` StageId string `json:"stage_id"` WorksId int32 `json:"works_id"` Name string `json:"name"` WorksKind *string `json:"works_kind,omitempty"` Score string `json:"score"` Status CreateScoresRequestModelStatus `json:"status"` CreatedTime string `json:"created_time"` Note *string `json:"note,omitempty"` Message *string `json:"message,omitempty"` DomainId string `json:"domain_id"` UserId *string `json:"user_id,omitempty"` }
func (CreateScoresRequestModel) String ¶
func (o CreateScoresRequestModel) String() string
type CreateScoresRequestModelStatus ¶
type CreateScoresRequestModelStatus struct {
// contains filtered or unexported fields
}
func (CreateScoresRequestModelStatus) MarshalJSON ¶
func (c CreateScoresRequestModelStatus) MarshalJSON() ([]byte, error)
func (*CreateScoresRequestModelStatus) UnmarshalJSON ¶
func (c *CreateScoresRequestModelStatus) UnmarshalJSON(b []byte) error
type CreateScoresRequestModelStatusEnum ¶
type CreateScoresRequestModelStatusEnum struct { SUCCESS CreateScoresRequestModelStatus FAILED CreateScoresRequestModelStatus }
func GetCreateScoresRequestModelStatusEnum ¶
func GetCreateScoresRequestModelStatusEnum() CreateScoresRequestModelStatusEnum
type ListCompetitionWorksRequest ¶
type ListCompetitionWorksRequest struct { CompetitionId int32 `json:"competition_id"` StageId int32 `json:"stage_id"` ReadTime string `json:"read_time"` TimeUnit *ListCompetitionWorksRequestTimeUnit `json:"time_unit,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` SortKey *string `json:"sort_key,omitempty"` SortDir *ListCompetitionWorksRequestSortDir `json:"sort_dir,omitempty"` }
Request Object
func (ListCompetitionWorksRequest) String ¶
func (o ListCompetitionWorksRequest) String() string
type ListCompetitionWorksRequestSortDir ¶
type ListCompetitionWorksRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListCompetitionWorksRequestSortDir) MarshalJSON ¶
func (c ListCompetitionWorksRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListCompetitionWorksRequestSortDir) UnmarshalJSON ¶
func (c *ListCompetitionWorksRequestSortDir) UnmarshalJSON(b []byte) error
type ListCompetitionWorksRequestSortDirEnum ¶
type ListCompetitionWorksRequestSortDirEnum struct { ASC ListCompetitionWorksRequestSortDir DESC ListCompetitionWorksRequestSortDir }
func GetListCompetitionWorksRequestSortDirEnum ¶
func GetListCompetitionWorksRequestSortDirEnum() ListCompetitionWorksRequestSortDirEnum
type ListCompetitionWorksRequestTimeUnit ¶
type ListCompetitionWorksRequestTimeUnit struct {
// contains filtered or unexported fields
}
func (ListCompetitionWorksRequestTimeUnit) MarshalJSON ¶
func (c ListCompetitionWorksRequestTimeUnit) MarshalJSON() ([]byte, error)
func (*ListCompetitionWorksRequestTimeUnit) UnmarshalJSON ¶
func (c *ListCompetitionWorksRequestTimeUnit) UnmarshalJSON(b []byte) error
type ListCompetitionWorksRequestTimeUnitEnum ¶
type ListCompetitionWorksRequestTimeUnitEnum struct { DAY ListCompetitionWorksRequestTimeUnit HOUR ListCompetitionWorksRequestTimeUnit }
func GetListCompetitionWorksRequestTimeUnitEnum ¶
func GetListCompetitionWorksRequestTimeUnitEnum() ListCompetitionWorksRequestTimeUnitEnum
type ListCompetitionWorksResponse ¶
type ListCompetitionWorksResponse struct { Works *[]ListWorksResponseModel `json:"works,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCompetitionWorksResponse) String ¶
func (o ListCompetitionWorksResponse) String() string
type ListWorksResponseModel ¶
type ListWorksResponseModel struct { WorksId string `json:"works_id"` DomainId string `json:"domain_id"` TeamId string `json:"team_id"` }
func (ListWorksResponseModel) String ¶
func (o ListWorksResponseModel) String() string
type RegisterCompetitionInfoRequest ¶
type RegisterCompetitionInfoRequest struct {
Body *RegisterInfoRequestModel `json:"body,omitempty"`
}
Request Object
func (RegisterCompetitionInfoRequest) String ¶
func (o RegisterCompetitionInfoRequest) String() string
type RegisterCompetitionInfoResponse ¶
type RegisterCompetitionInfoResponse struct { IsPermitted *bool `json:"is_permitted,omitempty"` TeamId *string `json:"team_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RegisterCompetitionInfoResponse) String ¶
func (o RegisterCompetitionInfoResponse) String() string
type RegisterInfoRequestModel ¶
type RegisterInfoRequestModel struct { CompetitionId string `json:"competition_id"` StageId string `json:"stage_id"` DomainId string `json:"domain_id"` }
func (RegisterInfoRequestModel) String ¶
func (o RegisterInfoRequestModel) String() string
type UpdateCompetitionScoreRequest ¶
type UpdateCompetitionScoreRequest struct {
Body *UpdateScoreRequestModel `json:"body,omitempty"`
}
Request Object
func (UpdateCompetitionScoreRequest) String ¶
func (o UpdateCompetitionScoreRequest) String() string
type UpdateCompetitionScoreResponse ¶
type UpdateCompetitionScoreResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateCompetitionScoreResponse) String ¶
func (o UpdateCompetitionScoreResponse) String() string
type UpdateScoreRequestModel ¶
type UpdateScoreRequestModel struct { WorksId int32 `json:"works_id"` Score string `json:"score"` Status UpdateScoreRequestModelStatus `json:"status"` Message *string `json:"message,omitempty"` }
func (UpdateScoreRequestModel) String ¶
func (o UpdateScoreRequestModel) String() string
type UpdateScoreRequestModelStatus ¶
type UpdateScoreRequestModelStatus struct {
// contains filtered or unexported fields
}
func (UpdateScoreRequestModelStatus) MarshalJSON ¶
func (c UpdateScoreRequestModelStatus) MarshalJSON() ([]byte, error)
func (*UpdateScoreRequestModelStatus) UnmarshalJSON ¶
func (c *UpdateScoreRequestModelStatus) UnmarshalJSON(b []byte) error
type UpdateScoreRequestModelStatusEnum ¶
type UpdateScoreRequestModelStatusEnum struct { SUCCESS UpdateScoreRequestModelStatus FAILED UpdateScoreRequestModelStatus }
func GetUpdateScoreRequestModelStatusEnum ¶
func GetUpdateScoreRequestModelStatusEnum() UpdateScoreRequestModelStatusEnum
Source Files ¶
- model_create_competition_score_request.go
- model_create_competition_score_response.go
- model_create_scores_request_model.go
- model_list_competition_works_request.go
- model_list_competition_works_response.go
- model_list_works_response_model.go
- model_register_competition_info_request.go
- model_register_competition_info_response.go
- model_register_info_request_model.go
- model_update_competition_score_request.go
- model_update_competition_score_response.go
- model_update_score_request_model.go
Click to show internal directories.
Click to hide internal directories.