model

package
v0.0.58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

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

type CreateCompetitionScoreResponse

type CreateCompetitionScoreResponse struct {
	WorksId        *string `json:"works_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCompetitionScoreResponse) 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 float64 `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

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

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

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

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

type UpdateCompetitionScoreResponse

type UpdateCompetitionScoreResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateCompetitionScoreResponse) String

type UpdateScoreRequestModel

type UpdateScoreRequestModel struct {
	WorksId int32 `json:"works_id"`

	Score float64 `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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL